aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/arc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/arc/Makefile')
-rw-r--r--archivers/arc/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/archivers/arc/Makefile b/archivers/arc/Makefile
index 466a489d8456..b021d9fcf894 100644
--- a/archivers/arc/Makefile
+++ b/archivers/arc/Makefile
@@ -9,17 +9,20 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= delphij@FreeBSD.org
COMMENT= Create & extract files from DOS .ARC files
-NO_STAGE= yes
-PLIST_FILES= bin/arc bin/marc
+LICENSE= GPLv2
+
+PLIST_FILES= bin/arc bin/marc man/man1/arc.1.gz
PORTDOCS= Arc521.doc
-MAN1= arc.1
+
+.include <bsd.port.pre.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/arc ${WRKSRC}/marc ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/arc.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Arc521.doc ${DOCSDIR}
+ ${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.mk>