summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-subversion/DESCR5
-rw-r--r--devel/p5-subversion/Makefile27
-rw-r--r--devel/p5-subversion/PLIST6
3 files changed, 38 insertions, 0 deletions
diff --git a/devel/p5-subversion/DESCR b/devel/p5-subversion/DESCR
new file mode 100644
index 00000000000..bcb26f92c4c
--- /dev/null
+++ b/devel/p5-subversion/DESCR
@@ -0,0 +1,5 @@
+The goal of the Subversion project is to build a version control system that
+is a compelling replacement for CVS in the open source community. The software
+is released under an Apache/BSD-style open source license.
+
+This package contains the Perl bindings to the Subversion libraries.
diff --git a/devel/p5-subversion/Makefile b/devel/p5-subversion/Makefile
new file mode 100644
index 00000000000..5a023b990e9
--- /dev/null
+++ b/devel/p5-subversion/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/03 15:13:58 epg Exp $
+
+PKGNAME= p5-subversion-${SVNVER}
+COMMENT= Perl bindings for Subversion
+
+.include "../../devel/subversion/Makefile.common"
+
+PERL_DIR= ${WRKSRC}/subversion/bindings/swig/perl
+ALL_TARGET= swig-pl-lib
+INSTALL_TARGET= install-swig-pl-lib
+PERL5_CONFIGURE= NO
+PERL5_CONFIGURE_DIRS= ${PERL_DIR}
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/SVN/_Core/.packlist
+
+post-build: perl5-configure
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD}cd ${PERL_DIR} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
+
+post-install:
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD}cd ${PERL_DIR} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} install
+
+.include "../../devel/subversion/buildlink2.mk"
+.include "../../devel/swig-build/buildlink2.mk"
+.include "../../devel/swig-perl/buildlink2.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-subversion/PLIST b/devel/p5-subversion/PLIST
new file mode 100644
index 00000000000..e6b281901e4
--- /dev/null
+++ b/devel/p5-subversion/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/03 15:13:58 epg Exp $
+lib/libsvn_swig_perl-1.a
+lib/libsvn_swig_perl-1.la
+lib/libsvn_swig_perl-1.so
+lib/libsvn_swig_perl-1.so.0
+lib/libsvn_swig_perl-1.so.0.0