2004-08-04 03:25:56 +02:00
|
|
|
# Ports collection makefile for: agg
|
|
|
|
# Date created: Aug 3, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= agg
|
2007-06-16 21:24:53 +02:00
|
|
|
PORTVERSION= 2.5
|
2008-03-28 19:35:28 +01:00
|
|
|
PORTREVISION= 5
|
2004-08-04 03:25:56 +02:00
|
|
|
CATEGORIES= graphics
|
2005-04-12 10:20:30 +02:00
|
|
|
MASTER_SITES= http://www.antigrain.com/ \
|
2007-06-16 21:24:53 +02:00
|
|
|
http://freebsd.unixfreunde.de/sources/
|
2004-08-04 03:25:56 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= A High Quality Rendering Engine for C++
|
|
|
|
|
2008-03-28 19:35:28 +01:00
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
|
|
|
|
|
2007-06-16 21:24:53 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_SDL= sdl
|
2008-03-20 21:06:02 +01:00
|
|
|
USE_XORG= x11
|
2007-06-16 21:24:53 +02:00
|
|
|
USE_GNOME= pkgconfig gnomehack
|
2004-08-04 03:25:56 +02:00
|
|
|
USE_GMAKE= yes
|
2007-06-16 21:24:53 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
ACLOCAL_ARGS+= -I ${LOCALBASE}/share/aclocal
|
2008-08-20 02:57:32 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:262:env automake:15:env libtool:15:env
|
2008-07-25 14:24:09 +02:00
|
|
|
MAKE_ENV= C="${CC}" AGGCXXFLAGS="${CXXFLAGS}"
|
2007-06-16 21:24:53 +02:00
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -I../include -L./
|
2004-08-04 03:25:56 +02:00
|
|
|
|
2007-06-16 21:24:53 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
|
|
|
|
${WRKSRC}/Makefile.am
|
2004-08-04 03:25:56 +02:00
|
|
|
|
2007-06-16 21:24:53 +02:00
|
|
|
pre-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ACLOCAL_ARGS="${ACLOCAL_ARGS}" ${SH} autogen.sh
|
2004-08-16 04:33:05 +02:00
|
|
|
|
2008-02-01 12:52:51 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|