2012-03-29 09:38:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2012/03/29 13:38:30 sthen Exp $
|
2006-10-16 07:42:04 -04:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= anti-grain geometry graphics library
|
2006-10-16 07:42:04 -04:00
|
|
|
|
2008-01-20 14:31:56 -05:00
|
|
|
DISTNAME= agg-2.5
|
2011-11-01 16:30:49 -04:00
|
|
|
REVISION= 3
|
2008-01-20 14:31:56 -05:00
|
|
|
SHARED_LIBS= agg 3.0 \
|
|
|
|
aggfontfreetype 3.0 \
|
|
|
|
aggplatformsdl 3.0 \
|
|
|
|
aggplatformX11 3.0
|
2006-10-16 07:42:04 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.antigrain.com/
|
|
|
|
|
2008-01-20 14:31:56 -05:00
|
|
|
# GPL
|
2006-10-16 07:42:04 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
2011-11-01 16:30:49 -04:00
|
|
|
WANTLIB= X11 freetype m sndio usbhid xcb z SDL>=6 stdc++
|
2006-10-16 07:42:04 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
|
|
|
|
AUTOCONF_VERSION= 2.59
|
|
|
|
AUTOMAKE_VERSION= 1.9
|
|
|
|
|
2008-01-20 14:31:56 -05:00
|
|
|
MODULES= converters/libiconv
|
2010-11-17 03:05:12 -05:00
|
|
|
LIB_DEPENDS= devel/sdl
|
2010-10-29 05:57:00 -04:00
|
|
|
# XX needs libtoolize
|
2010-11-26 09:17:17 -05:00
|
|
|
BUILD_DEPENDS= devel/autoconf/${AUTOCONF_VERSION} \
|
2010-11-17 03:05:12 -05:00
|
|
|
devel/libtool \
|
|
|
|
devel/metaauto
|
2006-10-16 07:42:04 -04:00
|
|
|
|
2012-03-29 09:38:12 -04:00
|
|
|
SEPARATE_BUILD= Yes
|
2006-10-16 07:42:04 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2006-11-25 03:22:27 -05:00
|
|
|
CONFIGURE_STYLE=automake
|
2006-10-16 07:42:04 -04:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--disable-gpc \
|
|
|
|
--disable-examples \
|
|
|
|
--disable-sdltest
|
2007-10-23 05:22:13 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2006-10-16 07:42:04 -04:00
|
|
|
|
|
|
|
pre-configure:
|
2008-01-20 14:31:56 -05:00
|
|
|
@cd ${WRKSRC} && ${SETENV} AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
2011-10-21 13:43:30 -04:00
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} /bin/sh autogen.sh
|
2006-10-16 07:42:04 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|