aboutsummaryrefslogtreecommitdiffstats
path: root/mail/yadda/Makefile
blob: 183ef2aff235046a88b6487867662b9ca4ddf4c2 (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
# New ports collection makefile for:    yadda
# Date created:     2004-01-01
# Whom:         Jesper Noehr <jesper@noehr.org>
#
# $FreeBSD$
#

PORTNAME=   yadda
PORTVERSION=    1.0
CATEGORIES= mail
MASTER_SITES=   http://code.printf.dk/~decius/yadda/ \
        http://users.cybercity.dk/~dsl22381/

MAINTAINER= jesper@noehr.org
COMMENT=    Yet Another Damn Delivery Agent

RUN_DEPENDS=    ${SITE_PERL}/Mail/Audit.pm:${PORTSDIR}/mail/p5-Mail-Audit

BROKEN=     Size mismatch

USE_PERL5_RUN=  yes

do-build:
    ${SED} -e '1s,/usr/bin/perl,${PERL},' ${WRKSRC}/yadda \
        > ${WRKDIR}/yadda

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/yadda ${PREFIX}/sbin

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
.else
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
.endif

.include <bsd.port.post.mk>