diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2012-09-15 03:26:37 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2012-09-15 03:26:37 +0800 |
commit | 92560bd1cc511756e5581587ce5b269e68b944cb (patch) | |
tree | 9531fe879ad9547c239c8ed33ae2c9cfe6dc4e4c /net-im/jabber/Makefile | |
parent | c12548d29b90a458ab01db3b366e8d5a6b4bc712 (diff) | |
download | freebsd-ports-gnome-92560bd1cc511756e5581587ce5b269e68b944cb.tar.gz freebsd-ports-gnome-92560bd1cc511756e5581587ce5b269e68b944cb.tar.zst freebsd-ports-gnome-92560bd1cc511756e5581587ce5b269e68b944cb.zip |
- Convert to new options framework
- Remove GPL LICENSE_FILE
- Remove ABI versions from LIB_DEPENDS
- Mark MAKE_JOBS_UNSAFE
- Remove use of bsd.port.pre.mk
Diffstat (limited to 'net-im/jabber/Makefile')
-rw-r--r-- | net-im/jabber/Makefile | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/net-im/jabber/Makefile b/net-im/jabber/Makefile index feba6e91ed67..61c8fb4755db 100644 --- a/net-im/jabber/Makefile +++ b/net-im/jabber/Makefile @@ -18,20 +18,17 @@ DIST_SUBDIR= jabber MAINTAINER= ports@FreeBSD.org COMMENT= XMPP/Jabber server daemon -LIB_DEPENDS= pth.20:${PORTSDIR}/devel/pth-hard \ - popt.0:${PORTSDIR}/devel/popt \ - idn.17:${PORTSDIR}/dns/libidn \ - expat.6:${PORTSDIR}/textproc/expat2 \ - tasn1.4:${PORTSDIR}/security/libtasn1 \ - gnutls.47:${PORTSDIR}/security/gnutls \ - gcrypt.18:${PORTSDIR}/security/libgcrypt - LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS= IPV6 "Enable IPv6 support" off \ - MYSQL "Build with MySQL support" off \ - PGSQL "Build with PostgreSQL support" off +LIB_DEPENDS= pth:${PORTSDIR}/devel/pth-hard \ + popt:${PORTSDIR}/devel/popt \ + idn:${PORTSDIR}/dns/libidn \ + expat:${PORTSDIR}/textproc/expat2 \ + tasn1:${PORTSDIR}/security/libtasn1 \ + gnutls:${PORTSDIR}/security/gnutls \ + gcrypt:${PORTSDIR}/security/libgcrypt + +OPTIONS_DEFINE= IPV6 MYSQL PGSQL USE_RC_SUBR= jabber USE_ICONV= yes @@ -39,6 +36,7 @@ USE_GMAKE= yes USE_GETTEXT= yes USE_AUTOTOOLS= libtool USE_LDCONFIG= ${PREFIX}/lib/jabber +MAKE_JOBS_UNSAFE= yes .if !defined(NO_INSTALL_MANPAGES) MAN5= jabber.xml.5 @@ -73,19 +71,19 @@ SUB_LIST+= JABBER_USER=${JABBER_USER} JABBER_UID=${JABBER_UID} \ DOCS= AUTHORS ChangeLog INSTALL NEWS README README.SQL README.config \ README.filespool README.karma README.protocols TODO UPGRADE mysql.sql -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} .endif -.if defined(WITH_PGSQL) +.if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes CONFIGURE_ARGS+= --with-postgresql=${LOCALBASE} .endif -.if defined(WITH_IPV6) +.if ${PORT_OPTIONS:MIPV6} CONFIGURE_ARGS+= --enable-ipv6 .endif @@ -119,4 +117,4 @@ post-install: @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |