Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 18:32:10 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337775 - head/sysutils/zfsnap
Message-ID:  <201312271832.rBRIWAqo062707@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 27 18:32:09 2013
New Revision: 337775
URL: http://svnweb.freebsd.org/changeset/ports/337775

Log:
  Support stage

Modified:
  head/sysutils/zfsnap/Makefile

Modified: head/sysutils/zfsnap/Makefile
==============================================================================
--- head/sysutils/zfsnap/Makefile	Fri Dec 27 18:29:14 2013	(r337774)
+++ head/sysutils/zfsnap/Makefile	Fri Dec 27 18:32:09 2013	(r337775)
@@ -18,7 +18,6 @@ GH_COMMIT=	2228749
 PERIODICDIR?=	${PREFIX}/etc/periodic
 PLIST_SUB+=	PERIODICDIR="${PERIODICDIR:S,^${PREFIX}/,,}"
 
-NO_STAGE=	yes
 do-patch:
 .for period in hourly daily weekly monthly reboot
 	@${SED} -e "s/xPERIODICx/${period}/g" -e "s#xPREFIXx#${PREFIX}/sbin#g" ${WRKSRC}/xPERIODICx_zfSnap.sh > ${WRKSRC}/${period}_zfSnap.sh
@@ -28,16 +27,13 @@ do-patch:
 .endfor
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/zfSnap.sh ${PREFIX}/sbin/zfSnap
+	${INSTALL_SCRIPT} ${WRKSRC}/zfSnap.sh ${STAGEDIR}${PREFIX}/sbin/zfSnap
 .for period in hourly daily weekly monthly
-	@${MKDIR} ${PERIODICDIR}/${period}
-	@${INSTALL_SCRIPT} ${WRKSRC}/${period}_zfSnap.sh ${PERIODICDIR}/${period}/402.zfSnap
-	@${INSTALL_SCRIPT} ${WRKSRC}/${period}_zfSnap_delete.sh ${PERIODICDIR}/${period}/403.zfSnap_delete
+	@${MKDIR} ${STAGEDIR}${PERIODICDIR}/${period}
+	${INSTALL_SCRIPT} ${WRKSRC}/${period}_zfSnap.sh ${STAGEDIR}${PERIODICDIR}/${period}/402.zfSnap
+	${INSTALL_SCRIPT} ${WRKSRC}/${period}_zfSnap_delete.sh ${STAGEDIR}${PERIODICDIR}/${period}/403.zfSnap_delete
 .endfor
-	@${MKDIR} ${PERIODICDIR}/reboot
-	@${INSTALL_SCRIPT} ${WRKSRC}/reboot_zfSnap.sh ${PERIODICDIR}/reboot/402.zfSnap
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${PERIODICDIR}/reboot
+	${INSTALL_SCRIPT} ${WRKSRC}/reboot_zfSnap.sh ${STAGEDIR}${PERIODICDIR}/reboot/402.zfSnap
 
 .include <bsd.port.mk>



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