diff options
author | rafan <rafan@FreeBSD.org> | 2007-07-23 17:36:51 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-07-23 17:36:51 +0800 |
commit | b028b113ef13fa7972bb45d681d7a0abe47c40a6 (patch) | |
tree | a76a27ca09341f754b493c264ee71c912a553d89 /misc | |
parent | 855b1df39bc3a6f03abf878d9c99b5ba0838ba35 (diff) | |
download | freebsd-ports-graphics-b028b113ef13fa7972bb45d681d7a0abe47c40a6.tar.gz freebsd-ports-graphics-b028b113ef13fa7972bb45d681d7a0abe47c40a6.tar.zst freebsd-ports-graphics-b028b113ef13fa7972bb45d681d7a0abe47c40a6.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 'misc')
-rw-r--r-- | misc/clpbar/Makefile | 1 | ||||
-rw-r--r-- | misc/e2fsprogs-libuuid/Makefile | 2 | ||||
-rw-r--r-- | misc/findutils/Makefile | 1 | ||||
-rw-r--r-- | misc/gnome-osd/Makefile | 1 | ||||
-rw-r--r-- | misc/ossp-uuid/Makefile | 2 | ||||
-rw-r--r-- | misc/shared-mime-info/Makefile | 1 | ||||
-rw-r--r-- | misc/tkman/Makefile | 2 |
7 files changed, 3 insertions, 7 deletions
diff --git a/misc/clpbar/Makefile b/misc/clpbar/Makefile index 651fe936980..09f8fe1d518 100644 --- a/misc/clpbar/Makefile +++ b/misc/clpbar/Makefile @@ -19,7 +19,6 @@ COMMENT= Command Line Progress Bar WRKSRC= ${WRKDIR}/bar-${PORTVERSION} GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --mandir=${MANPREFIX}/man MAKE_ARGS+= CFLAGS+="${CFLAGS}" MAN1= bar.1 diff --git a/misc/e2fsprogs-libuuid/Makefile b/misc/e2fsprogs-libuuid/Makefile index f4a8def1ae2..612bbc30526 100644 --- a/misc/e2fsprogs-libuuid/Makefile +++ b/misc/e2fsprogs-libuuid/Makefile @@ -13,7 +13,7 @@ MAINTAINER= matthias.andree@gmx.de COMMENT= UUID library from e2fsprogs package CONFIGURE_ARGS= --enable-elf-shlibs --disable-fsck \ - --disable-e2initrd-helper --mandir=${MANPREFIX}/man + --disable-e2initrd-helper CONFLICTS= ossp-uuid-[0-9]* diff --git a/misc/findutils/Makefile b/misc/findutils/Makefile index c4e1b2fce0a..80051d06abe 100644 --- a/misc/findutils/Makefile +++ b/misc/findutils/Makefile @@ -20,7 +20,6 @@ SIG_FILES= ${DISTNAME}${EXTRACT_SUFX}.sig GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --mandir=${PREFIX}/man --infodir=${PREFIX}/info USE_GMAKE= yes USE_GCC= 3.4+ diff --git a/misc/gnome-osd/Makefile b/misc/gnome-osd/Makefile index f587621052f..afe3b1c97bf 100644 --- a/misc/gnome-osd/Makefile +++ b/misc/gnome-osd/Makefile @@ -20,7 +20,6 @@ USE_PYTHON= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --mandir=${PREFIX}/man GCONF_SCHEMAS= gnome-osd.schemas PORTDOCS= AUTHORS NEWS README MAN1= gnome-osd-client.1 diff --git a/misc/ossp-uuid/Makefile b/misc/ossp-uuid/Makefile index 0fa42d9039c..aa32d638fc0 100644 --- a/misc/ossp-uuid/Makefile +++ b/misc/ossp-uuid/Makefile @@ -21,7 +21,7 @@ USE_GCC= 3.2+ GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --disable-shared --enable-static --mandir=${PREFIX}/man +CONFIGURE_ARGS= --disable-shared --enable-static MAN1= uuid-config.1 uuid.1 MAN3= uuid.3 diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile index 299dbb6baf0..31bd7c99a57 100644 --- a/misc/shared-mime-info/Makefile +++ b/misc/shared-mime-info/Makefile @@ -18,7 +18,6 @@ GNU_CONFIGURE= yes USE_GETTEXT= yes USE_GMAKE= yes USE_GNOME= glib20 libxml2 intltool gnomehack intlhack -CONFIGURE_ARGS= --mandir=${PREFIX}/man CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" diff --git a/misc/tkman/Makefile b/misc/tkman/Makefile index 2b2400f7672..82231b75f06 100644 --- a/misc/tkman/Makefile +++ b/misc/tkman/Makefile @@ -21,7 +21,7 @@ RUN_DEPENDS= rman:${PORTSDIR}/textproc/rman \ USE_GMAKE= yes MAKE_ARGS= WISH="${PREFIX}/bin/wish8.4" \ - texinfodir="${PREFIX}/info" \ + texinfodir="${PREFIX}/${INFO_PATH}" \ gzgrep="\"/usr/bin/zgrep -E\"" \ mastermen="\"/usr/share/man ${PREFIX}/man ${X11BASE}/man\"" \ masterbin="\"/usr/bin ${PREFIX}/bin ${X11BASE}/bin\"" \ |