mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Support stage
This commit is contained in:
parent
6839f858ab
commit
854dfceb6c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338743
@ -11,14 +11,13 @@ EXTRACT_ONLY= #
|
|||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Floating point benchmark to give your MFLOPS rating
|
COMMENT= Floating point benchmark to give your MFLOPS rating
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
|
|
||||||
PORTDOCS= flops.doc
|
PORTDOCS= flops.doc
|
||||||
PLIST_FILES= bin/flops
|
PLIST_FILES= bin/flops
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
@(cd ${DISTDIR} && ${TAR} -cf - ${DISTFILES}) | \
|
@(cd ${DISTDIR} && ${TAR} -cf - ${DISTFILES}) | \
|
||||||
(cd ${WRKSRC} && ${TAR} -xf -)
|
(cd ${WRKSRC} && ${TAR} -xf -)
|
||||||
@ -31,10 +30,8 @@ do-build:
|
|||||||
(cd ${WRKSRC} && ${CC} ${CFLAGS} -DUNIX -o flops flops.c)
|
(cd ${WRKSRC} && ${CC} ${CFLAGS} -DUNIX -o flops flops.c)
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/flops ${PREFIX}/bin/
|
${INSTALL_PROGRAM} ${WRKSRC}/flops ${STAGEDIR}${PREFIX}/bin/
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/flops.doc ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/flops.doc ${DOCSDIR}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user