summaryrefslogtreecommitdiff
path: root/x11/wxGTK
diff options
context:
space:
mode:
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