pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f5acbae2839f
branches:  trunk
changeset: 466866:f5acbae2839f
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Jan 24 00:56:37 2004 +0000

description:
bl3ify

diffstat:

 graphics/lcms/Makefile      |   6 ++++--
 graphics/lcms/buildlink3.mk |  17 +++++++++++++++++
 graphics/mng/Makefile       |  12 +++++++-----
 graphics/mng/buildlink3.mk  |  20 ++++++++++++++++++++
 4 files changed, 48 insertions(+), 7 deletions(-)

diffs (97 lines):

diff -r da4b83f20a8c -r f5acbae2839f graphics/lcms/Makefile
--- a/graphics/lcms/Makefile    Sat Jan 24 00:38:23 2004 +0000
+++ b/graphics/lcms/Makefile    Sat Jan 24 00:56:37 2004 +0000
@@ -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 @@
 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 -r da4b83f20a8c -r f5acbae2839f graphics/lcms/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/lcms/buildlink3.mk       Sat Jan 24 00:56:37 2004 +0000
@@ -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/+$//}
diff -r da4b83f20a8c -r f5acbae2839f graphics/mng/Makefile
--- a/graphics/mng/Makefile     Sat Jan 24 00:38:23 2004 +0000
+++ b/graphics/mng/Makefile     Sat Jan 24 00:56:37 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2003/07/17 21:41:44 grant Exp $
+# $NetBSD: Makefile,v 1.13 2004/01/24 00:59:26 jlam Exp $
 
 DISTNAME=      libmng-1.0.5
 PKGNAME=       ${DISTNAME:S/lib//}
@@ -11,7 +11,9 @@
 HOMEPAGE=      http://www.libmng.com/
 COMMENT=       Multiple-image Network Graphics (MNG) reference library
 
-USE_BUILDLINK2=                yes
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_BUILDLINK3=                yes
 GNU_CONFIGURE=         yes
 USE_LIBTOOL=           yes
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
@@ -31,8 +33,8 @@
        cd ${WRKSRC}/doc/man && \
                ${INSTALL_MAN} jng.5 mng.5 ${PREFIX}/man/man5
 
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/lcms/buildlink2.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/lcms/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r da4b83f20a8c -r f5acbae2839f graphics/mng/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/mng/buildlink3.mk        Sat Jan 24 00:56:37 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/24 00:59:26 jlam Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+MNG_BUILDLINK3_MK:=    ${MNG_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    mng
+.endif
+
+.if !empty(MNG_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=           mng
+BUILDLINK_DEPENDS.mng?=                mng>=1.0.0
+BUILDLINK_PKGSRCDIR.mng?=      ../../graphics/mng
+
+.  include "../../devel/zlib/buildlink3.mk"
+.  include "../../graphics/jpeg/buildlink3.mk"
+.  include "../../graphics/lcms/buildlink3.mk"
+.endif # MNG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index