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

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

xplanet: update to 1.3.0; rewrite master_sites to avoid redirects; remove apparently-incorrect fontconfig dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 94631 2012-06-25 12:51:10Z ryandesign@macports.org $
2
3PortSystem                      1.0
4name                            xplanet
5version                         1.3.0
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:project/xplanet/xplanet/${version}
19
20checksums                       rmd160  b5ba6239019669668aeb7f63391aa850cc3dd8b7 \
21                                        sha256  44fb742bb93e5661ea8b11ccabcc12896693e051f3dd5083c9227224c416b442
22
23depends_build \
24        port:pkgconfig
25depends_lib \
26        port:xorg-libXScrnSaver \
27        port:libpng \
28        port:jpeg \
29        port:tiff
30
31patchfiles                      objc-flags.diff
32
33use_autoreconf          yes
34
35configure.args          --with-x --with-xscreensaver --without-gif \
36                                        --with-jpeg --with-png --with-tiff \
37                                        --without-freetype --without-pango --without-pnm \
38                                        --mandir=${prefix}/share/man
39
40post-destroot {
41        set docdir ${destroot}${prefix}/share/doc/${name}
42        xinstall -d ${docdir}
43        xinstall -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README TODO ${docdir}
44}
45
46variant freetype description "Enable Freetype support for TrueType fonts" {
47        configure.args-delete   --without-freetype
48        configure.args-append   --with-freetype
49        depends_lib-append      port:freetype
50}
51
52variant gif description "Enable GIF support" {
53        configure.args-delete   --without-gif
54        configure.args-append   --with-gif
55        depends_lib-append              path:include/gif_lib.h:giflib
56}
57
58variant pango description "Enable Pango" {
59        configure.args-delete   --without-pango
60        configure.args-append   --with-pango
61        depends_lib-append              path:lib/pkgconfig/pango.pc:pango
62}
63
64variant aqua description "Use aqua instead of X11" {
65        supported_archs i386 ppc
66        depends_lib-delete      port:xorg-libXScrnSaver
67        configure.args-delete   --with-x --with-xscreensaver
68        configure.args-append   --without-x --with-aqua
69}
70
71variant pnm description "Enable PNM support" {
72        depends_lib-append              port:netpbm
73        configure.args-delete   --without-pnm
74        configure.args-append   --with-pnm
75}
76
Note: See TracBrowser for help on using the repository browser.