Changeset View
Changeset View
Standalone View
Standalone View
benchmarks/iperf3/Makefile
Show All 16 Lines | |||||
USES= libtool ssl | USES= libtool ssl | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
PORTDOCS= README.md RELEASE_NOTES | PORTDOCS= README.md RELEASE_NOTES | ||||
# Set ${DOCSDIR} to avoid conflict with benchmarks/iperf ${DOCSDIR} | # Set ${DOCSDIR} to avoid conflict with benchmarks/iperf ${DOCSDIR} | ||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} | DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} | ||||
OPTIONS_DEFINE= DOCS | |||||
post-patch: | post-patch: | ||||
# Don't build stuff that we're not going to install. Among other | # Don't build stuff that we're not going to install. Among other | ||||
# things this means we're not going to try to build profiled objects | # things this means we're not going to try to build profiled objects | ||||
# and/or executables. | # and/or executables. | ||||
@${REINPLACE_CMD} -e '/^PROGRAMS /s/\$$(noinst_PROGRAMS)//' ${WRKSRC}/src/Makefile.in | @${REINPLACE_CMD} -e '/^PROGRAMS /s/\$$(noinst_PROGRAMS)//' ${WRKSRC}/src/Makefile.in | ||||
post-install: | post-install: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) | (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |