30 lines
755 B
Makefile
30 lines
755 B
Makefile
# $OpenBSD: Makefile,v 1.15 2002/03/21 20:46:23 espie Exp $
|
|
|
|
COMMENT= "small & simple FAX send/receive program"
|
|
|
|
DISTNAME= efax-0.9
|
|
PKGNAME= efax-0.9
|
|
CATEGORIES= comms
|
|
NEED_VERSION= 1.515
|
|
|
|
MAINTAINER= Ian Darwin <ian@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://sunsite.unc.edu/pub/Linux/apps/serialcomm/fax/
|
|
|
|
FAX_UID = uucp
|
|
FAX_GID = dialer
|
|
|
|
FAKE_FLAGS=BINDIR=${WRKINST}${PREFIX}/bin MANDIR=${WRKINST}${PREFIX}/man
|
|
# The inner program, efax, must be setuid uucp, same as tip, cu, uucp,
|
|
# so it can open the /dev/cua?? files.
|
|
post-install:
|
|
${CHOWN} ${FAX_UID}.${FAX_GID} ${PREFIX}/bin/efax
|
|
${CHMOD} u+s ${PREFIX}/bin/efax
|
|
|
|
.include <bsd.port.mk>
|