diff options
author | jlam <jlam> | 2001-06-16 19:23:17 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-16 19:23:17 +0000 |
commit | 49b7ba60ed1ab6cb64bc0b7bb17d652954490769 (patch) | |
tree | bbe1478c65c3cbf5d5d9e89509e2997156cd599e /x11 | |
parent | 46ea4c1171c4317ccb389d250b355d01c22ea795 (diff) | |
download | pkgsrc-49b7ba60ed1ab6cb64bc0b7bb17d652954490769.tar.gz |
Add buildlink.mk files for use by other packages.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gnome-libs/buildlink.mk | 67 | ||||
-rw-r--r-- | x11/gtk/buildlink.mk | 45 |
2 files changed, 112 insertions, 0 deletions
diff --git a/x11/gnome-libs/buildlink.mk b/x11/gnome-libs/buildlink.mk new file mode 100644 index 00000000000..868acdd453d --- /dev/null +++ b/x11/gnome-libs/buildlink.mk @@ -0,0 +1,67 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/16 19:23:20 jlam Exp $ +# +# This Makefile fragment is included by packages that use gnome-libs. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define GNOME_LIBS_REQD to the version of gnome-libs desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(GNOME_LIBS_BUILDLINK_MK) +GNOME_LIBS_BUILDLINK_MK= # defined + +GNOME_LIBS_REQD?= 1.0.53 +DEPENDS+= gnome-libs>=${GNOME_LIBS_REQD}:../../x11/gnome-libs + +BUILDLINK_PREFIX.gnome-libs= ${X11PREFIX} +BUILDLINK_FILES.gnome-libs= include/gnome.h +BUILDLINK_FILES.gnome-libs+= include/gtk-xmhtml/* +BUILDLINK_FILES.gnome-libs+= include/libart_lgpl/* +BUILDLINK_FILES.gnome-libs+= include/libgnome/* +BUILDLINK_FILES.gnome-libs+= include/libgnomeui/* +BUILDLINK_FILES.gnome-libs+= include/libgnorba/* +BUILDLINK_FILES.gnome-libs+= include/popt-gnome.h +BUILDLINK_FILES.gnome-libs+= include/zvt/* +BUILDLINK_FILES.gnome-libs+= lib/gnome-libs/*/* +BUILDLINK_FILES.gnome-libs+= lib/libart_lgpl.* +BUILDLINK_FILES.gnome-libs+= lib/libgnome.* +BUILDLINK_FILES.gnome-libs+= lib/libgnomesupport.* +BUILDLINK_FILES.gnome-libs+= lib/libgnomeui.* +BUILDLINK_FILES.gnome-libs+= lib/libgnorba.* +BUILDLINK_FILES.gnome-libs+= lib/libgnorbagtk.* +BUILDLINK_FILES.gnome-libs+= lib/libgtkxmhtml.* +BUILDLINK_FILES.gnome-libs+= lib/libzvt.* + +.include "../../audio/esound/buildlink.mk" +.include "../../devel/gettext-lib/buildlink.mk" +.include "../../graphics/imlib/buildlink.mk" +.include "../../graphics/xpm/buildlink.mk" +.include "../../net/ORBit/buildlink.mk" +.include "../../x11/gtk/buildlink.mk" + +BUILDLINK_TARGETS.gnome-libs= gnome-libs-buildlink +BUILDLINK_TARGETS.gnome-libs+= gnome-libs-buildlink-config-wrapper +BUILDLINK_TARGETS.gnome-libs+= libart-buildlink-config-wrapper +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.gnome-libs} + +BUILDLINK_CONFIG.gnome-libs= ${LOCALBASE}/bin/gnome-config +BUILDLINK_CONFIG_WRAPPER.gnome-libs= ${BUILDLINK_DIR}/bin/gnome-config +BUILDLINK_CONFIG_WRAPPER.libart= ${BUILDLINK_DIR}/bin/libart-config + +.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) +CONFIGURE_ENV+= GNOME_CONFIG="${BUILDLINK_CONFIG_WRAPPER.gnome-libs}" +CONFIGURE_ENV+= LIBART_CONFIG="${BUILDLINK_CONFIG_WRAPPER.libart}" +.endif + +pre-configure: ${BUILDLINK_TARGETS.gnome-libs} +gnome-libs-buildlink: _BUILDLINK_USE +gnome-libs-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE +libart-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # GNOME_LIBS_BUILDLINK_MK diff --git a/x11/gtk/buildlink.mk b/x11/gtk/buildlink.mk new file mode 100644 index 00000000000..5008ddccb3c --- /dev/null +++ b/x11/gtk/buildlink.mk @@ -0,0 +1,45 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/16 19:23:20 jlam Exp $ +# +# This Makefile fragment is included by packages that use gtk. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define GTK_REQD to the version of gtk desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(GTK_BUILDLINK_MK) +GTK_BUILDLINK_MK= # defined + +GTK_REQD?= 1.2.8 +DEPENDS+= gtk+>=${GTK_REQD}:../../x11/gtk + +BUILDLINK_PREFIX.gtk= ${X11PREFIX} +BUILDLINK_FILES.gtk= include/gtk-*/*/* +BUILDLINK_FILES.gtk+= lib/libgdk.* +BUILDLINK_FILES.gtk+= lib/libgtk.* + +.include "../../devel/gettext-lib/buildlink.mk" +.include "../../devel/glib/buildlink.mk" + +BUILDLINK_TARGETS.gtk= gtk-buildlink +BUILDLINK_TARGETS.gtk+= gtk-buildlink-config-wrapper +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.gtk} + +BUILDLINK_CONFIG.gtk= ${X11PREFIX}/bin/gtk-config +BUILDLINK_CONFIG_WRAPPER.gtk= ${BUILDLINK_DIR}/bin/gtk-config + +.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE) +CONFIGURE_ENV+= GTK_CONFIG="${BUILDLINK_CONFIG_WRAPPER.gtk}" +.endif + +pre-configure: ${BUILDLINK_TARGETS.gtk} +gtk-buildlink: _BUILDLINK_USE +gtk-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # GTK_BUILDLINK_MK |