openbsd-ports/comms/mgetty+sendfax/Makefile
2002-07-17 16:30:58 +00:00

41 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2002/07/17 16:30:58 naddy 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
PERMIT_PACKAGE_CDROM=
PERMIT_PACKAGE_FTP=
PERMIT_DISTFILES_CDROM=
PERMIT_DISTFILES_FTP=
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>