Ticket #13675: Portfile.diff

File Portfile.diff, 4.0 KB (added by takeshi@…, 16 years ago)
  • Portfile

    old new  
    11# $Id: Portfile 27348 2007-07-30 14:50:04Z takanori@macports.org $
    22PortSystem      1.0
    33name            plplot
    4 version         5.7.3
    5 revision        2
     4version         5.8.0
     5revision        0
    66platforms       darwin
    77maintainers     takeshi@mac.com
    88categories      science
    99description     Scientific plotting package
    1010master_sites    sourceforge
    11 checksums       md5 8c5ed411bc63a4fd07b362a1b9a3e46c
     11checksums       md5 63e954448b12056aeecf2b53cd97f1f5 \
     12                sha1 c4423c267a148e1b925362c5089726cac2cbefd0 \
     13                rmd160 8d4bce73b54a704739084a787f16bc43cc35876c
    1214homepage        http://plplot.sourceforge.net/
    1315long_description  { \
    1416                PLplot is relatively small, portable, freely distributable, \
    15                 and is rich enough to satisfy most users. \
    16                 It has a wide range of plot types including line (linear, log), \
     17                and is rich enough to satisfy most users. It has a wide \
     18                range of plot types including line (linear, log), \
    1719                contour, 3D, fill, and almost 1000 characters \
    1820                (including Greek and mathematical) in its extended font set. \
    19                 The package is designed to make it easy to quickly get graphical output; \
    20                 only a handful of function calls is typically required. \
    21                 For more advanced use, virtually all aspects of plotting are configurable.}
     21                The package is designed to make it easy to quickly get \
     22                graphical output; only a handful of function calls \
     23                is typically required. For more advanced use, \
     24                virtually all aspects of plotting are configurable.}
    2225
    2326depends_lib     port:cmake \
    2427                port:expat \
     
    2932                port:libiconv \
    3033                port:jpeg \
    3134                port:libpng \
    32                 port:odcctools \
    3335                port:pkgconfig \
     36                port:swig \
    3437                port:tcl \
    3538                port:tk \
    3639                port:zlib
    3740
    38 #               port:fftw-3
    39 #               port:hdf5
    40 #               port:readline
    41 #               port:swig
    42 
    43 patchfiles      patch-x18f
     41patchfiles      patch-x18f.f90.diff
    4442
    4543pre-configure {
    4644    file mkdir ${workpath}/build
     
    7775                        -DENABLE_python=OFF \
    7876                        -DENABLE_octave=OFF \
    7977                        -DENABLE_pdl=OFF \
    80                         -DENABLE_itkl=OFF \
     78                        -DENABLE_itcl=OFF \
    8179                        -DENABLE_itk=OFF \
    82                         -DBUILD_TEST=ON
    83 #                       -DSWIG_DIR=${prefix}/bin
     80                        -DBUILD_TEST=ON \
     81                        -DSWIG_DIR=${prefix}/bin
    8482configure.post_args     ../${distname}
    8583
    8684pre-configure {
     
    131129    configure.args-delete   -DENABLE_octave=OFF
    132130    configure.args-append   -DENABLE_octave=ON
    133131}
     132
     133variant java description {Add support for Java} {
     134    configure.args-delete   -DENABLE_java=OFF
     135    configure.args-append   -DENABLE_java=ON
     136}
     137
     138#variant python24 description {Add support for python24} {
     139#    depends_lib-append      port:python24 \
     140#                            port:py24-numpy
     141#    configure.args-delete   -DENABLE_python=OFF
     142#    configure.args-append   -DENABLE_python=ON \
     143#                            -DHAVE_NUMPY:BOOL=ON \
     144#                            -DPYTHON_INCLUDE_PATH=${prefix}/include/python2.4
     145#}
     146
     147variant python25 description {Add support for python25} {
     148    depends_lib-append      port:python25 \
     149                            port:py25-numpy
     150    configure.args-delete   -DENABLE_python=OFF
     151    configure.args-append   -DENABLE_python=ON \
     152                            -DHAVE_NUMPY:BOOL=ON \
     153                            -DPYTHON_INCLUDE_PATH=${prefix}/include/python2.5
     154}