source: trunk/dports/graphics/plotutils/Portfile @ 20421

Last change on this file since 20421 was 20421, checked in by jberry@…, 13 years ago

Convert all darwinports@… addresses
to nomaintainer@… or openmaintainer@….

See http://trac.macports.org/projects/macports/wiki/SpecialMaintainerAddresses
for more information.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 20421 2006-11-03 02:16:50Z jberry@macports.org $
2
3PortSystem 1.0
4name                            plotutils
5version                         2.4.1
6revision                        2
7categories                      graphics
8maintainers                     nomaintainer@macports.org
9description                     GNU plotting utilities
10long_description \
11        GNU plotting utilities package, including GNU libplot: a thread-safe \
12        function library for exporting two-dimensional vector graphics files, \
13        and for displaying animated vector graphics under the X Window System.
14
15platforms                       darwin
16
17homepage                        http://www.gnu.org/software/plotutils/
18master_sites            gnu opendarwin::lt
19
20checksums                       ${name}-${portversion}${extract.suffix} \
21                                                md5 8da2cc2ed5a837cad0753c7843ef18ee
22
23depends_lib                     lib:libpng:libpng lib:libz:zlib
24
25patchfiles                      patch-libplot_g_write.c patch-libplot_n_write.c \
26                                        patch-libplot_i_rle.c patch-libplot_z_write.c
27
28configure.args          --without-x --enable-libplotter \
29                                        --mandir=${prefix}/share/man --infodir=${prefix}/share/info
30
31configure.env       CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
32
33variant x11 {
34        depends_lib-append              lib:libX11:XFree86
35        configure.args-delete   --without-x
36        configure.args-append   --with-x
37}
38
39variant darwin {
40        distfiles-append        ltconfig13:lt ltmain13:lt
41        checksums-append        ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
42                                                ltmain13 md5 e094ae92724c4015dbab97de151c2525
43        extract.only            ${distname}${extract.suffix}
44        post-patch {
45                xinstall -m 644 ${distpath}/ltconfig13 ${worksrcpath}/ltconfig
46                xinstall -m 644 ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh
47        }
48}
49
Note: See TracBrowser for help on using the repository browser.