mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
fab89f23d5
- 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)
34 lines
864 B
Makefile
34 lines
864 B
Makefile
# Created by: janos.mohacsi@bsd.hu
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= findmtu
|
|
PORTVERSION= 0.9
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://www.dia.uniroma3.it/~compunet/tunneldiscovery/findmtu/
|
|
|
|
MAINTAINER= jmohacsi@bsd.hu
|
|
COMMENT= Tool for performing IPv6 path MTU discovery on *NIX
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
SUB_FILES= findmtu
|
|
|
|
.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 ${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>
|