source: trunk/dports/graphics/antigraingeometry/Portfile

Last change on this file was 114119, checked in by jmr@…, 4 years ago

libsdl dependents: use port: depspec - there's now only one port that provides sdl.pc, and most of these never worked with libsdl-devel in the first place

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 114119 2013-11-29 22:31:11Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                antigraingeometry
7version             2.5
8revision            3
9categories          graphics devel
10license             GPL-2+
11maintainers         nomaintainer
12
13description         A high quality rendering engine for C++
14
15long_description    Anti-Grain Geometry (AGG) is a general purpose graphical \
16                    toolkit written completely in standard and platform \
17                    independent C++. It can be used in many areas of computer \
18                    programming where high quality 2D graphics is an essential \
19                    part of the project. For example, if you render 2D \
20                    geographic maps AGG is a must. AGG uses only C++ and \
21                    standard C runtime functions, such as memcpy, sin, cos, \
22                    sqrt, etc. The basic algorithms don't even use C++ \
23                    Standard Template Library. Thus, AGG can be used in a very \
24                    large number of applications, including embedded systems.
25
26platforms           darwin
27
28homepage            http://www.antigrain.com/
29master_sites        ${homepage}
30distname            agg-${version}
31
32checksums           md5     0229a488bc47be10a2fee6cf0b2febd6 \
33                    sha1    08f23da64da40b90184a0414369f450115cdb328 \
34                    rmd160  fac24d8ea56ee0a87307189f73c432b07b6d3c50
35
36depends_build       port:pkgconfig
37
38depends_lib         port:freetype
39
40patchfiles          patch-automake-1.12.diff \
41                    patch-include_agg_renderer_outline_aa.h.diff
42
43# These patchfiles hack out sdl support, it can't be done with a
44# configure flag because of some autoconf/automake issues...
45if {![variant_isset sdl]} {
46    patchfiles-append   patch-configure.in.diff patch-src-platform-Makefile.am.diff
47}
48
49use_autoreconf      yes
50autoreconf.args     -fvi
51autoreconf.env      AUTOMAKE="automake --foreign --add-missing --ignore-deps"
52
53configure.args      --disable-ctrl \
54                    --disable-examples \
55                    --disable-platform
56
57variant sdl description {Add SDL support} {
58    depends_lib-append  port:libsdl
59}
60
61livecheck.type      none
62
Note: See TracBrowser for help on using the repository browser.