blob: 085b367fe57b13d371af2ad01cb85d45a613718e (
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
|
# $NetBSD: Makefile,v 1.12 2013/03/16 00:07:02 pettai Exp $
DISTNAME= opendkim-2.7.4
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opendkim/}
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://opendkim.org/
COMMENT= Open source DKIM library, MTA filter implementation and tools
LICENSE= sendmail-open-source-license
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config perl:run
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
REPLACE_PERL+= opendkim/opendkim-genkey.in
FILES_SUBST+= DKIM_USER=${DKIM_USER} DKIM_GROUP=${DKIM_GROUP}
BUILD_DEFS+= VARBASE DKIM_USER DKIM_GROUP
DKIM_USER?= opendkim
DKIM_GROUP?= opendkim
PKG_GROUPS= ${DKIM_USER}
PKG_USERS= ${DKIM_USER}:${DKIM_GROUP}
PKG_GROUPS_VARS+= DKIM_GROUP
PKG_USERS_VARS+= DKIM_USER
OWN_DIRS_PERMS+= ${VARBASE}/run/opendkim \
${DKIM_USER} ${DKIM_GROUP} 0750
PKGCONFIG_OVERRIDE+= libopendkim/opendkim.pc.in
.include "options.mk"
PLIST_SRC+= ${PKGDIR}/PLIST
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.8
.include "../../security/openssl/buildlink3.mk"
BUILDLINK_API_DEPENDS.libmilter+= libmilter>=8.13.0
.include "../../mail/libmilter/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|