1999-08-27 19:22:35 +02:00
|
|
|
# New ports collection makefile for: mgetty+sendfax
|
|
|
|
# Date created: 20 April 1998
|
|
|
|
# Whom: rkw
|
1995-04-15 06:58:59 +02:00
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1995-04-15 06:58:59 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= mgetty
|
2003-01-23 01:12:33 +01:00
|
|
|
PORTVERSION= 1.1.30.12.16
|
2003-09-29 16:55:39 +02:00
|
|
|
PORTREVISION= 3
|
1996-11-17 04:01:21 +01:00
|
|
|
CATEGORIES= comms
|
2001-01-07 23:14:07 +01:00
|
|
|
MASTER_SITES= ftp://alpha.greenie.net/pub/mgetty/source/1.1/
|
2003-01-23 01:12:33 +01:00
|
|
|
DISTNAME= mgetty1.1.30-Dec16
|
1995-04-15 06:58:59 +02:00
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Handle external logins, send and receive faxes
|
1995-04-15 06:58:59 +02:00
|
|
|
|
2003-02-05 21:33:44 +01:00
|
|
|
USE_PERL5= yes
|
|
|
|
|
2003-01-23 01:12:33 +01:00
|
|
|
WRKSRC= ${WRKDIR}/mgetty-1.1.30
|
2003-02-08 19:17:40 +01:00
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}" prefix=${PREFIX} -f
|
2002-10-28 01:19:19 +01:00
|
|
|
MAN1= autopvf.1 \
|
|
|
|
basictopvf.1 \
|
|
|
|
coverpg.1 \
|
1998-12-01 10:08:21 +01:00
|
|
|
fax.1 \
|
|
|
|
faxq.1 \
|
|
|
|
faxrm.1 \
|
|
|
|
faxrunq.1 \
|
|
|
|
faxspool.1 \
|
|
|
|
g3cat.1 \
|
|
|
|
g32pbm.1 \
|
2002-01-19 02:59:50 +01:00
|
|
|
lintopvf.1 \
|
1998-12-01 10:08:21 +01:00
|
|
|
pbm2g3.1 \
|
|
|
|
pvf.1 \
|
|
|
|
zplay.1
|
1996-11-18 15:17:24 +01:00
|
|
|
MAN4= mgettydefs.4
|
|
|
|
MAN5= faxqueue.5
|
1998-12-01 10:08:21 +01:00
|
|
|
MAN8= callback.8 \
|
|
|
|
faxrunqd.8 \
|
|
|
|
mgetty.8 \
|
2002-01-19 02:59:50 +01:00
|
|
|
sendfax.8 \
|
|
|
|
vgetty.8
|
|
|
|
MLINKS= pvf.1 pvfamp.1 \
|
|
|
|
pvf.1 pvfcut.1 \
|
|
|
|
pvf.1 pvfecho.1 \
|
|
|
|
pvf.1 pvffft.1 \
|
|
|
|
pvf.1 pvffile.1 \
|
|
|
|
pvf.1 pvffilter.1 \
|
|
|
|
pvf.1 pvfmix.1 \
|
|
|
|
pvf.1 pvfnoise.1 \
|
|
|
|
pvf.1 pvfreverse.1 \
|
|
|
|
pvf.1 pvfsine.1 \
|
|
|
|
pvf.1 pvfspeed.1 \
|
|
|
|
pvf.1 pvftoau.1 \
|
|
|
|
pvf.1 pvftobasic.1 \
|
|
|
|
pvf.1 pvftolin.1 \
|
|
|
|
pvf.1 pvftormd.1 \
|
|
|
|
pvf.1 pvftovoc.1 \
|
|
|
|
pvf.1 pvftowav.1 \
|
|
|
|
pvf.1 rmdfile.1 \
|
|
|
|
pvf.1 rmdtopvf.1 \
|
|
|
|
pvf.1 voctopvf.1 \
|
|
|
|
pvf.1 wavtopvf.1
|
1994-11-17 15:48:00 +01:00
|
|
|
|
2003-01-23 01:12:33 +01:00
|
|
|
CFLAGS+= -DAUTO_PPP
|
|
|
|
.if defined(WITH_FIDO) && ${WITH_FIDO:L} != no
|
|
|
|
CFLAGS+= -DFIDO
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
.if !defined(WITH_FIDO)
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "If you need FIDO EMSI support, use \"make WITH_FIDO=yes\""
|
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
|
|
|
|
1994-11-17 15:48:00 +01:00
|
|
|
pre-install:
|
1997-04-05 18:41:27 +02:00
|
|
|
@(cd ${WRKSRC}/doc; ${MAKE} manpages)
|
1994-10-14 08:50:28 +01:00
|
|
|
|
1996-03-13 01:37:08 +01:00
|
|
|
post-install:
|
2001-05-04 00:56:14 +02:00
|
|
|
@${CP} ${PREFIX}/etc/mgetty+sendfax/dialin.config \
|
|
|
|
${PREFIX}/etc/mgetty+sendfax/dialin.config.dist
|
|
|
|
@${CP} ${PREFIX}/etc/mgetty+sendfax/faxheader \
|
|
|
|
${PREFIX}/etc/mgetty+sendfax/faxheader.dist
|
|
|
|
@${CP} ${PREFIX}/etc/mgetty+sendfax/faxrunq.config \
|
|
|
|
${PREFIX}/etc/mgetty+sendfax/faxrunq.config.dist
|
|
|
|
@${CP} ${PREFIX}/etc/mgetty+sendfax/login.config \
|
|
|
|
${PREFIX}/etc/mgetty+sendfax/login.config.dist
|
2001-12-05 04:09:05 +01:00
|
|
|
@${TAR} -cf - -C ${WRKSRC} samples | ${TAR} -xf - -C ${PREFIX}/lib/mgetty+sendfax/
|
2001-05-04 00:56:14 +02:00
|
|
|
@install-info ${PREFIX}/info/mgetty.info ${PREFIX}/info/dir
|
|
|
|
.if !defined(BATCH)
|
2000-10-08 12:23:48 +02:00
|
|
|
@(cd ${PKGDIR}; export PKG_PREFIX=${PREFIX}; ${PERL5} ${PKGINSTALL} _ POST-INSTALL)
|
1996-11-27 12:53:23 +01:00
|
|
|
.endif
|
1996-03-13 01:37:08 +01:00
|
|
|
|
1994-09-21 14:33:36 +02:00
|
|
|
.include <bsd.port.mk>
|