svn commit: r343372 - head/security/bcwipe
Emanuel Haupt
ehaupt at FreeBSD.org
Sat Feb 8 18:00:07 UTC 2014
Author: ehaupt
Date: Sat Feb 8 18:00:06 2014
New Revision: 343372
URL: http://svnweb.freebsd.org/changeset/ports/343372
QAT: https://qat.redports.org/buildarchive/r343372/
Log:
Support staging.
Modified:
head/security/bcwipe/Makefile
Modified: head/security/bcwipe/Makefile
==============================================================================
--- head/security/bcwipe/Makefile Sat Feb 8 17:58:31 2014 (r343371)
+++ head/security/bcwipe/Makefile Sat Feb 8 18:00:06 2014 (r343372)
@@ -17,17 +17,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER
GNU_CONFIGURE= yes
MAKE_ARGS+= CFLAGS="${CFLAGS}"
-MAN1= bcwipe.1
-PLIST_FILES= bin/bcwipe
+PLIST_FILES= bin/bcwipe man/man1/bcwipe.1.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s,fprintf(stderr\,string),fprintf(stderr\,\"%s\"\,string),g" ${WRKSRC}/wipe.c
@${REINPLACE_CMD} -e "s,if (NULL == mktemp(result)),if (mkstemp(result) == -1),g" ${WRKSRC}/wipe.c
@${REINPLACE_CMD} -e "s,mktemp,mkstemp,g" ${WRKSRC}/wipe.c
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/bcwipe.1 ${MAN1PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/bcwipe ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/bcwipe.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list