[109121] branches/subversion-subports/dports/devel/subversion/Portfile

larryv at macports.org larryv at macports.org
Thu Aug 8 00:01:58 PDT 2013


Revision: 109121
          https://trac.macports.org/changeset/109121
Author:   larryv at macports.org
Date:     2013-08-08 00:01:58 -0700 (Thu, 08 Aug 2013)
Log Message:
-----------
[subversion-subports] subversion: Rearrange a bit.

Modified Paths:
--------------
    branches/subversion-subports/dports/devel/subversion/Portfile

Modified: branches/subversion-subports/dports/devel/subversion/Portfile
===================================================================
--- branches/subversion-subports/dports/devel/subversion/Portfile	2013-08-08 06:51:49 UTC (rev 109120)
+++ branches/subversion-subports/dports/devel/subversion/Portfile	2013-08-08 07:01:58 UTC (rev 109121)
@@ -8,22 +8,16 @@
 revision                1
 categories              devel
 platforms               darwin
+license                 Apache-2
 maintainers             geeklair.net:dluke blair
+
 description             subversion (svn) -- a version control system \
                         designed to be a better cvs
-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).
-
 homepage                http://subversion.apache.org/
-master_sites            apache:subversion
-use_bzip2               yes
-checksums               md5     f2ee0471b8a560f5efa0f2349d9c9ab9 \
-                        sha1    7705819a0037c14fb32eef36f2e57a803217c689 \
-                        rmd160  aaff1efd8e1b8112603eb7855cb546316fe88707
 
 depends_lib             port:apr \
                         port:apr-util \
@@ -38,12 +32,13 @@
                         port:sqlite3
 depends_run             port:curl-ca-bundle
 
-test.run                yes
-test.target             check
-test.env                CLEANUP=true
+master_sites            apache:subversion
+use_bzip2               yes
+checksums               md5     f2ee0471b8a560f5efa0f2349d9c9ab9 \
+                        sha1    7705819a0037c14fb32eef36f2e57a803217c689 \
+                        rmd160  aaff1efd8e1b8112603eb7855cb546316fe88707
 
 patchfiles              config_impl.h.patch
-
 post-patch {
     reinplace "s|__PREFIX__|${prefix}|" \
         ${worksrcpath}/subversion/libsvn_subr/config_impl.h
@@ -58,31 +53,18 @@
                         --with-sasl=${prefix} \
                         --with-libmagic=${prefix} \
                         --without-gnome-keyring
-
-use_parallel_build      yes
-build.target            all tools
-destroot.target-append  install-tools
-
-pre-test {
-    set x {}
-    fs-traverse dir ${worksrcpath}/subversion {
-        if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
-            lappend x ${dir}
-            continue
-        }
-    }
-    test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"]
-}
-
 pre-configure {
     reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" \
         ${worksrcpath}/configure
 }
-
 post-configure {
     reinplace "s|need_relink=yes|need_relink=no|g" ${worksrcpath}/libtool
 }
 
+use_parallel_build      yes
+build.target            all tools
+
+destroot.target-append  install-tools
 post-destroot {
     # install global config file so curl-ca-bundle certs are used
     xinstall -d ${destroot}${prefix}/etc/subversion
@@ -102,6 +84,20 @@
     }
 }
 
+test.run                yes
+test.target             check
+test.env                CLEANUP=true
+pre-test {
+    set x {}
+    fs-traverse dir ${worksrcpath}/subversion {
+        if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
+            lappend x ${dir}
+            continue
+        }
+    }
+    test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"]
+}
+
 variant mod_dav_svn description {Install the subversion apache module (mod_dav_svn)} {
     depends_build           path:apache2/bin/apxs:apache2
     configure.args-append   --with-apxs=${prefix}/apache2/bin/apxs \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130808/fa6a78e6/attachment.html>


More information about the macports-changes mailing list