pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/gnome-print Convert to buildlink3 framework.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23cb27f59a94
branches:  trunk
changeset: 471629:23cb27f59a94
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Mar 29 18:11:14 2004 +0000

description:
Convert to buildlink3 framework.

diffstat:

 print/gnome-print/Makefile      |  13 ++++++-------
 print/gnome-print/buildlink3.mk |  23 +++++++++++++++++++++++
 2 files changed, 29 insertions(+), 7 deletions(-)

diffs (60 lines):

diff -r 96e01c82ad96 -r 23cb27f59a94 print/gnome-print/Makefile
--- a/print/gnome-print/Makefile        Mon Mar 29 18:08:33 2004 +0000
+++ b/print/gnome-print/Makefile        Mon Mar 29 18:11:14 2004 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2004/03/16 14:04:44 tron Exp $
-#
+# $NetBSD: Makefile,v 1.63 2004/03/29 18:11:14 tron Exp $
 
 DISTNAME=              gnome-print-0.36
 PKGREVISION=           4
@@ -10,7 +9,7 @@
 HOMEPAGE=              http://www.levien.com/gnome/print-arch.html
 COMMENT=               Prototype implementation of the Gnome Printing Architecture
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_PKGLOCALEDIR=      YES
 USE_X11=               YES
 USE_LIBTOOL=           YES
@@ -21,9 +20,9 @@
 # override HOME to avoid trying to install ${HOME}/.gnome
 MAKE_ENV+=             HOME=${WRKSRC}
 
-.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../graphics/gdk-pixbuf-gnome/buildlink2.mk"
-.include "../../textproc/libunicode/buildlink2.mk"
-.include "../../textproc/libxml/buildlink2.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf-gnome/buildlink3.mk"
+.include "../../textproc/libunicode/buildlink3.mk"
+.include "../../textproc/libxml/buildlink3.mk"
 .include "../../mk/ghostscript.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 96e01c82ad96 -r 23cb27f59a94 print/gnome-print/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/gnome-print/buildlink3.mk   Mon Mar 29 18:11:14 2004 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/29 18:11:14 tron Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+GNOME_PRINT_BUILDLINK3_MK:=    ${GNOME_PRINT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    gnome-print
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Ngnome-print}
+BUILDLINK_PACKAGES+=   gnome-print
+
+.if !empty(GNOME_PRINT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gnome-print+=        gnome-print>=0.36nb4
+BUILDLINK_PKGSRCDIR.gnome-print?=      ../../print/gnome-print
+.endif # GNOME_PRINT_BUILDLINK3_MK
+
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf-gnome/buildlink3.mk"
+.include "../../textproc/libunicode/buildlink3.mk"
+.include "../../textproc/libxml/buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index