aboutsummaryrefslogtreecommitdiff
path: root/comms/pr
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /comms/pr
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes: svn path=/head/; revision=394778
Diffstat (limited to 'comms/pr')
-rw-r--r--comms/pr/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/comms/pr/Makefile b/comms/pr/Makefile
index a2c8ebc52c3a..142cbeb685d8 100644
--- a/comms/pr/Makefile
+++ b/comms/pr/Makefile
@@ -23,8 +23,6 @@ RCDFILES= pr.sh.sample
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
(cd ${WRKSRC}/sbin && \
${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX}/sbin)
@@ -32,9 +30,8 @@ do-install:
${INSTALL_DATA} ${RCDFILES} ${STAGEDIR}${PREFIX}/etc/rc.d)
(cd ${WRKSRC}/etc && \
${INSTALL_DATA} ${ETCFLS} ${STAGEDIR}${PREFIX}/etc)
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/share/doc/pr/PR.html ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>