aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-08-11 03:32:39 +0800
committerantoine <antoine@FreeBSD.org>2014-08-11 03:32:39 +0800
commit02c7e747d37d77d903a7944d3950a621410e9fb6 (patch)
tree0ccfedbdb1c3b099597aebdd6a4fa03513658b9e /ports-mgmt
parentb5ee29175548b749aadcb6684ae74ccd4f4324aa (diff)
downloadfreebsd-ports-gnome-02c7e747d37d77d903a7944d3950a621410e9fb6.tar.gz
freebsd-ports-gnome-02c7e747d37d77d903a7944d3950a621410e9fb6.tar.zst
freebsd-ports-gnome-02c7e747d37d77d903a7944d3950a621410e9fb6.zip
Unbreak
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portscout/Makefile14
-rw-r--r--ports-mgmt/portscout/pkg-plist5
2 files changed, 5 insertions, 14 deletions
diff --git a/ports-mgmt/portscout/Makefile b/ports-mgmt/portscout/Makefile
index d30e8461745a..5ad5065e8ff4 100644
--- a/ports-mgmt/portscout/Makefile
+++ b/ports-mgmt/portscout/Makefile
@@ -3,7 +3,7 @@
PORTNAME= portscout
PORTVERSION= 0.8.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ports-mgmt
MASTER_SITES= http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/ \
http://www.atarininja.org/~wxs/distfiles/ \
@@ -15,16 +15,12 @@ COMMENT= Tool to scan for new versions of FreeBSD ports
OPTIONS_DEFINE= SQLITE3 DOCS
SQLITE3_DESC= Use SQLite backend instead of PostgreSQL
-USES= perl5
+USES= perl5 shebangfix
NO_BUILD= yes
+SHEBANG_FILES= ${WRKSRC}/portscout.pl
PORTDOCS= UPDATING portscout-portconfig.txt xml-datasrc-example.xml
-#MAN1= portscout.1
-
-USES= shebangfix
-SHEBANG_FILES= ${WRKSRC}/portscout.pl
-
RUN_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
p5-Proc-Queue>=0:${PORTSDIR}/devel/p5-Proc-Queue \
p5-Net>=0:${PORTSDIR}/net/p5-Net \
@@ -99,10 +95,6 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/portscout.conf ${STAGEDIR}${PREFIX}/etc/portscout.conf.sample
-post-install:
- #@if [ ! -f ${PREFIX}/etc/portscout.conf ]; then \
- # ${CP} -p ${PREFIX}/etc/portscout.conf.sample ${STAGEDIR}${PREFIX}/etc/portscout.conf; \
- #fi
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
. for f in ${PORTDOCS}
diff --git a/ports-mgmt/portscout/pkg-plist b/ports-mgmt/portscout/pkg-plist
index f07afed5a886..11e2d0ccd5fd 100644
--- a/ports-mgmt/portscout/pkg-plist
+++ b/ports-mgmt/portscout/pkg-plist
@@ -1,7 +1,6 @@
bin/portscout
-@unexec if cmp -s %D/etc/portscout.conf.sample %D/etc/portscout.conf; then rm -f %D/etc/portscout.conf; fi
-@exec [ ! -f %D/etc/portscout.conf ] && cp -p %D/etc/portscout.conf.sample %D/etc/portscout.conf
-etc/portscout.conf.sample
+@sample etc/portscout.conf.sample
+man/man1/portscout.1.gz
%%DATADIR%%/templates/index.html
%%DATADIR%%/templates/maintainer.html
%%DATADIR%%/templates/reminder.mail