2008-09-29 15:02:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2008/09/29 19:02:22 sturm Exp $
|
2003-01-31 13:51:03 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
COMMENT= GNOME component and compound document system
|
2003-01-31 13:51:03 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
GNOME_PROJECT= libbonobo
|
2008-01-23 07:41:53 -05:00
|
|
|
GNOME_VERSION= 2.20.3
|
2007-11-10 09:43:39 -05:00
|
|
|
SHARED_LIBS += bonobo-activation 6.0 # .4.0
|
|
|
|
SHARED_LIBS += bonobo-2 2.0 # .0.0
|
2003-01-31 13:51:03 -05:00
|
|
|
CATEGORIES= devel
|
2008-09-28 06:57:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2003-01-31 13:51:03 -05:00
|
|
|
|
2007-11-10 09:43:39 -05:00
|
|
|
# GPL/LGPL
|
2003-01-31 13:51:03 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-10 09:43:39 -05:00
|
|
|
|
|
|
|
WANTLIB= c m pcre pthread z
|
2003-01-31 13:51:03 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
2003-01-31 13:51:03 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
BUILD_DEPENDS= ::devel/popt
|
2007-04-27 18:20:41 -04:00
|
|
|
LIB_DEPENDS= ORBit-2.>=2,ORBitCosNaming-2.>=2::devel/ORBit2 \
|
|
|
|
glib-2.0.>=1200.0,gmodule-2.0.>=1200.0,gobject-2.0.>=1200.0,gthread-2.0.>=1200.0::devel/glib2 \
|
|
|
|
xml2.>=9::textproc/libxml
|
2008-09-29 15:02:22 -04:00
|
|
|
# popt usage is deprecated in gnome, but the header file is still included
|
|
|
|
# from some libbonobo header and might still be used inside libbonobo
|
2008-09-28 06:57:51 -04:00
|
|
|
RUN_DEPENDS= ::devel/popt
|
2003-01-31 13:51:03 -05:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2003-10-07 01:48:53 -04:00
|
|
|
|
|
|
|
post-install:
|
2007-11-10 09:43:39 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libbonobo; \
|
2004-10-17 00:41:19 -04:00
|
|
|
cp -Rp ${WRKINST}/${SYSCONFDIR}/gnome/* ${PREFIX}/share/examples/libbonobo/
|
2003-01-31 13:51:03 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2007-04-27 18:20:41 -04:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"
|