[130885] trunk/dports/devel/subversion-perlbindings/Portfile

mojca at macports.org mojca at macports.org
Sat Jan 3 07:53:53 PST 2015


Revision: 130885
          https://trac.macports.org/changeset/130885
Author:   mojca at macports.org
Date:     2015-01-03 07:53:52 -0800 (Sat, 03 Jan 2015)
Log Message:
-----------
subversion-perlbindings: first line, checksums, whitespace only

Modified Paths:
--------------
    trunk/dports/devel/subversion-perlbindings/Portfile

Modified: trunk/dports/devel/subversion-perlbindings/Portfile
===================================================================
--- trunk/dports/devel/subversion-perlbindings/Portfile	2015-01-03 15:50:18 UTC (rev 130884)
+++ trunk/dports/devel/subversion-perlbindings/Portfile	2015-01-03 15:53:52 UTC (rev 130885)
@@ -1,21 +1,22 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
-name			subversion-perlbindings
-version			1.8.11
-categories		devel perl
-platforms		darwin
-maintainers		geeklair.net:dluke blair
-description		Perl bindings for the subversion version control system (svn)
-license			Apache-2
+name                subversion-perlbindings
+version             1.8.11
+categories          devel perl
+platforms           darwin
+maintainers         geeklair.net:dluke blair
+description         Perl bindings for the subversion version control system (svn)
+license             Apache-2
 
-long_description	Subversion (svn) is a version control system designed to be \
-			as similar to cvs(1) as possible, while fixing many \
-			outstanding problems with cvs(1). The perl bindings \
-			provide access to subversion API from perl.
+long_description    Subversion (svn) is a version control system designed to be \
+                    as similar to cvs(1) as possible, while fixing many \
+                    outstanding problems with cvs(1). The perl bindings \
+                    provide access to subversion API from perl.
 
