summaryrefslogtreecommitdiff
path: root/graphics/evas/Makefile.common
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-02-26 18:12:55 +0000
committerminskim <minskim@pkgsrc.org>2009-02-26 18:12:55 +0000
commitc24823bedac3a98fafd4d7cce4072d4d4c7bbdcb (patch)
tree4e03eb284ddaa9af41a272c807ddc759edb0ab2f /graphics/evas/Makefile.common
parent18b57e1bce59b5fc5bf5444fb6d583625a60995d (diff)
downloadpkgsrc-c24823bedac3a98fafd4d7cce4072d4d4c7bbdcb.tar.gz
Import a minimal version of evas-0.9.9.050.
This package is based on wip/evas, originally packaged by airhead AT users.sf.net and maintained by YazzY (yazzy AT yazzy.org). Evas is a clean display canvas API for several target display systems that can draw anti-aliased text, smooth super and sub-sampled scaled images, alpha-blend objects, and more.
Diffstat (limited to 'graphics/evas/Makefile.common')
-rw-r--r--graphics/evas/Makefile.common41
1 files changed, 41 insertions, 0 deletions
diff --git a/graphics/evas/Makefile.common b/graphics/evas/Makefile.common
new file mode 100644
index 00000000000..6e0761ded3e
--- /dev/null
+++ b/graphics/evas/Makefile.common
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2009/02/26 18:12:55 minskim Exp $
+
+DISTNAME= evas-0.9.9.050
+CATEGORIES= graphics
+MASTER_SITES= http://download.enlightenment.org/snapshots/2008-09-25/
+
+MAINTAINER= yazzy@yazzy.org
+HOMEPAGE= http://enlightenment.org/
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+
+.for mod in software-ddraw software-16-ddraw direct3d software-16-wince \
+ software-x11 software-16-x11 software-xcb directfb sdl \
+ sdl-primitive fb buffer software-qtopia gl-x11 quartz gl-glew \
+ xrender-x11 xrender-xcb glitz-x11
+. if defined(EVAS_ENGINES) && !empty(EVAS_ENGINES:M${mod})
+CONFIGURE_ARGS+= --enable-${mod}
+. else
+CONFIGURE_ARGS+= --disable-${mod}
+. endif
+.endfor
+
+.for mod in gif png jpeg eet edb tiff xpm svg pmaps
+. if defined(EVAS_IMAGE_LOADERS) && !empty(EVAS_IMAGE_LOADERS:M${mod})
+CONFIGURE_ARGS+= --enable-image-loader-${mod}
+. else
+CONFIGURE_ARGS+= --disable-image-loader-${mod}
+. endif
+.endfor
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:M*-powerpc)
+CONFIGURE_ARGS+= --enable-cpu-altivec
+.endif
+
+PLIST_SUBST= MODULE_ARCH=${LOWER_OPSYS}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX}-${NATIVE_LOWER_ARCH}