aboutsummaryrefslogtreecommitdiff
path: root/mail/dsbl-testers/Makefile
blob: 41106b51cea10bccb17428118ffecce0f6ed14be (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
# 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 configured to work with DSBL/DSBL-compliant services

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

HAS_CONFIGURE=	yes
USE_LDCONFIG=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}

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

NO_STAGE=	yes
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} ${PREFIX}/bin && \
		${INSTALL_DATA} ${LOCAL_CONF_FILES} ${PREFIX}/etc
	cd ${WRKSRC}/man && \
		${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1 && \
		${INSTALL_MAN} ${MAN5} ${MAN5PREFIX}/man/man5

.include <bsd.port.mk>