Files

61 lines
2.3 KiB
Tcl

# -*- 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
PortSystem 1.0
name antigraingeometry
version 2.5
revision 3
checksums rmd160 fac24d8ea56ee0a87307189f73c432b07b6d3c50 \
sha256 ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f \
size 564313
categories graphics devel
license GPL-2+
maintainers nomaintainer
description A high quality rendering engine for C++
long_description Anti-Grain Geometry (AGG) is a general purpose graphical \
toolkit written completely in standard and platform \
independent C++. It can be used in many areas of computer \
programming where high quality 2D graphics is an essential \
part of the project. For example, if you render 2D \
geographic maps AGG is a must. AGG uses only C++ and \
standard C runtime functions, such as memcpy, sin, cos, \
sqrt, etc. The basic algorithms don't even use C++ \
Standard Template Library. Thus, AGG can be used in a very \
large number of applications, including embedded systems.
homepage https://agg.sourceforge.net/antigrain.com/
master_sites ${homepage}
distname agg-${version}
depends_build path:bin/pkg-config:pkgconfig
depends_lib port:freetype
patchfiles patch-automake-1.12.diff \
freetype-2.13.3.patch \
patch-include_agg_renderer_outline_aa.h.diff
# These patchfiles hack out sdl support, it can't be done with a
# configure flag because of some autoconf/automake issues...
if {![variant_isset sdl]} {
patchfiles-append patch-configure.in.diff patch-src-platform-Makefile.am.diff
}
use_autoreconf yes
autoreconf.args -fvi
autoreconf.env "AUTOMAKE=automake --foreign --add-missing --ignore-deps"
configure.args --disable-ctrl \
--disable-examples \
--disable-platform
variant sdl description {Add SDL support} {
depends_lib-append port:libsdl
}
livecheck.type none