diff options
Diffstat (limited to 'sysutils/healthd')
-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 |