43e9408b1c
OK sthen@ ajacoutot@
88 lines
1.9 KiB
Makefile
88 lines
1.9 KiB
Makefile
# $OpenBSD: Makefile,v 1.15 2014/09/27 17:07:20 jeremy Exp $
|
|
|
|
COMMENT-main= fast, light and extensible chat client
|
|
COMMENT-lua= Lua bindings for weechat
|
|
COMMENT-python= Python bindings for weechat
|
|
COMMENT-ruby= Ruby bindings for weechat
|
|
COMMENT-tcl= Tcl bindings for weechat
|
|
|
|
V= 0.4.2
|
|
DISTNAME= weechat-${V}
|
|
|
|
PKGNAME-main= weechat-${V}
|
|
REVISION-main= 0
|
|
PKGNAME-lua= weechat-lua-${V}
|
|
PKGNAME-python= weechat-python-${V}
|
|
PKGNAME-ruby= weechat-ruby-${V}
|
|
REVISION-ruby= 0
|
|
PKGNAME-tcl= weechat-tcl-${V}
|
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://www.weechat.org/
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/files/src/
|
|
|
|
MULTI_PACKAGES= -main -lua -python -ruby -tcl
|
|
|
|
WANTLIB-main= c curl m ncursesw perl pthread util \
|
|
gcrypt gnutls gpg-error z ${MODGETTEXT_WANTLIB}
|
|
|
|
WANTLIB-lua= ${MODLUA_WANTLIB}
|
|
WANTLIB-python= ${MODPY_WANTLIB}
|
|
WANTLIB-ruby= ${MODRUBY_WANTLIB}
|
|
WANTLIB-tcl= ${MODTCL_WANTLIB}
|
|
|
|
MODULES= devel/cmake \
|
|
devel/gettext \
|
|
lang/lua \
|
|
lang/python \
|
|
lang/ruby \
|
|
lang/tcl
|
|
|
|
MODLUA_RUNDEP= No
|
|
MODPY_RUNDEP= No
|
|
MODRUBY_RUNDEP= No
|
|
|
|
BUILD_DEPENDS = textproc/asciidoc
|
|
LIB_DEPENDS= security/libgcrypt \
|
|
security/gnutls \
|
|
net/curl
|
|
|
|
LIB_DEPENDS-lua= ${MODLUA_LIB_DEPENDS}
|
|
RUN_DEPENDS-lua= ${MODLUA_RUN_DEPENDS}
|
|
|
|
LIB_DEPENDS-python= ${MODPY_LIB_DEPENDS}
|
|
RUN_DEPENDS-python= ${MODPY_RUN_DEPENDS}
|
|
|
|
LIB_DEPENDS-ruby= ${MODRUBY_LIB_DEPENDS}
|
|
RUN_DEPENDS-ruby= ${MODRUBY_RUN_DEPENDS}
|
|
|
|
LIB_DEPENDS-tcl= ${MODTCL_LIB_DEPENDS}
|
|
RUN_DEPENDS-tcl= ${MODTCL_RUN_DEPENDS}
|
|
|
|
CONFIGURE_ARGS+=-DENABLE_ASPELL=no \
|
|
-DENABLE_GUILE=no \
|
|
-DENABLE_RUBY=yes \
|
|
-DENABLE_LUA=yes \
|
|
-DENABLE_TCL=yes \
|
|
-DENABLE_PYTHON=yes \
|
|
-DHAVE_BACKTRACE=no \
|
|
-DMANDIR=${PREFIX}/man \
|
|
-DENABLE_MAN=on \
|
|
-DCA_FILE=/etc/ssl/cert.pem
|
|
|
|
post-install:
|
|
$(INSTALL_DATA_DIR) ${PREFIX}/share/doc/weechat
|
|
$(INSTALL_DATA) $(WRKSRC)/doc/en/weechat_*.en.txt \
|
|
${PREFIX}/share/doc/weechat/
|
|
|
|
NO_TEST= Yes
|
|
|
|
.include <bsd.port.mk>
|