diff options
author | wiz <wiz@pkgsrc.org> | 2007-09-21 12:58:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-09-21 12:58:12 +0000 |
commit | 4a9f6b5c9470f2a48d4f962a9d52ace9f46a7210 (patch) | |
tree | e6866b255d7e586f3d657e49bad5bd4a01dee782 /devel/GConf/buildlink3.mk | |
parent | 1512056c891ad4d94cbf8383a3a66f30fe786f4d (diff) | |
download | pkgsrc-4a9f6b5c9470f2a48d4f962a9d52ace9f46a7210.tar.gz |
Rename GConf2 to GConf and GConf2-ui to GConf-ui, to match the
upstream name.
Diffstat (limited to 'devel/GConf/buildlink3.mk')
-rw-r--r-- | devel/GConf/buildlink3.mk | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/devel/GConf/buildlink3.mk b/devel/GConf/buildlink3.mk new file mode 100644 index 00000000000..55c6cd603c7 --- /dev/null +++ b/devel/GConf/buildlink3.mk @@ -0,0 +1,41 @@ +# $NetBSD: buildlink3.mk,v 1.14 2007/09/21 12:58:13 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GCONF_BUILDLINK3_MK:= ${GCONF_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= GConf +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGConf} +BUILDLINK_PACKAGES+= GConf +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GConf + +.if !empty(GCONF_BUILDLINK3_MK:M+) +BUILDLINK_API_DEPENDS.GConf+= GConf>=2.8.0.1 +BUILDLINK_ABI_DEPENDS.GConf?= GConf>=2.12.1nb1 +BUILDLINK_PKGSRCDIR.GConf?= ../../devel/GConf +.endif # GCONF_BUILDLINK3_MK + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../net/ORBit2/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../textproc/xmlcatmgr/buildlink3.mk" + +.if !empty(GCONF_BUILDLINK3_MK:M+) +BUILDLINK_TARGETS+= GConf-buildlink-fake +_GCONF_FAKE= ${BUILDLINK_DIR}/bin/gconftool-2 + +.PHONY: GConf-buildlink-fake +GConf-buildlink-fake: + ${_PKG_SILENT}${_PKG_DEBUG} \ + if [ ! -f ${_GCONF_FAKE} ]; then \ + ${ECHO_BUILDLINK_MSG} "Creating ${_GCONF_FAKE}"; \ + ${MKDIR} ${_GCONF_FAKE:H}; \ + ${ECHO} "#!${SH}" > ${_GCONF_FAKE}; \ + ${CHMOD} +x ${_GCONF_FAKE}; \ + fi +.endif # GCONF_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |