| @@ -1,50 +1,52 @@ | | | @@ -1,50 +1,52 @@ |
1 | # $NetBSD: Makefile,v 1.11 2011/05/13 17:12:19 drochner Exp $ | | 1 | # $NetBSD: Makefile,v 1.12 2011/08/09 16:28:03 ryoon Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= gobject-introspection-0.10.8 | | 4 | DISTNAME= gobject-introspection-0.10.8 |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= devel | | 6 | CATEGORIES= devel |
6 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gobject-introspection/0.10/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gobject-introspection/0.10/} |
7 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 9 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://live.gnome.org/GObjectIntrospection | | 11 | HOMEPAGE= http://live.gnome.org/GObjectIntrospection |
11 | COMMENT= GObject Introspection | | 12 | COMMENT= GObject Introspection |
12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2 | | 13 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2 |
13 | | | 14 | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 15 | PKG_DESTDIR_SUPPORT= user-destdir |
15 | | | 16 | |
16 | DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree | | 17 | DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree |
17 | | | 18 | |
18 | GNU_CONFIGURE= yes | | 19 | GNU_CONFIGURE= yes |
19 | USE_LIBTOOL= yes | | 20 | USE_LIBTOOL= yes |
20 | USE_TOOLS+= pkg-config flex bison gmake | | 21 | USE_TOOLS+= pkg-config flex bison gmake |
21 | | | 22 | |
| | | 23 | CONFIGURE_ARGS+= --disable-tests |
| | | 24 | |
22 | PKGCONFIG_OVERRIDE+= gobject-introspection-1.0.pc.in | | 25 | PKGCONFIG_OVERRIDE+= gobject-introspection-1.0.pc.in |
23 | PKGCONFIG_OVERRIDE+= gobject-introspection-no-export-1.0.pc.in | | 26 | PKGCONFIG_OVERRIDE+= gobject-introspection-no-export-1.0.pc.in |
24 | PYTHON_VERSIONS_ACCEPTED= 27 26 25 | | 27 | PYTHON_VERSIONS_ACCEPTED= 27 26 25 |
25 | | | 28 | |
26 | SUBST_CLASSES+= timet | | 29 | SUBST_CLASSES+= timet |
27 | SUBST_STAGE.timet= pre-configure | | 30 | SUBST_STAGE.timet= pre-configure |
28 | SUBST_FILES.timet= giscanner/ast.py | | 31 | SUBST_FILES.timet= giscanner/ast.py |
29 | SUBST_FILES.timet+= tests/scanner/Foo-1.0-expected.gir \ | | 32 | SUBST_FILES.timet+= tests/scanner/Foo-1.0-expected.gir \ |
30 | tests/scanner/Regress-1.0-expected.gir | | 33 | tests/scanner/Regress-1.0-expected.gir |
31 | .include "../../mk/bsd.prefs.mk" | | 34 | .include "../../mk/bsd.prefs.mk" |
32 | .if !empty(MACHINE_PLATFORM:MNetBSD-5.99*) || !empty(MACHINE_PLATFORM:MNetBSD-[6-9]*) | | 35 | .if !empty(MACHINE_PLATFORM:MNetBSD-5.99*) || !empty(MACHINE_PLATFORM:MNetBSD-[6-9]*) |
33 | SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_INT64,g' | | 36 | SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_INT64,g' |
34 | SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,gint64,g' | | 37 | SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,gint64,g' |
35 | .else | | 38 | .else |
36 | SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_LONG,g' | | 39 | SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_LONG,g' |
37 | SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,glong,g' | | 40 | SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,glong,g' |
38 | .endif | | 41 | .endif |
39 | | | 42 | |
40 | # not executable | | 43 | # not executable |
41 | CHECK_INTERPRETER_SKIP+= lib/gobject-introspection/giscanner/*.py | | 44 | CHECK_INTERPRETER_SKIP+= lib/gobject-introspection/giscanner/*.py |
42 | | | 45 | |
43 | TEST_TARGET= check | | 46 | TEST_TARGET= check |
44 | | | 47 | |
45 | .include "../../devel/glib2/buildlink3.mk" | | 48 | .include "../../devel/glib2/buildlink3.mk" |
46 | .include "../../devel/libffi/buildlink3.mk" | | 49 | .include "../../devel/libffi/buildlink3.mk" |
47 | .include "../../graphics/cairo/buildlink3.mk" | | | |
48 | .include "../../lang/python/application.mk" | | 50 | .include "../../lang/python/application.mk" |
49 | .include "../../lang/python/extension.mk" | | 51 | .include "../../lang/python/extension.mk" |
50 | .include "../../mk/bsd.pkg.mk" | | 52 | .include "../../mk/bsd.pkg.mk" |