1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- preserve etc/hosts.hfaxd

PR:		185589
Reported by:	Georg Altmann
This commit is contained in:
Dirk Meyer 2014-02-14 14:33:24 +00:00
parent daf10095aa
commit 00a809e1db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344211
2 changed files with 6 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= hylafax
PORTVERSION= 6.0.6
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ftp://ftp.hylafax.org/source/
@ -15,7 +16,6 @@ LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
libjbig.so:${PORTSDIR}/graphics/jbigkit
MAKE_JOBS_UNSAFE= yes
#NO_STAGE= yes
NEED_ROOT= yes
USE_GHOSTSCRIPT=yes
@ -85,6 +85,8 @@ post-patch:
${WRKSRC}/configure
${REINPLACE_CMD} -e 's,-O hfaxd.conf,-O hfaxd.conf-dist,' \
${WRKSRC}/hfaxd/Makefile.in
${REINPLACE_CMD} -e 's,hosts.hfaxd,hosts.hfaxd-dist,' \
${WRKSRC}/etc/Makefile.in
${REINPLACE_CMD} -e 's,-O typerules,-O typerules-dist,' \
-e 's,-O pagesizes,-O pagesizes-dist -src pagesizes,' \
${WRKSRC}/libhylafax/Makefile.in

View File

@ -253,7 +253,9 @@ config/sierra
etc/dpsprinter.ps
etc/cover.templ
etc/xferfaxlog
etc/hosts.hfaxd
@unexec if cmp -s %D/etc/hosts.hfaxd %D/etc/hosts.hfaxd-dist; then rm -f %D/etc/hosts.hfaxd; fi
etc/hosts.hfaxd-dist
@exec [ -f %B/hosts.hfaxd ] || cp %B/%f %B/hosts.hfaxd
etc/dialrules
etc/dialrules.sf-ba
etc/dialrules.europe