aboutsummaryrefslogtreecommitdiff
path: root/comms/hylafax
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-07-31 15:31:10 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-07-31 15:31:10 +0000
commit3407baf560edcc49714a731bd8f5c8ec47ba417e (patch)
treeddcb494cf7d120466a47ed4b2187a104fa0ee20f /comms/hylafax
parent18a9fc2f32e4dd3a202c6c5e55a8aa174c033adc (diff)
downloadports-3407baf560edcc49714a731bd8f5c8ec47ba417e.tar.gz
ports-3407baf560edcc49714a731bd8f5c8ec47ba417e.zip
- Switch to @sample
Notes
Notes: svn path=/head/; revision=393330
Diffstat (limited to 'comms/hylafax')
-rw-r--r--comms/hylafax/Makefile10
-rw-r--r--comms/hylafax/pkg-plist16
2 files changed, 9 insertions, 17 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index 1d32fdcc2943..7bd1fff4bf9e 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -3,7 +3,7 @@
PORTNAME= hylafax
PORTVERSION= 6.0.6
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= comms
MASTER_SITES= ftp://ftp.hylafax.org/source/
@@ -75,12 +75,12 @@ post-patch:
-e 's,/usr/local,${LOCALBASE},g' \
-e 's,-ljbig,-L${LOCALBASE}/lib &,' \
${WRKSRC}/configure
- ${REINPLACE_CMD} -e 's,-O hfaxd.conf,-O hfaxd.conf-dist,' \
+ ${REINPLACE_CMD} -e 's,-O hfaxd.conf,-O hfaxd.conf.sample,' \
${WRKSRC}/hfaxd/Makefile.in
- ${REINPLACE_CMD} -e 's,hosts.hfaxd,hosts.hfaxd-dist,' \
+ ${REINPLACE_CMD} -e 's,hosts.hfaxd,hosts.hfaxd.sample,' \
${WRKSRC}/etc/Makefile.in
- ${REINPLACE_CMD} -e 's,-O typerules,-O typerules-dist,' \
- -e 's,-O pagesizes,-O pagesizes-dist -src pagesizes,' \
+ ${REINPLACE_CMD} -e 's,-O typerules,-O typerules.sample,' \
+ -e 's,-O pagesizes,-O pagesizes.sample -src pagesizes,' \
${WRKSRC}/libhylafax/Makefile.in
pre-install:
diff --git a/comms/hylafax/pkg-plist b/comms/hylafax/pkg-plist
index 5af7488385bb..bb26d915ea57 100644
--- a/comms/hylafax/pkg-plist
+++ b/comms/hylafax/pkg-plist
@@ -8,15 +8,9 @@ bin/sendpage
lib/fax/faxcover.ps
lib/fax/faxcover_example_sgi.ps
lib/fax/faxmail.ps
-@unexec if cmp -s %D/lib/fax/hfaxd.conf %D/lib/fax/hfaxd.conf-dist; then rm -f %D/lib/fax/hfaxd.conf; fi
-lib/fax/hfaxd.conf-dist
-@exec [ -f %B/hfaxd.conf ] || cp %B/%f %B/hfaxd.conf
-@unexec if cmp -s %D/lib/fax/pagesizes %D/lib/fax/pagesizes-dist; then rm -f %D/lib/fax/pagesizes; fi
-lib/fax/pagesizes-dist
-@exec [ -f %B/pagesizes ] || cp %B/%f %B/pagesizes
-@unexec if cmp -s %D/lib/fax/typerules %D/lib/fax/typerules-dist; then rm -f %D/lib/fax/typerules; fi
-lib/fax/typerules-dist
-@exec [ -f %B/typerules ] || cp %B/%f %B/typerules
+@sample lib/fax/hfaxd.conf.sample
+@sample lib/fax/pagesizes.sample
+@sample lib/fax/typerules.sample
man/man1/edit-faxcover.1.gz
man/man1/faxalter.1.gz
man/man1/faxcover.1.gz
@@ -234,9 +228,7 @@ sbin/hylafax
%%HYLAFAX_SPOOL%%/etc/dpsprinter.ps
%%HYLAFAX_SPOOL%%/etc/cover.templ
%%HYLAFAX_SPOOL%%/etc/xferfaxlog
-@unexec if cmp -s %%HYLAFAX_SPOOL%%/etc/hosts.hfaxd %%HYLAFAX_SPOOL%%/etc/hosts.hfaxd-dist; then rm -f %%HYLAFAX_SPOOL%%/etc/hosts.hfaxd; fi
-%%HYLAFAX_SPOOL%%/etc/hosts.hfaxd-dist
-@exec [ -f %%HYLAFAX_SPOOL%%/etc/hosts.hfaxd ] || cp %%HYLAFAX_SPOOL%%/etc/hosts.hfaxd-dist %%HYLAFAX_SPOOL%%/hosts.hfaxd
+@sample %%HYLAFAX_SPOOL%%/etc/hosts.hfaxd.sample
%%HYLAFAX_SPOOL%%/etc/dialrules
%%HYLAFAX_SPOOL%%/etc/dialrules.sf-ba
%%HYLAFAX_SPOOL%%/etc/dialrules.europe