2019-07-12 20:46:54 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2019/07/12 20:46:56 sthen Exp $
|
2006-10-16 11:42:04 +00:00
|
|
|
|
2007-09-15 20:09:40 +00:00
|
|
|
COMMENT= anti-grain geometry graphics library
|
2006-10-16 11:42:04 +00:00
|
|
|
|
2008-01-20 19:31:56 +00:00
|
|
|
DISTNAME= agg-2.5
|
2018-10-24 14:27:57 +00:00
|
|
|
REVISION= 8
|
2008-01-20 19:31:56 +00:00
|
|
|
SHARED_LIBS= agg 3.0 \
|
|
|
|
aggfontfreetype 3.0 \
|
|
|
|
aggplatformsdl 3.0 \
|
|
|
|
aggplatformX11 3.0
|
2006-10-16 11:42:04 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.antigrain.com/
|
|
|
|
|
2008-01-20 19:31:56 +00:00
|
|
|
# GPL
|
2019-07-12 20:46:54 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2006-10-16 11:42:04 +00:00
|
|
|
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB= X11 freetype iconv m sndio usbhid xcb z SDL>=6 ${COMPILER_LIBCXX} pthread
|
2006-10-16 11:42:04 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2006-10-16 11:42:04 +00:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
AUTOCONF_VERSION= 2.59
|
|
|
|
AUTOMAKE_VERSION= 1.9
|
|
|
|
|
2016-09-13 15:29:01 +00:00
|
|
|
LIB_DEPENDS= converters/libiconv \
|
|
|
|
devel/sdl
|
2006-10-16 11:42:04 +00:00
|
|
|
|
2012-03-29 13:38:12 +00:00
|
|
|
SEPARATE_BUILD= Yes
|
2019-05-19 11:26:24 +00:00
|
|
|
CONFIGURE_STYLE=autoreconf
|
|
|
|
AUTORECONF= sh autogen.sh
|
2006-10-16 11:42:04 +00:00
|
|
|
|
2016-03-11 20:28:21 +00:00
|
|
|
CONFIGURE_ARGS= --disable-gpc \
|
2006-10-16 11:42:04 +00:00
|
|
|
--disable-examples \
|
|
|
|
--disable-sdltest
|
2007-10-23 09:22:13 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2006-10-16 11:42:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|