# -*- 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 PortSystem 1.0 PortGroup github 1.0 PortGroup qmake5 1.0 epoch 1 github.setup svn-all-fast-export svn2git 1.0.18 revision 0 checksums rmd160 e4cf7edc8b22cdfc18abf5c01b51ae36566dc53d \ sha256 edd776db0cdddb3bc8f2e3a711bd15580e965024c27d8674cf624e62b75b0aac \ size 53514 categories devel platforms darwin maintainers {ryandesign @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}. github.tarball_from archive depends_lib-append port:apr \ port:subversion # muniversal destroot requires a Makefile post-extract { copy ${filespath}/Makefile-Install.in ${worksrcpath}/Makefile-Install } post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile-Install } if {${os.platform} ne "darwin" || ${os.major} > 11} { # Qt 5.7 and later require C++11 compiler.cxx_standard \ 2011 if {${os.major} eq "darwin" && ${os.major} < 14} { # It seems that newer versions of Qt add this automatically but # for older versions we have to add it. qt5.cxxflags-append \ -std=gnu++11 } } configure.args-append \ APR_INCLUDE=${prefix}/include/apr-1 \ CONFIG-=app_bundle \ SVN_INCLUDE=${prefix}/include/subversion-1 \ SVN_LIBDIR=${prefix}/lib destroot.args-append \ -f Makefile-Install