aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/mar
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-10-23 15:40:52 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-10-23 15:40:52 +0800
commit8e3af4be43960d9aac2e76b66360222e5d288e09 (patch)
tree12fcd96f2a687dad7e31d2c0a344288dd6874d02 /archivers/mar
parenta496efa9209e76c2e7737175ef2d504e0a9b1e99 (diff)
downloadfreebsd-ports-gnome-8e3af4be43960d9aac2e76b66360222e5d288e09.tar.gz
freebsd-ports-gnome-8e3af4be43960d9aac2e76b66360222e5d288e09.tar.zst
freebsd-ports-gnome-8e3af4be43960d9aac2e76b66360222e5d288e09.zip
Support staging.
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