aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-08-04 09:25:56 +0800
committerijliao <ijliao@FreeBSD.org>2004-08-04 09:25:56 +0800
commit9e7c7d2029ecf5b65c2647de10459f3707d0d9a4 (patch)
tree965951b20c5d1ac50db23f52949cbbf13e7cba65 /graphics
parentdc76a42c492e7be9d38b59fee98cec45c3507e12 (diff)
downloadfreebsd-ports-graphics-9e7c7d2029ecf5b65c2647de10459f3707d0d9a4.tar.gz
freebsd-ports-graphics-9e7c7d2029ecf5b65c2647de10459f3707d0d9a4.tar.zst
freebsd-ports-graphics-9e7c7d2029ecf5b65c2647de10459f3707d0d9a4.zip
add agg 2.1
A High Quality Rendering Engine for C++
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/agg/Makefile49
-rw-r--r--graphics/agg/distinfo2
-rw-r--r--graphics/agg/files/Makefile.in.FreeBSD8
-rw-r--r--graphics/agg/pkg-descr16
5 files changed, 76 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 652f0b1db0d..a804b44ebd6 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -15,6 +15,7 @@
SUBDIR += SciPlot
SUBDIR += aalib
SUBDIR += acidwarp
+ SUBDIR += agg
SUBDIR += ale
SUBDIR += allegrogl
SUBDIR += animabob
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile
new file mode 100644
index 00000000000..0772939edbc
--- /dev/null
+++ b/graphics/agg/Makefile
@@ -0,0 +1,49 @@
+# ex:ts=8
+# Ports collection makefile for: agg
+# Date created: Aug 3, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= agg
+PORTVERSION= 2.1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= vector-agg
+DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A High Quality Rendering Engine for C++
+
+WRKSRC= ${WRKDIR}/agg2
+USE_GMAKE= yes
+MAKE_ENV= C=${CC}
+
+PLIST_FILES= lib/libagg.a
+
+post-extract:
+ @${CP} -f ${FILESDIR}/Makefile.in.FreeBSD ${WRKSRC}
+ @${SED} 's,%%X11BASE%%,${X11BASE},g' < ${FILESDIR}/Makefile.in.FreeBSD > ${WRKSRC}/Makefile.in.FreeBSD
+
+do-build:
+ @cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} all && ranlib libagg.a
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/libagg.a ${PREFIX}/lib
+ @${MKDIR} ${PREFIX}/include/agg
+ ${CP} -R ${WRKSRC}/include/ ${PREFIX}/include/agg
+ @${FIND} ${PREFIX}/include/agg ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${PREFIX}/include/agg -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/examples ${EXAMPLESDIR}
+ @${FIND} ${EXAMPLESDIR} ! -type d | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
+ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/agg/distinfo b/graphics/agg/distinfo
new file mode 100644
index 00000000000..ac174da2ecf
--- /dev/null
+++ b/graphics/agg/distinfo
@@ -0,0 +1,2 @@
+MD5 (agg21.tar.gz) = 25fbdcc61e1820db127b298fdb3e8e6e
+SIZE (agg21.tar.gz) = 425035
diff --git a/graphics/agg/files/Makefile.in.FreeBSD b/graphics/agg/files/Makefile.in.FreeBSD
new file mode 100644
index 00000000000..b6456841022
--- /dev/null
+++ b/graphics/agg/files/Makefile.in.FreeBSD
@@ -0,0 +1,8 @@
+AGGLIBS= -lagg
+AGGCXXFLAGS = -I%%X11BASE%%/include -L%%X11BASE%%/lib
+#CXX =
+#C = gcc
+#CXX = icc
+LIB = ar cr
+
+.PHONY : clean
diff --git a/graphics/agg/pkg-descr b/graphics/agg/pkg-descr
new file mode 100644
index 00000000000..09460a3e14b
--- /dev/null
+++ b/graphics/agg/pkg-descr
@@ -0,0 +1,16 @@
+Anti-Grain Geometry (AGG) is an Open Source, free of charge graphic library,
+written in industrially standard C++. AGG doesn't depend on any graphic API or
+technology. Basically, you can think of AGG as of a rendering engine that
+produces pixel images in memory from some vectorial data. But of course, AGG can
+do much more than that. The ideas and the philosophy of AGG are:
+
+ * Anti-Aliasing.
+ * Subpixel Accuracy.
+ * The highest possible quality.
+ * High performance.
+ * Platform independence and compatibility.
+ * Flexibility and extensibility.
+ * Lightweight design.
+ * Reliability and stability (including numerical stability).
+
+WWW: http://vector-agg.sourceforge.net/