summaryrefslogtreecommitdiff
path: root/comms/hylafax/Makefile
blob: aac8be5b9db4ce6e7f3742231dfd38067061f4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.3 1999/10/08 21:12:47 jlam Exp $
#

DISTNAME=	hylafax-4.1beta2
PKGNAME=	hylafax-4.1b2
CATEGORIES=	comms
MASTER_SITES=	ftp://ftp.hylafax.org/hylafax/source/BETA/ \
		ftp://ftp.leo.org/pub/comp/os/unix/networking/fax/hylafax/source/BETA/ \
		ftp://ftp.sisis.de/pub/hylafax/source/BETA/ \
		ftp://ftp.uni-bremen.de/pub/mirrors/ftp.hylafax.org/pub/hylafax/source/BETA/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.hylafax.org/

DEPENDS+=	tiff-*:../../graphics/tiff
DEPENDS+=	jpeg-6b:../../graphics/jpeg
DEPENDS+=	mawk-1.2.2:../../lang/mawk
DEPENDS+=	ghostscript-5.50:../../print/ghostscript5

CONFLICTS=	mgetty-*

FAXUSER?=	uucp
FAXGROUP?=	dialer

USE_GMAKE=	YES
HAS_CONFIGURE=	YES
CONFIGURE_ENV=	PREFIX="${PREFIX}" FAXUID="${FAXUSER}" FAXGID="${FAXGROUP}"
CONFIGURE_ARGS=	--with-MAKE=${MAKE_PROGRAM} --with-INSTALL=""
MANCOMPRESSED=	yes

SUID_EXES=	${PREFIX}/libexec/faxgetty ${PREFIX}/sbin/faxq \
		${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter

post-install:
	${CHOWN} ${FAXUSER} ${SUID_EXES}
	${CHMOD} 4555 ${SUID_EXES}

.include "../../mk/bsd.pkg.mk"