Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 12:40:27 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349332 - head/net/lft
Message-ID:  <201403271240.s2RCeRV1074204@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar 27 12:40:26 2014
New Revision: 349332
URL: http://svnweb.freebsd.org/changeset/ports/349332
QAT: https://qat.redports.org/buildarchive/r349332/

Log:
  - Support staging
  - Define DOCS option
  - Use WWW: with a single space

Modified:
  head/net/lft/Makefile
  head/net/lft/pkg-descr

Modified: head/net/lft/Makefile
==============================================================================
--- head/net/lft/Makefile	Thu Mar 27 12:36:18 2014	(r349331)
+++ head/net/lft/Makefile	Thu Mar 27 12:40:26 2014	(r349332)
@@ -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>

Modified: head/net/lft/pkg-descr
==============================================================================
--- head/net/lft/pkg-descr	Thu Mar 27 12:36:18 2014	(r349331)
+++ head/net/lft/pkg-descr	Thu Mar 27 12:40:26 2014	(r349332)
@@ -5,7 +5,7 @@ implements numerous other features inclu
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403271240.s2RCeRV1074204>