mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
f329319eb5
With hat: portmgr
49 lines
883 B
Makefile
49 lines
883 B
Makefile
# Created by: liamfoy@sepulcrum.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qsf
|
|
PORTVERSION= 1.2.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= jack@jarasoft.net
|
|
COMMENT= Small fast spam filter intended to be used with procmail
|
|
|
|
OPTIONS_DEFINE= GDBM MYSQL SQLITE2
|
|
SQLITE2_DESC= SQLite2 support
|
|
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= bin/qsf \
|
|
man/man1/qsf.1.gz
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MGDBM}
|
|
LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gdbm
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
|
USE_MYSQL= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --without-mysql
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MSQLITE2}
|
|
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.mk>
|