source: trunk/dports/x11/xplanet/Portfile

Last change on this file was 148150, checked in by mps@…, 17 months ago

xplanet: update to version 1.3.1

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