- make PLIST in alpha order
This commit is contained in:
brad 1999-08-06 02:45:33 +00:00
parent dc22ce1e2f
commit 94bb9cccfe
3 changed files with 72 additions and 75 deletions

View File

@ -1,24 +1,24 @@
# $OpenBSD: Makefile,v 1.9 1999/06/17 16:57:01 espie Exp $
# $OpenBSD: Makefile,v 1.10 1999/08/06 02:45:33 brad Exp $
DISTNAME= hylafax-v4.0pl2
.if defined(A4)
PKGNAME= hylafax-4.0.2-A4
.else
PKGNAME= hylafax-4.0.2-letter
PKGNAME= hylafax-4.0.2-letter
.endif
MASTER_SITES= ftp://ftp.sgi.com/sgi/fax/source/
EXTRACT_SUFX= -tar.gz
CATEGORIES= comms
MAINTAINER= d@openbsd.org
MASTER_SITES= ftp://ftp.sgi.com/sgi/fax/source/
EXTRACT_SUFX= -tar.gz
BUILD_DEPENDS= ${PREFIX}/lib/afm/Courier:${PORTSDIR}/print/afm
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5
LIB_DEPENDS= tiff.3.4:${PORTSDIR}/graphics/tiff34
BUILD_DEPENDS+= ${PREFIX}/lib/afm/Courier:${PORTSDIR}/print/afm
RUN_DEPENDS= ghostscript-5.10:${PORTSDIR}/print/ghostscript5
LIB_DEPENDS= tiff\\.3\\.4:${PORTSDIR}/graphics/tiff34
USE_EGXX=yes
USE_EGCC= yes
USE_EGXX= yes
.if !defined(A4)
PAGESIZE= North American Letter
@ -26,8 +26,8 @@ PAGESIZE= North American Letter
PAGESIZE= ISO A4
.endif
FAXUID=uucp
FAXGID=dialer
FAXUID= uucp
FAXGID= dialer
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-INSTALL="" \
@ -41,10 +41,11 @@ CONFIGURE_ARGS= --with-INSTALL="" \
--with-REGEX=no --with-LIBREGEX= --with-REGEXINC=/usr/include \
--with-FAXUID=${FAXUID} --with-FAXGID=${FAXGID} \
SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \
CONFIGURE_ENV= CONFIG_SOCKARGLENTYPE=::socklen_t
SUID_EXES= ${PREFIX}/sbin/faxgetty ${PREFIX}/sbin/faxq \
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
CONFIGURE_ENV=CONFIG_SOCKARGLENTYPE=::socklen_t
pre-fetch:
.if !defined(NO_WARNINGS)
.if !defined(A4)
@ -53,10 +54,11 @@ pre-fetch:
@${ECHO_MSG} "Using \"ISO A4\" for default page size."
.endif
.endif
post-install:
/usr/sbin/chown ${FAXUID}.${FAXGID} ${SUID_EXES}
chmod a=rx,u+s ${SUID_EXES}
${INSTALL_DATA} ${FILESDIR}/hylafax.sh.sample ${PREFIX}/lib/fax
${CAT} ${PKGDIR}/MESSAGE
@${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>

View File

@ -1,4 +1,3 @@
Congratulations, HylaFAX has been installed!
It now needs some manual configuration before it is usable.
@ -23,4 +22,3 @@ Documentation: (for the methodical)
On Line Manuals: man hylafax.
World Wide Web site: http://www.vix.com/hylafax/

View File

@ -1,54 +1,17 @@
@exec install -d -o bin -g bin -m 755 %D/lib/fax
@exec install -d -m 755 %D/man/man1
@exec install -d -m 755 %D/man/man5
@exec install -d -m 755 %D/man/man8
lib/fax/hylafax.sh.sample
sbin/textfmt
lib/fax/pagesizes
lib/fax/typerules
sbin/faxmsg
sbin/faxconfig
sbin/faxmodem
sbin/faxstate
sbin/faxwatch
sbin/faxinfo
sbin/tiffcheck
sbin/faxabort
sbin/faxanswer
sbin/faxquit
sbin/dialtest
sbin/typetest
sbin/xferstats
sbin/recvstats
sbin/faxcron
bin/faxalter
bin/faxcover
lib/fax/faxcover.ps
sbin/faxq
sbin/faxqclean
sbin/faxgetty
sbin/faxsend
sbin/pagesend
sbin/tsitest
sbin/tagtest
sbin/cqtest
sbin/choptest
bin/faxmail
lib/fax/faxmail.ps
bin/faxrm
bin/faxstat
sbin/hfaxd
lib/fax/hfaxd.conf
bin/sendfax
bin/sendpage
sbin/faxaddmodem
sbin/faxsetup
sbin/faxsetup.bsdi
sbin/faxsetup.irix
sbin/faxsetup.linux
sbin/probemodem
sbin/lockname
sbin/ondelay
lib/fax/faxmail.ps
lib/fax/faxcover.ps
lib/fax/hfaxd.conf
lib/fax/hylafax.sh.sample
lib/fax/pagesizes
lib/fax/typerules
man/man1/faxalter.1
man/man1/faxcover.1
man/man1/faxmail.1
@ -59,8 +22,23 @@ man/man1/sendfax.1
man/man1/sendpage.1
man/man1/sgi2fax.1
man/man1/textfmt.1
man/man5/cid.5f
man/man5/config.5f
man/man5/destctrls.5f
man/man5/dialrules.5f
man/man5/hosts.5f
man/man5/hylafax.5f
man/man5/info.5f
man/man5/log.5f
man/man5/pagermap.5f
man/man5/pagesizes.5f
man/man5/recvq.5f
man/man5/sendq.5f
man/man5/shutdown.5f
man/man5/status.5f
man/man5/tsi.5f
man/man5/typerules.5f
man/man5/xferlog.5f
man/man8/choptest.8c
man/man8/cqtest.8c
man/man8/dialtest.8c
@ -93,21 +71,40 @@ man/man8/tiffcheck.8c
man/man8/tsitest.8c
man/man8/wedged.8c
man/man8/xferstats.8c
man/man5/cid.5f
man/man5/config.5f
man/man5/destctrls.5f
man/man5/dialrules.5f
man/man5/hosts.5f
man/man5/hylafax.5f
man/man5/info.5f
man/man5/log.5f
man/man5/pagermap.5f
man/man5/recvq.5f
man/man5/sendq.5f
man/man5/shutdown.5f
man/man5/status.5f
man/man5/tsi.5f
man/man5/xferlog.5f
sbin/choptest
sbin/cqtest
sbin/dialtest
sbin/faxabort
sbin/faxaddmodem
sbin/faxanswer
sbin/faxconfig
sbin/faxcron
sbin/faxgetty
sbin/faxinfo
sbin/faxmsg
sbin/faxmodem
sbin/faxq
sbin/faxqclean
sbin/faxquit
sbin/faxsend
sbin/faxsetup
sbin/faxsetup.bsdi
sbin/faxsetup.irix
sbin/faxsetup.linux
sbin/faxstate
sbin/faxwatch
sbin/hfaxd
sbin/lockname
sbin/ondelay
sbin/pagesend
sbin/probemodem
sbin/recvstats
sbin/tagtest
sbin/textfmt
sbin/tiffcheck
sbin/tsitest
sbin/typetest
sbin/xferstats
@dirrm %D/lib/fax
@cwd /var/spool
@exec install -d -o uucp -g dialer -m 755 %D/fax
@ -202,5 +199,5 @@ fax/etc/lutRS18.pcf
@dirrm %D/fax/tmp
@dirrm %D/fax/pollq
@dirrm %D/fax/archive
@unexec rm %D/fax/FIFO
@unexec rm -f %D/fax/FIFO
@dirrm %D/fax