1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/comms/mgetty+sendfax/Makefile
Jimmy Olgeni e447d6a0d5 Some port related improvements, no functional changes in mgetty itself.
* Preserve configuration files in etc/mgetty+sendfax. Remove the
  pkg-deinstall file that used to warn about potential loss of
  configuration files at deinstall time.

* Patch file mtools.info so that it can be installed with install-info in
  the info index (the stock file lacks a proper directory entry).

* Make pkg-install exit without asking anything, if BATCH is defined. And
  fix a banner length :o)

Reviewed by:	jmz
2001-05-03 22:56:14 +00:00

54 lines
1.2 KiB
Makefile

# New ports collection makefile for: mgetty+sendfax
# Date created: 20 April 1998
# Whom: rkw
#
# $FreeBSD$
#
PORTNAME= mgetty
PORTVERSION= 1.1.25.02.01
CATEGORIES= comms
MASTER_SITES= ftp://alpha.greenie.net/pub/mgetty/source/1.1/
DISTNAME= mgetty1.1.25-Feb01
MAINTAINER= jmz@FreeBSD.org
WRKSRC= ${WRKDIR}/mgetty-1.1.25
MAKE_FLAGS= prefix=${PREFIX} -f
MAN1= coverpg.1 \
fax.1 \
faxq.1 \
faxrm.1 \
faxrunq.1 \
faxspool.1 \
g3cat.1 \
g32pbm.1 \
pbm2g3.1 \
pvf.1 \
zplay.1
MAN4= mgettydefs.4
MAN5= faxqueue.5
MAN8= callback.8 \
faxrunqd.8 \
mgetty.8 \
sendfax.8
pre-install:
@(cd ${WRKSRC}/doc; ${MAKE} manpages)
post-install:
@${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
@install-info ${PREFIX}/info/mgetty.info ${PREFIX}/info/dir
.if !defined(BATCH)
@(cd ${PKGDIR}; export PKG_PREFIX=${PREFIX}; ${PERL5} ${PKGINSTALL} _ POST-INSTALL)
.endif
.include <bsd.port.mk>