summaryrefslogtreecommitdiff
path: root/archivers/mar
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-10-23 07:40:52 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-10-23 07:40:52 +0000
commit6bdb08521128779ae85d4dd46ac0bba4749f3624 (patch)
tree12fcd96f2a687dad7e31d2c0a344288dd6874d02 /archivers/mar
parentConvert to OptionsNG and stagify. (diff)
Support staging.
Notes
Notes: svn path=/head/; revision=331357
Diffstat (limited to 'archivers/mar')
-rw-r--r--archivers/mar/Makefile12
-rw-r--r--archivers/mar/pkg-plist1
2 files changed, 6 insertions, 7 deletions
diff --git a/archivers/mar/Makefile b/archivers/mar/Makefile
index 3ebda1538e1f..843dac6beb06 100644
--- a/archivers/mar/Makefile
+++ b/archivers/mar/Makefile
@@ -13,9 +13,6 @@ COMMENT= Simple binary file format for storing arbitrary meta and user data
LICENSE= MIT
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
-NO_STAGE= yes
-
-MAN1= mar.1
OPTIONS_DEFINE= DOCS
@@ -26,12 +23,13 @@ post-patch:
${WRKSRC}/src/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man/man1/mar.1 ${MAN1PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/mar.1 \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/archivers/mar/pkg-plist b/archivers/mar/pkg-plist
index 0f061242ca1c..1a43d0ff91be 100644
--- a/archivers/mar/pkg-plist
+++ b/archivers/mar/pkg-plist
@@ -1,4 +1,5 @@
bin/mar
+man/man1/mar.1.gz
%%PORTDOCS%%%%DOCSDIR%%/annotated.html
%%PORTDOCS%%%%DOCSDIR%%/files.html
%%PORTDOCS%%%%DOCSDIR%%/functions.html