openbsd-ports/x11/gnome/libbonobo/Makefile
ajacoutot 1762b0732d Fix build with glib2>=2.36.0.
Remove USE_GROFF.
2013-03-27 18:00:36 +00:00

43 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.58 2013/03/27 18:00:36 ajacoutot Exp $
COMMENT= GNOME component and compound document system
GNOME_PROJECT= libbonobo
GNOME_VERSION= 2.32.1
EXTRACT_SUFX= .tar.bz2
REVISION= 5
SHARED_LIBS += bonobo-activation 6.0 # .4.0
SHARED_LIBS += bonobo-2 2.0 # .0.0
CATEGORIES= devel
# GPLv2/LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ORBit-2 ORBitCosNaming-2 c ffi gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 m pcre pthread xml2 z
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= devel/popt
LIB_DEPENDS= devel/ORBit2 \
devel/glib2 \
textproc/libxml
# popt usage is deprecated in gnome, but the header file is still included
# from some libbonobo header and might still be used inside libbonobo
RUN_DEPENDS= devel/popt
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/libbonobo
pre-configure:
${SUBST_CMD} ${WRKSRC}/activation-server/bonobo-activation-server.1
post-install:
rm ${PREFIX}/lib/bonobo/monikers/*.{a,la}
rm ${PREFIX}/lib/orbit-2.0/*.{a,la}
.include <bsd.port.mk>