Revision
144371
Author
ryandesign@macports.org
Date
2016-01-06 21:05:50 -0800 (Wed, 06 Jan 2016)

Log Message

svn2git: new port, version 20151201

Added Paths

Diff

Added: trunk/dports/devel/svn2git/Portfile (0 => 144371)


--- trunk/dports/devel/svn2git/Portfile	                        (rev 0)
+++ trunk/dports/devel/svn2git/Portfile	2016-01-07 05:05:50 UTC (rev 144371)
@@ -0,0 +1,40 @@
+# -*- 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
+PortGroup           github 1.0
+PortGroup           qmake5 1.0
+
+github.setup        svn-all-fast-export svn2git d4ff0b27ef4046e5de7454737845d60e81772606
+version             20151201
+categories          devel
+platforms           darwin
+maintainers         ryandesign openmaintainer
+license             GPL-3+
+
+description         converts a Subversion repository into one or more Git repositories
+
+long_description    svn2git provides the svn-all-fast-export program which ${description}.
+
+checksums           rmd160  34bb5f2340f98baceb05599e48cc283f455b2929 \
+                    sha256  3f0feb6dc5a1159f2a17a2d82e3300d5037c1bfc783475f0b365fa197c049e17
+
+depends_lib-append  port:apr \
+                    port:subversion
+
+post-patch {
+    xinstall -m 644 ${filespath}/local-config.pri.in ${worksrcpath}/src/local-config.pri
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/local-config.pri
+}
+
+configure.args-append \
+                    CONFIG-=app_bundle
+
+set docdir          ${prefix}/share/doc/${subport}
+
+destroot {
+    xinstall ${worksrcpath}/svn-all-fast-export ${destroot}${prefix}/bin
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 ${worksrcpath}/README.md ${destroot}${docdir}
+    copy ${worksrcpath}/samples ${destroot}${docdir}/examples
+}
Property changes on: trunk/dports/devel/svn2git/Portfile
___________________________________________________________________

Added: svn:keywords

Added: svn:eol-style

Added: trunk/dports/devel/svn2git/files/local-config.pri.in (0 => 144371)


--- trunk/dports/devel/svn2git/files/local-config.pri.in	                        (rev 0)
+++ trunk/dports/devel/svn2git/files/local-config.pri.in	2016-01-07 05:05:50 UTC (rev 144371)
@@ -0,0 +1,3 @@
+APR_INCLUDE = @PREFIX@/include/apr-1
+SVN_INCLUDE = @PREFIX@/include/subversion-1
+SVN_LIBDIR = @PREFIX@/lib
Property changes on: trunk/dports/devel/svn2git/files/local-config.pri.in
___________________________________________________________________

Added: svn:eol-style