Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 2015 15:31:11 +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: r393330 - head/comms/hylafax
Message-ID:  <201507311531.t6VFVB9e082790@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jul 31 15:31:10 2015
New Revision: 393330
URL: https://svnweb.freebsd.org/changeset/ports/393330

Log:
  - Switch to @sample

Modified:
  head/comms/hylafax/Makefile
  head/comms/hylafax/pkg-plist

Modified: head/comms/hylafax/Makefile
==============================================================================
--- head/comms/hylafax/Makefile	Fri Jul 31 15:28:40 2015	(r393329)
+++ head/comms/hylafax/Makefile	Fri Jul 31 15:31:10 2015	(r393330)
@@ -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:

Modified: head/comms/hylafax/pkg-plist
==============================================================================
--- head/comms/hylafax/pkg-plist	Fri Jul 31 15:28:40 2015	(r393329)
+++ head/comms/hylafax/pkg-plist	Fri Jul 31 15:31:10 2015	(r393330)
@@ -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



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