diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-08-04 01:25:56 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-08-04 01:25:56 +0000 |
commit | a0fc0739d0e175187d7db0af503e4e2991279a65 (patch) | |
tree | 0794c54804d4e152f2cf7527f94836d9eb8065fd /graphics/agg | |
parent | Add koi8-r support to jade to solve problem with koi8-r encoding (diff) |
add agg 2.1
A High Quality Rendering Engine for C++
Notes
Notes:
svn path=/head/; revision=115370
Diffstat (limited to 'graphics/agg')
-rw-r--r-- | graphics/agg/Makefile | 49 | ||||
-rw-r--r-- | graphics/agg/distinfo | 2 | ||||
-rw-r--r-- | graphics/agg/files/Makefile.in.FreeBSD | 8 | ||||
-rw-r--r-- | graphics/agg/pkg-descr | 16 |
4 files changed, 75 insertions, 0 deletions
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile new file mode 100644 index 000000000000..0772939edbcc --- /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 000000000000..ac174da2ecf3 --- /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 000000000000..b6456841022b --- /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 000000000000..09460a3e14bf --- /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/ |