svn commit: r338720 - head/benchmarks/stream
Baptiste Daroussin
bapt at FreeBSD.org
Sun Jan 5 00:44:54 UTC 2014
Author: bapt
Date: Sun Jan 5 00:44:53 2014
New Revision: 338720
URL: http://svnweb.freebsd.org/changeset/ports/338720
Log:
Support stage
Modified:
head/benchmarks/stream/Makefile
Modified: head/benchmarks/stream/Makefile
==============================================================================
--- head/benchmarks/stream/Makefile Sun Jan 5 00:41:32 2014 (r338719)
+++ head/benchmarks/stream/Makefile Sun Jan 5 00:44:53 2014 (r338720)
@@ -22,17 +22,12 @@ EXTRACT_AFTER_ARGS= ${WRKDIR}
PORTDOCS= stream.c
PLIST_FILES= bin/stream_bench
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o stream_bench stream.c -lm)
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} stream_bench ${PREFIX}/bin)
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
-.endif
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} stream_bench ${STAGEDIR}${PREFIX}/bin)
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list