# New ports collection makefile for: mail/dcc-dccd # Date created: Wed Oct 9 19:30:00 WST 2002 # Whom: Dean Hollister # # $FreeBSD$ # PORTNAME= dcc-dccd PORTVERSION= 1.2.39 CATEGORIES= mail MASTER_SITES= http://www.rhyolite.com/anti-spam/dcc/source/old/ EXTRACT_SUFX= .tar.Z MAINTAINER= dean@odyssey.apana.org.au COMMENT= Distributed Checksum Clearinghouse procmail, sendmail support USE_REINPLACE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --homedir=${PREFIX}/dcc MANCOMPRESSED= yes MAN8= cdcc.8 dcc.8 dccd.8 \ dccm.8 dccproc.8 dccsight.8 \ dccifd.8 dbclean.8 dblist.8 .if exists(/usr/lib/libmilter.a) || exists(${LOCALBASE}/lib/libmilter.a) PLIST_SUB+= WITH_SENDMAIL="" .else CONFIGURE_ARGS+= --disable-dccm --disable-dccifd PLIST_SUB+= WITH_SENDMAIL="@comment " .endif .include post-patch: ${FIND} ${WRKSRC} -type f -exec \ ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' {} \; ${REINPLACE_CMD} -e 's,PTHREAD_LDFLAGS="$$PTHREAD_LDFLAGS -pthread,PTHREAD_LDFLAGS="$$PTHREAD_LDFLAGS,g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's,FreeBSD)\n\tPTHREAD_LDFLAGS,FreeBSD)\n\tDCC_CFLAGS="${PTHREAD_CFLAGS} $$DCC_CFLAGS"\n\tPTHREAD_LDFLAGS,g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's,PTHREAD_LIBS="$$PTHREAD_LIBS -lc_r,PTHREAD_LIBS=" ${PTHREAD_LIBS},g' ${WRKSRC}/configure .include