Ticket #42498: patch-rrdtool-Portfile.diff
File patch-rrdtool-Portfile.diff, 4.0 KB (added by jul_bsd@…, 10 years ago) |
---|
-
net/rrdtool/Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name rrdtool 7 version 1.4.7 8 revision 5 7 version 1.4.8 9 8 categories net 10 9 license GPL-2+ 11 10 maintainers markd openmaintainer … … 14 13 homepage http://oss.oetiker.ch/rrdtool/ 15 14 platforms darwin 16 15 master_sites ${homepage}pub/ 17 checksums rmd160 3a8c1c0f3fe0d76fb7da8b712cdd19d59d5171ba\18 sha256 956aaf431c955ba88dd7d98920ade3a8c4bad04adb1f9431377950a813a7af1116 checksums rmd160 c02412211e6e51f3c77182c08f5cdfa3426765d1 \ 17 sha256 de95b9f5aa488b0683600aad5a07c316f8d98cbe8d00aa0a1c87e2b2ef89f3d6 19 18 20 19 depends_build port:pkgconfig 21 20 depends_lib port:expat \ … … 24 23 port:libffi \ 25 24 port:gettext \ 26 25 path:lib/pkgconfig/pango.pc:pango \ 27 path:bin/perl:perl5 \28 26 port:tcl \ 29 27 port:zlib \ 30 28 port:libpng \ … … 33 31 34 32 patchfiles patch-bindings_lua_Makefile_in.diff 35 33 36 configure.args --enable-perl-site-install \ 37 --with-perl-options="INSTALLDIRS=vendor" \ 38 --with-tcllib=${prefix}/lib \ 34 configure.args --with-tcllib=${prefix}/lib \ 39 35 --disable-silent-rules \ 40 36 --disable-lua \ 37 --disable-perl \ 41 38 --disable-python \ 42 39 --disable-ruby \ 43 40 --disable-tcl … … 59 56 } 60 57 } 61 58 59 default_variants +perl5_16 60 62 61 variant python25 description {Python 2.5 bindings for RRDtool} conflicts python26 python27 { 63 62 depends_lib-append port:python25 64 63 configure.python ${prefix}/bin/python2.5 … … 80 79 configure.args-append --enable-python 81 80 } 82 81 82 variant perl5_12 description { Bindings to Perl 5.12 } conflicts perl5_18 perl5_14 perl5_16 perl5_20 { 83 depends_lib-append path:bin/perl:perl5.12 84 configure.args-delete --disable-perl 85 configure.args-append --enable-perl-site-install \ 86 --with-perl-options="INSTALLDIRS=vendor" 87 configure.env-append PERL=${prefix}/bin/perl5.12 88 } 89 90 variant perl5_14 description { Bindings to Perl 5.14 } conflicts perl5_18 perl5_16 perl5_12 perl5_20 { 91 depends_lib-append path:bin/perl:perl5.14 92 configure.args-delete --disable-perl 93 configure.args-append --enable-perl-site-install \ 94 --with-perl-options="INSTALLDIRS=vendor" 95 configure.env-append PERL=${prefix}/bin/perl5.14 96 } 97 98 variant perl5_16 description { Bindings to Perl 5.16 } conflicts perl5_18 perl5_14 perl5_12 perl5_20 { 99 depends_lib-append path:bin/perl:perl5.16 100 configure.args-delete --disable-perl 101 configure.args-append --enable-perl-site-install \ 102 --with-perl-options="INSTALLDIRS=vendor" 103 configure.env-append PERL=${prefix}/bin/perl5.16 104 } 105 106 variant perl5_18 description { Bindings to Perl 5.18 } conflicts perl5_16 perl5_14 perl5_12 perl5_20 { 107 depends_lib-append path:bin/perl:perl5.18 108 configure.args-delete --disable-perl 109 configure.args-append --enable-perl-site-install \ 110 --with-perl-options="INSTALLDIRS=vendor" 111 configure.env-append PERL=${prefix}/bin/perl5.18 112 } 113 114 variant perl5_20 description { Bindings to Perl 5.20 } conflicts perl5_16 perl5_14 perl5_12 perl5_18 { 115 depends_lib-append path:bin/perl:perl5.20 116 configure.args-delete --disable-perl 117 configure.args-append --enable-perl-site-install \ 118 --with-perl-options="INSTALLDIRS=vendor" 119 configure.env-append PERL=${prefix}/bin/perl5.20 120 } 121 83 122 notes " 84 123 See ${prefix}/share/doc/rrdtool-${version} for example code. 85 124 " 125 126 livecheck.type regex 127 livecheck.url ${homepage}/pub/ 128 livecheck.regex "rrdtool-(\\d+(?:\\.\\d+)*).tar.gz"