Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 15:50:33 +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: r348483 - head/net-mgmt/ciscoconf
Message-ID:  <201403171550.s2HFoXod022510@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Mar 17 15:50:33 2014
New Revision: 348483
URL: http://svnweb.freebsd.org/changeset/ports/348483
QAT: https://qat.redports.org/buildarchive/r348483/

Log:
  Support staging

Modified:
  head/net-mgmt/ciscoconf/Makefile
  head/net-mgmt/ciscoconf/pkg-plist

Modified: head/net-mgmt/ciscoconf/Makefile
==============================================================================
--- head/net-mgmt/ciscoconf/Makefile	Mon Mar 17 15:41:46 2014	(r348482)
+++ head/net-mgmt/ciscoconf/Makefile	Mon Mar 17 15:50:33 2014	(r348483)
@@ -13,11 +13,8 @@ COMMENT=	Fetches configuration from Cisc
 BUILD_DEPENDS=	makedepend:${PORTSDIR}/devel/makedepend
 
 ALL_TARGET=	depend all
-MAN8=		ciscoconfd.8 ciscoconfr.8
 
-NO_STAGE=	yes
 post-patch:
-
 	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
 	${CAT} ${WRKSRC}/Makefile.old | \
 	${SED} -e 's#/usr/local#${PREFIX}#g' | \
@@ -25,12 +22,12 @@ post-patch:
 	>> ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ciscoconfd ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/ciscoconfr ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/ciscoconfd.man ${PREFIX}/man/man8/ciscoconfd.8
-	${INSTALL_MAN} ${WRKSRC}/ciscoconfr.man ${PREFIX}/man/man8/ciscoconfr.8
-
-post-install:
-	${MKDIR} ${PREFIX}/share/cisco/RCS
+	${INSTALL_PROGRAM} ${WRKSRC}/ciscoconfd ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/ciscoconfr ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/ciscoconfd.man \
+		${STAGEDIR}${MANPREFIX}/man/man8/ciscoconfd.8
+	${INSTALL_MAN} ${WRKSRC}/ciscoconfr.man \
+		${STAGEDIR}${MANPREFIX}/man/man8/ciscoconfr.8
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/cisco/RCS
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/ciscoconf/pkg-plist
==============================================================================
--- head/net-mgmt/ciscoconf/pkg-plist	Mon Mar 17 15:41:46 2014	(r348482)
+++ head/net-mgmt/ciscoconf/pkg-plist	Mon Mar 17 15:50:33 2014	(r348483)
@@ -1,4 +1,6 @@
 bin/ciscoconfd
 bin/ciscoconfr
+man/man8/ciscoconfd.8.gz
+man/man8/ciscoconfr.8.gz
 @dirrm share/cisco/RCS
 @dirrm share/cisco



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