summaryrefslogtreecommitdiff
path: root/devel/ruby-subversion/Makefile
blob: e090a0beabe5ccb89adffefc2544b54abb8cf120 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PKGNAMEPREFIX=	ruby-

MAINTAINER=	michaelo@apache.org
COMMENT=	Ruby bindings for version control system
WWW=		https://subversion.apache.org/

USES+=		compiler:c11 ruby

PORTREVISION_LATEST=	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
CFLAGS+=	-Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types
.endif

.include <bsd.port.post.mk>