diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-09 01:53:48 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-09 01:53:48 +0800 |
commit | 3356d16dceb2f1376f6c40865251e11bc4c82753 (patch) | |
tree | 7bb0d4beb90f694767d687d6df7a7016ec288edf /security | |
parent | f29d97ff630c1fef74fb0e64728027ce586f7636 (diff) | |
download | freebsd-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/Makefile | 25 |
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> |