2012-04-08 21:08:44 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2012/04/08 19:08:50 wiz Exp $
|
2010-11-16 21:08:16 +01:00
|
|
|
#
|
|
|
|
|
2012-02-10 16:14:56 +01:00
|
|
|
DISTNAME= gobject-introspection-1.30.0
|
2012-03-10 09:24:19 +01:00
|
|
|
PKGREVISION= 3
|
2010-11-16 21:08:16 +01:00
|
|
|
CATEGORIES= devel
|
2012-02-10 16:14:56 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gobject-introspection/1.30/}
|
2010-11-16 21:08:16 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2011-02-14 02:07:41 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2010-11-16 21:08:16 +01:00
|
|
|
HOMEPAGE= http://live.gnome.org/GObjectIntrospection
|
|
|
|
COMMENT= GObject Introspection
|
|
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= pkg-config flex bison gmake
|
2011-11-26 17:12:40 +01:00
|
|
|
GMAKE_REQD= 3.81
|
2010-11-16 21:08:16 +01:00
|
|
|
|
2011-08-09 18:28:03 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-tests
|
|
|
|
|
2010-11-16 21:08:16 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gobject-introspection-1.0.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= gobject-introspection-no-export-1.0.pc.in
|
|
|
|
|
2011-01-12 21:23:34 +01:00
|
|
|
SUBST_CLASSES+= timet
|
|
|
|
SUBST_STAGE.timet= pre-configure
|
|
|
|
SUBST_FILES.timet= giscanner/ast.py
|
|
|
|
SUBST_FILES.timet+= tests/scanner/Foo-1.0-expected.gir \
|
|
|
|
tests/scanner/Regress-1.0-expected.gir
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-5.99*) || !empty(MACHINE_PLATFORM:MNetBSD-[6-9]*)
|
|
|
|
SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_INT64,g'
|
|
|
|
SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,gint64,g'
|
|
|
|
.else
|
|
|
|
SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_LONG,g'
|
|
|
|
SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,glong,g'
|
|
|
|
.endif
|
|
|
|
|
2011-05-13 19:12:19 +02:00
|
|
|
# not executable
|
|
|
|
CHECK_INTERPRETER_SKIP+= lib/gobject-introspection/giscanner/*.py
|
|
|
|
|
2012-02-10 16:14:56 +01:00
|
|
|
# needed for test only
|
|
|
|
#.include "../../graphics/cairo/buildlink3.mk"
|
2010-11-16 21:08:16 +01:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2012-02-10 16:14:56 +01:00
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.30.0
|
2010-11-16 21:08:16 +01:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../devel/libffi/buildlink3.mk"
|
2011-04-19 13:55:56 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
2010-11-16 21:08:16 +01:00
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|