ports/57779: Update devel/subversion to 0.31, with perl binding support

plasma plasma at freebsd.sinica.edu.tw
Thu Oct 9 02:20:16 UTC 2003


>Number:         57779
>Category:       ports
>Synopsis:       Update devel/subversion to 0.31, with perl binding support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 08 19:20:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     plasma
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #4: Mon Sep 15 18:44:48 CST 2003 root at freebsd.sinica.edu.tw:/usr/src/sys/compile/GENERIC i386


	
>Description:
	Update devel/subversion to 0.31, with perl binding support.

	This obsoletes pr #56065.
>How-To-Repeat:
	None
>Fix:


diff -ruN /usr/ports/devel/subversion/Makefile subversion/Makefile
--- /usr/ports/devel/subversion/Makefile	Thu Oct  2 08:17:30 2003
+++ subversion/Makefile	Thu Oct  9 10:07:03 2003
@@ -2,10 +2,10 @@
 # Date created:				10 September 2001
 # Whom:					rooneg at electricjellyfish.net
 #
-# $FreeBSD: ports/devel/subversion/Makefile,v 1.44 2003/10/01 10:53:56 lev Exp $
+# $FreeBSD: ports/devel/subversion/Makefile,v 1.42 2003/09/04 09:48:25 lev Exp $
 
 PORTNAME=	subversion
-PORTVERSION=	0.30.0
+PORTVERSION=	0.31.0
 CATEGORIES=	devel
 MASTER_SITES=	http://svn.collab.net/tarballs/
 MASTER_SITES+=	${MASTER_SITE_LOCAL}
@@ -26,15 +26,42 @@
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--with-ssl \
 		--with-neon=${LOCALBASE} \
-		--with-berkeley-db=${LOCALBASE}/include/db4:${LOCALBASE}/lib \
-		--with-swig=no
+		--with-berkeley-db=${LOCALBASE}/include/db4:${LOCALBASE}/lib
 
 
-MAN1=	svn.1 svnadmin.1
+MAN1=	svn.1 svnadmin.1 svnlook.1
 MANCOMPRESSED=	no
 
 APXS=${LOCALBASE}/sbin/apxs
 
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PERL)
+.if ${PERL_LEVEL} < 500800
+IGNORE=	"Subversion's perl binding needs Perl 5.8.0 or greater, upgrade your Perl!"
+.else
+USE_PERL5=	no
+BUILD_DEPENDS+=	swig1.3:${PORTSDIR}/devel/swig13
+CONFIGURE_ARGS+= \
+		--with-swig=yes
+PLIST_SUB+=	WITH_PERL=""
+
+MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3=		SVN::Base.3 \
+		SVN::Client.3 \
+		SVN::Core.3 \
+		SVN::Delta.3 \
+		SVN::Ra.3 \
+		SVN::Repos.3
+.endif
+.else
+USE_PERL5=	no
+CONFIGURE_ARGS+= \
+		--with-swig=no
+PLIST_SUB+=	WITH_PERL="@comment "
+.endif
+
+
 .if defined(WITH_MOD_DAV_SVN)
 WITH_APACHE2_APR=	yes
 CONFIGURE_ARGS+= \
@@ -100,10 +127,17 @@
 		${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
 	done
 .endif
+.if defined(WITH_PERL)
+	cd ${WRKSRC}; \
+	  ${MAKE} install-swig-pl-lib
+	cd ${WRKSRC}/subversion/bindings/swig/perl; \
+	  ${PERL} Makefile.PL; \
+	  ${MAKE} all test install
+.endif
 
 post-deinstall:
 .if defined(WITH_MOD_DAV_SVN)
 	@PKG_PREFIX=${PREFIX} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN /usr/ports/devel/subversion/distinfo subversion/distinfo
--- /usr/ports/devel/subversion/distinfo	Thu Oct  2 08:17:30 2003
+++ subversion/distinfo	Thu Oct  9 10:07:03 2003
@@ -1 +1 @@
-MD5 (subversion-0.30.0.tar.gz) = 9dac76a67a217dc6b7f63259761ff93f
+MD5 (subversion-0.31.0.tar.gz) = a58df76993c1e6b1bfe80dd77d290ab2
diff -ruN /usr/ports/devel/subversion/files/patch-configure subversion/files/patch-configure
--- /usr/ports/devel/subversion/files/patch-configure	Sat Jul 26 06:47:56 2003
+++ subversion/files/patch-configure	Thu Oct  9 10:07:03 2003
@@ -1,13 +1,14 @@
---- configure.orig	Fri Jul 25 09:25:23 2003
-+++ configure	Fri Jul 25 09:25:28 2003
-@@ -1820,8 +1820,8 @@
+--- configure.orig	Thu Oct  9 09:10:22 2003
++++ configure	Thu Oct  9 09:10:30 2003
+@@ -2952,9 +2952,9 @@
  
  
  
 -APR_VER_REGEX="0\.9\.[4-9]"
--APU_VER_REGEX="0\.9\.[4-9]"
 +APR_VER_REGEX="0\.9\.[3-9]"
+ APR_VER_REGEX_TOO="1\.0"
+-APU_VER_REGEX="0\.9\.[4-9]"
 +APU_VER_REGEX="0\.9\.[3-9]"
- 
+ APU_VER_REGEX_TOO="1\.0"
  
  
diff -ruN /usr/ports/devel/subversion/pkg-plist subversion/pkg-plist
--- /usr/ports/devel/subversion/pkg-plist	Thu Oct  2 08:17:30 2003
+++ subversion/pkg-plist	Thu Oct  9 10:07:03 2003
@@ -87,6 +87,46 @@
 %%MOD_DAV_SVN%%libexec/apache2/mod_authz_svn.so
 %%MOD_DAV_SVN%%@exec %D/sbin/apxs -e -S LIBEXECDIR=%D/libexec/apache2 -a -n dav libexec/apache2/mod_dav.so
 %%MOD_DAV_SVN%%@exec %D/sbin/apxs -e -S LIBEXECDIR=%D/libexec/apache2 -a -n dav_svn libexec/apache2/mod_dav_svn.so
+%%WITH_PERL%%lib/libsvn_swig_perl-1.a
+%%WITH_PERL%%lib/libsvn_swig_perl-1.la
+%%WITH_PERL%%lib/libsvn_swig_perl-1.so
+%%WITH_PERL%%lib/libsvn_swig_perl-1.so.0
+%%WITH_PERL%%lib/libsvn_swig_py-1.a
+%%WITH_PERL%%lib/libsvn_swig_py-1.la
+%%WITH_PERL%%lib/libsvn_swig_py-1.so
+%%WITH_PERL%%lib/libsvn_swig_py-1.so.0
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Base.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Client.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Core.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Delta.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Fs.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Ra.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Repos.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/SVN/Wc.pm
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Client/_Client.bs
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Client/_Client.so
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Core/.packlist
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Core/_Core.bs
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Core/_Core.so
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Delta/_Delta.bs
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Delta/_Delta.so
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Fs/_Fs.bs
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Fs/_Fs.so
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Ra/_Ra.bs
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Ra/_Ra.so
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Repos/_Repos.bs
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Repos/_Repos.so
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Wc/_Wc.bs
+%%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Wc/_Wc.so
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Wc
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Repos
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Ra
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Fs
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Delta
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Client
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN/_Core
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SVN
+%%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/SVN
 %%PORTDOCS%%share/doc/subversion/BUGS
 %%PORTDOCS%%share/doc/subversion/CHANGES
 %%PORTDOCS%%share/doc/subversion/COMMITTERS

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list