Ticket #32694: subversion-perlbindings-subports.diff
File subversion-perlbindings-subports.diff, 2.0 KB (added by jmroot (Joshua Root), 12 years ago) |
---|
-
Portfile
4 4 5 5 name subversion-perlbindings 6 6 version 1.7.5 7 revision 17 revision 2 8 8 categories devel perl 9 9 platforms darwin 10 10 maintainers geeklair.net:dluke blair … … 17 17 provide access to subversion API from perl. 18 18 19 19 homepage http://subversion.apache.org/ 20 21 set perl5.branches {5.8 5.10 5.12 5.14 5.16} 22 foreach branch ${perl5.branches} { 23 subport ${name}-${branch} " 24 set perl5.branch $branch 25 " 26 } 27 28 if {$subport == $name} { 29 distfiles 30 supported_archs noarch 31 # depend on a default perl version 32 depends_lib port:${name}-5.12 33 use_configure no 34 build {} 35 destroot { 36 system "echo $name is a stub port > ${destroot}${prefix}/share/doc/${name}/README" 37 } 38 livecheck.type regex 39 livecheck.url http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74 40 livecheck.regex "subversion-(\\d+(?:\\.\\d+)*)${extract.suffix}" 41 } else { 42 20 43 master_sites apache:subversion 21 44 use_bzip2 yes 22 45 checksums md5 f6353b9b581081cdf97299300c9eada3 \ … … 34 57 depends_lib port:expat port:neon \ 35 58 port:apr port:apr-util \ 36 59 port:db46 port:subversion \ 37 p ath:bin/perl:perl5\60 port:perl${perl5.branch} \ 38 61 port:gettext port:libiconv \ 39 62 port:serf1 port:cyrus-sasl2 \ 40 63 port:sqlite3 … … 46 69 --disable-neon-version-check --with-serf=${prefix} \ 47 70 --with-sasl=${prefix} 48 71 49 configure.env ac_cv_path_PERL=${prefix}/bin/perl 72 configure.env ac_cv_path_PERL=${prefix}/bin/perl${perl5.branch} 50 73 51 74 build.target swig-pl 52 75 destroot.target install-swig-pl-lib DESTDIR=${destroot} && \ … … 87 110 --disable-keychain 88 111 } 89 112 90 livecheck.type regex 91 livecheck.url http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=260&expandFolder=74 92 livecheck.regex "subversion-(\\d+(?:\\.\\d+)*)${extract.suffix}" 113 livecheck.type none 114 }