diff options
author | rafan <rafan@FreeBSD.org> | 2007-07-23 09:36:51 +0000 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-07-23 09:36:51 +0000 |
commit | b028b113ef13fa7972bb45d681d7a0abe47c40a6 (patch) | |
tree | a76a27ca09341f754b493c264ee71c912a553d89 /sysutils/apcupsd | |
parent | 855b1df39bc3a6f03abf878d9c99b5ba0838ba35 (diff) | |
download | FreeBSD-ports-b028b113ef13fa7972bb45d681d7a0abe47c40a6.zip FreeBSD-ports-b028b113ef13fa7972bb45d681d7a0abe47c40a6.tar.gz |
- 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 'sysutils/apcupsd')
-rw-r--r-- | sysutils/apcupsd/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile index ee19bda..1cdd5ed 100644 --- a/sysutils/apcupsd/Makefile +++ b/sysutils/apcupsd/Makefile @@ -24,9 +24,8 @@ COMMENT= A daemon for controlling APC UPS USE_GETTEXT= yes USE_RC_SUBR= apcupsd -HAS_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PREFIX} --sbindir=${PREFIX}/sbin \ - --mandir=${MANPREFIX}/man \ +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --sbindir=${PREFIX}/sbin \ --with-nologin=/var/run \ --disable-install-distdir \ --sysconfdir=${PREFIX}/etc/apcupsd \ |