1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/mail/dspam/Makefile
Oliver Lehmann 9ecf0513f4 Add dspam 2.6.3, a server-side bayesian spam filter.
PR:		55222
Submitted by:	Dominic Marks <dom@wirespeed.org.uk>
2003-08-04 11:38:19 +00:00

40 lines
970 B
Makefile

# New ports collection makefile for: dspam
# Date created: 3 August 2003
# Whom: Dominic Marks <dom@wirespeed.org.uk>
#
# $FreeBSD$
#
PORTNAME= dspam
PORTVERSION= 2.6.3
CATEGORIES= mail
MASTER_SITES= http://www.networkdweebs.com/software/dspam/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
MAINTAINER= dom@wirespeed.org.uk
COMMENT= A server-side bayesian spam filter
LIB_DEPENDS= db41.1:${PORTSDIR}/databases/db41
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-userdir=${PREFIX}/etc/dspam \
--with-db4-includes=${LOCALBASE}/include/db41
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%LIBTOOLFLAGS%%|${LIBTOOLFLAGS}|g ; \
s|-ldb-4.1|-ldb41|g' ${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGE \
${DOCSDIR}
.endif
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGMESSAGE}
.include <bsd.port.mk>