summaryrefslogtreecommitdiff
path: root/mail/sympa/Makefile
blob: 45af7290ddf4b8ac6a6d995dcd1cda0f4ed6eb2b (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
39
40
41
42
43
44
45
46
47
# $NetBSD: Makefile,v 1.9 2004/05/13 22:27:38 snj Exp $
#

DISTNAME=	sympa-3.4.2
PKGREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	http://www.sympa.org/distribution/

MAINTAINER=	manu@NetBSD.org
HOMEPAGE=	http://www.sympa.org/
COMMENT=	Mailing list manager

DEPENDS+=	p5-CGI>=2.52:../../www/p5-CGI
DEPENDS+=	p5-FCGI>=0.48:../../www/p5-FCGI
DEPENDS+=	p5-Digest-MD5>=2.00:../../security/p5-Digest-MD5
DEPENDS+=	p5-IO-stringy>=1.0:../../devel/p5-IO-stringy
DEPENDS+=	p5-Msgcat>=1.01:../../misc/p5-Msgcat
DEPENDS+=	p5-MIME-Base64>=1.0:../../converters/p5-MIME-Base64
DEPENDS+=	p5-MIME-tools>=5.209:../../mail/p5-MIME-tools
DEPENDS+=	p5-MailTools>=1.32:../../mail/p5-MailTools
DEPENDS+=	p5-DBI>=1.06:../../databases/p5-DBI
DEPENDS+=	p5-DBD-Sybase>=0.90:../../databases/p5-DBD-Sybase
DEPENDS+=	p5-DBD-mysql>=2.0407:../../databases/p5-DBD-mysql
DEPENDS+=	p5-DBD-postgresql>=0.90:../../databases/p5-DBD-postgresql
DEPENDS+=	p5-perl-ldap>=0.10:../../databases/p5-perl-ldap
DEPENDS.SunOS+=	p5-DB_File-[0-9]*:../../databases/p5-DB_File

OPSYSVARS+=	DEPENDS

USE_BUILDLINK3=		YES
USE_PKGINSTALL=		YES
GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--with-piddir=/var/run

PERL5_REQD+=	5.005

PKG_GROUPS?=	sympa
PKG_USERS?=	sympa:sympa

# We do not support set-uid scripts...
post-install:
	${CHMOD} ug-s ${PREFIX}/bin/wwsympa.fcgi

.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

PREFIX=	${LOCALBASE}/sympa