2010-10-18 13:47:50 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2010/10/18 17:47:53 espie Exp $
|
2010-04-20 07:36:37 -04:00
|
|
|
|
|
|
|
# Look at cairo-related regression failure.
|
2010-04-28 06:10:44 -04:00
|
|
|
# and cairo/cairo.h: No such file or directory during build.
|
2009-09-24 16:08:09 -04:00
|
|
|
|
|
|
|
COMMENT= GObject Introspection
|
|
|
|
|
2010-07-30 01:49:24 -04:00
|
|
|
GNOME_VERSION= 0.6.14
|
2009-09-24 16:08:09 -04:00
|
|
|
GNOME_PROJECT= gobject-introspection
|
2010-07-30 01:49:24 -04:00
|
|
|
|
2010-10-11 04:11:24 -04:00
|
|
|
REVISION= 3
|
2010-08-26 04:01:44 -04:00
|
|
|
|
2009-09-24 16:08:09 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
2010-04-20 07:20:08 -04:00
|
|
|
SHARED_LIBS += girepository-1.0 0.0 # .0.0
|
|
|
|
SHARED_LIBS += girepository-everything-1.0 0.0 # .1.0
|
|
|
|
SHARED_LIBS += girepository-gimarshallingtests-1.0 0.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
|
|
|
|
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += X11 Xau Xdmcp Xrender c expat fontconfig freetype
|
2010-04-28 06:10:44 -04:00
|
|
|
WANTLIB += m pcre pixman-1 png pthread pthread-stubs xcb xcb-render
|
2010-07-30 01:49:24 -04:00
|
|
|
WANTLIB += xcb-render-util z gio-2.0 glib-2.0 gmodule-2.0 ffi
|
|
|
|
WANTLIB += gobject-2.0 gthread-2.0 cairo
|
2009-09-24 16:08:09 -04:00
|
|
|
|
2010-07-30 01:49:24 -04:00
|
|
|
LIB_DEPENDS= ::devel/glib2 \
|
|
|
|
::devel/libffi \
|
|
|
|
::graphics/cairo
|
2009-09-24 16:08:09 -04:00
|
|
|
BUILD_DEPENDS= ::devel/bison
|
|
|
|
|
2010-06-12 13:02:27 -04:00
|
|
|
USE_LIBTOOL= gnu
|
2010-10-18 13:47:50 -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
|
|
|
|
|
|
|
|
SUBST_VARS+= MODPY_SITEPKG LIBTOOL
|
|
|
|
|
2009-09-24 16:08:09 -04:00
|
|
|
pre-configure:
|
2009-12-22 10:19:52 -05:00
|
|
|
${SUBST_CMD} ${WRKSRC}/Makefile.introspection \
|
|
|
|
${WRKSRC}/gir/Makefile.in \
|
|
|
|
${WRKSRC}/tests/scanner/Makefile.in \
|
|
|
|
${WRKSRC}/tests/offsets/Makefile.in \
|
|
|
|
${WRKSRC}/tools/g-ir-scanner.in \
|
|
|
|
${WRKSRC}/gir/Everything-1.0-expected.gir
|
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>
|