| @@ -1,66 +1,65 @@ | | | @@ -1,66 +1,65 @@ |
1 | # $NetBSD: Makefile.common,v 1.13 2013/06/16 18:56:05 sno Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.14 2015/03/17 21:30:27 joerg Exp $ |
2 | | | 2 | |
3 | # used by graphics/evas-buffer/Makefile | | 3 | # used by graphics/evas-buffer/Makefile |
4 | # used by graphics/evas-edb/Makefile | | 4 | # used by graphics/evas-edb/Makefile |
5 | # used by graphics/evas-eet/Makefile | | 5 | # used by graphics/evas-eet/Makefile |
6 | # used by graphics/evas-gif/Makefile | | 6 | # used by graphics/evas-gif/Makefile |
7 | # used by graphics/evas-jpeg/Makefile | | 7 | # used by graphics/evas-jpeg/Makefile |
8 | # used by graphics/evas-pmaps/Makefile | | 8 | # used by graphics/evas-pmaps/Makefile |
9 | # used by graphics/evas-png/Makefile | | 9 | # used by graphics/evas-png/Makefile |
10 | # used by graphics/evas-sdl/Makefile | | 10 | # used by graphics/evas-sdl/Makefile |
11 | # used by graphics/evas-sdl-16/Makefile | | 11 | # used by graphics/evas-sdl-16/Makefile |
12 | # used by graphics/evas-software-x11/Makefile | | 12 | # used by graphics/evas-software-x11/Makefile |
13 | # used by graphics/evas-svg/Makefile | | | |
14 | # used by graphics/evas-tiff/Makefile | | 13 | # used by graphics/evas-tiff/Makefile |
15 | # used by graphics/evas-xpm/Makefile | | 14 | # used by graphics/evas-xpm/Makefile |
16 | | | 15 | |
17 | EVAS_VERSION= 1.7.7 | | 16 | EVAS_VERSION= 1.7.7 |
18 | DISTNAME= evas-${EVAS_VERSION} | | 17 | DISTNAME= evas-${EVAS_VERSION} |
19 | CATEGORIES= graphics | | 18 | CATEGORIES= graphics |
20 | MASTER_SITES= http://download.enlightenment.org/releases/ | | 19 | MASTER_SITES= http://download.enlightenment.org/releases/ |
21 | EXTRACT_SUFX= .tar.bz2 | | 20 | EXTRACT_SUFX= .tar.bz2 |
22 | | | 21 | |
23 | MAINTAINER= joerg@NetBSD.org | | 22 | MAINTAINER= joerg@NetBSD.org |
24 | HOMEPAGE= http://enlightenment.org/ | | 23 | HOMEPAGE= http://enlightenment.org/ |
25 | LICENSE= 2-clause-bsd | | 24 | LICENSE= 2-clause-bsd |
26 | | | 25 | |
27 | DISTINFO_FILE= ${.CURDIR}/../../graphics/evas/distinfo | | 26 | DISTINFO_FILE= ${.CURDIR}/../../graphics/evas/distinfo |
28 | PATCHDIR= ${.CURDIR}/../../graphics/evas/patches | | 27 | PATCHDIR= ${.CURDIR}/../../graphics/evas/patches |
29 | | | 28 | |
30 | GNU_CONFIGURE= yes | | 29 | GNU_CONFIGURE= yes |
31 | USE_LIBTOOL= yes | | 30 | USE_LIBTOOL= yes |
32 | USE_TOOLS+= gmake pkg-config | | 31 | USE_TOOLS+= gmake pkg-config |
33 | | | 32 | |
34 | .for mod in software-ddraw software-16-ddraw direct3d software-16-wince \ | | 33 | .for mod in software-ddraw software-16-ddraw direct3d software-16-wince \ |
35 | software-xlib software-16-x11 software-xcb directfb sdl \ | | 34 | software-xlib software-16-x11 software-xcb directfb sdl \ |
36 | sdl-primitive fb buffer software-qtopia gl-xlib quartz gl-glew \ | | 35 | sdl-primitive fb buffer software-qtopia gl-xlib quartz gl-glew \ |
37 | xrender-x11 xrender-xcb glitz-x11 wayland-shm wayland-egl | | 36 | xrender-x11 xrender-xcb glitz-x11 wayland-shm wayland-egl |
38 | . if defined(EVAS_ENGINES) && !empty(EVAS_ENGINES:M${mod}) | | 37 | . if defined(EVAS_ENGINES) && !empty(EVAS_ENGINES:M${mod}) |
39 | CONFIGURE_ARGS+= --enable-${mod} | | 38 | CONFIGURE_ARGS+= --enable-${mod} |
40 | . else | | 39 | . else |
41 | CONFIGURE_ARGS+= --disable-${mod} | | 40 | CONFIGURE_ARGS+= --disable-${mod} |
42 | . endif | | 41 | . endif |
43 | .endfor | | 42 | .endfor |
44 | | | 43 | |
45 | .for mod in gif png jpeg eet edb tiff xpm svg pmaps | | 44 | .for mod in gif png jpeg eet edb tiff xpm svg pmaps |
46 | . if defined(EVAS_IMAGE_LOADERS) && !empty(EVAS_IMAGE_LOADERS:M${mod}) | | 45 | . if defined(EVAS_IMAGE_LOADERS) && !empty(EVAS_IMAGE_LOADERS:M${mod}) |
47 | CONFIGURE_ARGS+= --enable-image-loader-${mod} | | 46 | CONFIGURE_ARGS+= --enable-image-loader-${mod} |
48 | . else | | 47 | . else |
49 | CONFIGURE_ARGS+= --disable-image-loader-${mod} | | 48 | CONFIGURE_ARGS+= --disable-image-loader-${mod} |
50 | . endif | | 49 | . endif |
51 | .endfor | | 50 | .endfor |
52 | | | 51 | |
53 | CONFIGURE_ENV+= ACLOCAL=: AUTOCONF=: AUTOMAKE=: | | 52 | CONFIGURE_ENV+= ACLOCAL=: AUTOCONF=: AUTOMAKE=: |
54 | | | 53 | |
55 | .include "../../mk/bsd.prefs.mk" | | 54 | .include "../../mk/bsd.prefs.mk" |
56 | | | 55 | |
57 | .if !empty(MACHINE_PLATFORM:M*-powerpc) | | 56 | .if !empty(MACHINE_PLATFORM:M*-powerpc) |
58 | CONFIGURE_ARGS+= --enable-cpu-altivec | | 57 | CONFIGURE_ARGS+= --enable-cpu-altivec |
59 | .endif | | 58 | .endif |
60 | | | 59 | |
61 | # currently it is like it is | | 60 | # currently it is like it is |
62 | MODULE_ARCH= ${LOWER_OPSYS}-${LOWER_ARCH}-${EVAS_VERSION} | | 61 | MODULE_ARCH= ${LOWER_OPSYS}-${LOWER_ARCH}-${EVAS_VERSION} |
63 | PLIST_SUBST= MODULE_ARCH=${MODULE_ARCH} | | 62 | PLIST_SUBST= MODULE_ARCH=${MODULE_ARCH} |
64 | PRINT_PLIST_AWK+= { gsub(/${MODULE_ARCH}/, "$${MODULE_ARCH}") } | | 63 | PRINT_PLIST_AWK+= { gsub(/${MODULE_ARCH}/, "$${MODULE_ARCH}") } |
65 | | | 64 | |
66 | MAKE_FLAGS+= MODULE_ARCH=${MODULE_ARCH} | | 65 | MAKE_FLAGS+= MODULE_ARCH=${MODULE_ARCH} |