aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-04-27 09:15:38 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-04-27 09:15:38 +0800
commit6f1220f01e92694c50b902c0f870fa435cbd9cab (patch)
tree270617d32a927c9f6d52d8541a32bd7b13dfe3f5 /mail
parentc62f96d18416ca65d3570fb0e347f1557ee07da8 (diff)
downloadfreebsd-ports-gnome-6f1220f01e92694c50b902c0f870fa435cbd9cab.tar.gz
freebsd-ports-gnome-6f1220f01e92694c50b902c0f870fa435cbd9cab.tar.zst
freebsd-ports-gnome-6f1220f01e92694c50b902c0f870fa435cbd9cab.zip
- Update to 0.97
- mysql is now required
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail-autoresponder/Makefile30
-rw-r--r--mail/qmail-autoresponder/distinfo6
-rw-r--r--mail/qmail-autoresponder/pkg-plist5
3 files changed, 12 insertions, 29 deletions
diff --git a/mail/qmail-autoresponder/Makefile b/mail/qmail-autoresponder/Makefile
index 5bdaa609bdf9..00d51c28fd7b 100644
--- a/mail/qmail-autoresponder/Makefile
+++ b/mail/qmail-autoresponder/Makefile
@@ -4,13 +4,9 @@
#
# $FreeBSD$
#
-# Compile-time options:
-# WITH_MYSQL=yes enable support for MySQL
-#
PORTNAME= qmail-autoresponder
-PORTVERSION= 0.96.2
-PORTREVISION= 2
+PORTVERSION= 0.97
CATEGORIES= mail
MASTER_SITES= http://untroubled.org/${PORTNAME}/
@@ -19,24 +15,14 @@ COMMENT= Rate-limited autoresponder for qmail
LIB_DEPENDS= bg-sysdeps.2:${PORTSDIR}/devel/bglibs
-LDFLAGS?= -s
-BGLIBS_INC= ${LOCALBASE}/include/bglibs
-BGLIBS_LIB= ${LOCALBASE}/lib/bglibs
+USE_MYSQL= yes
-PROGS= qmail-autoresponder
-MAN1= qmail-autoresponder.1
-DOCS= NEWS README TODO procedure.txt
+CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/bglibs
+LDFLAGS+= -L${LOCALBASE}/lib/mysql -L${LOCALBASE}/lib/bglibs -s
-.if defined(WITH_MYSQL)
-USE_MYSQL= yes
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib/mysql
-PROGS+= qmail-autoresponder-mysql
-DOCS+= schema.mysql
-PLIST_SUB+= MYSQL=""
-.else
-PLIST_SUB+= MYSQL="@comment "
-.endif
+PROGS= qmail-autoresponder qmail-autoresponder-mysql
+MAN1= qmail-autoresponder.1
+DOCS= NEWS README TODO procedure.txt schema.mysql
ALL_TARGET= ${PROGS}
@@ -45,8 +31,6 @@ do-configure:
${ECHO_CMD} "${MANPREFIX}/man" > ${WRKSRC}/conf-man
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
- ${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-bgincs
- ${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGS} ${PREFIX}/bin
diff --git a/mail/qmail-autoresponder/distinfo b/mail/qmail-autoresponder/distinfo
index 3adc03d2ff18..074c602822e7 100644
--- a/mail/qmail-autoresponder/distinfo
+++ b/mail/qmail-autoresponder/distinfo
@@ -1,3 +1,3 @@
-MD5 (qmail-autoresponder-0.96.2.tar.gz) = f4e4edcd750daa8877088577369a876b
-SHA256 (qmail-autoresponder-0.96.2.tar.gz) = 127329274dc20d524a29e7034469b1841100616129ca3d9c31f951a67698e40a
-SIZE (qmail-autoresponder-0.96.2.tar.gz) = 21110
+MD5 (qmail-autoresponder-0.97.tar.gz) = a9bfda331a4bcdd72031862cab511f4a
+SHA256 (qmail-autoresponder-0.97.tar.gz) = 445a36f10dd4c0af3608c9d546f3b2aad48870bffe35db31ea5dcb857abf699c
+SIZE (qmail-autoresponder-0.97.tar.gz) = 28158
diff --git a/mail/qmail-autoresponder/pkg-plist b/mail/qmail-autoresponder/pkg-plist
index 881ab7812a48..bb8d35ba8ec1 100644
--- a/mail/qmail-autoresponder/pkg-plist
+++ b/mail/qmail-autoresponder/pkg-plist
@@ -1,9 +1,8 @@
-@comment $FreeBSD$
bin/qmail-autoresponder
-%%MYSQL%%bin/qmail-autoresponder-mysql
+bin/qmail-autoresponder-mysql
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/procedure.txt
-%%MYSQL%%%%PORTDOCS%%%%DOCSDIR%%/schema.mysql
+%%PORTDOCS%%%%DOCSDIR%%/schema.mysql
%%PORTDOCS%%@dirrm %%DOCSDIR%%