aboutsummaryrefslogtreecommitdiff
path: root/net/lft
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-27 12:40:26 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-27 12:40:26 +0000
commite81b02ac0da2a093a35362bf559c027ab1458917 (patch)
treec4524d51db72ab8c25598a5ab36afd681c421833 /net/lft
parent0d13099ce3cc65612a1e9ac030cddf69f4b58dfd (diff)
downloadports-e81b02ac0da2a093a35362bf559c027ab1458917.tar.gz
ports-e81b02ac0da2a093a35362bf559c027ab1458917.zip
- Support staging
- Define DOCS option - Use WWW: with a single space
Notes
Notes: svn path=/head/; revision=349332
Diffstat (limited to 'net/lft')
-rw-r--r--net/lft/Makefile25
-rw-r--r--net/lft/pkg-descr2
2 files changed, 12 insertions, 15 deletions
diff --git a/net/lft/Makefile b/net/lft/Makefile
index d7507064de89..57677dd4956a 100644
--- a/net/lft/Makefile
+++ b/net/lft/Makefile
@@ -11,21 +11,18 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Layer 4 Traceroute program
GNU_CONFIGURE= yes
-MAN8= lft.8 whob.8
-PLIST_FILES= sbin/lft bin/whob
+
+PLIST_FILES= sbin/lft bin/whob man/man8/lft.8.gz man/man8/whob.8.gz
PORTDOCS= CHANGELOG README TODO
-NO_STAGE= yes
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/lft ${PREFIX}/sbin/
- ${INSTALL_PROGRAM} ${WRKSRC}/whob ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/lft.8 ${MAN8PREFIX}/man/man8/
- ${INSTALL_MAN} ${WRKSRC}/whob.8 ${MAN8PREFIX}/man/man8/
-.ifndef NOPORTDOCS
- ${INSTALL} -d ${DOCSDIR}/
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-.endif
+OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/lft ${STAGEDIR}${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/whob ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/lft.8 ${STAGEDIR}${MANPREFIX}/man/man8
+ ${INSTALL_MAN} ${WRKSRC}/whob.8 ${STAGEDIR}${MANPREFIX}/man/man8
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/lft/pkg-descr b/net/lft/pkg-descr
index c1346d1fddd7..80b26cc0524b 100644
--- a/net/lft/pkg-descr
+++ b/net/lft/pkg-descr
@@ -5,7 +5,7 @@ implements numerous other features including AS number lookups, loose source
routing, netblock name lookups, et al. Though LFT has been around since 1998,
its development effort has just recently resumed.
-WWW: http://pwhois.org/lft/
+WWW: http://pwhois.org/lft/
Ported to FreeBSD by:
Marco P. Rodrigues