diff options
author | leeym <leeym@FreeBSD.org> | 2005-02-25 01:39:08 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2005-02-25 01:39:08 +0800 |
commit | 7eda958052bc3c898f9d702b2a0a8bfadb5eb458 (patch) | |
tree | fdb34d96729588d6777178a2b6c330fb7f1c11d8 /mail/qsf | |
parent | 95e47821279f6d8b51bcca7f650bf7dbbceb8147 (diff) | |
download | freebsd-ports-gnome-7eda958052bc3c898f9d702b2a0a8bfadb5eb458.tar.gz freebsd-ports-gnome-7eda958052bc3c898f9d702b2a0a8bfadb5eb458.tar.zst freebsd-ports-gnome-7eda958052bc3c898f9d702b2a0a8bfadb5eb458.zip |
* Update to 1.0.15
* Add support for gdbm, mysql, sqlite2.
PR: based on 77160
Submitted by: Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
Approved by: maintainer timeout
Diffstat (limited to 'mail/qsf')
-rw-r--r-- | mail/qsf/Makefile | 38 | ||||
-rw-r--r-- | mail/qsf/distinfo | 4 | ||||
-rw-r--r-- | mail/qsf/files/quickref.1.in.patch | 7 |
3 files changed, 33 insertions, 16 deletions
diff --git a/mail/qsf/Makefile b/mail/qsf/Makefile index 0cdf10110c3e..697007309266 100644 --- a/mail/qsf/Makefile +++ b/mail/qsf/Makefile @@ -6,24 +6,48 @@ # PORTNAME= qsf -PORTVERSION= 0.9.18 +PORTVERSION= 1.0.18 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= qsf -EXTRACT_SUFX= .tar.bz2 MAINTAINER= liamfoy@sepulcrum.org COMMENT= A small fast spam filter intended to be used with procmail GNU_CONFIGURE= yes USE_BZIP2= yes +USE_REINPLACE= yes MAN1= qsf.1 -MANCOMPRESSED= no +MANCOMPRESSED= yes PLIST_FILES= bin/qsf -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/qsf ${PREFIX}/bin/qsf - ${INSTALL_MAN} ${WRKSRC}/doc/quickref.1 ${MAN1PREFIX}/man/man1/qsf.1 +OPTIONS= GDBM "GDBM support" off \ + MYSQL "MySQL support" off \ + SQLITE2 "SQLite2 support" off -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(WITH_GDBM) +LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm +CONFIGURE_ARGS+= --with-gdbm=${LOCALBASE} +.endif + +.if defined(WITH_MYSQL) +USE_MYSQL= yes +CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} +.endif + +.if defined(WITH_SQLITE2) +LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2 +CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE} +.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> diff --git a/mail/qsf/distinfo b/mail/qsf/distinfo index e114ee1c7433..5e8852fded83 100644 --- a/mail/qsf/distinfo +++ b/mail/qsf/distinfo @@ -1,2 +1,2 @@ -MD5 (qsf-0.9.18.tar.bz2) = d87e90603140dc35d2f4d154468c51f8 -SIZE (qsf-0.9.18.tar.bz2) = 126548 +MD5 (qsf-1.0.18.tar.bz2) = 975d3d9785d636c463a0b4eed21e91e1 +SIZE (qsf-1.0.18.tar.bz2) = 145120 diff --git a/mail/qsf/files/quickref.1.in.patch b/mail/qsf/files/quickref.1.in.patch deleted file mode 100644 index 4cfdb07180da..000000000000 --- a/mail/qsf/files/quickref.1.in.patch +++ /dev/null @@ -1,7 +0,0 @@ ---- doc/quickref.1.in.orig Sat Jan 17 17:38:19 2004 -+++ dpc/quickref.1.in Sat Jan 17 17:38:25 2004 -@@ -1,4 +1,3 @@ --.TH @UCPACKAGE@ 1 "January 2004" Linux "User Manuals" - .SH NAME - @PACKAGE@ \- quick spam filter - .SH SYNOPSIS |