summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/pgpin/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/security/pgpin/Makefile b/security/pgpin/Makefile
index 55173b3d32bd..cb68560112f2 100644
--- a/security/pgpin/Makefile
+++ b/security/pgpin/Makefile
@@ -22,8 +22,7 @@ WRKSRC= ${WRKDIR}/pgp263in/src
MAKEFILE= makefile
ALL_TARGET= freebsd-${ARCH} OS_CFLAGS="${CFLAGS}"
PGPLIB= ${STAGEDIR}${PREFIX}/lib/pgpin
-
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pgp ${STAGEDIR}${PREFIX}/bin/pgpin
@@ -32,11 +31,11 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/../pgp.hlp ${PGPLIB}/
${INSTALL_DATA} ${WRKSRC}/../language.txt ${PGPLIB}/language.txt.sample
${INSTALL_DATA} ${WRKSRC}/../config.txt ${PGPLIB}/config.txt.sample
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${FILESDIR}/CHANGES ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/../doc/pgpdoc1.txt \
${WRKSRC}/../doc/pgpdoc2.txt ${STAGEDIR}${DOCSDIR}/
-.endif
.include <bsd.port.mk>