aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dcc-dccd/Makefile
blob: ce670b30a4977d5bf3349c2557f712cc0ce5acf4 (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:    mail/dcc-dccd
# Date created:     Wed Oct 9 19:30:00 WST 2002
# Whom:         Dean Hollister <dean@odyssey.apana.org.au>
#
# $FreeBSD$
#

PORTNAME=   dcc-dccd
PORTVERSION=    1.2.4
CATEGORIES=     mail
MASTER_SITES=   http://www.rhyolite.com/anti-spam/dcc/source/ \
        http://www.wa.apana.org.au/~dean/sources/ \
        ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
DISTFILES=  dcc-dccd-1.2.4.tar.Z

MAINTAINER=     dean@odyssey.apana.org.au
COMMENT=    Distributed Checksum Clearinghouse procmail, sendmail support

HAS_CONFIGURE=  yes
USE_REINPLACE=  yes

CONFIGURE_ARGS= --prefix=${PREFIX}/dcc

MAN8=       cdcc.8      dcc.8       dccd.8 \
        dccm.8      dccproc.8   dccsight.8 \
        dccifd.8    dbclean.8   dblist.8

CAT8=       dccproc.8   cdcc.8

MANCOMPRESSED=  yes

post-patch:
    ${FIND} ${WRKSRC} -type f -exec \
        ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' {} \;
    ${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>