aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-09-10 00:07:07 +0800
committertobik <tobik@FreeBSD.org>2018-09-10 00:07:07 +0800
commitb28055de38ee98031c9e5015e712d862bfd627bf (patch)
treeb681d4b96883e43f158a966b7480d4599c46c41e
parenteac59aba41703962a20f7cf60991e7c591941cae (diff)
downloadfreebsd-ports-gnome-b28055de38ee98031c9e5015e712d862bfd627bf.tar.gz
freebsd-ports-gnome-b28055de38ee98031c9e5015e712d862bfd627bf.tar.zst
freebsd-ports-gnome-b28055de38ee98031c9e5015e712d862bfd627bf.zip
net-mgmt/statsite: Fix path in rc script
Reported by: eugen
-rw-r--r--net-mgmt/statsite/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/statsite/Makefile b/net-mgmt/statsite/Makefile
index 24d9086d3be5..9bc34bfb637d 100644
--- a/net-mgmt/statsite/Makefile
+++ b/net-mgmt/statsite/Makefile
@@ -3,7 +3,7 @@
PORTNAME= statsite
PORTVERSION= 0.8.0
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt
MAINTAINER= rbarabas@rbarabas.info
@@ -29,7 +29,7 @@ PORTDOCS= README.md
post-patch:
@${REINPLACE_CMD} -e 's,python,${PYTHON_CMD},' \
- -e 's,/usr/libexec,/usr/local/share,' \
+ -e 's,/usr/libexec/statsite,${DATADIR},' \
-e '/daemonize/d' \
-e '/pid_file/d' \
${WRKSRC}/rpm/statsite.conf.example