freebsd-ports/mail/qsf/Makefile
Gian-Simon Purkert 2da25059b8 mail/qsf: Update to 1.2.15
ChangeLog: http://www.ivarch.com/programs/qsf/

While here, pet port Makefile.

PR:	259317
Reported by:	gspurki@gmail.com
Approved by:	jack@jarasoft.net (maintainer, timeout 2 weeks)
2022-02-04 08:59:25 +01:00

43 lines
793 B
Makefile

# Created by: liamfoy@sepulcrum.org
PORTNAME= qsf
PORTVERSION= 1.2.15
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= jack@jarasoft.net
COMMENT= Small fast spam filter intended to be used with procmail
USES= localbase tar:bzip2
GNU_CONFIGURE= yes
PLIST_FILES= bin/qsf \
man/man1/qsf.1.gz
OPTIONS_DEFINE= GDBM MYSQL SQLITE2
SQLITE2_DESC= SQLite2 support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGDBM}
LIB_DEPENDS+= libgdbm.so:databases/gdbm
.else
CONFIGURE_ARGS+= --without-gdbm
.endif
.if ${PORT_OPTIONS:MMYSQL}
USES+= mysql
.else
CONFIGURE_ARGS+= --without-mysql
.endif
.if ${PORT_OPTIONS:MSQLITE2}
USES+= 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>