1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Use $SUB_FILES to dynamically update findmtu script

PR:		143105
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2010-02-13 19:14:33 +00:00
parent 5435c8f5a6
commit d88e45a1a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249792
2 changed files with 2 additions and 3 deletions

View File

@ -13,12 +13,11 @@ MASTER_SITES= http://www.dia.uniroma3.it/~compunet/tunneldiscovery/findmtu/
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= A tool for performing IPv6 path MTU discovery on *NIX
SUB_FILES= findmtu
do-configure:
${LN} -s ${WRKSRC}/Makefile.rawsocket ${WRKSRC}/Makefile
post-build:
${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/findmtu.sh > ${WRKDIR}/findmtu
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/findmtu ${PREFIX}/bin/findmtu
${INSTALL_PROGRAM} ${WRKSRC}/findmtu ${PREFIX}/bin/findmtu.real