openbsd-ports/comms/mgetty+sendfax/Makefile
2002-03-21 20:46:23 +00:00

37 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2002/03/21 20:46:23 espie Exp $
# $FreeBSD: Makefile,v 1.25 1998/07/16 06:44:37 vanilla Exp $
COMMENT= "handle external logins, send and receive faxes"
BROKEN= insecure tempfile handling: can overwrite any file on the system
DISTNAME= mgetty1.1.21-Jul24
PKGNAME= mgetty-1.1.21
CATEGORIES= comms
NEED_VERSION= 1.515
FAKE=No
MASTER_SITES= ftp://alpha.greenie.net/pub/mgetty/source/1.1/ \
ftp://ftp.leo.org/pub/comp/os/unix/networking/mgetty/
HOMEPAGE= http://alpha.greenie.net/mgetty/
MAKE_ENV+= prefix="${PREFIX}" spool="/var/spool" \
CONFDIR="/etc/mgetty+sendfax" \
PHONE_GROUP="wheel" PHONE_PERMS="700"
WRKDIST= ${WRKDIR}/${PKGNAME}
post-build:
@sed -e "s,@prefix@,${PREFIX},g" ${FILESDIR}/setup > ${WRKDIR}/setup
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/setup ${PREFIX}/lib/mgetty+sendfax
@echo "***"
@echo "*** Finished installing mgetty+sendfax."
@echo "*** To complete the install, run ${PREFIX}/lib/mgetty+sendfax/setup"
@echo "*** script."
@echo "***"
.include <bsd.port.mk>