aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dkimproxy/Makefile
blob: 35beb4ca7f7e57e273ee8eeab227a42807a2a674 (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
40
41
# New ports collection makefile for:    dkimproxy
# Date created:             16 July 2006
# Whom:                 Yoshisato YANAGISAWA
#
# $FreeBSD$
#

PORTNAME=   dkimproxy
PORTVERSION=    1.4.1
CATEGORIES= mail
MASTER_SITES=   SF

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  p5-Mail-DKIM>=0:${PORTSDIR}/mail/p5-Mail-DKIM \
        p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server \
        p5-Error>=0:${PORTSDIR}/lang/p5-Error
RUN_DEPENDS:=   ${BUILD_DEPENDS}

GNU_CONFIGURE=  yes
USE_PERL5=  yes
USE_RC_SUBR=    dkimproxy_in dkimproxy_out

DKIMPROXYUSER=  dkimproxy
USERS=      ${DKIMPROXYUSER}
GROUPS=     ${DKIMPROXYUSER}

MAN8=       dkimproxy_in.8 dkimproxy_out.8

SUB_LIST+=  PERL=${PERL} \
        DKIMPROXYUSER=${DKIMPROXYUSER}

post-patch:
    @${GREP} -Ril 'perl' ${WRKDIR} | ${XARGS} ${REINPLACE_CMD} -i '' \
        -e 's|/usr/bin/perl|${PERL}|' -e 's|@PERL@|${PERL}|'

.include <bsd.port.mk>