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 01:47:42 +00:00
parent d565d68dcd
commit f880edeb95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338741
2 changed files with 8 additions and 13 deletions

View File

@ -15,27 +15,21 @@ MAKEFILE= makefile
MAKE_ARGS= CC="${CC}"
NO_WRKSUBDIR= yes
MAN1= ${PORTNAME}.1
PORTDOCS= README README.versions
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's,^CFLAGS ,&+,' ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iorate ${WRKSRC}/ior_rand ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/iorate ${WRKSRC}/ior_rand ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/cycle ${WRKSRC}/gen_* ${WRKSRC}/run_* \
${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.ior ${DATADIR}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.ior ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,5 +1,6 @@
bin/ior_rand
bin/iorate
man/man1/iorate.1.gz
%%DATADIR%%/cycle
%%DATADIR%%/devices.ior
%%DATADIR%%/gen_dev.awk