aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/zfs-periodic
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-28 02:36:49 +0800
committerbapt <bapt@FreeBSD.org>2013-12-28 02:36:49 +0800
commit0f11d50c7a2f6865d61bd96b227f3e8b06929af6 (patch)
treea81abf60e59c35ba56531e9a4c20bfeda3425938 /sysutils/zfs-periodic
parenta44cd6aef3c31f454d4162f84cf5fdac0082acd1 (diff)
downloadfreebsd-ports-gnome-0f11d50c7a2f6865d61bd96b227f3e8b06929af6.tar.gz
freebsd-ports-gnome-0f11d50c7a2f6865d61bd96b227f3e8b06929af6.tar.zst
freebsd-ports-gnome-0f11d50c7a2f6865d61bd96b227f3e8b06929af6.zip
Support stage
Diffstat (limited to 'sysutils/zfs-periodic')
-rw-r--r--sysutils/zfs-periodic/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/sysutils/zfs-periodic/Makefile b/sysutils/zfs-periodic/Makefile
index f70c2efe958d..18bf4f3e2deb 100644
--- a/sysutils/zfs-periodic/Makefile
+++ b/sysutils/zfs-periodic/Makefile
@@ -27,7 +27,6 @@ PERIODIC_FILES= etc/periodic/hourly/000.zfs-snapshot \
PLIST_FILES= ${PERIODIC_FILES} bin/zfs-snapshot
PLIST_DIRSTRY= ${PERIODIC_DIRS}
-NO_STAGE= yes
post-patch:
.for _file in ${PERIODIC_FILES}
@${REINPLACE_CMD} -e "s|/etc/periodic/zfs-snapshot|${PREFIX}/bin/zfs-snapshot|" \
@@ -35,17 +34,13 @@ post-patch:
.endfor
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/zfs-snapshot ${PREFIX}/bin
-
+ ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/zfs-snapshot ${STAGEDIR}${PREFIX}/bin
.for _dir in ${PERIODIC_DIRS}
- @${MKDIR} ${PREFIX}/${_dir}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${_dir}
.endfor
.for _file in ${PERIODIC_FILES}
- @${INSTALL_SCRIPT} ${WRKSRC}/${_file} ${PREFIX}/${_file}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${_file} ${STAGEDIR}${PREFIX}/${_file}
.endfor
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>