blob: 0ed0675b47d0c7c6a3fad4a6ec1ce29203f84047 (
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
48
49
|
# $NetBSD: Makefile.common,v 1.4 2007/07/04 20:54:41 jlam Exp $
#
# Package Makefiles should include this file after setting PKGNAME and
# PKG_SUPPORTED_OPTIONS.
COURIER_VERSION= 0.53.2
.if !defined(PKGNAME)
PKG_FAIL_REASON+= "[courier/Makefile.common] PKGNAME must be set."
.endif
.include "../../mk/bsd.prefs.mk"
DATADIR= ${PREFIX}/share/courier
DOCDIR= ${PREFIX}/share/doc/courier
EGDIR= ${PREFIX}/share/examples/courier
LIBEXECDIR= ${PREFIX}/libexec/courier
COURIER_STATEDIR= ${VARBASE}/courier
PKG_SYSCONFSUBDIR= courier
PKG_SYSCONFDIR_PERMS= ${COURIER_USER} ${COURIER_GROUP} 0755
COURIER_FILE_PERMS= ${COURIER_USER} ${COURIER_GROUP} 0644
COURIER_DIR_PERMS= ${COURIER_USER} ${COURIER_GROUP} 0755
COURIER_SCRIPT_PERMS= ${COURIER_USER} ${COURIER_GROUP} 0755
PKG_GROUPS_VARS+= COURIER_GROUP
PKG_USERS_VARS+= COURIER_USER
FILES_SUBST+= COURIER_STATEDIR=${COURIER_STATEDIR:Q}
.include "../../security/courier-authlib/Makefile.common"
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${COURIER_STATEDIR:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --disable-root-check
CONFIGURE_ARGS+= --enable-unicode
CONFIGURE_ARGS+= --enable-utf7-folder-encoding
CONFIGURE_ARGS+= --with-trashquota
USE_DB185= yes
CONFIGURE_ARGS+= --with-db=db
.include "../../mk/bdb.buildlink3.mk"
CONFIGURE_ENV+= SYSCONFTOOL_PERL=${PERL5:Q}
.include "../../devel/pcre/buildlink3.mk"
|