1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/mail/qsf/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

54 lines
968 B
Makefile

# New ports collection makefile for: qsf
# Date created: 15 January 2004
# Whom: liamfoy@sepulcrum.org
#
# $FreeBSD$
#
PORTNAME= qsf
PORTVERSION= 1.2.7
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= jack@jarasoft.net
COMMENT= A small fast spam filter intended to be used with procmail
OPTIONS= GDBM "GDBM support" off \
MYSQL "MySQL support" off \
SQLITE2 "SQLite2 support" off
USE_BZIP2= yes
GNU_CONFIGURE= yes
MAN1= qsf.1
PLIST_FILES= bin/qsf
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if defined(WITH_GDBM)
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
.else
CONFIGURE_ARGS+= --without-gdbm
.endif
.if defined(WITH_MYSQL)
USE_MYSQL= yes
.else
CONFIGURE_ARGS+= --without-mysql
.endif
.if defined(WITH_SQLITE2)
USE_SQLITE= 2
.else
CONFIGURE_ARGS+= --without-sqlite
.endif
post-patch:
@${REINPLACE_CMD} -e 's|Linux|@VERSION@|g' ${WRKSRC}/doc/quickref.1.in
.include <bsd.port.post.mk>