diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2012-08-30 12:08:46 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2012-08-30 12:08:46 +0000 |
commit | ba51b87cf9d5ca3b123cee26af6b28cd7d041df2 (patch) | |
tree | 3833872af7527243c04265599cf649134bcc254d /www/kannel | |
parent | 0544a4ddff63664c0287d0676a2651fd2e00357e (diff) | |
download | ports-ba51b87cf9d5ca3b123cee26af6b28cd7d041df2.tar.gz ports-ba51b87cf9d5ca3b123cee26af6b28cd7d041df2.zip |
- Convert to new options framework
- Remove ABI version from LIB_DEPENDS
Approved by: eadler, bapt (mentors, implicit)
Notes
Notes:
svn path=/head/; revision=303371
Diffstat (limited to 'www/kannel')
-rw-r--r-- | www/kannel/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/www/kannel/Makefile b/www/kannel/Makefile index 0c4bc412310c..e33ac73fb550 100644 --- a/www/kannel/Makefile +++ b/www/kannel/Makefile @@ -15,7 +15,7 @@ DISTNAME= gateway-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= WAP / SMS Gateway -LIB_DEPENDS= pcre.1:${PORTSDIR}/devel/pcre +LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre USE_RC_SUBR= kannel USE_GNOME= libxml2 @@ -31,30 +31,28 @@ CONFIGURE_ARGS= --with-cflags="${CPPFLAGS}" --with-libs="${LDFLAGS}" \ MAN1= mtbatch.1 seewbmp.1 wmlsc.1 wmlsdasm.1 MAN8= kannel.8 run_kannel_box.8 -OPTIONS= MYSQL "Enable MySQL support" off \ - PGSQL "Enable PostgreSQL support" off \ - SQLITE3 "Enable SQLite support" off +OPTIONS_DEFINE= MYSQL PGSQL SQLITE3 .include <bsd.port.options.mk> CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes CONFIGURE_ARGS+=--with-mysql .else CONFIGURE_ARGS+=--without-mysql .endif -.if defined(WITH_PGSQL) +.if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes CONFIGURE_ARGS+=--with-pgsql .else CONFIGURE_ARGS+=--without-pgsql .endif -.if defined(WITH_SQLITE3) +.if ${PORT_OPTIONS:MSQLITE3} USE_SQLITE= 3 CONFIGURE_ARGS+=--with-sqlite3 .else |