diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-10-12 18:11:47 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-10-12 18:11:47 +0000 |
commit | fab89f23d582b66128ea5f69697bec91e8a88692 (patch) | |
tree | 6f822a2d75aae66fe1e9e9b5812ef09e47d97d30 /net/findmtu | |
parent | 45f504b30eb5bab3b4bf67289fa3886fe7d20575 (diff) | |
download | ports-fab89f23d582b66128ea5f69697bec91e8a88692.tar.gz ports-fab89f23d582b66128ea5f69697bec91e8a88692.zip |
Notes
Diffstat (limited to 'net/findmtu')
-rw-r--r-- | net/findmtu/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/net/findmtu/Makefile b/net/findmtu/Makefile index 4b9872658e81..ab5600da8962 100644 --- a/net/findmtu/Makefile +++ b/net/findmtu/Makefile @@ -7,21 +7,27 @@ CATEGORIES= net ipv6 MASTER_SITES= http://www.dia.uniroma3.it/~compunet/tunneldiscovery/findmtu/ MAINTAINER= jmohacsi@bsd.hu -COMMENT= A tool for performing IPv6 path MTU discovery on *NIX +COMMENT= Tool for performing IPv6 path MTU discovery on *NIX + +OPTIONS_DEFINE= DOCS SUB_FILES= findmtu -NO_STAGE= yes +.include <bsd.port.options.mk> + +post-patch: + @${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile.rawsocket + do-configure: ${LN} -s ${WRKSRC}/Makefile.rawsocket ${WRKSRC}/Makefile do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/findmtu ${PREFIX}/bin/findmtu - ${INSTALL_PROGRAM} ${WRKSRC}/findmtu ${PREFIX}/bin/findmtu.real -.ifndef(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.freebsd ${DOCSDIR} + ${INSTALL_SCRIPT} ${WRKDIR}/findmtu ${STAGEDIR}${PREFIX}/bin/findmtu + ${INSTALL_PROGRAM} ${WRKSRC}/findmtu ${STAGEDIR}${PREFIX}/bin/findmtu.real +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.freebsd ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |