2011-04-25 07:43:17 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2011/04/25 11:43:17 jasper Exp $
|
2009-09-24 16:08:09 -04:00
|
|
|
|
|
|
|
COMMENT= GObject Introspection
|
|
|
|
|
2011-04-25 07:43:17 -04:00
|
|
|
GNOME_VERSION= 0.10.8
|
2009-09-24 16:08:09 -04:00
|
|
|
GNOME_PROJECT= gobject-introspection
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
2010-10-24 09:40:27 -04:00
|
|
|
SHARED_LIBS += girepository-1.0 1.0 # 1.0
|
2009-09-24 16:08:09 -04:00
|
|
|
|
2010-07-30 01:49:24 -04:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2009-09-24 16:08:09 -04:00
|
|
|
HOMEPAGE= http://live.gnome.org/GObjectIntrospection
|
|
|
|
|
|
|
|
# Library: LGPLv2+
|
|
|
|
# Tools: GPLv2+
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
|
|
|
|
2011-04-07 11:09:58 -04:00
|
|
|
WANTLIB += c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
|
|
|
WANTLIB += m pcre pthread z
|
2009-09-24 16:08:09 -04:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
LIB_DEPENDS= devel/glib2 \
|
2011-04-07 11:09:58 -04:00
|
|
|
devel/libffi
|
|
|
|
BUILD_DEPENDS= devel/bison \
|
2010-11-15 14:45:56 -05:00
|
|
|
graphics/cairo
|
2011-04-07 11:09:58 -04:00
|
|
|
RUN_DEPENDS= graphics/cairo
|
2009-09-24 16:08:09 -04:00
|
|
|
|
2010-10-27 09:09:35 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2010-10-24 09:40:27 -04:00
|
|
|
USE_GROFF = Yes
|
2009-09-24 16:08:09 -04:00
|
|
|
|
|
|
|
YACC= bison
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--disable-gtk-doc
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2009-12-22 10:19:52 -05:00
|
|
|
CFLAGS+= -pthread
|
|
|
|
|
2011-04-07 05:57:18 -04:00
|
|
|
SUBST_VARS+= MODPY_SITEPKG LIBTOOL CC
|
2009-12-22 10:19:52 -05:00
|
|
|
|
2009-09-24 16:08:09 -04:00
|
|
|
pre-configure:
|
2011-04-07 12:16:21 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/giscanner/dumper.py \
|
2011-04-07 05:38:12 -04:00
|
|
|
${WRKSRC}/giscanner/scannermain.py \
|
2010-10-24 09:40:27 -04:00
|
|
|
${WRKSRC}/tools/g-ir-scanner.in
|
2010-08-26 04:01:44 -04:00
|
|
|
perl -pi -e "s,'cc','${CC}'," ${WRKSRC}/giscanner/sourcescanner.py
|
2009-09-24 16:08:09 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|