Ticket #51913: Portfile-cb.diff
File Portfile-cb.diff, 1.8 KB (added by harciga, 8 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 137248 2015-06-07 12:46:51Z khindenburg@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup compiler_blacklist_versions 1.0 5 6 6 7 name zathura-plugin-cb 7 version 0.1. 48 version 0.1.5 8 9 categories office 9 10 platforms darwin 10 11 license zlib … … 20 21 master_sites http://pwmt.org/projects/zathura-cb/download/ 21 22 distname zathura-cb-${version} 22 23 23 checksums rmd160 9219ded7822bbfb117b636fd13b57adfe116c4c4\24 sha256 f21cb140cce02b3ef8b23eff479a7f66285667ab47cdc099c10cd62eaf23962624 checksums rmd160 5e7552e84df9a66000462449d439b2e845515697 \ 25 sha256 375f6912bd79648603bad51c3635ce28eaca7bf4df521c00ff9673d9b4ff6afd 25 26 26 patchfiles patch-Makefile.diff 27 patch.pre_args -p1 28 patchfiles patch-Makefile.diff \ 29 patch-config.mk.diff 27 30 28 31 depends_build port:pkgconfig 29 32 … … 34 37 35 38 use_configure no 36 39 40 # blacklist compilers that don't support -std=c11 41 compiler.blacklist *gcc* {clang < 300} 42 37 43 variant universal {} 38 44 39 45 build.args PREFIX=${prefix} … … 44 50 LDFLAGS="[get_canonical_archflags ld]" \ 45 51 VERBOSE=1 46 52 47 eval destroot.env${build.env}48 eval destroot.args${build.args}53 destroot.env {*}${build.env} 54 destroot.args {*}${build.args} 49 55 50 56 post-activate { 51 57 system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" 52 58 } 53 59 54 60 livecheck.type regex 55 livecheck.url ${master_sites}61 livecheck.url [lindex ${master_sites} 0] 56 62 livecheck.regex zathura-cb-(\[0-9.\]+)${extract.suffix}