Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2015 17:49:04 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397075 - head/net/trafshow3
Message-ID:  <201509161749.t8GHn478010802@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Sep 16 17:49:03 2015
New Revision: 397075
URL: https://svnweb.freebsd.org/changeset/ports/397075

Log:
  - Switch to @sample
  
  Approved by:	portmgr blanket

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

Modified: head/net/trafshow3/Makefile
==============================================================================
--- head/net/trafshow3/Makefile	Wed Sep 16 16:55:47 2015	(r397074)
+++ head/net/trafshow3/Makefile	Wed Sep 16 17:49:03 2015	(r397075)
@@ -3,7 +3,7 @@
 
 PORTNAME=	trafshow
 PORTVERSION=	3.1
-PORTREVISION=	6
+PORTREVISION=	7
 PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	LOCAL/sem
@@ -31,9 +31,6 @@ post-patch:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/trafshow ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/trafshow.1 ${STAGEDIR}${PREFIX}/man/man1
-	${INSTALL_DATA} ${WRKSRC}/.trafshow ${STAGEDIR}${PREFIX}/etc/trafshow.dist
-	if [ ! -f ${STAGEDIR}${PREFIX}/etc/trafshow ]; then \
-		${CP} ${STAGEDIR}${PREFIX}/etc/trafshow.dist ${STAGEDIR}${PREFIX}/etc/trafshow; \
-	fi
+	${INSTALL_DATA} ${WRKSRC}/.trafshow ${STAGEDIR}${PREFIX}/etc/trafshow.sample
 
 .include <bsd.port.mk>

Modified: head/net/trafshow3/pkg-plist
==============================================================================
--- head/net/trafshow3/pkg-plist	Wed Sep 16 16:55:47 2015	(r397074)
+++ head/net/trafshow3/pkg-plist	Wed Sep 16 17:49:03 2015	(r397075)
@@ -1,5 +1,3 @@
 bin/trafshow
 man/man1/trafshow.1.gz
-@unexec if cmp -s %D/etc/trafshow %D/etc/trafshow.dist; then rm -f %D/etc/trafshow; fi
-etc/trafshow.dist
-@exec if [ ! -f %D/etc/trafshow ]; then cp -p %D/%F %B/trafshow; fi
+@sample etc/trafshow.sample



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