freebsd-ports/devel/ruby-subversion/Makefile
2024-01-08 18:01:28 +01:00

34 lines
794 B
Makefile

PKGNAMEPREFIX= ruby-
MAINTAINER= lev@FreeBSD.org
COMMENT= Ruby bindings for version control system
WWW= https://subversion.apache.org/
USES+= compiler:c11 ruby
PORTREVISION_114= 0
PORTREVISION_LTS= 0
SVN_BUILD_BINDINGS= yes
.include "${.CURDIR}/../../devel/subversion/Makefile.addons"
CATEGORIES+= ruby
CONFIGURE_ARGS+= --with-swig-ruby=${RUBY} \
--without-swig-perl \
--without-swig-python \
--without-gnome-keyring \
--without-kwallet \
--with-apxs=no
ALL_TARGET= swig-rb-lib swig-rb
INSTALL_TARGET= install-swig-rb
CFLAGS+= -fdeclspec
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types
.endif
.include <bsd.port.post.mk>