- Respect NOPORT*
PR: 140045 Submitted by: Anonymous <swell.k@gmail.com> Approved by: maintainer
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user