Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 13:35:56 +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: r348472 - head/net-mgmt/sdig
Message-ID:  <201403171335.s2HDZuY9068054@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Mar 17 13:35:56 2014
New Revision: 348472
URL: http://svnweb.freebsd.org/changeset/ports/348472
QAT: https://qat.redports.org/buildarchive/r348472/

Log:
  Support staging

Modified:
  head/net-mgmt/sdig/Makefile

Modified: head/net-mgmt/sdig/Makefile
==============================================================================
--- head/net-mgmt/sdig/Makefile	Mon Mar 17 13:32:18 2014	(r348471)
+++ head/net-mgmt/sdig/Makefile	Mon Mar 17 13:35:56 2014	(r348472)
@@ -12,23 +12,21 @@ COMMENT=	Translate IP/DNS/WINS/MAC addre
 
 LIB_DEPENDS=	netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp
 
-USE_GMAKE=	yes
+USES=		gmake
 GNU_CONFIGURE=	yes
 
-MAN5=		sdig.conf.5
-MAN8=		sdig.8
-PLIST_FILES=	bin/sdig etc/sdig.conf etc/mactable
+PLIST_FILES=	bin/sdig etc/sdig.conf etc/mactable man/man5/sdig.conf.5.gz \
+		man/man8/sdig.8.gz
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/sdig.conf
 	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/sdig.conf.5
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/sdig ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/sdig.conf ${PREFIX}/etc
-	${INSTALL_DATA} ${WRKSRC}/mactable ${PREFIX}/etc
-	${INSTALL_MAN} ${WRKSRC}/sdig.8 ${PREFIX}/man/man8
-	${INSTALL_MAN} ${WRKSRC}/sdig.conf.5 ${PREFIX}/man/man5
+	${INSTALL_PROGRAM} ${WRKSRC}/src/sdig ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/sdig.conf ${STAGEDIR}${PREFIX}/etc
+	${INSTALL_DATA} ${WRKSRC}/mactable ${STAGEDIR}${PREFIX}/etc
+	${INSTALL_MAN} ${WRKSRC}/sdig.8 ${STAGEDIR}${PREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/sdig.conf.5 ${STAGEDIR}${PREFIX}/man/man5
 
 .include <bsd.port.mk>



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