-homepage		http://subversion.apache.org/
+homepage            http://subversion.apache.org/
 
 set perl5.branches {5.8 5.10 5.12 5.14 5.16 5.18 5.20}
 foreach branch ${perl5.branches} {
@@ -24,96 +25,102 @@
 
     subport ${name}-${branch} {
         set perl5.branch $branch
-	foreach c_perl ${other_perls} {
+        foreach c_perl ${other_perls} {
             conflicts-append ${name}-${c_perl}
         }
     }
 }
 
 if {${subport} eq ${name}} {
+
     distfiles
     supported_archs noarch
     # depend on a default perl version
-    depends_lib port:${name}-5.16
+    depends_lib     port:${name}-5.16
     # avoid conflict with old version when upgrading
-    replaced_by ${name}-5.16
-    use_configure no
-    build {}
+    replaced_by     ${name}-5.16
+    use_configure   no
+    build           {}
     destroot {
-	xinstall -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
         system "echo $name is a stub port > ${destroot}${prefix}/share/doc/${name}/README"
     }
-	livecheck.type	regex
-	livecheck.url	http://svn.apache.org/repos/asf/subversion/tags/
-	livecheck.regex	"(\\d+\\.\\d+\\.\\d+)/"
+    livecheck.type  regex
+    livecheck.url   http://svn.apache.org/repos/asf/subversion/tags/
+    livecheck.regex "(\\d+\\.\\d+\\.\\d+)/"
+
 } else {
 
-master_sites		apache:subversion
-use_bzip2		yes
-checksums	sha1	161edaee328f4fdcfd2a7c10ecd3fbcd51c61275 \
-		rmd160	0c512065a168c4e928917e4377dc02b26fcbc72a
-		
-distname		subversion-${version}
-dist_subdir		subversion
+    master_sites    apache:subversion
+    use_bzip2       yes
+    checksums       rmd160  0c512065a168c4e928917e4377dc02b26fcbc72a \
+                    sha256  10b056420e1f194c12840368f6bf58842e6200f9cb8cc5ebbf9be2e89e56e4d9
 
-test.run		yes
-test.target		check-swig-pl
+    distname        subversion-${version}
+    dist_subdir     subversion
 
-use_parallel_build	no
+    test.run        yes
+    test.target     check-swig-pl
 
-depends_lib		port:expat \
-			port:apr port:apr-util \
-			port:db46 port:subversion \
-			port:perl${perl5.branch} \
-			port:gettext port:libiconv \
-			port:serf1 port:cyrus-sasl2 \
-			port:sqlite3 port:libmagic \
-			port:libcomerr \
-			port:zlib
+    use_parallel_build no
 
-configure.args		--with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6 \
-			--with-apr=${prefix}/bin/apr-1-config \
-			--with-apr-util=${prefix}/bin/apu-1-config --without-apxs \
-			--mandir=\\\${prefix}/share/man \
-			--with-serf=${prefix} \
-			--with-sasl=${prefix} \
-			--with-libmagic=${prefix} \
-			--without-gnome-keyring
+    depends_lib     port:expat \
+                    port:apr port:apr-util \
+                    port:db46 port:subversion \
+                    port:perl${perl5.branch} \
+                    port:gettext port:libiconv \
+                    port:serf1 port:cyrus-sasl2 \
+                    port:sqlite3 port:libmagic \
+                    port:libcomerr \
+                    port:zlib
 
-configure.env		ac_cv_path_PERL=${prefix}/bin/perl${perl5.branch}
+    configure.args  --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6 \
+                    --with-apr=${prefix}/bin/apr-1-config \
+                    --with-apr-util=${prefix}/bin/apu-1-config --without-apxs \
+                    --mandir=\\\${prefix}/share/man \
+                    --with-serf=${prefix} \
+                    --with-sasl=${prefix} \
+                    --with-libmagic=${prefix} \
+                    --without-gnome-keyring
 
-build.target		swig-pl
-destroot.target		install-swig-pl-lib DESTDIR=${destroot} && \
-        		cd "${worksrcpath}/subversion/bindings/swig/perl/native" &&\
-			make pure_install
+    configure.env   ac_cv_path_PERL=${prefix}/bin/perl${perl5.branch}
 
-destroot.args		INSTALLDIRS=vendor
+    build.target    swig-pl
+    destroot.target install-swig-pl-lib DESTDIR=${destroot} && \
+                    cd "${worksrcpath}/subversion/bindings/swig/perl/native" &&\
+                    make pure_install
 
-pre-configure {		reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" \
-				${worksrcpath}/configure
-			}
+    destroot.args   INSTALLDIRS=vendor
 
-post-configure {	reinplace "s|need_relink=yes|need_relink=no|g" \
-				${worksrcpath}/libtool
-			}
+    pre-configure {
+        reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" ${worksrcpath}/configure
+    }
 
-variant no_bdb description {Build without support for BerkeleyDB repositories} {
-		        depends_lib-delete      port:db46
-                        configure.args-delete   --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6
-                        configure.args-append   --without-berkeley-db
-                        }
+    post-configure {
+        reinplace "s|need_relink=yes|need_relink=no|g" ${worksrcpath}/libtool
+    }
 
-post-destroot {
-                foreach packlist [exec find ${destroot} -name .packlist] {
-                        ui_info "Fixing packlist ${packlist}"
-                        reinplace "s|${destroot}||" ${packlist}
-                }
+    variant no_bdb description {Build without support for BerkeleyDB repositories} {
+        depends_lib-delete \
+                    port:db46
+        configure.args-delete \
+                    --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6
+        configure.args-append \
+                    --without-berkeley-db
+    }
+
+    post-destroot {
+        foreach packlist [exec find ${destroot} -name .packlist] {
+            ui_info "Fixing packlist ${packlist}"
+            reinplace "s|${destroot}||" ${packlist}
         }
+    }
 
-# CarbonCore/MacTypes.h: No such file or directory
-platform puredarwin {		configure.args-append \
-					--disable-keychain
-				}
+    # CarbonCore/MacTypes.h: No such file or directory
+    platform puredarwin {
+        configure.args-append \
+                    --disable-keychain
+    }
 
-livecheck.type  none
+    livecheck.type  none
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150103/7cb0e3c9/attachment-0001.html>


More information about the macports-changes mailing list