aboutsummaryrefslogtreecommitdiff
path: root/net/aprsc
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-07-12 23:20:28 +0000
committerSteve Wills <swills@FreeBSD.org>2014-07-12 23:20:28 +0000
commit194bbed9930c0ef69d175ac9332d92d6184a9973 (patch)
tree0d8ed3fca81e461fe1a903df85aafb8e49aa70fe /net/aprsc
parenta5f69d47fdb3d51764fb89c72da54906afceb007 (diff)
downloadports-194bbed9930c0ef69d175ac9332d92d6184a9973.tar.gz
ports-194bbed9930c0ef69d175ac9332d92d6184a9973.zip
Notes
Diffstat (limited to 'net/aprsc')
-rw-r--r--net/aprsc/Makefile5
-rw-r--r--net/aprsc/files/patch-Makefile.in2
-rw-r--r--net/aprsc/pkg-plist4
3 files changed, 5 insertions, 6 deletions
diff --git a/net/aprsc/Makefile b/net/aprsc/Makefile
index 4a4de0eb31ce..ecd3b7f84ec6 100644
--- a/net/aprsc/Makefile
+++ b/net/aprsc/Makefile
@@ -2,7 +2,7 @@
PORTNAME= aprsc
PORTVERSION= 2.0.14
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONSUFFIX= .g28c5a6a
CATEGORIES= net hamradio
MASTER_SITES= http://he.fi/aprsc/down/ \
@@ -23,7 +23,8 @@ MAKEFILE= GNUmakefile
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
-USES= perl5 gmake
+USES= perl5 gmake shebangfix
+SHEBANG_FILES= aprsc_munin
CONFIGURE_ARGS= --with-openssl
diff --git a/net/aprsc/files/patch-Makefile.in b/net/aprsc/files/patch-Makefile.in
index b3f98a2f89a1..35d8a382cbba 100644
--- a/net/aprsc/files/patch-Makefile.in
+++ b/net/aprsc/files/patch-Makefile.in
@@ -30,7 +30,7 @@
+ $(INSTALL_DATA) $(subst src/,,$(WEBFILES)) $(DESTDIR)$(PREFIX)/etc/aprsc/web
if [ ! -f $(DESTDIR)$(CFGFILE) ] ; then \
- $(INSTALL_DATA) aprsc.conf $(DESTDIR)$(CFGFILE) ; \
-+ $(INSTALL_DATA) aprsc.conf $(DESTDIR)$(PREFIX)/etc/aprsc/aprsc.conf.example ; \
++ $(INSTALL_DATA) aprsc.conf $(DESTDIR)$(PREFIX)/etc/aprsc/aprsc.conf.sample ; \
else true ; fi
# -------------------------------------------------------------------- #
diff --git a/net/aprsc/pkg-plist b/net/aprsc/pkg-plist
index 4b9e7e710584..60e1f5badd08 100644
--- a/net/aprsc/pkg-plist
+++ b/net/aprsc/pkg-plist
@@ -7,9 +7,7 @@ etc/aprsc/web/aprsc-joulukissa.jpg
etc/aprsc/web/excanvas.min.js
etc/aprsc/web/jquery.flot.min.js
etc/aprsc/web/jquery.flot.selection.min.js
-@unexec if cmp -s %D/etc/aprsc/aprsc.conf %D/etc/aprsc/aprsc.conf.example ; then rm -f %D/etc/aprsc/aprsc.conf ; fi
-etc/aprsc/aprsc.conf.example
-@exec if [ ! -f %D/etc/aprsc/aprsc.conf ]; then cp -p %D/%F %B/aprsc/aprscs.conf; fi
+@sample etc/aprsc/aprsc.conf.sample
man/man8/aprsc.8.gz
sbin/aprsc
sbin/aprsc_munin