diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2017-12-03 19:39:23 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2017-12-03 19:39:23 +0000 |
commit | 23b42851ffacd51ef59d9fefea4813e099e94c16 (patch) | |
tree | 4a4590cb47df539d0db9869c881b0c072c002f3e /irc/weechat/Makefile | |
parent | 0026e03cbb16d4cbf1bf7b85b84b39b7ced59482 (diff) | |
download | freebsd-ports-23b42851ffacd51ef59d9fefea4813e099e94c16.zip |
irc/weechat: Unbreak builds, add PHP option
- Remove leftovers from 2.0-RC testing
- Add PHP option and .so
- Simplify cmake enable
Reported by: antoine, adamw
Diffstat (limited to 'irc/weechat/Makefile')
-rw-r--r-- | irc/weechat/Makefile | 36 |
1 files changed, 8 insertions, 28 deletions
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile index 5d9224ff6c9c..b3d003558ad6 100644 --- a/irc/weechat/Makefile +++ b/irc/weechat/Makefile @@ -3,6 +3,7 @@ PORTNAME= weechat PORTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= https://weechat.org/files/src/ @@ -16,9 +17,8 @@ LIB_DEPENDS+= libcurl.so:ftp/curl \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error -USES= cmake:outsource,noninja autoreconf ncurses libtool tar:xz +USES= cmake:outsource,noninja ncurses libtool tar:xz USE_LDCONFIG= yes -GNU_CONFIGURE= yes CMAKE_ARGS+= -DENABLE_GUILE=no \ -DLIBDATADIR=${LOCALBASE}/libdata @@ -31,7 +31,7 @@ OPTIONS_SUB= yes OPTIONS_EXCLUDE_powerpc64= RUBY OPTIONS_GROUP= PLUGINS -OPTIONS_GROUP_PLUGINS= ASPELL CHARSET JAVASCRIPT LUA PERL PYTHON RUBY TCL +OPTIONS_GROUP_PLUGINS= ASPELL CHARSET JAVASCRIPT LUA PERL PYTHON PHP RUBY TCL BACKTRACE_DESC= Provide crash backtraces CA_BUNDLE_DESC= Include CA bundle for certificate verification @@ -43,50 +43,30 @@ JAVASCRIPT_DESC= Javascript script support PYTHON_DESC= Python script support RUBY_DESC= Ruby script support -ASPELL_CMAKE_BOOLL= ENABLE_ASPELL -ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell +.for _opt in ASPELL CHARSET ICONV JAVASCRIPT GNUTLS LUA NLS PERL PHP PYTHON RUBY TCL +${_opt}_CMAKE_BOOL= ENABLE_${_opt} +.endfor +ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell BACKTRACE_CMAKE_BOOL= ENABLE_BACKTRACE - CA_BUNDLE_CMAKE_ON= -DCA_FILE=${LOCALBASE}/share/certs/ca-root-nss.crt CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss - -CHARSET_CMAKE_BOOL= ENABLE_CHARSET CHARSET_IMPLIES= ICONV - DOCS_CMAKE_BOOL= ENABLE_DOC DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/asciidoctor:textproc/rubygem-asciidoctor - -ICONV_CMAKE_BOOL= ENABLE_ICONV ICONV_USES= iconv - -JAVASCRIPT_CMAKE_BOOL= ENABLE_JAVASCRIPT JAVASCRIPT_LIB_DEPENDS= libv8.so:lang/v8 - -GNUTLS_CMAKE_BOOL= ENABLE_GNUTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_USES= pkgconfig - -LUA_CMAKE_BOOL= ENABLE_LUA LUA_USES= lua pkgconfig - MANPAGES_CMAKE_BOOL= ENABLE_MAN MANPAGES_CMAKE_ON= -DMANDIR=${MANPREFIX}/man MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/bin/asciidoctor:textproc/rubygem-asciidoctor - -NLS_CMAKE_BOOL= ENABLE_NLS NLS_USES= gettext - -PERL_CMAKE_BOOL= ENABLE_PERL PERL_USES= perl5 - -PYTHON_CMAKE_BOOL= ENABLE_PYTHON +PHP_USES= php:embed PYTHON_USES= python - -RUBY_CMAKE_BOOL= ENABLE_RUBY RUBY_USE= ruby=yes - -TCL_CMAKE_BOOL= ENABLE_TCL TCL_USES= tcl:85+ .include <bsd.port.pre.mk> |