svn commit: r345924 - head/net/tcpsplit
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Feb 25 08:28:38 UTC 2014
Author: ehaupt
Date: Tue Feb 25 08:28:38 2014
New Revision: 345924
URL: http://svnweb.freebsd.org/changeset/ports/345924
QAT: https://qat.redports.org/buildarchive/r345924/
Log:
Support staging
Modified:
head/net/tcpsplit/Makefile
Modified: head/net/tcpsplit/Makefile
==============================================================================
--- head/net/tcpsplit/Makefile Tue Feb 25 08:00:27 2014 (r345923)
+++ head/net/tcpsplit/Makefile Tue Feb 25 08:28:38 2014 (r345924)
@@ -14,19 +14,14 @@ LICENSE= MIT
PLIST_FILES= bin/tcpsplit
PORTDOCS= README
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -E '/^(CC|CFLAGS|INC|LD)/d' ${WRKSRC}/Makefile
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tcpsplit ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/tcpsplit ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list