Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 22:43:29 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397779 - head/net/queso
Message-ID:  <201509242243.t8OMhTg8083520@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
-@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509242243.t8OMhTg8083520>