summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/agg/Makefile27
-rw-r--r--graphics/agg/pkg-descr2
2 files changed, 15 insertions, 14 deletions
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile
index 2265d30d2311..59510261399e 100644
--- a/graphics/agg/Makefile
+++ b/graphics/agg/Makefile
@@ -15,25 +15,22 @@ MASTER_SITES= http://www.antigrain.com/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= A High Quality Rendering Engine for C++
+LICENSE= GPLv2
+
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
-GNU_CONFIGURE= yes
-USE_SDL= sdl
USE_XORG= x11
-USE_GNOME= pkgconfig gnomehack
+USE_GNOME= gnomehack pkgconfig
+USE_SDL= sdl
USE_GMAKE= yes
-USE_LDCONFIG= yes
-ACLOCAL_ARGS+= -I ${LOCALBASE}/share/aclocal
-USE_AUTOTOOLS= autoconf:env automake:env libtool:env
+USE_AUTOTOOLS= aclocal autoheader autoconf libtoolize automake
+ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
+AUTOMAKE_ARGS= --foreign --add-missing --ignore-deps
MAKE_ENV= C="${CC}" 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
+USE_LDCONFIG= yes
+MAKE_JOBS_SAFE= yes
-pre-configure:
- @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ACLOCAL_ARGS="${ACLOCAL_ARGS}" ${SH} autogen.sh
+CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -I../include -L./
.include <bsd.port.pre.mk>
@@ -41,4 +38,8 @@ pre-configure:
BROKEN= Does not compile
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
+ ${WRKSRC}/Makefile.am
+
.include <bsd.port.post.mk>
diff --git a/graphics/agg/pkg-descr b/graphics/agg/pkg-descr
index 09460a3e14bf..1a6548e5843e 100644
--- a/graphics/agg/pkg-descr
+++ b/graphics/agg/pkg-descr
@@ -13,4 +13,4 @@ do much more than that. The ideas and the philosophy of AGG are:
* Lightweight design.
* Reliability and stability (including numerical stability).
-WWW: http://vector-agg.sourceforge.net/
+WWW: http://www.antigrain.com/