aboutsummaryrefslogtreecommitdiff
path: root/archivers/arc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/arc/Makefile')
-rw-r--r--archivers/arc/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/archivers/arc/Makefile b/archivers/arc/Makefile
index 4b234d299aad..db95ea858997 100644
--- a/archivers/arc/Makefile
+++ b/archivers/arc/Makefile
@@ -13,18 +13,16 @@ LICENSE= GPLv2
CONFLICTS= php5-arcanist-*
+OPTIONS_DEFINE= DOCS
+
PLIST_FILES= bin/arc bin/marc man/man1/arc.1.gz
PORTDOCS= Arc521.doc
-.include <bsd.port.pre.mk>
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arc ${WRKSRC}/marc\
${STAGEDIR}/${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/arc.1 ${STAGEDIR}/${PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Arc521.doc ${STAGEDIR}/${DOCSDIR}
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>