From e2afa97f51a1f72e6618533019aaaae07b7d3cf2 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 25 Aug 2002 18:38:05 +0000 Subject: 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. --- graphics/lcms/Makefile | 4 ++-- graphics/lcms/buildlink2.mk | 19 +++++++++++++++++++ graphics/lcms/distinfo | 2 +- graphics/lcms/patches/patch-ab | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 graphics/lcms/buildlink2.mk (limited to 'graphics/lcms') diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile index 36dfba073db..076bb11e976 100644 --- a/graphics/lcms/Makefile +++ b/graphics/lcms/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/01/14 14:43:35 skrll Exp $ +# $NetBSD: Makefile,v 1.4 2002/08/25 18:39:14 jlam Exp $ # FreeBSD: ports/graphics/lcms/Makefile,v 1.2 2000/12/19 15:36:26 sobomax Exp DISTNAME= lcms-1.06 @@ -10,7 +10,7 @@ MAINTAINER= packages@NetBSD.org HOMEPAGE= http://www.littlecms.com/ COMMENT= Light Color Management System -- a color management library -USE_BUILDLINK_ONLY= yes +USE_BUILDLINK2= yes GNU_CONFIGURE= yes USE_LIBTOOL= yes LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig diff --git a/graphics/lcms/buildlink2.mk b/graphics/lcms/buildlink2.mk new file mode 100644 index 00000000000..5f463a19ba0 --- /dev/null +++ b/graphics/lcms/buildlink2.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:14 jlam Exp $ + +.if !defined(LCMS_BUILDLINK2_MK) +LCMS_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= lcms +BUILDLINK_DEPENDS.lcms?= lcms>=1.06 +BUILDLINK_PKGSRCDIR.lcms?= ../../graphics/lcms + +EVAL_PREFIX+= BUILDLINK_PREFIX.lcms=lcms +BUILDLINK_PREFIX.lcms_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.lcms= include/lcms/* +BUILDLINK_FILES.lcms+= lib/liblcms.* + +BUILDLINK_TARGETS+= lcms-buildlink + +lcms-buildlink: _BUILDLINK_USE + +.endif # LCMS_BUILDLINK2_MK diff --git a/graphics/lcms/distinfo b/graphics/lcms/distinfo index 3e5dac3f22e..d6fdd889890 100644 --- a/graphics/lcms/distinfo +++ b/graphics/lcms/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2002/05/14 22:06:56 skrll Exp $ +$NetBSD: distinfo,v 1.7 2002/08/25 18:39:15 jlam Exp $ SHA1 (lcms-1.06.tar.gz) = 3c9e99eb50598a0346c07fb1cacbf6cc4841001b Size (lcms-1.06.tar.gz) = 644116 bytes diff --git a/graphics/lcms/patches/patch-ab b/graphics/lcms/patches/patch-ab index 28bac39388f..27dead078a7 100644 --- a/graphics/lcms/patches/patch-ab +++ b/graphics/lcms/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.6 2002/05/20 17:47:23 cjep Exp $ +$NetBSD: patch-ab,v 1.7 2002/08/25 18:39:15 jlam Exp $ --- source/cmsmtrx.c.orig Thu May 18 23:08:13 2000 +++ source/cmsmtrx.c Tue May 14 22:38:58 2002 @@ -31,6 +31,7 @@ -- cgit v1.2.3