summaryrefslogtreecommitdiff
path: root/x11/lesstif
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-25 18:38:05 +0000
committerjlam <jlam>2002-08-25 18:38:05 +0000
commitb28e357f6ee52e603c887fc42483ea19558d4048 (patch)
treed2b31bb9a6a069ebfb63079b9dddde1e6688bc4b /x11/lesstif
parent4d330b06ae2802c2520909a77c9b2b5998f05140 (diff)
downloadpkgsrc-b28e357f6ee52e603c887fc42483ea19558d4048.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/lesstif')
-rw-r--r--x11/lesstif/Makefile5
-rw-r--r--x11/lesstif/PLIST2
-rw-r--r--x11/lesstif/buildlink2.mk23
3 files changed, 26 insertions, 4 deletions
diff --git a/x11/lesstif/Makefile b/x11/lesstif/Makefile
index c8bd1832464..c39b56611af 100644
--- a/x11/lesstif/Makefile
+++ b/x11/lesstif/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.61 2001/10/03 10:03:54 jlam Exp $
+# $NetBSD: Makefile,v 1.62 2002/08/25 18:40:37 jlam Exp $
COMMENT= API compatible clone of the OSF/Motif toolkit
CONFLICTS+= openmotif-[0-9]*
-USE_BUILDLINK_ONLY= # defined
+USE_BUILDLINK2= # defined
.include "Makefile.common"
@@ -36,5 +36,4 @@ pre-install:
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
-.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/lesstif/PLIST b/x11/lesstif/PLIST
index 2031ab1c02f..9118d59c7ed 100644
--- a/x11/lesstif/PLIST
+++ b/x11/lesstif/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2002/05/20 19:11:07 cjep Exp $
+@comment $NetBSD: PLIST,v 1.3 2002/08/25 18:40:38 jlam Exp $
bin/mwm
bin/mxmkmf
bin/uil
diff --git a/x11/lesstif/buildlink2.mk b/x11/lesstif/buildlink2.mk
new file mode 100644
index 00000000000..ba8dc49c174
--- /dev/null
+++ b/x11/lesstif/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:38 jlam Exp $
+
+.if !defined(LESSTIF_BUILDLINK2_MK)
+LESSTIF_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= lesstif
+BUILDLINK_DEPENDS.lesstif?= lesstif>=0.91.4
+BUILDLINK_PKGSRCDIR.lesstif?= ../../x11/lesstif
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.lesstif=lesstif
+BUILDLINK_PREFIX.lesstif_DEFAULT= ${X11PREFIX}
+BUILDLINK_FILES.lesstif= include/Mrm/*
+BUILDLINK_FILES.lesstif+= include/Xm/*
+BUILDLINK_FILES.lesstif+= include/uil/*
+BUILDLINK_FILES.lesstif+= lib/libMrm.*
+BUILDLINK_FILES.lesstif+= lib/libUil.*
+BUILDLINK_FILES.lesstif+= lib/libXm.*
+
+BUILDLINK_TARGETS+= lesstif-buildlink
+
+lesstif-buildlink: _BUILDLINK_USE
+
+.endif # LESSTIF_BUILDLINK2_MK