diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-12-27 18:32:09 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-12-27 18:32:09 +0000 |
commit | a93b68593529d743cbeb9d161e30299d542de92f (patch) | |
tree | 4a9d89e307b7a1413fc0c268c55c31ec35d4f629 /sysutils/zfsnap | |
parent | e1fd712e04a08149ed7f30bebb8b0b08300d0543 (diff) |
Support stage
Notes
Notes:
svn path=/head/; revision=337775
Diffstat (limited to 'sysutils/zfsnap')
-rw-r--r-- | sysutils/zfsnap/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/sysutils/zfsnap/Makefile b/sysutils/zfsnap/Makefile index 65c2116a457d..1511f481823b 100644 --- a/sysutils/zfsnap/Makefile +++ b/sysutils/zfsnap/Makefile @@ -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> |