source: trunk/dports/x11/xplanet/Portfile @ 38752

Last change on this file since 38752 was 38752, checked in by ryandesign@…, 11 years ago

nomaintainer ports: ensure only a MacPorts pango or pango-devel port can satisfy the pango dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 38752 2008-07-30 07:16:27Z ryandesign@macports.org $
2
3PortSystem                      1.0
4name                            xplanet
5version                         1.2.0
6revision                        1
7categories                      x11 graphics
8maintainers                     nomaintainer
9description                     Render an image of a planet into an X window or file
10long_description \
11        Xplanet is similar to Xearth, where an image of the earth is rendered \
12        into an X window.  All of the major planets and most satellites can be \
13        drawn.   A number of different map projections are also supported, \
14        including azimuthal, Mercator, Mollweide, orthographic, and rectangular.
15
16platforms                       darwin
17
18homepage                        http://xplanet.sourceforge.net/
19master_sites            sourceforge
20
21checksums                       md5 87d62fcdf43ad1beec677bfb6e299ac1
22
23depends_lib                     lib:libX11:XFree86 lib:libjpeg:jpeg lib:libpng:libpng \
24                                        lib:libtiff:tiff
25
26configure.args          --with-x --with-xscreensaver --without-gif \
27                                        --with-jpeg --with-png --with-tiff \
28                                        --without-freetype --without-pango \
29                                        --mandir=${prefix}/share/man
30
31post-destroot {
32        set docdir ${destroot}${prefix}/share/doc/${name}-${version}
33        xinstall -d ${docdir}
34        xinstall -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README TODO ${docdir}
35}
36
37variant freetype {
38        configure.args-delete   --without-freetype
39        configure.args-append   --with-freetype
40        depends_lib                             lib:libfreetype:freetype
41}
42
43variant gif {
44        configure.args-delete   --without-gif
45        configure.args-append   --with-gif
46        depends_lib-append              lib:libungif:libungif
47}
48
49variant pango {
50        configure.args-delete   --without-pango
51        configure.args-append   --with-pango
52        depends_lib-append              path:${prefix}/lib/pkgconfig/pango.pc:pango
53}
54
55variant aqua {
56        depends_lib-delete              lib:libX11:XFree86
57        configure.args-delete   --with-x
58        configure.args-append   --without-x --with-aqua
59}
60
61variant pnm {
62        depends_lib-append              lib:libnetpbm.10:netpbm
63}
64
Note: See TracBrowser for help on using the repository browser.