aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dsbl-testers/Makefile
blob: 168c81a8475c155094423e6c0ef7011516df6e06 (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
42
43
44
45
46
47
48
49
50
51
# Created by: Dean Hollister <dean@odyssey.apana.org.au>
# $FreeBSD$

PORTNAME=   dsbl-testers
PORTVERSION=    0.9.5
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://www.firestuff.org/projects/ \
        http://www.wa.apana.org.au/~dean/sources/ \
        ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Testing software for DSBL/DSBL-compliant services

BROKEN=     unfetchable

BUILD_DEPENDS=  ${LOCALBASE}/include/firestring.h:misc/firestring \
        ${LOCALBASE}/include/firedns.h:dns/firedns

HAS_CONFIGURE=  yes
USE_LDCONFIG=   yes

WRKSRC=     ${WRKDIR}/${PORTNAME}

MAKE_JOBS_UNSAFE=   yes

MPG1=   auth-relaytest.1 formmailtest.1 getcookie.1 httptest.1 \
    relaytest.1 socks4test.1 socks5test.1 spamtrap.1
MPG5=   dsbl.conf.5

post-patch:
    @-${RM} ${WRKSRC}/firemake/*.orig
    @-${RM} ${WRKSRC}/firedns/firemake/*.orig
    @-${RM} ${WRKSRC}/firestring/firemake/*.orig

# install ourselves to insure proper ownership/permissions
# as dictated by port's rules
BINARY_FILES=   auth-relaytest formmailtest httptest relaytest \
        getcookie socks4test socks5test spamtrap
LOCAL_CONF_FILES=   conf/dsbl.conf

do-install:
    cd ${WRKSRC} && \
        ${INSTALL_PROGRAM} ${BINARY_FILES} \
            ${STAGEDIR}${PREFIX}/bin && \
        ${INSTALL_DATA} ${LOCAL_CONF_FILES} ${STAGEDIR}${PREFIX}/etc
    cd ${WRKSRC}/man && \
        ${INSTALL_MAN} ${MPG1} ${STAGEDIR}${MAN1PREFIX}/man/man1 && \
        ${INSTALL_MAN} ${MPG5} ${STAGEDIR}${MAN5PREFIX}/man/man5

.include <bsd.port.mk>