- Support STAGEDIR
- Respect CC - While I'm here: - Remove leading indefinite article from COMMENT - Convert to new options framework PR: ports/182811 Submitted by: Kurt Jaeger <fbsd-ports@opsec.eu> Approved by: Janos Mohacsi <jmohacsi@bsd.hu> (maintainer)
This commit is contained in:
parent
45f504b30e
commit
fab89f23d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330165
1 changed files with 14 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue