summaryrefslogtreecommitdiff
path: root/graphics/lcms
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-24 00:56:37 +0000
committerjlam <jlam@pkgsrc.org>2004-01-24 00:56:37 +0000
commit5ca5f46442269ac0bc1574bd6323465ae04d0c93 (patch)
tree6b09dbeef104c572731444b3bed74c30e842a4bb /graphics/lcms
parenta761b90eaf14c9a4cd4f8141d72a50e2b24cebc1 (diff)
downloadpkgsrc-5ca5f46442269ac0bc1574bd6323465ae04d0c93.tar.gz
bl3ify
Diffstat (limited to 'graphics/lcms')
-rw-r--r--graphics/lcms/Makefile6
-rw-r--r--graphics/lcms/buildlink3.mk17
2 files changed, 21 insertions, 2 deletions
diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile
index 9181e38ff91..67dc3178490 100644
--- a/graphics/lcms/Makefile
+++ b/graphics/lcms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2003/10/31 19:09:14 reed Exp $
+# $NetBSD: Makefile,v 1.8 2004/01/24 00:56:37 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,9 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.littlecms.com/
COMMENT= Light Color Management System -- a color management library
-USE_BUILDLINK2= yes
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
diff --git a/graphics/lcms/buildlink3.mk b/graphics/lcms/buildlink3.mk
new file mode 100644
index 00000000000..45717d7d9b2
--- /dev/null
+++ b/graphics/lcms/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/24 00:56:37 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LCMS_BUILDLINK3_MK:= ${LCMS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= lcms
+.endif
+
+.if !empty(LCMS_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= lcms
+BUILDLINK_DEPENDS.lcms?= lcms>=1.06
+BUILDLINK_PKGSRCDIR.lcms?= ../../graphics/lcms
+BUILDLINK_INCDIRS.lcms?= include/lcms
+.endif # LCMS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}