Ticket #39550: gd2-2.1.0.diff
File gd2-2.1.0.diff, 3.4 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup bitbucket 1.0 5 6 PortGroup muniversal 1.0 6 7 8 bitbucket.setup libgd gd-libgd 2.1.0 libgd- 7 9 name gd2 8 version 2.0.359 revision 1410 10 categories graphics 11 11 maintainers ryandesign 12 12 license gd 13 13 homepage http://www.libgd.org/ 14 14 platforms darwin 15 distname gd-${version}16 use_bzip2 yes17 15 use_parallel_build yes 18 16 19 17 description GD creates PNG and JPEG images, among other formats … … 29 27 you are looking in the wrong place. If you are not \ 30 28 a programmer, you are looking in the wrong place. 31 29 32 #master_sites ${homepage}releases/ \ 33 # ${homepage}releases/oldreleases/ 34 master_sites macports_distfiles 30 bitbucket.tarball_from downloads 31 use_xz yes 35 32 36 checksums rmd160 f452a2c333b2ba9b7b4c143983ec2af18a335516\37 sha256 bf222490749d2a9a9ac3593b01eb55aed98461ff81202414707f61b42aa300f933 checksums rmd160 3fcdf88e1ca653ffd40ddba607dbc317ca87bf63 \ 34 sha256 fa6665dfe3d898019671293c84d77067a3d2ede50884dbcb6df899d508370e5a 38 35 39 depends_build port:gettext 36 depends_build port:gettext \ 37 port:libvpx 40 38 41 39 depends_lib port:zlib \ 42 40 port:libpng \ … … 46 44 port:libiconv \ 47 45 port:expat 48 46 49 patchfiles patch-configure.ac.diff \ 50 patch-gdft.c.diff 47 patchfiles patch-src-gdft.c.diff 51 48 52 post-patch { 53 if {[file exists ${prefix}/share/libtool/config/ltmain.sh]} { 54 copy -force ${prefix}/share/libtool/config/ltmain.sh ${worksrcpath}/config 55 } else { 56 copy -force ${prefix}/share/libtool/ltmain.sh ${worksrcpath}/config 57 } 58 } 49 configure.args-append --without-x \ 50 --without-xpm 59 51 60 use_autoreconf yes61 62 52 configure.cflags-append -DDEFAULT_FONTPATH=\\\"/System/Library/Fonts:/Library/Fonts\\\" 63 53 64 54 post-configure { … … 76 66 } 77 67 } 78 68 79 if {![variant_isset no_x11]}{69 variant x11 conflicts no_x11 { 80 70 depends_lib-append port:xpm 71 configure.args-delete --without-x \ 72 --without-xpm 81 73 configure.args-append --x-includes=${prefix}/include \ 82 74 --x-libraries=${prefix}/lib 83 75 } 84 76 85 variant no_x11 description {disable use of X11} { 86 configure.args-append --without-x \ 87 --without-xpm 77 variant no_x11 conflicts x11 description {Legacy compatibility variant} {} 78 79 if {[variant_isset no_x11]} { 80 default_variants -x11 81 } else { 82 default_variants +x11 88 83 } 89 84 90 livecheck.type regex 91 livecheck.url ${homepage}Downloads 92 livecheck.regex gd-(\[0-9.\]+)\\.tar 85 livecheck.regex >[join ${bitbucket.tag_prefix}](.+)${extract.suffix}<