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

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

xplanet: update to 1.2.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 76602 2011-03-02 00:29:01Z ryandesign@macports.org $
2
3PortSystem                      1.0
4name                            xplanet
5version                         1.2.2
6categories                      x11 graphics
7maintainers                     nomaintainer
8description                     Render an image of a planet into an X window or file
9long_description \
10        Xplanet is similar to Xearth, where an image of the earth is rendered \
11        into an X window.  All of the major planets and most satellites can be \
12        drawn.   A number of different map projections are also supported, \
13        including azimuthal, Mercator, Mollweide, orthographic, and rectangular.
14
15platforms                       darwin
16
17homepage                        http://xplanet.sourceforge.net/
18master_sites            sourceforge
19
20checksums                       sha1    3c9cc4be7cd87121884162204eff376af2fc03e3 \
21                                        rmd160  431c9223b2b122599a8c4bdca18c17fea0dcd5ab
22
23depends_build \
24        port:pkgconfig
25depends_lib \
26        port:xorg-libXScrnSaver \
27        port:fontconfig \
28        port:libpng \
29        port:jpeg \
30        port:tiff
31
32patchfiles                      objc-flags.diff
33
34use_autoreconf          yes
35
36configure.args          --with-x --with-xscreensaver --without-gif \
37                                        --with-jpeg --with-png --with-tiff \
38                                        --without-freetype --without-pango --without-pnm \
39                                        --mandir=${prefix}/share/man
40
41post-destroot {
42        set docdir ${destroot}${prefix}/share/doc/${name}
43        xinstall -d ${docdir}
44        xinstall -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README TODO ${docdir}
45}
46
47variant freetype description "Enable Freetype support for TrueType fonts" {
48        configure.args-delete   --without-freetype
49        configure.args-append   --with-freetype
50        depends_lib-append      port:freetype
51}
52
53variant gif description "Enable GIF support" {
54        configure.args-delete   --without-gif
55        configure.args-append   --with-gif
56        depends_lib-append              path:include/gif_lib.h:giflib
57}
58
59variant pango description "Enable Pango" {
60        configure.args-delete   --without-pango
61        configure.args-append   --with-pango
62        depends_lib-append              path:lib/pkgconfig/pango.pc:pango
63}
64
65variant aqua description "Use aqua instead of X11" {
66        supported_archs i386 ppc
67        depends_lib-delete      port:xorg-libXScrnSaver
68        configure.args-delete   --with-x --with-xscreensaver
69        configure.args-append   --without-x --with-aqua
70}
71
72variant pnm description "Enable PNM support" {
73        depends_lib-append              port:netpbm
74        configure.args-delete   --without-pnm
75        configure.args-append   --with-pnm
76}
77
Note: See TracBrowser for help on using the repository browser.