mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
e11739e1f0
PR: 112822 Submitted by: Stephen Hurd<shurd@sasktel.net>
36 lines
916 B
Makefile
36 lines
916 B
Makefile
# Ports collection makefile for: agg
|
|
# Date created: Aug 3, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= agg
|
|
PORTVERSION= 2.5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.antigrain.com/ \
|
|
http://freebsd.unixfreunde.de/sources/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A High Quality Rendering Engine for C++
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_SDL= sdl
|
|
USE_X_LIB= yes
|
|
USE_GNOME= pkgconfig gnomehack
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
ACLOCAL_ARGS+= -I ${LOCALBASE}/share/aclocal
|
|
USE_AUTOTOOLS= autoconf:259:env automake:15:env libtool:15:env
|
|
MAKE_ENV= C="${CC}" CXX="${CXX}" AGGCXXFLAGS="${CXXFLAGS}"
|
|
CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -I../include -L./
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
|
|
${WRKSRC}/Makefile.am
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ACLOCAL_ARGS="${ACLOCAL_ARGS}" ${SH} autogen.sh
|
|
|
|
.include <bsd.port.mk>
|