2013-02-18 13:34:39 +01:00
|
|
|
# Created by: rkw
|
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
|
2006-08-25 22:32:45 +02:00
|
|
|
PORTVERSION= 1.1.35
|
2015-09-11 21:14:44 +02:00
|
|
|
PORTREVISION= 8
|
1996-11-17 04:01:21 +01:00
|
|
|
CATEGORIES= comms
|
2005-12-17 17:25:29 +01:00
|
|
|
MASTER_SITES= ftp://mgetty.greenie.net/pub/mgetty/source/1.1/
|
2006-08-25 22:32:45 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}-Feb22
|
1995-04-15 06:58:59 +02:00
|
|
|
|
2010-03-28 21:59:14 +02:00
|
|
|
MAINTAINER= olgeni@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
|
|
|
|
2014-05-24 18:22:05 +02:00
|
|
|
LICENSE= GPLv2
|
2014-05-23 11:55:25 +02:00
|
|
|
|
2013-07-30 14:38:20 +02:00
|
|
|
USE_CSTD= gnu89
|
2015-09-11 21:14:44 +02:00
|
|
|
USES= makeinfo perl5 shebangfix
|
|
|
|
SHEBANG_FILES= samples/fax \
|
|
|
|
samples/new_fax.all/new_fax \
|
|
|
|
samples/new_fax.mime1
|
2003-02-05 21:33:44 +01:00
|
|
|
|
2010-08-08 17:00:54 +02:00
|
|
|
SUB_FILES= pkg-message mgettycfg
|
2004-10-13 22:28:37 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2014-05-23 11:55:25 +02:00
|
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS}" prefix=${PREFIX} LOCALBASE=${LOCALBASE} STAGEDIR=${STAGEDIR} -f
|
2004-10-13 22:28:37 +02:00
|
|
|
ALL_TARGET= noident all
|
|
|
|
INFO= mgetty
|
2014-05-23 11:55:25 +02:00
|
|
|
|
2009-11-20 23:53:09 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
1994-11-17 15:48:00 +01:00
|
|
|
|
2014-05-23 11:55:25 +02:00
|
|
|
OPTIONS_DEFINE= FIDO
|
|
|
|
|
|
|
|
FIDO_DESC= Enable FIDO EMSI support
|
|
|
|
|
2003-01-23 01:12:33 +01:00
|
|
|
CFLAGS+= -DAUTO_PPP
|
2014-05-23 11:55:25 +02:00
|
|
|
|
2015-08-19 15:29:59 +02:00
|
|
|
FIDO_CFLAGS= -DFIDO
|
2003-01-23 01:12:33 +01:00
|
|
|
|
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:
|
2014-05-23 11:55:25 +02:00
|
|
|
@${MV} ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/dialin.config \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/dialin.config.sample
|
|
|
|
@${MV} ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/faxheader \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/faxheader.sample
|
|
|
|
@${MV} ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/faxrunq.config \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/faxrunq.config.sample
|
|
|
|
@${MV} ${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/login.config \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/login.config.sample
|
2004-06-16 02:04:02 +02:00
|
|
|
${INSTALL_DATA} -m 600 ${WRKSRC}/voice/voice.conf-dist \
|
2014-05-23 11:55:25 +02:00
|
|
|
${STAGEDIR}${PREFIX}/etc/mgetty+sendfax/voice.conf.sample
|
|
|
|
${TAR} -cf - -C ${WRKSRC} samples | ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/lib/mgetty+sendfax/
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/mgettycfg ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mgetty+sendfax/faxq-helper
|
1996-03-13 01:37:08 +01:00
|
|
|
|
2015-08-19 15:29:59 +02:00
|
|
|
.include <bsd.port.mk>
|