aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-09 01:53:48 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-09 01:53:48 +0800
commit3356d16dceb2f1376f6c40865251e11bc4c82753 (patch)
tree7bb0d4beb90f694767d687d6df7a7016ec288edf /security
parentf29d97ff630c1fef74fb0e64728027ce586f7636 (diff)
downloadfreebsd-ports-gnome-3356d16dceb2f1376f6c40865251e11bc4c82753.tar.gz
freebsd-ports-gnome-3356d16dceb2f1376f6c40865251e11bc4c82753.tar.zst
freebsd-ports-gnome-3356d16dceb2f1376f6c40865251e11bc4c82753.zip
Support staging.
Diffstat (limited to 'security')
-rw-r--r--security/wipe/Makefile25
1 files changed, 12 insertions, 13 deletions
diff --git a/security/wipe/Makefile b/security/wipe/Makefile
index b90de20aab59..4032278d5ab7 100644
--- a/security/wipe/Makefile
+++ b/security/wipe/Makefile
@@ -14,23 +14,22 @@ LICENSE= GPLv2
USE_BZIP2= yes
GNU_CONFIGURE= yes
-PLIST_FILES= bin/wipe
-
-MAN1= wipe.1
+PLIST_FILES= bin/wipe man/man1/wipe.1.gz
PORTDOCS= CHANGES INSTALL LICENSE README TESTING TODO copyright
-NO_STAGE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|@CFLAGS@|${CFLAGS}|' ${WRKSRC}/Makefile.in
+OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- for i in ${PORTDOCS}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCSDIR}; \
- done
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|@CFLAGS@|${CFLAGS}|' ${WRKSRC}/Makefile.in
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
.include <bsd.port.mk>