aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-30 10:51:47 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-30 10:51:47 +0000
commit44f5b91cc98bd520d51b537d5cf92190b3844f4d (patch)
tree73ae094624f9639275b08ea3c0b1116eb97a6944
parent206f6d865ea1604d2c024c604175fca0e20391f4 (diff)
- Switch to @sample
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=395612
-rw-r--r--net/opentracker/Makefile2
-rw-r--r--net/opentracker/pkg-plist4
2 files changed, 2 insertions, 4 deletions
diff --git a/net/opentracker/Makefile b/net/opentracker/Makefile
index 388395e9bf8a..cd2cbda1062b 100644
--- a/net/opentracker/Makefile
+++ b/net/opentracker/Makefile
@@ -12,7 +12,7 @@ COMMENT= Free lightweight bittorrent tracker using libowfat
BUILD_DEPENDS= ${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat
-USES= tar:bzip2
+USES= tar:bzip2
USE_RC_SUBR= ${PORTNAME}
OPTIONS_DEFINE= COMPRESSION_GZIP DEBUG_HTTPERROR FULLSCRAPE RESTRICT_STATS IPV6
diff --git a/net/opentracker/pkg-plist b/net/opentracker/pkg-plist
index 59e651fe1378..865816c0227c 100644
--- a/net/opentracker/pkg-plist
+++ b/net/opentracker/pkg-plist
@@ -1,4 +1,2 @@
bin/opentracker
-@unexec if cmp -s %D/%%ETCDIR%%/opentracker.conf.sample %D/%%ETCDIR%%/opentracker.conf; then rm -f %D/%%ETCDIR%%/opentracker.conf; fi
-%%ETCDIR%%/opentracker.conf.sample
-@exec cp -np %D/%F %B/opentracker.conf
+@sample %%ETCDIR%%/opentracker.conf.sample