openbsd-ports/comms/mgetty+sendfax/Makefile
2001-05-05 22:39:36 +00:00

39 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2001/05/05 22:40:06 jakob 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.406
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/
MAINTAINER= ports@openbsd.org
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>