On Fri, Jun 14, 2013 at 04:45:50PM +0200, Giovanni Bechis wrote: > From a post on misc@ (http://marc.info/?l=openbsd-misc&m=137088674919730&w=2). > On new install faxsetup does not find a proper font and screw up the default > hyla.conf it generates. > By adding a default FontMap it finds all the correct fonts. > ok ? > Cheers > Giovanni
> Index: Makefile > =================================================================== > RCS file: /cvs/ports/comms/hylafax/Makefile,v > retrieving revision 1.68 > diff -u -p -u -p -r1.68 Makefile > --- Makefile 12 Apr 2013 14:06:38 -0000 1.68 > +++ Makefile 14 Jun 2013 14:38:46 -0000 > @@ -2,7 +2,7 @@ > > COMMENT= send/receive faxes and share modems > DISTNAME= hylafax-6.0.6 > -REVISION=0 > +REVISION= 1 > CATEGORIES= comms > > HOMEPAGE= http://www.HylaFAX.org/ > @@ -58,5 +58,8 @@ NO_TEST= Yes > > pre-configure: > ${SUBST_CMD} ${WRKSRC}/configure > + > +post-install: > + echo "FontMap: ${TRUEPREFIX}/share/ghostscript/fonts" > >${PREFIX}/libdata/hylafax/etc/hyla.conf I think you want s/TRUEPREFIX/LOCALBASE here, don't you? > > .include <bsd.port.mk> > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/comms/hylafax/pkg/PLIST,v > retrieving revision 1.19 > diff -u -p -u -p -r1.19 PLIST > --- pkg/PLIST 19 Jul 2012 15:05:30 -0000 1.19 > +++ pkg/PLIST 14 Jun 2013 14:38:46 -0000 > @@ -133,6 +133,7 @@ libdata/hylafax/etc/faxcover_example_sgi > libdata/hylafax/etc/faxmail.ps > libdata/hylafax/etc/hfaxd.conf > libdata/hylafax/etc/hosts.hfaxd > +libdata/hylafax/etc/hyla.conf > libdata/hylafax/etc/lutRS18.pcf > libdata/hylafax/etc/pagesizes > libdata/hylafax/etc/templates/ -- Antoine
