Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2016 09:00:17 +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: r412902 - in head: devel/cl-asdf dns/powerdns dns/powerdns-recursor emulators/visualboyadvance-m graphics/gnash
Message-ID:  <201604100900.u3A90Htn027806@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Apr 10 09:00:17 2016
New Revision: 412902
URL: https://svnweb.freebsd.org/changeset/ports/412902

Log:
  Convert to @sample

Modified:
  head/devel/cl-asdf/pkg-plist
  head/dns/powerdns-recursor/pkg-plist
  head/dns/powerdns/pkg-plist
  head/emulators/visualboyadvance-m/pkg-plist
  head/graphics/gnash/pkg-plist

Modified: head/devel/cl-asdf/pkg-plist
==============================================================================
--- head/devel/cl-asdf/pkg-plist	Sun Apr 10 08:42:30 2016	(r412901)
+++ head/devel/cl-asdf/pkg-plist	Sun Apr 10 09:00:17 2016	(r412902)
@@ -1,6 +1,4 @@
-@unexec if cmp -s %D/etc/asdf-init.lisp.default %D/etc/asdf-init.lisp; then rm -f %D/etc/asdf-init.lisp; fi
-etc/asdf-init.lisp.default
-@exec [ -f %D/etc/asdf-init.lisp ] || cp %D/etc/asdf-init.lisp.default %D/etc/asdf-init.lisp
+@sample etc/asdf-init.lisp.default etc/asdf-init.lisp
 %%LIB32DIR%%/common-lisp/asdf/asdf-ecl.lisp
 %%LIB32DIR%%/common-lisp/asdf/asdf.asd
 %%LIB32DIR%%/common-lisp/asdf/asdf.lisp

Modified: head/dns/powerdns-recursor/pkg-plist
==============================================================================
--- head/dns/powerdns-recursor/pkg-plist	Sun Apr 10 08:42:30 2016	(r412901)
+++ head/dns/powerdns-recursor/pkg-plist	Sun Apr 10 09:00:17 2016	(r412902)
@@ -1,6 +1,4 @@
-@unexec if cmp -s %D/etc/pdns/recursor.conf %D/etc/pdns/recursor.conf-dist; then rm -f %D/etc/pdns/recursor.conf; fi
-etc/pdns/recursor.conf-dist
-@exec [ -f %B/recursor.conf ] || cp %B/%f %B/recursor.conf
+@sample etc/pdns/recursor.conf-dist etc/pdns/recursor.conf
 bin/rec_control
 sbin/pdns_recursor
 man/man1/pdns_recursor.1.gz

Modified: head/dns/powerdns/pkg-plist
==============================================================================
--- head/dns/powerdns/pkg-plist	Sun Apr 10 08:42:30 2016	(r412901)
+++ head/dns/powerdns/pkg-plist	Sun Apr 10 09:00:17 2016	(r412902)
@@ -37,9 +37,7 @@ man/man1/pdns_server.1.gz
 man/man1/pdnssec.1.gz
 man/man1/zone2ldap.1.gz
 man/man1/zone2sql.1.gz
-@unexec if cmp -s %D/etc/pdns/pdns.conf %D/etc/pdns/pdns.conf-dist; then rm -f %D/etc/pdns/pdns.conf; fi
-etc/pdns/pdns.conf-dist
-@exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf
+@sample etc/pdns/pdns.conf-dist etc/pdns/pdns.conf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/pdns.conf
 %%PORTEXAMPLES%%@dir %%EXAMPLESDIR%%
 %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/dnssec-3.x_to_3.4.0_schema.mysql.sql
@@ -52,4 +50,3 @@ etc/pdns/pdns.conf-dist
 %%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/schema.mysql.sql
 %%PGSQL%%%%PORTDOCS%%%%DOCSDIR%%/schema.pgsql.sql
 %%SQLITE3%%%%PORTDOCS%%%%DOCSDIR%%/schema.sqlite3.sql
-@dir etc/pdns

Modified: head/emulators/visualboyadvance-m/pkg-plist
==============================================================================
--- head/emulators/visualboyadvance-m/pkg-plist	Sun Apr 10 08:42:30 2016	(r412901)
+++ head/emulators/visualboyadvance-m/pkg-plist	Sun Apr 10 09:00:17 2016	(r412902)
@@ -1,8 +1,6 @@
 %%GVBAM%%bin/gvbam
 %%SDL%%bin/vbam
-@unexec if cmp -s %D/etc/vbam.cfg-example %D/etc/vbam.cfg; then rm -f %D/etc/vbam.cfg; fi
-etc/vbam.cfg-example
-@exec if [ ! -f %D/etc/vbam.cfg ] ; then cp -p %D/%F %B/vbam.cfg; fi
+@sample etc/vbam.cfg-example etc/vbam.cfg
 %%GVBAM%%share/applications/gvbam.desktop
 %%GVBAM%%share/icons/hicolor/16x16/apps/vbam.png
 %%GVBAM%%share/icons/hicolor/22x22/apps/vbam.png

Modified: head/graphics/gnash/pkg-plist
==============================================================================
--- head/graphics/gnash/pkg-plist	Sun Apr 10 08:42:30 2016	(r412901)
+++ head/graphics/gnash/pkg-plist	Sun Apr 10 09:00:17 2016	(r412902)
@@ -11,15 +11,9 @@ bin/rtmpget
 %%CYGNAL%%bin/flvdumper
 %%CYGNAL%%bin/soldumper
 %%NPAPI%%%%WEBPLUGIN_DIR%%/libgnashplugin.so
-%%CYGNAL%%@unexec if cmp -s %D/etc/cygnalrc.dist %D/etc/cygnalrc; then rm -f %D/etc/cygnalrc; fi
-%%CYGNAL%%etc/cygnalrc.dist
-%%CYGNAL%%@exec if [ ! -f %B/cygnalrc ]; then cp -p %D/%F %B/cygnalrc; fi
-@unexec if cmp -s %D/etc/gnashpluginrc.dist %D/etc/gnashpluginrc; then rm -f %D/etc/gnashpluginrc; fi
-etc/gnashpluginrc.dist
-@exec if [ ! -f %B/gnashpluginrc ]; then cp -p %D/%F %B/gnashpluginrc; fi
-@unexec if cmp -s %D/etc/gnashrc.dist %D/etc/gnashrc; then rm -f %D/etc/gnashrc; fi
-etc/gnashrc.dist
-@exec if [ ! -f %B/gnashrc ]; then cp -p %D/%F %B/gnashrc; fi
+%%CYGNAL%%@sample etc/cygnalrc.dist etc/cygnalrc
+@sample etc/gnashpluginrc.dist etc/gnashpluginrc
+@sample etc/gnashrc.dist etc/gnashrc
 include/gnash/AMF.h
 include/gnash/BevelFilter_as.h
 include/gnash/BitmapData_as.h



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