diff options
author | James E. Housley <jeh@FreeBSD.org> | 2000-10-24 09:37:14 +0800 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2000-10-24 09:37:14 +0800 |
commit | 97e6ae70a32c01eb1a7036054f2ed6d276a6b09d (patch) | |
tree | af3ffeb74c0b89892a9696fbccda5671e3748366 /sysutils | |
parent | b8a8ee0d58e3b437cec11a2b1d27fdc30c6d2861 (diff) | |
download | freebsd-ports-gnome-97e6ae70a32c01eb1a7036054f2ed6d276a6b09d.tar.gz freebsd-ports-gnome-97e6ae70a32c01eb1a7036054f2ed6d276a6b09d.tar.zst freebsd-ports-gnome-97e6ae70a32c01eb1a7036054f2ed6d276a6b09d.zip |
Mikhail Teterin <mi@aldan.algebra.com> in PR 22258 showed me a more
elegant way to modify plist for NOPORTSDOC
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/healthd/Makefile | 9 | ||||
-rw-r--r-- | sysutils/healthd/pkg-plist | 3 |
2 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/healthd/Makefile b/sysutils/healthd/Makefile index 39fbaf797ee9..a82f5a801e43 100644 --- a/sysutils/healthd/Makefile +++ b/sysutils/healthd/Makefile @@ -23,13 +23,12 @@ CONFIGURE_ARGS= --exec-prefix=${PREFIX} MAN8= healthd.8 healthdc.8 INSTALL_TARGET= install-all -PLIST= ${WRKDIR}/PLIST.BASE HDDOCDIR= ${PREFIX}/share/doc/healthd -pre-install: - @cp ${.CURDIR}/pkg-plist ${WRKDIR}/PLIST.BASE -.if !defined(NOPORSDOCS) - @cat ${.CURDIR}/pkg-plist.doc >> ${WRKDIR}/PLIST.BASE +.if !defined(NOPORTDOCS) +PLIST_SUB= HDDOCS='' +.else +PLIST_SUB= HDDOCS='@comment ' .endif post-install: diff --git a/sysutils/healthd/pkg-plist b/sysutils/healthd/pkg-plist index 9ff0322af154..103062079028 100644 --- a/sysutils/healthd/pkg-plist +++ b/sysutils/healthd/pkg-plist @@ -4,3 +4,6 @@ sbin/healthd etc/healthd.conf.sample @exec if [ ! -f %D/etc/healthd.conf ]; then cp -p %D/%F %B/healthd.conf; fi etc/rc.d/healthd.sh +%%HDDOCS%%share/doc/healthd/README +%%HDDOCS%%share/doc/healthd/PROTOCOL +%%HDDOCS%%@dirrm share/doc/healthd |