blob: 3365bd40b60e7842752b7cce5988a07d42bc1865 (
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
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.12 2004/12/03 15:14:55 wiz Exp $
PKGNAME= ${PYPKGPREFIX}-subversion-${SVNVER}
COMMENT= Python bindings and tools for Subversion
.include "../../devel/subversion/Makefile.common"
CONFIGURE_ENV+= PYTHON2=${PYTHONBIN}
PY_PATCHPLIST= YES
PYBINMODULE= YES
PYTHON_PATCH_SCRIPTS= tools/hook-scripts/mailer/mailer.py
BUILD_TARGET= swig-py-lib swig-py
INSTALL_TARGET= install-swig-py
MAKE_ENV+= EXTRA_CPPFLAGS="${BUILDLINK_CPPFLAGS}"
MAKEFLAGS+= swig_pydir=${LOCALBASE}/${PYSITELIB}/libsvn \
swig_pydir_extra=${LOCALBASE}/${PYSITELIB}/svn
TEST_TARGET= all check
post-patch:
${RM} ${WRKSRC}/build-outputs.mk
${CP} ${FILESDIR}/build-outputs.mk ${WRKSRC}/build-outputs.mk
post-install:
${RM} ${LOCALBASE}/${PYSITELIB}/libsvn/*.a
${RM} ${LOCALBASE}/${PYSITELIB}/libsvn/*.la
${INSTALL_DATA_DIR} ${SVNEXAMPLES}/python
${INSTALL_DATA} ${WRKSRC}/tools/examples/*.py ${SVNEXAMPLES}/python
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer/mailer.py \
${SVNEXAMPLES}/hook-scripts
${INSTALL_DATA} \
${WRKSRC}/tools/hook-scripts/mailer/mailer.conf.example \
${SVNEXAMPLES}/hook-scripts
.include "../../devel/subversion/buildlink3.mk"
.include "../../devel/swig-build/buildlink3.mk"
.include "../../devel/swig-python/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
|