summaryrefslogtreecommitdiffstats
path: root/devel/ruby-subversion/Makefile
blob: 07100591241c7054d48821a505376f988ffaa8e2 (plain)
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
35
36
# New ports collection makefile for:   subversion-ruby
# Date Created:                4 July 2005
# Whom:                        Hiroyuki Iwatsuki <don@na.rim.or.jp>
#
# $FreeBSD$
#

PKGNAMEPREFIX=	ruby-

MAINTAINER=	lev@FreeBSD.org
COMMENT=	Ruby bindings for version control system

.if defined(USE_SUBVERSION) && ${USE_SUBVERSION} == 16
MASTERDIR=	${.CURDIR}/../../devel/subversion16
.else
MASTERDIR=	${.CURDIR}/../../devel/subversion
.endif
PKGDIR=		${.CURDIR}

CONFIGURE_ENV+=	PTHREAD_LIBS=${PTHREAD_LIBS}

USE_RUBY=		yes

SVN_BUILD_BINDINGS=yes

.include "${MASTERDIR}/Makefile.common"

CATEGORIES+=	ruby

do-build:
	cd ${WRKSRC} ; ${MAKE} swig-rb-lib ; ${MAKE} swig-rb

do-install:
	cd ${WRKSRC} ; ${MAKE} install-swig-rb

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud