aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-subversion/Makefile
blob: e43d4e1b8b9cce17b7a4b4c19a749501c3387113 (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
35
36
37
38
39
40
41
42
43
# Created by: Autrijus Tang <autrijus@autrijus.org>
# $FreeBSD$

PKGNAMEPREFIX=  p5-
PORTREVISION=   1

MAINTAINER= lev@FreeBSD.org
COMMENT=    Perl bindings for Version control system

.if defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 18
MASTERDIR=  ${.CURDIR}/../../devel/subversion18
.else
MASTERDIR=  ${.CURDIR}/../../devel/subversion
.endif
PKGDIR=     ${.CURDIR}

USES=       perl5
USE_PERL5=  build run

SVN_BUILD_BINDINGS= yes
SVN_BUILD_ADDONS=   yes

MAKE_JOBS_UNSAFE=   yes

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

CATEGORIES+=    perl5

CONFIGURE_ARGS+=    --without-gnome-keyring \
            --without-kwallet \
            --with-apxs=no

CFLAGS_aarch64=     -fPIC

ALL_TARGET= swig-pl-lib swig-pl
INSTALL_TARGET= install-swig-pl

CFLAGS_aarch64= -fPIC

pre-install:
    ${REINPLACE_CMD} '/SWIG_PL_DIR/s, install$$, all pure_install,g' ${WRKSRC}/Makefile

.include <bsd.port.post.mk>