diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-07-23 09:36:51 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-07-23 09:36:51 +0000 |
commit | f935a609c53c5c6031e6848db95c7debed127e27 (patch) | |
tree | 4c3cf6af6588247c0dd3f92f9601357c33c56217 /comms | |
parent | 703b5eb18b542fec0e78704ada72142cd2b33175 (diff) | |
download | freebsd-ports-f935a609c53c5c6031e6848db95c7debed127e27.zip |
- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
Diffstat (limited to 'comms')
-rw-r--r-- | comms/efax-gtk/Makefile | 1 | ||||
-rw-r--r-- | comms/gpredict/Makefile | 1 | ||||
-rw-r--r-- | comms/grig/Makefile | 1 | ||||
-rw-r--r-- | comms/hf/Makefile | 2 | ||||
-rw-r--r-- | comms/linrad/Makefile | 2 | ||||
-rw-r--r-- | comms/qfaxreader/Makefile | 2 | ||||
-rw-r--r-- | comms/tilp2/Makefile | 1 | ||||
-rw-r--r-- | comms/xdx/Makefile | 1 | ||||
-rw-r--r-- | comms/xlog/Makefile | 3 |
9 files changed, 4 insertions, 10 deletions
diff --git a/comms/efax-gtk/Makefile b/comms/efax-gtk/Makefile index 21f5b19f8886..c277e927fd55 100644 --- a/comms/efax-gtk/Makefile +++ b/comms/efax-gtk/Makefile @@ -22,7 +22,6 @@ RUN_DEPENDS= ggv:${PORTSDIR}/print/ggv USE_GHOSTSCRIPT_RUN= yes USE_GNOME= gtk20 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --mandir=${X11BASE}/man MAN1= efax.1 efix.1 efax-gtk.1 post-install: diff --git a/comms/gpredict/Makefile b/comms/gpredict/Makefile index 5740fe95508a..31edc5d644e3 100644 --- a/comms/gpredict/Makefile +++ b/comms/gpredict/Makefile @@ -18,7 +18,6 @@ LIB_DEPENDS= hamlib:${PORTSDIR}/comms/hamlib:install USE_GNOME= gtk20 GNU_CONFIGURE= yes USE_GMAKE= yes -CONFIGURE_ARGS= --mandir=${PREFIX}/man MAN1= gpredict.1 diff --git a/comms/grig/Makefile b/comms/grig/Makefile index 5de869a7cc53..3f4cae434ad4 100644 --- a/comms/grig/Makefile +++ b/comms/grig/Makefile @@ -19,7 +19,6 @@ LIB_DEPENDS= hamlib:${PORTSDIR}/comms/hamlib USE_GNOME= gtk20 GNU_CONFIGURE= yes USE_GMAKE= yes -CONFIGURE_ARGS= --mandir=${PREFIX}/man MAN1= grig.1 diff --git a/comms/hf/Makefile b/comms/hf/Makefile index 30523d455783..38359de4b43e 100644 --- a/comms/hf/Makefile +++ b/comms/hf/Makefile @@ -21,7 +21,7 @@ USE_GNOME= gtk12 USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX} --mandir=${PREFIX}/man +CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX} ONLY_FOR_ARCHS= i386 diff --git a/comms/linrad/Makefile b/comms/linrad/Makefile index b4156de10b09..64c7c2effb78 100644 --- a/comms/linrad/Makefile +++ b/comms/linrad/Makefile @@ -24,7 +24,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-0${PORTVERSION} GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX} --mandir=${PREFIX}/man +CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX} USE_GMAKE= yes USE_BZIP2= yes ALL_TARGET= xlinrad diff --git a/comms/qfaxreader/Makefile b/comms/qfaxreader/Makefile index dbd0c5f7843f..4a49432bfc63 100644 --- a/comms/qfaxreader/Makefile +++ b/comms/qfaxreader/Makefile @@ -24,7 +24,7 @@ GNU_CONFIGURE= yes USE_GMAKE= yes USE_QT_VER= 3 CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} -CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --mandir=${MANPREFIX}/man +CONFIGURE_ARGS= --with-docdir=${DOCSDIR} MAN1= qfaxreader.1 MANCOMPRESSED= yes diff --git a/comms/tilp2/Makefile b/comms/tilp2/Makefile index 96f6f493ed86..000181503773 100644 --- a/comms/tilp2/Makefile +++ b/comms/tilp2/Makefile @@ -34,7 +34,6 @@ CONFIGURE_ARGS= --disable-nls PLIST_SUB= NLS="@comment " .endif -CONFIGURE_ARGS+= --mandir=${TARGETDIR}/man CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -export-dynamic" diff --git a/comms/xdx/Makefile b/comms/xdx/Makefile index 708d2087d44e..882671bd148d 100644 --- a/comms/xdx/Makefile +++ b/comms/xdx/Makefile @@ -17,7 +17,6 @@ COMMENT= Amateur Radio DX cluster monitor USE_GNOME= gtk20 GNU_CONFIGURE= yes USE_GMAKE= yes -CONFIGURE_ARGS= --mandir=${PREFIX}/man MAN1= xdx.1 diff --git a/comms/xlog/Makefile b/comms/xlog/Makefile index ef79329078ca..11207f4e9e36 100644 --- a/comms/xlog/Makefile +++ b/comms/xlog/Makefile @@ -17,8 +17,7 @@ COMMENT= Amateur Radio logging application USE_GETTEXT= yes USE_GNOME= libgnomeprint gnomelibs gtk20 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-mime-update \ - --mandir=${PREFIX}/man +CONFIGURE_ARGS= --with-mime-update LIB_DEPENDS+= hamlib:${PORTSDIR}/comms/hamlib |