summaryrefslogtreecommitdiff
path: root/x11/wxGTK
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 18:38:05 +0000
commite2afa97f51a1f72e6618533019aaaae07b7d3cf2 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /x11/wxGTK
parente97ad43756dc8382d2c6cb8a7ae09be0eb540f67 (diff)
downloadpkgsrc-e2afa97f51a1f72e6618533019aaaae07b7d3cf2.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
Diffstat (limited to 'x11/wxGTK')
-rw-r--r--x11/wxGTK/Makefile15
-rw-r--r--x11/wxGTK/buildlink2.mk26
2 files changed, 34 insertions, 7 deletions
diff --git a/x11/wxGTK/Makefile b/x11/wxGTK/Makefile
index 74a351568dc..15ca6ca8588 100644
--- a/x11/wxGTK/Makefile
+++ b/x11/wxGTK/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2002/03/13 17:38:04 fredb Exp $
+# $NetBSD: Makefile,v 1.15 2002/08/25 18:40:49 jlam Exp $
#
DISTNAME= wxGTK-2.2.7
@@ -10,7 +10,8 @@ MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://www.freiburg.linux.de/~wxxt/
COMMENT= GTK-based implementation of the wxWindows GUI library
-USE_BUILDLINK_ONLY= # defined
+USE_BUILDLINK2= # defined
+USE_X11= # defined
USE_GMAKE= # defined
USE_LIBTOOL= # defined
GNU_CONFIGURE= # defined
@@ -31,9 +32,9 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DOCDIR}/LICENSE
${INSTALL_DATA} ${WRKSRC}/SYMBOLS.txt ${DOCDIR}/SYMBOLS
-.include "../../graphics/jpeg/buildlink.mk"
-.include "../../graphics/png/buildlink.mk"
-.include "../../graphics/tiff/buildlink.mk"
-.include "../../x11/gtk/buildlink.mk"
-.include "../../mk/x11.buildlink.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/tiff/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/wxGTK/buildlink2.mk b/x11/wxGTK/buildlink2.mk
new file mode 100644
index 00000000000..879a356ab29
--- /dev/null
+++ b/x11/wxGTK/buildlink2.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:49 jlam Exp $
+
+.if !defined(WXGTK_BUILDLINK2_MK)
+WXGTK_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= wxGTK
+BUILDLINK_DEPENDS.wxGTK?= wxGTK>=2.2.7nb1
+BUILDLINK_PKGSRCDIR.wxGTK?= ../../x11/wxGTK
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.wxGTK=wxGTK
+BUILDLINK_PREFIX.wxGTK_DEFAULT= ${X11PREFIX}
+BUILDLINK_FILES.wxGTK= include/wx/*
+BUILDLINK_FILES.wxGTK+= include/wx/*/*
+BUILDLINK_FILES.wxGTK+= lib/wx/include/wx/gtk/*
+BUILDLINK_FILES.wxGTK+= lib/libwx_gtk.*
+
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/tiff/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
+
+BUILDLINK_TARGETS+= wxGTK-buildlink
+
+wxGTK-buildlink: _BUILDLINK_USE
+
+.endif # WXGTK_BUILDLINK2_MK