diff options
Diffstat (limited to 'mail/teapop/Makefile')
-rw-r--r-- | mail/teapop/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/teapop/Makefile b/mail/teapop/Makefile index 3a0eb2bcd80b..d2c10652bbcc 100644 --- a/mail/teapop/Makefile +++ b/mail/teapop/Makefile @@ -6,11 +6,10 @@ # PORTNAME= teapop -PORTVERSION= 0.26 +PORTVERSION= 0.27 CATEGORIES= mail MASTER_SITES= ftp://ftp.toontown.org/pub/teapop/ \ http://www.toontown.org/pub/teapop/ -DISTNAME= ${PORTNAME}-latest MAINTAINER= jim@FreeBSD.org @@ -18,7 +17,10 @@ MAINTAINER= jim@FreeBSD.org LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7 .endif -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +.if defined(WITH_MYSQL) +LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client +.endif + GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-flock @@ -34,6 +36,10 @@ CONFIGURE_ARGS+= --disable-vpop CONFIGURE_ARGS+= --with-pgsql=${PREFIX}/pgsql .endif +.if defined(WITH_MYSQL) +CONFIGURE_ARGS+= --with-mysql=${PREFIX} +.endif + MAN8= teapop.8 .include <bsd.port.mk> |