- Respect NOPORT*

PR:		140045
Submitted by:	Anonymous <swell.k@gmail.com>
Approved by:	maintainer
This commit is contained in:
Martin Wilke
2009-11-20 18:40:51 +00:00
parent 9d7f84a628
commit 693c8d0237
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -20,7 +20,12 @@ NO_BUILD= yes
MAN8= zfs-snapshot-mgmt.8
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
post-patch: .SILENT
${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} \
-e 's|/usr/local|${PREFIX}|g' \
-e 's|${PREFIX}\(/bin/ruby\)|${LOCALBASE}\1|g' \
{} +
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@@ -3,7 +3,7 @@ To actually turn on the automatic snapshots you have to do the following:
1. Add an appropriate crontab entry, e.g.:
echo "*/5 * * * * root /usr/local/bin/zfs-snapshot-mgmt" >> /etc/crontab
echo "*/5 * * * * root %%PREFIX%%/bin/zfs-snapshot-mgmt" >> /etc/crontab
See zfs-snapshot-mgmt(8) manpage for more details.