pkgsrc/devel/dconf-editor/Makefile

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.31 2015/04/25 14:20:33 tnn Exp $
PKGREVISION= 2
.include "../../devel/dconf/Makefile.common"
PKGNAME= ${DISTNAME:S/dconf/dconf-editor/}
DISTINFO_FILE= ${.CURDIR}/../../devel/dconf/distinfo
PATCHDIR= ${.CURDIR}/../../devel/dconf/patches
CONFIGURE_ARGS+= --enable-editor
CONFIGURE_ARGS+= --disable-man
BUILD_DIRS= editor
INSTALL_DIRS= editor
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= editor/dconf-model.vala
SUBST_VARS.prefix= PREFIX
# SUBST doesn't touch - force rebuild
pre-build:
${RM} ${WRKSRC}/editor/dconf-model.c
.include "../../devel/glib2/schemas.mk"
BUILDLINK_DEPMETHOD.vala= build
BUILDLINK_API_DEPENDS.vala+= vala>=0.18.0
.include "../../lang/vala/buildlink3.mk"
BUILDLINK_API_DEPENDS.dconf+= dconf>=${PKGVERSION_NOREV}
.include "../../devel/dconf/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"