Date: Sat, 12 Oct 2013 18:11:47 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330165 - head/net/findmtu Message-ID: <201310121811.r9CIBlwo073013@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Oct 12 18:11:47 2013 New Revision: 330165 URL: http://svnweb.freebsd.org/changeset/ports/330165 Log: - 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) Modified: head/net/findmtu/Makefile Modified: head/net/findmtu/Makefile ============================================================================== --- head/net/findmtu/Makefile Sat Oct 12 18:09:09 2013 (r330164) +++ head/net/findmtu/Makefile Sat Oct 12 18:11:47 2013 (r330165) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310121811.r9CIBlwo073013>