59 lines
1.2 KiB
Makefile
59 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.67 2012/11/13 08:09:53 jasper Exp $
|
|
|
|
COMMENT= GObject Introspection
|
|
|
|
GNOME_VERSION= 1.34.2
|
|
GNOME_PROJECT= gobject-introspection
|
|
|
|
CATEGORIES= devel
|
|
|
|
SHARED_LIBS += girepository-1.0 3.0 # 1.0
|
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
|
|
Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
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
|
|
|
|
WANTLIB += c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
|
WANTLIB += m pcre pthread z
|
|
|
|
LIB_DEPENDS= devel/glib2>=2.34.1
|
|
BUILD_DEPENDS= devel/bison \
|
|
graphics/cairo
|
|
RUN_DEPENDS= graphics/cairo
|
|
|
|
USE_LIBTOOL= Yes
|
|
USE_GROFF = Yes
|
|
|
|
YACC= bison
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CFLAGS+= -pthread
|
|
|
|
SUBST_VARS+= MODPY_SITEPKG CC
|
|
|
|
MODPY_ADJ_FILES= giscanner/scannermain.py \
|
|
giscanner/shlibs.py \
|
|
giscanner/message.py \
|
|
tests/offsets/gen-gitestoffsets
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/giscanner/{dumper,scannermain,sourcescanner}.py
|
|
|
|
post-install:
|
|
rm ${PREFIX}/lib/gobject-introspection/giscanner/*.{a,la}
|
|
|
|
.include <bsd.port.mk>
|