Ticket #45760: Portfile.diff
File Portfile.diff, 1.7 KB (added by mamoll (Mark Moll), 10 years ago) |
---|
-
Portfile
5 5 PortGroup cmake 1.0 6 6 7 7 name assimp 8 version 3.0.1270 9 revision 1 8 version 3.1.1 10 9 conflicts assimp2 11 10 categories graphics 12 11 maintainers openmaintainer mmoll … … 21 20 license BSD 22 21 master_sites sourceforge 23 22 24 checksums md5 52aa4cf4e34e6b2a9c5f6c0b3c319af1 \ 25 sha1 e80a3a4326b649ed6585c0ce312ed6dd68942834 \ 26 rmd160 7bd166f6c8df2e2000e3b93122b6eb70738d1cc3 27 distname ${name}--${version}-source-only 28 patchfiles patch-CMakeLists.txt.diff \ 29 patch-code-STEPFile.h.diff 23 checksums md5 ccd4788204509da58a3a53c7aeda7a8b \ 24 sha1 d7bc1d12b01d5c7908d85ec9ff6b2d972e565e2d \ 25 rmd160 311c9c273ec820fb1bdcb405f984058a6c0a2720 26 distname ${name}-${version}_no_test_models 27 worksrcdir ${name}-${version} 30 28 use_zip yes 31 depends_lib port: boost port:zlib29 depends_lib port:zlib 32 30 31 patch { 32 reinplace "s|{LIB_INSTALL_DIR}|{ASSIMP_LIB_INSTALL_DIR}|g" ${worksrcpath}/code/CMakeLists.txt 33 } 34 35 variant boost { 36 depends_lib-append port:boost 37 configure.args-append -DASSIMP_ENABLE_BOOST_WORKAROUND:BOOL=OFF 38 } 39 40 default_variants +boost 41 33 42 livecheck.type regex 34 livecheck.url http://sourceforge.net/projects/assimp/ rss35 livecheck.regex /${name}--(\[0-9.\]+)-source-only${extract.suffix}43 livecheck.url http://sourceforge.net/projects/assimp/files/ 44 livecheck.regex Download.*${name}-(\[0-9.\]+)