aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2015-05-14 23:02:58 +0800
committerfeld <feld@FreeBSD.org>2015-05-14 23:02:58 +0800
commitb4d7d92b67d0211af913f13d7cb44e6f3c30a45b (patch)
tree6c2c49ea287bbb8d5bc029e56ea7c2de99a6f616
parentf7e445b67282cbd550c1f44dde865b7c326f23c4 (diff)
downloadfreebsd-ports-gnome-b4d7d92b67d0211af913f13d7cb44e6f3c30a45b.tar.gz
freebsd-ports-gnome-b4d7d92b67d0211af913f13d7cb44e6f3c30a45b.tar.zst
freebsd-ports-gnome-b4d7d92b67d0211af913f13d7cb44e6f3c30a45b.zip
Add full path to tarsnap binary in sample config
If you run acts from cron it may fail without full path to tarsnap binary due to cron not having /usr/local/bin in PATH by default.
-rw-r--r--sysutils/acts/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/acts/Makefile b/sysutils/acts/Makefile
index 412ea925fa46..754424b086b0 100644
--- a/sysutils/acts/Makefile
+++ b/sysutils/acts/Makefile
@@ -3,7 +3,7 @@
PORTNAME= acts
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils archivers
MAINTAINER= feld@FreeBSD.org
@@ -17,7 +17,7 @@ GH_ACCOUNT= alexjurkiewicz
NO_BUILD= yes
post-patch:
- ${REINPLACE_CMD} 's|ionice -c3 ||' ${WRKSRC}/acts.conf
+ ${REINPLACE_CMD} 's|ionice -c3 tarsnap|${LOCALBASE}/bin/tarsnap|' ${WRKSRC}/acts.conf
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/acts ${STAGEDIR}/${PREFIX}/bin/acts