aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-27 20:40:26 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-27 20:40:26 +0800
commitbf2bfd7d5b273872858f002a54625ca439db5126 (patch)
treec4524d51db72ab8c25598a5ab36afd681c421833
parentfa7b82f1f05cc07cb1530e07c087c67c08096ed6 (diff)
downloadfreebsd-ports-gnome-bf2bfd7d5b273872858f002a54625ca439db5126.tar.gz
freebsd-ports-gnome-bf2bfd7d5b273872858f002a54625ca439db5126.tar.zst
freebsd-ports-gnome-bf2bfd7d5b273872858f002a54625ca439db5126.zip
- Support staging
- Define DOCS option - Use WWW: with a single space
-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