summaryrefslogtreecommitdiff
path: root/x11/xview-lib
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xview-lib')
-rw-r--r--x11/xview-lib/Makefile3
-rw-r--r--x11/xview-lib/buildlink2.mk27
2 files changed, 29 insertions, 1 deletions
diff --git a/x11/xview-lib/Makefile b/x11/xview-lib/Makefile
index 1c52e8bf66c..9250472d82e 100644
--- a/x11/xview-lib/Makefile
+++ b/x11/xview-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2002/04/10 04:49:58 seb Exp $
+# $NetBSD: Makefile,v 1.20 2002/08/25 18:40:50 jlam Exp $
# $FreeBSD Id: Makefile,v 1.13 1997/07/17 15:13:03 max Exp
#
@@ -17,6 +17,7 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
# builds, but binaries in../xview-clients all crash
NOT_FOR_PLATFORM= *-*-alpha
+USE_BUILDLINK2= # defined
USE_IMAKE= # defined
post-install:
diff --git a/x11/xview-lib/buildlink2.mk b/x11/xview-lib/buildlink2.mk
new file mode 100644
index 00000000000..03ea1955dc3
--- /dev/null
+++ b/x11/xview-lib/buildlink2.mk
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:50 jlam Exp $
+
+.if !defined(XVIEW_BUILDLINK2_MK)
+XVIEW_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= xview
+BUILDLINK_DEPENDS.xview?= xview-lib>=3.2.1
+BUILDLINK_PKGSRCDIR.xview?= ../../x11/xview-lib
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.xview=xview-lib
+BUILDLINK_PREFIX.xview_DEFAULT= ${X11PREFIX}
+
+BUILDLINK_FILES.xview= include/bitmaps/*
+BUILDLINK_FILES.xview+= include/images/*
+BUILDLINK_FILES.xview+= include/olgx/*
+BUILDLINK_FILES.xview+= include/olgx_private/*
+BUILDLINK_FILES.xview+= include/pixrect/*
+BUILDLINK_FILES.xview+= include/xview/*
+BUILDLINK_FILES.xview+= include/xview_private/*
+BUILDLINK_FILES.xview+= lib/libolgx.*
+BUILDLINK_FILES.xview+= lib/libxview.*
+
+BUILDLINK_TARGETS+= xview-buildlink
+
+xview-buildlink: _BUILDLINK_USE
+
+.endif # XVIEW_BUILDLINK2_MK