svn commit: r397779 - head/net/queso

Baptiste Daroussin bapt at FreeBSD.org
Thu Sep 24 22:43:30 UTC 2015


Author: bapt
Date: Thu Sep 24 22:43:28 2015
New Revision: 397779
URL: https://svnweb.freebsd.org/changeset/ports/397779

Log:
  Convert @sample which fixes a bad @exec line
  Convert to options helpers

Modified:
  head/net/queso/Makefile
  head/net/queso/pkg-plist

Modified: head/net/queso/Makefile
==============================================================================
--- head/net/queso/Makefile	Thu Sep 24 22:41:13 2015	(r397778)
+++ head/net/queso/Makefile	Thu Sep 24 22:43:28 2015	(r397779)
@@ -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}
 

Modified: head/net/queso/pkg-plist
==============================================================================
--- head/net/queso/pkg-plist	Thu Sep 24 22:41:13 2015	(r397778)
+++ head/net/queso/pkg-plist	Thu Sep 24 22:43:28 2015	(r397779)
@@ -1,5 +1,3 @@
 sbin/queso
- at 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
- at exec [ -f %B/queso.conf.sample ] || cp %B/%f %B/queso.conf.sample
+ at sample etc/queso.conf.sample
 %%PORTDOCS%%%%DOCSDIR%%/Documentation.txt


More information about the svn-ports-all mailing list