- switch to pkg-readmes

ok giovanni@ (MAINTAINER)
This commit is contained in:
jasper 2010-11-15 10:05:05 +00:00
parent 8a50c41d51
commit d8302aa969
4 changed files with 15 additions and 20 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.59 2010/11/15 00:22:50 espie Exp $
# $OpenBSD: Makefile,v 1.60 2010/11/15 10:05:05 jasper Exp $
COMMENT= send/receive faxes and share modems
DISTNAME= hylafax-4.4.6
REVISION= 0
CATEGORIES= comms
HOMEPAGE= http://www.HylaFAX.org/
@ -53,10 +54,4 @@ NO_REGRESS= Yes
pre-configure:
@perl -pi -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/configure
post-install:
@sed -e s,%%PREFIX%%,${TRUEPREFIX},g ${FILESDIR}/README.OpenBSD > \
${WRKBUILD}/README.OpenBSD
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hylafax/
${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD ${PREFIX}/share/doc/hylafax/
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
Congratulations, HylaFAX has been installed!
Instructions for configuration may be found in the file
${PREFIX}/share/doc/hylafax/README.OpenBSD

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.16 2010/07/08 16:21:17 giovanni Exp $
@comment $OpenBSD: PLIST,v 1.17 2010/11/15 10:05:05 jasper Exp $
@conflict p5-SendPage-*
@mode 4555
@owner uucp
@ -477,8 +477,7 @@ sbin/recvstats
@bin sbin/tsitest
@bin sbin/typetest
sbin/xferfaxstats
share/doc/hylafax/
share/doc/hylafax/README.OpenBSD
share/doc/pkg-readmes/${FULLPKGNAME}
@exec ln -sf %D/libdata/hylafax /var/spool/hylafax
@exec mkfifo %D/libdata/hylafax/FIFO; chown uucp:dialer %D/libdata/hylafax/FIFO; chmod 600 %D/libdata/hylafax/FIFO
@unexec rm %D/libdata/hylafax/FIFO

View File

@ -1,26 +1,31 @@
$OpenBSD: README,v 1.3 2010/11/15 10:05:05 jasper Exp $
Running Hylafax on OpenBSD
--------------------------
Congratulations, HylaFAX has been installed!
It now needs some manual configuration before it is usable.
Make sure that you have configured HylaFAX before running faxq:
server: %%PREFIX%%/sbin/faxsetup
modems: %%PREFIX%%/sbin/faxaddmodem
server: ${TRUEPREFIX}/sbin/faxsetup
modems:${TRUEPREFIX}/sbin/faxaddmodem
incoming calls: /etc/ttys
When you are asked to specify the name of tty device, use a
tty device existing on your architecture instead of "ttyd1".
To start, add the following to /etc/rc.local:
if [ -x %%PREFIX%%/sbin/faxq ]; then
%%PREFIX%%/sbin/hfaxd -i hylafax
%%PREFIX%%/sbin/faxq
if [ -x ${TRUEPREFIX}/sbin/faxq ]; then
${TRUEPREFIX}/sbin/hfaxd -i hylafax
${TRUEPREFIX}/sbin/faxq
echo -n ' hylafax'
fi
For accepting incoming FAX/data calls, modify /etc/ttys(5) to
contain something like this:
tty00 "%%PREFIX%%/sbin/faxgetty" dialup on
tty00 "${TRUEPREFIX}/sbin/faxgetty" dialup on
and send a SIGHUP to init(8).