- New port: graphics/amanith
Amanith is an OpenSource C++ CrossPlatform framework designed for 2d & 3d
vector graphics.
Open source has made Amanith possible, so we wanna Amanith to be open source
too. This mean that Amanith source code is fully available for everyone.
Same source tree can be compiled without modifications under multiple targets.
Linux, Win32, Mac, FreeBSD, NetBSD, OpenBSD, Solaris, IRIX, AIX are only few
of them.
All the framework is heavily based on a light plug-in system.
This make fast and easy to include or esclude everything you want.
The Amanith philosophy is to support many open standards as possible.
Png, Jpeg, Svg, Xml, OpenGl, Ansi c++, and many others.
WWW: http://www.amanith.org/
Approved by: garga (mentor)
2006-09-03 16:32:53 +02:00
|
|
|
# New ports collection makefile for: amanith
|
|
|
|
# Date created: 2006-09-01
|
|
|
|
# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= amanith
|
|
|
|
PORTVERSION= 0.3
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 9
|
- New port: graphics/amanith
Amanith is an OpenSource C++ CrossPlatform framework designed for 2d & 3d
vector graphics.
Open source has made Amanith possible, so we wanna Amanith to be open source
too. This mean that Amanith source code is fully available for everyone.
Same source tree can be compiled without modifications under multiple targets.
Linux, Win32, Mac, FreeBSD, NetBSD, OpenBSD, Solaris, IRIX, AIX are only few
of them.
All the framework is heavily based on a light plug-in system.
This make fast and easy to include or esclude everything you want.
The Amanith philosophy is to support many open standards as possible.
Png, Jpeg, Svg, Xml, OpenGl, Ansi c++, and many others.
WWW: http://www.amanith.org/
Approved by: garga (mentor)
2006-09-03 16:32:53 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://www.amanith.org/download/files/ \
|
|
|
|
http://louhi.kempele.fi/~skyostil/projects/pyamanith/dist/
|
|
|
|
DISTNAME= ${PORTNAME:S/$/_/}${PORTVERSION:S/.//}
|
|
|
|
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2012-07-29 13:17:02 +02:00
|
|
|
COMMENT= C++ CrossPlatform framework designed for 2D & 3D vector graphics
|
- New port: graphics/amanith
Amanith is an OpenSource C++ CrossPlatform framework designed for 2d & 3d
vector graphics.
Open source has made Amanith possible, so we wanna Amanith to be open source
too. This mean that Amanith source code is fully available for everyone.
Same source tree can be compiled without modifications under multiple targets.
Linux, Win32, Mac, FreeBSD, NetBSD, OpenBSD, Solaris, IRIX, AIX are only few
of them.
All the framework is heavily based on a light plug-in system.
This make fast and easy to include or esclude everything you want.
The Amanith philosophy is to support many open standards as possible.
Png, Jpeg, Svg, Xml, OpenGl, Ansi c++, and many others.
WWW: http://www.amanith.org/
Approved by: garga (mentor)
2006-09-03 16:32:53 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
2012-06-01 07:26:28 +02:00
|
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
|
2010-02-05 12:46:55 +01:00
|
|
|
jpeg.11:${PORTSDIR}/graphics/jpeg \
|
- New port: graphics/amanith
Amanith is an OpenSource C++ CrossPlatform framework designed for 2d & 3d
vector graphics.
Open source has made Amanith possible, so we wanna Amanith to be open source
too. This mean that Amanith source code is fully available for everyone.
Same source tree can be compiled without modifications under multiple targets.
Linux, Win32, Mac, FreeBSD, NetBSD, OpenBSD, Solaris, IRIX, AIX are only few
of them.
All the framework is heavily based on a light plug-in system.
This make fast and easy to include or esclude everything you want.
The Amanith philosophy is to support many open standards as possible.
Png, Jpeg, Svg, Xml, OpenGl, Ansi c++, and many others.
WWW: http://www.amanith.org/
Approved by: garga (mentor)
2006-09-03 16:32:53 +02:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2
|
|
|
|
|
|
|
|
USE_QT_VER= 3
|
|
|
|
USE_GL= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_DOS2UNIX= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2007-02-13 01:16:29 +01:00
|
|
|
MAKE_ENV= QTDIR="${QT_PREFIX}" \
|
- New port: graphics/amanith
Amanith is an OpenSource C++ CrossPlatform framework designed for 2d & 3d
vector graphics.
Open source has made Amanith possible, so we wanna Amanith to be open source
too. This mean that Amanith source code is fully available for everyone.
Same source tree can be compiled without modifications under multiple targets.
Linux, Win32, Mac, FreeBSD, NetBSD, OpenBSD, Solaris, IRIX, AIX are only few
of them.
All the framework is heavily based on a light plug-in system.
This make fast and easy to include or esclude everything you want.
The Amanith philosophy is to support many open standards as possible.
Png, Jpeg, Svg, Xml, OpenGl, Ansi c++, and many others.
WWW: http://www.amanith.org/
Approved by: garga (mentor)
2006-09-03 16:32:53 +02:00
|
|
|
QMAKESPEC="${QMAKESPEC}" \
|
|
|
|
AMANITHDIR="${AMANITHDIR}"
|
|
|
|
|
|
|
|
QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
|
|
|
QMAKECMD= qmake
|
|
|
|
AMANITHDIR= ${WRKSRC}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -i "" -e 's|3rdpart||' ${WRKSRC}/amanith.pro
|
|
|
|
|
2006-09-26 05:21:18 +02:00
|
|
|
post-extract:
|
|
|
|
@${RMDIR} ${WRKSRC}/include/${PORTNAME}/3d
|
|
|
|
|
- New port: graphics/amanith
Amanith is an OpenSource C++ CrossPlatform framework designed for 2d & 3d
vector graphics.
Open source has made Amanith possible, so we wanna Amanith to be open source
too. This mean that Amanith source code is fully available for everyone.
Same source tree can be compiled without modifications under multiple targets.
Linux, Win32, Mac, FreeBSD, NetBSD, OpenBSD, Solaris, IRIX, AIX are only few
of them.
All the framework is heavily based on a light plug-in system.
This make fast and easy to include or esclude everything you want.
The Amanith philosophy is to support many open standards as possible.
Png, Jpeg, Svg, Xml, OpenGl, Ansi c++, and many others.
WWW: http://www.amanith.org/
Approved by: garga (mentor)
2006-09-03 16:32:53 +02:00
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKECMD} ${WRKSRC}/amanith.pro
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/lib/libamanith.so.1.0.0 ${PREFIX}/lib/libamanith.so.1
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/plugins/libfontimpexp.so.1.0.0 ${PREFIX}/lib/libfontimpexp.so.1
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/plugins/libjpegimpexp.so.1.0.0 ${PREFIX}/lib/libjpegimpexp.so.1
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/plugins/libpngimpexp.so.1.0.0 ${PREFIX}/lib/libpngimpexp.so.1
|
|
|
|
|
|
|
|
. for FILE in libamanith libfontimpexp libjpegimpexp libpngimpexp
|
|
|
|
cd ${PREFIX}/lib && \
|
|
|
|
${LN} -s ${FILE}.so.1 ${FILE}.so
|
|
|
|
. endfor
|
|
|
|
|
|
|
|
${MKDIR} ${PREFIX}/include/${PORTNAME}
|
|
|
|
cd ${WRKSRC}/include/${PORTNAME} && \
|
|
|
|
${FIND} * -type d -exec ${MKDIR} "${PREFIX}/include/${PORTNAME}/{}" \; && \
|
|
|
|
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/include/${PORTNAME}/{}" \;
|
|
|
|
|
|
|
|
. for DIRE in fonts jpeg png
|
|
|
|
cd ${WRKSRC}/plugins/${DIRE} && \
|
|
|
|
${INSTALL_DATA} *.h ${PREFIX}/include/${PORTNAME}
|
|
|
|
. endfor
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|