aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portscout
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-08-10 19:32:39 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-08-10 19:32:39 +0000
commit1095af831d875431dc8585ab2e6f7737093d787f (patch)
tree0ccfedbdb1c3b099597aebdd6a4fa03513658b9e /ports-mgmt/portscout
parent6d8b323ab090ee089aba09dd01f19e558a5802bf (diff)
downloadports-1095af831d875431dc8585ab2e6f7737093d787f.tar.gz
ports-1095af831d875431dc8585ab2e6f7737093d787f.zip
Notes
Diffstat (limited to 'ports-mgmt/portscout')
-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