aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-subversion
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2008-06-30 10:00:07 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2008-06-30 10:00:07 +0000
commit9ffc02942d56820e9f987cabe4b5592db5ea034a (patch)
treea30063f6e5626132e0426505cffb826aaf0762b0 /devel/p5-subversion
parent164733d9dfad71b53a8b8a7ff980d3e525c4f2cb (diff)
downloadports-9ffc02942d56820e9f987cabe4b5592db5ea034a.tar.gz
ports-9ffc02942d56820e9f987cabe4b5592db5ea034a.zip
Notes
Diffstat (limited to 'devel/p5-subversion')
-rw-r--r--devel/p5-subversion/Makefile35
-rw-r--r--devel/p5-subversion/pkg-descr2
-rw-r--r--devel/p5-subversion/pkg-plist36
3 files changed, 65 insertions, 8 deletions
diff --git a/devel/p5-subversion/Makefile b/devel/p5-subversion/Makefile
index 9dfcd18792cb..f503eea2586e 100644
--- a/devel/p5-subversion/Makefile
+++ b/devel/p5-subversion/Makefile
@@ -5,16 +5,37 @@
# $FreeBSD$
#
-PKGNAMESUFFIX= -perl
+PKGNAMEPREFIX= p5-
+CATEGORIES+= perl
-MAINTAINER= autrijus@autrijus.org
-COMMENT= Version control system with Perl bindings
-CONFLICTS= subversion-[0-9]* subversion-python-[0-9]* subversion-ruby-[0-9]* subversion-devel-[0-9]* subversion-freebsd-[0-9]*
+MAINTAINER= lev@FreeBSD.org
+COMMENT= Perl bindings for Version control system
MASTERDIR= ${.CURDIR}/../../devel/subversion
PKGDIR= ${.CURDIR}
-PLIST= ${MASTERDIR}/pkg-plist
-WITH_PERL= yes
+USE_PERL5= 5.8.0+
-.include "${MASTERDIR}/Makefile"
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= SVN::Base.3 \
+ SVN::Client.3 \
+ SVN::Core.3 \
+ SVN::Delta.3 \
+ SVN::Fs.3 \
+ SVN::Ra.3 \
+ SVN::Repos.3 \
+ SVN::Wc.3
+
+SVN_BUILD_BINDINGS=yes
+
+.include "${MASTERDIR}/Makefile.common"
+
+do-build:
+ cd ${WRKSRC} ; ${MAKE} swig-pl-lib ; ${MAKE} swig-pl
+
+do-install:
+ cd ${WRKSRC} ; \
+ ${REINPLACE_CMD} '/SWIG_PL_DIR/s, install$$, all pure_install,g' ${WRKSRC}/Makefile ; \
+ ${MAKE} install-swig-pl
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-subversion/pkg-descr b/devel/p5-subversion/pkg-descr
index f74d965fcca0..4ca897a83618 100644
--- a/devel/p5-subversion/pkg-descr
+++ b/devel/p5-subversion/pkg-descr
@@ -1,6 +1,6 @@
Subversion is a version control system designed to be as similar to cvs(1)
as possible, while fixing many outstanding problems with cvs(1).
-This slave port adds Perl bindings to Subversion.
+This port adds Perl bindings to Subversion.
WWW: http://subversion.tigris.org/
diff --git a/devel/p5-subversion/pkg-plist b/devel/p5-subversion/pkg-plist
new file mode 100644
index 000000000000..7c9539d6bdcd
--- /dev/null
+++ b/devel/p5-subversion/pkg-plist
@@ -0,0 +1,36 @@
+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
+%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Base.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Client.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Core.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Delta.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Fs.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Ra.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Repos.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Wc.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Client/_Client.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Client/_Client.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Core/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Core/_Core.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Core/_Core.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Delta/_Delta.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Delta/_Delta.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Fs/_Fs.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Fs/_Fs.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Ra/_Ra.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Ra/_Ra.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Repos/_Repos.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Repos/_Repos.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Wc/_Wc.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Wc/_Wc.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Wc
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Repos
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Ra
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Fs
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Delta
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Client
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Core
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/SVN