pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics Convert to buildlink3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b52e966a7dd9
branches: trunk
changeset: 473172:b52e966a7dd9
user: snj <snj%pkgsrc.org@localhost>
date: Sat Apr 17 01:14:19 2004 +0000
description:
Convert to buildlink3.
diffstat:
graphics/gnuplot-nox11/Makefile | 14 +++++++-------
graphics/plotutils-nox11/Makefile | 6 +++---
graphics/plotutils-nox11/buildlink2.mk | 24 ------------------------
graphics/plotutils-nox11/buildlink3.mk | 20 ++++++++++++++++++++
4 files changed, 30 insertions(+), 34 deletions(-)
diffs (114 lines):
diff -r 749c564e2a47 -r b52e966a7dd9 graphics/gnuplot-nox11/Makefile
--- a/graphics/gnuplot-nox11/Makefile Sat Apr 17 00:58:42 2004 +0000
+++ b/graphics/gnuplot-nox11/Makefile Sat Apr 17 01:14:19 2004 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2003/08/09 10:53:29 seb Exp $
+# $NetBSD: Makefile,v 1.5 2004/04/17 01:14:19 snj Exp $
#
DISTNAME= gnuplot-3.7.3
+PKGNAME= ${DISTNAME:C/-/-nox11-/}
SVR4_PKGNAME= gplot
-PKGNAME= ${DISTNAME:C/-/-nox11-/}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot/} \
ftp://ftp.ucc.ie/pub/gnuplot/ \
@@ -15,7 +15,7 @@
CONFLICTS+= gnuplot-[0-9]*
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
# because of missing rl_complete_with_tilde_expansion and rl_terminal_name
USE_GNU_READLINE= YES
GNU_CONFIGURE= YES
@@ -27,8 +27,8 @@
CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
CONFIGURE_ARGS+= --without-x
-.include "../../devel/readline/buildlink2.mk"
-.include "../../graphics/plotutils-nox11/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
-.include "../../print/pdflib/buildlink2.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../graphics/plotutils-nox11/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../print/pdflib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 749c564e2a47 -r b52e966a7dd9 graphics/plotutils-nox11/Makefile
--- a/graphics/plotutils-nox11/Makefile Sat Apr 17 00:58:42 2004 +0000
+++ b/graphics/plotutils-nox11/Makefile Sat Apr 17 01:14:19 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/04/03 09:29:58 heinz Exp $
+# $NetBSD: Makefile,v 1.8 2004/04/17 01:14:19 snj Exp $
#
DISTNAME= plotutils-2.4.1
@@ -15,7 +15,7 @@
DISTINFO_FILE= ${.CURDIR}/../../graphics/plotutils/distinfo
PATCHDIR= ${.CURDIR}/../../graphics/plotutils/patches
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_GCC_SHLIB= yes
INFO_FILES= plotutils.info
@@ -29,5 +29,5 @@
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig ${WRKSRC}/libxmi/ltconfig
-.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 749c564e2a47 -r b52e966a7dd9 graphics/plotutils-nox11/buildlink2.mk
--- a/graphics/plotutils-nox11/buildlink2.mk Sat Apr 17 00:58:42 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1 2003/06/07 17:39:24 jschauma Exp $
-
-.if !defined(PLOTUTILS_BUILDLINK2_MK)
-PLOTUTILS_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= plotutils-nox11
-BUILDLINK_DEPENDS.plotutils-nox11?= plotutils-nox11>=2.4.1
-BUILDLINK_PKGSRCDIR.plotutils-nox11?= ../../graphics/plotutils-nox11
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.plotutils=plotutils
-BUILDLINK_PREFIX.plotutils-nox11_DEFAULT= ${PREFIX}
-BUILDLINK_FILES.plotutils-nox11+= include/plot.h
-BUILDLINK_FILES.plotutils-nox11+= include/plotcompat.h
-BUILDLINK_FILES.plotutils-nox11+= include/plotter.h
-BUILDLINK_FILES.plotutils-nox11+= lib/libplot.*
-BUILDLINK_FILES.plotutils-nox11+= lib/libplotter.*
-
-.include "../../graphics/png/buildlink2.mk"
-
-BUILDLINK_TARGETS+= plotutils-nox11-buildlink
-
-plotutils-nox11-buildlink: _BUILDLINK_USE
-
-.endif # PLOTUTILS_BUILDLINK2_MK
diff -r 749c564e2a47 -r b52e966a7dd9 graphics/plotutils-nox11/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/plotutils-nox11/buildlink3.mk Sat Apr 17 01:14:19 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/17 01:14:19 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PLOTUTILS_NOX11_BUILDLINK3_MK:= ${PLOTUTILS_NOX11_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= plotutils-nox11
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nplotutils-nox11}
+BUILDLINK_PACKAGES+= plotutils-nox11
+
+.if !empty(PLOTUTILS_NOX11_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.plotutils-nox11+= plotutils-nox11>=2.4.1
+BUILDLINK_PKGSRCDIR.plotutils-nox11?= ../../graphics/plotutils-nox11
+.endif # PLOTUTILS_NOX11_BUILDLINK3_MK
+
+.include "../../graphics/png/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
Home |
Main Index |
Thread Index |
Old Index