aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-04-27 01:15:38 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-04-27 01:15:38 +0000
commit90ee093f07a87aba131a47bcefa666d9c984cac7 (patch)
treed7e3b6d4fd413f35b701529fc02bd2c1a9e24e9a /mail
parent445249dcbc3d490187b5e2d0050daf6b9e4b505b (diff)
downloadports-90ee093f07a87aba131a47bcefa666d9c984cac7.tar.gz
ports-90ee093f07a87aba131a47bcefa666d9c984cac7.zip
Notes
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%%