aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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