svn commit: r361653 - in head/net/aprsc: . files

Steve Wills swills at FreeBSD.org
Sat Jul 12 23:20:29 UTC 2014


Author: swills
Date: Sat Jul 12 23:20:28 2014
New Revision: 361653
URL: http://svnweb.freebsd.org/changeset/ports/361653
QAT: https://qat.redports.org/buildarchive/r361653/

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

Modified:
  head/net/aprsc/Makefile
  head/net/aprsc/files/patch-Makefile.in   (contents, props changed)
  head/net/aprsc/pkg-plist   (contents, props changed)

Modified: head/net/aprsc/Makefile
==============================================================================
--- head/net/aprsc/Makefile	Sat Jul 12 22:59:25 2014	(r361652)
+++ head/net/aprsc/Makefile	Sat Jul 12 23:20:28 2014	(r361653)
@@ -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
 

Modified: head/net/aprsc/files/patch-Makefile.in
==============================================================================
--- head/net/aprsc/files/patch-Makefile.in	Sat Jul 12 22:59:25 2014	(r361652)
+++ head/net/aprsc/files/patch-Makefile.in	Sat Jul 12 23:20:28 2014	(r361653)
@@ -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
  
  # -------------------------------------------------------------------- #

Modified: head/net/aprsc/pkg-plist
==============================================================================
--- head/net/aprsc/pkg-plist	Sat Jul 12 22:59:25 2014	(r361652)
+++ head/net/aprsc/pkg-plist	Sat Jul 12 23:20:28 2014	(r361653)
@@ -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
- at 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
- at exec if [ ! -f %D/etc/aprsc/aprsc.conf ]; then cp -p %D/%F %B/aprsc/aprscs.conf; fi
+ at sample etc/aprsc/aprsc.conf.sample
 man/man8/aprsc.8.gz
 sbin/aprsc
 sbin/aprsc_munin


More information about the svn-ports-all mailing list