# $NetBSD: Makefile,v 1.39 2006/10/09 12:52:34 joerg Exp $ # .include "../../devel/GConf2/Makefile.common" PKGNAME= ${DISTNAME:S/GConf/GConf2/} CONFIGURE_ARGS+= --disable-gtk CONFIGURE_ARGS+= ac_cv_header_ldap_h=no OWN_DIRS= ${PKG_SYSCONFDIR}/2 OWN_DIRS+= ${PKG_SYSCONFDIR}/gconf.xml.defaults OWN_DIRS+= ${PKG_SYSCONFDIR}/gconf.xml.mandatory EGDIR= ${PREFIX}/share/examples/GConf2 CONF_FILES= ${EGDIR}/path ${PKG_SYSCONFDIR}/2/path PRINT_PLIST_AWK+= /^@dirrm (include\/gconf|lib\/GConf|share\/gconf)$$/ \ { print "@unexec $${RMDIR} -p %D/" $$2 \ " 2>/dev/null || $${TRUE}"; next} # XXX: We need to use XML_CATALOGS here to register the installed DTD. # But we have to wait until a public identifier is choosen for it. post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/gconf/schemas .include "../../devel/gettext-lib/buildlink3.mk" .include "../../net/ORBit2/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" .include "../../textproc/xmlcatmgr/buildlink3.mk" .include "../../mk/bsd.pkg.mk"