1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-01-05 00:44:53 +00:00
parent 968f46a7b8
commit bfda3c3a67
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338720

View File

@ -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>