summaryrefslogtreecommitdiff
path: root/x11/lesstif12
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/lesstif12
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/lesstif12')
-rw-r--r--x11/lesstif12/Makefile5
-rw-r--r--x11/lesstif12/buildlink2.mk24
2 files changed, 26 insertions, 3 deletions
diff --git a/x11/lesstif12/Makefile b/x11/lesstif12/Makefile
index 47bc8c5de45..ccee4a8ab66 100644
--- a/x11/lesstif12/Makefile
+++ b/x11/lesstif12/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/09/14 01:57:44 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2002/08/25 18:40:39 jlam Exp $
PKGNAME= lesstif12-${LESSTIF_VERSION}
COMMENT= API compatible clone of the OSF/Motif toolkit, version 1.2
@@ -7,7 +7,7 @@ CONFLICTS+= lesstif-0.[0-8]*
CONFLICTS+= lesstif-0.90*
CONFLICTS+= lesstif-0.91 lesstif-0.91.[0-3]
-USE_BUILDLINK_ONLY= # defined
+USE_BUILDLINK2= # defined
.include "../lesstif/Makefile.common"
@@ -22,5 +22,4 @@ CONFIGURE_ARGS+= --enable-default-12
post-install:
${RMDIR} -p ${PREFIX}/share/doc/html/lesstif 2> /dev/null || ${TRUE}
-.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/lesstif12/buildlink2.mk b/x11/lesstif12/buildlink2.mk
new file mode 100644
index 00000000000..ed5ee4bbf33
--- /dev/null
+++ b/x11/lesstif12/buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:39 jlam Exp $
+
+.if !defined(LESSTIF12_BUILDLINK2_MK)
+LESSTIF12_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= lesstif12
+BUILDLINK_DEPENDS.lesstif12?= lesstif12>=0.91.4
+BUILDLINK_PKGSRCDIR.lesstif12?= ../../x11/lesstif12
+
+EVAL_PREFIX+= _LESSTIF12_PREFIX=lesstif12
+_LESSTIF12_PREFIX_DEFAULT= ${X11PREFIX}
+BUILDLINK_PREFIX.lesstif12= ${_LESSTIF12_PREFIX}/LessTif/Motif1.2
+BUILDLINK_FILES.lesstif12= include/Mrm/*
+BUILDLINK_FILES.lesstif12+= include/Xm/*
+BUILDLINK_FILES.lesstif12+= include/uil/*
+BUILDLINK_FILES.lesstif12+= lib/libMrm.*
+BUILDLINK_FILES.lesstif12+= lib/libUil.*
+BUILDLINK_FILES.lesstif12+= lib/libXm.*
+
+BUILDLINK_TARGETS+= lesstif12-buildlink
+
+lesstif12-buildlink: _BUILDLINK_USE
+
+.endif # LESSTIF12_BUILDLINK2_MK