1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

net/aprsc: fix shebang for sbin/aprsc_munin, use @sample while here

This commit is contained in:
Steve Wills 2014-07-12 23:20:28 +00:00
parent a5f69d47fd
commit 194bbed993
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361653
3 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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
# -------------------------------------------------------------------- #

View File

@ -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