2004-01-18 01:48:17 +00:00
|
|
|
# New ports collection makefile for: qsf
|
|
|
|
# Date created: 15 January 2004
|
|
|
|
# Whom: liamfoy@sepulcrum.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qsf
|
2005-02-24 17:39:08 +00:00
|
|
|
PORTVERSION= 1.0.18
|
2005-05-31 22:24:05 +00:00
|
|
|
PORTREVISION= 2
|
2004-01-18 01:48:17 +00:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= qsf
|
|
|
|
|
2005-03-03 16:53:31 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-01-18 01:48:17 +00:00
|
|
|
COMMENT= A small fast spam filter intended to be used with procmail
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_BZIP2= yes
|
2005-02-24 17:39:08 +00:00
|
|
|
USE_REINPLACE= yes
|
2004-01-18 01:48:17 +00:00
|
|
|
|
2005-04-13 18:39:36 +00:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2004-01-18 01:48:17 +00:00
|
|
|
MAN1= qsf.1
|
2005-02-24 17:39:08 +00:00
|
|
|
MANCOMPRESSED= yes
|
2004-02-06 13:12:53 +00:00
|
|
|
PLIST_FILES= bin/qsf
|
2004-01-18 01:48:17 +00:00
|
|
|
|
2005-02-24 17:39:08 +00:00
|
|
|
OPTIONS= GDBM "GDBM support" off \
|
|
|
|
MYSQL "MySQL support" off \
|
|
|
|
SQLITE2 "SQLite2 support" off
|
2004-01-18 01:48:17 +00:00
|
|
|
|
2005-02-24 17:39:08 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_GDBM)
|
|
|
|
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
|
2005-04-13 18:39:36 +00:00
|
|
|
CONFIGURE_ARGS+= --with-gdbm
|
2005-02-24 17:39:08 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MYSQL)
|
|
|
|
USE_MYSQL= yes
|
2005-04-13 18:39:36 +00:00
|
|
|
CONFIGURE_ARGS+= --with-mysql
|
2005-02-24 17:39:08 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_SQLITE2)
|
|
|
|
LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2
|
2005-04-13 18:39:36 +00:00
|
|
|
CONFIGURE_ARGS+= --with-sqlite
|
2005-02-24 17:39:08 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
# not supported yet.
|
|
|
|
#.if defined(WITH_SQLITE3)
|
|
|
|
#.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/Linux/${OPSYS}/g' ${WRKSRC}/doc/quickref.1.in
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|