pkgsrc/devel/libbonobo/Makefile

42 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.41 2005/08/21 11:24:45 jmmv Exp $
DISTNAME= libbonobo-2.10.1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libbonobo/2.10/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://developer.gnome.org/
COMMENT= GNOME2 Object activation framework library
CONFLICTS= bonobo-activation-[0-9]*
GNU_CONFIGURE= YES
USE_PKGINSTALL= YES
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
USE_TOOLS+= bison gmake perl:run pkg-config
PKGCONFIG_OVERRIDE= bonobo/libbonobo-2.0.pc.in
PKGCONFIG_OVERRIDE+= bonobo-activation/bonobo-activation-2.0.pc.in
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
CONFIGURE_ENV+= PERL_PATH="${TOOLS_PERL5}"
PKG_SYSCONFSUBDIR= bonobo-activation
EGDIR= ${PREFIX}/share/examples/bonobo-activation
CONF_FILES= ${EGDIR}/bonobo-activation-config.xml \
${PKG_SYSCONFDIR}/bonobo-activation-config.xml
PRINT_PLIST_AWK+= /^@dirrm lib\/(bonobo|bonobo\/monikers)$$/ \
{ print "@unexec $${RMDIR} %D/" $$2 \
" 2>/dev/null || $${TRUE}"; next; }
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../net/ORBit2/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"