aboutsummaryrefslogtreecommitdiff
path: root/mail/dkimproxy/Makefile
blob: f63fa33996b4666dd3b6fbf7d68e08512649418e (plain) (blame)
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
# New ports collection makefile for:	dkimproxy
# Date created:				16 July 2006
# Whom:					Yoshisato YANAGISAWA
#
# $FreeBSD$
#

PORTNAME=	dkimproxy
PORTVERSION=	0.14
CATEGORIES=	mail
MASTER_SITES=	http://jason.long.name/dkimproxy/

MAINTAINER=	yanagisawa@csg.is.titech.ac.jp
COMMENT=	DKIM filter for Postfix

BUILD_DEPENDS=	${SITE_PERL}/Mail/DKIM.pm:${PORTSDIR}/mail/p5-Mail-DKIM \
		${SITE_PERL}/Net/Server.pm:${PORTSDIR}/net/p5-Net-Server
RUN_DEPENDS=	${BUILD_DEPENDS}

GNU_CONFIGURE=	yes
USE_RC_SUBR=	dkimproxy_in dkimproxy_out

DKIMPY_USERNAME?=	dkimproxy
DKIMPY_USERID?=		525
DKIMPY_GROUPNAME?=	${DKIMPY_USERNAME}
DKIMPY_GROUPID?=	${DKIMPY_USERID}

SUB_FILES=	pkg-install pkg-deinstall
SUB_LIST=	USER=${DKIMPY_USERNAME} \
		UID=${DKIMPY_USERID} \
		GROUP=${DKIMPY_GROUPNAME} \
		GID=${DKIMPY_GROUPID}

.include <bsd.port.pre.mk>

pre-install:
	${SH} ${PKGINSTALL} ${PREFIX} PRE-INSTALL

.include <bsd.port.post.mk>