aboutsummaryrefslogtreecommitdiffstats
path: root/net/queso
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-09-25 06:43:28 +0800
committerbapt <bapt@FreeBSD.org>2015-09-25 06:43:28 +0800
commitd8e88fad793460c92b12dfa23d6d713ad7b63400 (patch)
tree288ce0f3f8b2e12f5866dbccaed2e77303d2498e /net/queso
parent8e115e5f93485b21e692610044fcf12e177113fc (diff)
downloadfreebsd-ports-gnome-d8e88fad793460c92b12dfa23d6d713ad7b63400.tar.gz
freebsd-ports-gnome-d8e88fad793460c92b12dfa23d6d713ad7b63400.tar.zst
freebsd-ports-gnome-d8e88fad793460c92b12dfa23d6d713ad7b63400.zip
Convert @sample which fixes a bad @exec line
Convert to options helpers
Diffstat (limited to 'net/queso')
-rw-r--r--net/queso/Makefile4
-rw-r--r--net/queso/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/queso/Makefile b/net/queso/Makefile
index b411902a67c7..8db9e2a255d4 100644
--- a/net/queso/Makefile
+++ b/net/queso/Makefile
@@ -3,7 +3,7 @@
PORTNAME= queso
PORTVERSION= 980922
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net security
MASTER_SITES= PACKETSTORM/UNIX/scanners
@@ -25,6 +25,8 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/queso ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/queso.conf.sample ${STAGEDIR}${PREFIX}/etc
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation.txt ${STAGEDIR}${DOCSDIR}
diff --git a/net/queso/pkg-plist b/net/queso/pkg-plist
index f8dc6bb605dc..6ec2c03f0349 100644
--- a/net/queso/pkg-plist
+++ b/net/queso/pkg-plist
@@ -1,5 +1,3 @@
sbin/queso
-@unexec if cmp -s %D/etc/etc/queso.conf %D/etc/etc/queso.conf.sample; then rm -f %D/etc/queso.conf.sample; fi
-etc/queso.conf.sample
-@exec [ -f %B/queso.conf.sample ] || cp %B/%f %B/queso.conf.sample
+@sample etc/queso.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/Documentation.txt