Ticket #47387: tidy-4.9.24.diff
File tidy-4.9.24.diff, 2.4 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup cmake 1.0 5 6 PortGroup github 1.0 6 7 7 github.setup htacg tidy-html5 0cf6d998431a61f1bd630e7883d4d43df4ad8ccc 8 # https://github.com/htacg/tidy-html5/issues/192 9 PortGroup muniversal 1.0 10 11 github.setup htacg tidy-html5 ca06201c3abb3829d6be6465e433ac72c8b15449 8 12 name tidy 9 version 20120821 13 epoch 1 14 version 4.9.24 10 15 categories www 11 16 platforms darwin 12 17 maintainers ryandesign openmaintainer … … 18 23 19 24 homepage http://${github.author}.github.io/${github.project}/ 20 25 21 fetch.type git 26 checksums rmd160 da99f6e368ef1f36c3dcc77f7443fd48da928fc2 \ 27 sha256 44dad7ccd027dfd574c081c7614753749961404654356d5a008bacb9677e842b 22 28 23 depends_build port:autoconf \ 24 port:automake \ 25 port:libtool 29 depends_build-append port:libxslt 26 30 27 pre-configure { 28 system -W ${worksrcpath} "/bin/sh ${worksrcpath}/build/gnuauto/setup.sh" 29 } 31 # https://github.com/htacg/tidy-html5/issues/193 32 patchfiles-append patch-CMakeLists.txt.diff 30 33 34 cmake.out_of_source yes 35 cmake.build_dir ${worksrcpath}/build/cmake 36 37 configure.args-append -DBUILD_SHARED_LIB:BOOL=ON 38 31 39 use_parallel_build yes 32 40 41 # https://github.com/htacg/tidy-html5/issues/194 42 if {[variant_isset universal]} { 43 foreach arch ${configure.universal_archs} { 44 set merger_build_env($arch) \ 45 DYLD_LIBRARY_PATH=${worksrcpath}-${arch}/build/cmake 46 set merger_destroot_env($arch) \ 47 DYLD_LIBRARY_PATH=${worksrcpath}-${arch}/build/cmake 48 } 49 } else { 50 build.env-append DYLD_LIBRARY_PATH=${cmake.build_dir} 51 destroot.env-append DYLD_LIBRARY_PATH=${cmake.build_dir} 52 } 53 33 54 livecheck.type regex 34 livecheck.url ${github.raw}/master/ src/version.h35 livecheck. regex {tree/(.*)"}36 livecheck. version [string range ${git.branch} 0 6]55 livecheck.url ${github.raw}/master/version.txt 56 livecheck.version ${version} 57 livecheck.regex {^([0-9.]+)$}