Skip to content

Commit

Permalink
Convert to buildlink3.
Browse files Browse the repository at this point in the history
  • Loading branch information
snj committed May 9, 2004
1 parent c9e5461 commit c73c641
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 56 deletions.
10 changes: 5 additions & 5 deletions graphics/aqsis/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2004/02/01 01:43:29 jlam Exp $
# $NetBSD: Makefile,v 1.14 2004/05/09 00:45:45 snj Exp $
#

DISTNAME= aqsis-0.6.4
Expand All @@ -16,12 +16,12 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
USE_GNU_TOOLS+= make
USE_X11= yes

USE_BUILDLINK2= yes
USE_BUILDLINK3= yes
GCC_REQD+= 2.95.3
USE_GCC_SHLIB= yes

.include "../../devel/libargparse/buildlink2.mk"
.include "../../graphics/Mesa/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../devel/libargparse/buildlink3.mk"
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"
6 changes: 3 additions & 3 deletions graphics/denemo/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2004/03/26 02:27:41 wiz Exp $
# $NetBSD: Makefile,v 1.11 2004/05/09 00:45:45 snj Exp $
#

DISTNAME= denemo-0.5.4
Expand All @@ -13,7 +13,7 @@ COMMENT= GUI musical score editor written in C/GTK+
DEPENDS+= lilypond-[0-9]*:../../print/lilypond

GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
USE_BUILDLINK3= YES

.include "../../x11/gtk/buildlink2.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
8 changes: 4 additions & 4 deletions graphics/giram/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.35 2004/02/14 17:21:41 jlam Exp $
# $NetBSD: Makefile,v 1.36 2004/05/09 00:45:45 snj Exp $
#

DISTNAME= giram-0.3.5
Expand All @@ -13,7 +13,7 @@ COMMENT= Giram Is Really A Modeller
DEPENDS+= povray-[0-9]*:../../graphics/povray
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison

USE_BUILDLINK2= YES
USE_BUILDLINK3= YES
USE_PKGLOCALEDIR= YES
USE_PKGINSTALL= YES
USE_X11= YES
Expand All @@ -39,7 +39,7 @@ CONF_FILES+= ${PREFIX}/share/examples/giram/gtkrc_user \
CONF_FILES+= ${PREFIX}/share/examples/giram/ps-menurc \
${PKG_SYSCONFDIR}/0.3/ps-menurc

.include "../../graphics/lib3ds/buildlink2.mk"
.include "../../x11/gtk2/buildlink2.mk"
.include "../../graphics/lib3ds/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"
4 changes: 2 additions & 2 deletions graphics/p5-GDGraph/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2004/04/29 17:45:45 abs Exp $
# $NetBSD: Makefile,v 1.11 2004/05/09 00:45:45 snj Exp $
#

DISTNAME= GDGraph-1.43
Expand All @@ -13,7 +13,7 @@ COMMENT= GDGraph is a package to generate charts, using Lincoln Stein's GD.pm

DEPENDS+= p5-GDTextUtil>=0.75:../../graphics/p5-GDTextUtil

USE_BUILDLINK2= YES
USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/GD/Graph/.packlist

.include "../../lang/perl5/module.mk"
Expand Down
4 changes: 2 additions & 2 deletions graphics/p5-GDGraph3d/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2004/04/29 19:46:34 abs Exp $
# $NetBSD: Makefile,v 1.7 2004/05/09 00:45:45 snj Exp $

DISTNAME= GDGraph3d-0.56
PKGNAME= p5-${DISTNAME}
Expand All @@ -11,7 +11,7 @@ COMMENT= GDGraph3d is a pkg to generate charts, using Lincoln Stein's GD.pm

DEPENDS+= p5-GDGraph>=1.30:../../graphics/p5-GDGraph

USE_BUILDLINK2= YES
USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/GD/Graph3d/.packlist

.include "../../lang/perl5/module.mk"
Expand Down
4 changes: 2 additions & 2 deletions graphics/p5-GDTextUtil/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2002/10/27 20:49:02 seb Exp $
# $NetBSD: Makefile,v 1.9 2004/05/09 00:45:45 snj Exp $
#

DISTNAME= GDTextUtil-0.80
Expand All @@ -14,7 +14,7 @@ COMMENT= Perl 5 text utilities for use with the GD drawing package

DEPENDS+= p5-GD>=1.30:../../graphics/p5-GD

USE_BUILDLINK2= YES
USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/GD/Text/.packlist

.include "../../lang/perl5/module.mk"
Expand Down
4 changes: 2 additions & 2 deletions graphics/p5-GIFgraph/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2003/07/17 21:42:03 grant Exp $
# $NetBSD: Makefile,v 1.5 2004/05/09 00:45:45 snj Exp $
#

DISTNAME= GIFgraph-1.20
Expand All @@ -15,7 +15,7 @@ COMMENT= GIFgraph is a package to generate graphs, using GD::Graph
DEPENDS+= p5-GDGraph>=1.33:../../graphics/p5-GDGraph
DEPENDS+= p5-PerlMagick>=5.3.9:../../graphics/p5-PerlMagick

USE_BUILDLINK2= YES
USE_BUILDLINK3= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/GIFgraph/.packlist

.include "../../lang/perl5/module.mk"
Expand Down
20 changes: 10 additions & 10 deletions graphics/plplot/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.34 2004/03/08 20:27:14 minskim Exp $
# $NetBSD: Makefile,v 1.35 2004/05/09 00:45:45 snj Exp $

DISTNAME= plplot-5.2.1
CATEGORIES= graphics
Expand All @@ -8,7 +8,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://plplot.sourceforge.net/
COMMENT= Scientific plotting package

USE_BUILDLINK2= # defined
USE_BUILDLINK3= yes
GNU_CONFIGURE= # defined
USE_GNU_TOOLS+= m4 make
USE_FORTRAN= # defined
Expand Down Expand Up @@ -56,13 +56,13 @@ post-patch:
post-install:
cd ${PREFIX}/bin && ${LN} -fs libtool plplot_libtool

.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/gd/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../devel/libtool/buildlink2.mk"
.include "../../x11/tk83/buildlink2.mk"
.include "../../lang/tcl83/buildlink2.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/libtool/buildlink3.mk"
.include "../../x11/tk83/buildlink3.mk"
.include "../../lang/tcl83/buildlink3.mk"
.include "../../mk/autoconf.mk"
.include "../../mk/bsd.pkg.mk"
22 changes: 0 additions & 22 deletions graphics/plplot/buildlink2.mk

This file was deleted.

18 changes: 18 additions & 0 deletions graphics/plplot/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# $NetBSD: buildlink3.mk,v 1.1 2004/05/09 00:45:45 snj Exp $

BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PLPLOT_BUILDLINK3_MK:= ${PLPLOT_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= plplot
.endif

BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nplplot}
BUILDLINK_PACKAGES+= plplot

.if !empty(PLPLOT_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.plplot+= plplot>=5.2.1
BUILDLINK_PKGSRCDIR.plplot?= ../../graphics/plplot
.endif # PLPLOT_BUILDLINK3_MK

BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
10 changes: 6 additions & 4 deletions graphics/yplot/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2004/03/26 02:27:42 wiz Exp $
# $NetBSD: Makefile,v 1.19 2004/05/09 00:45:45 snj Exp $

DISTNAME= yplot-1.1.2
PKGREVISION= 1
Expand All @@ -9,25 +9,27 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://yplot.sourceforge.net/
COMMENT= Yorick interface to PLplot

DEPENDS+= yorick-1.5*:../../math/yorick
DEPENDS+= plplot>=5.0.3:../../graphics/plplot
BUILD_DEPENDS+= teTeX>=1.0:../../print/teTeX

.if (${MACHINE_ARCH} == "sparc64")
BROKEN= Compiling hangs, needs attention.
.endif

USE_BUILDLINK3= yes
CONFIGURE_ENV+= PLPLOT_PREFIX=${BUILDLINK_PREFIX.plplot}
EVAL_PREFIX+= YORICK_PREFIX=yorick
CONFIGURE_ENV+= YORICK_HOME=${YORICK_PREFIX}
CONFIGURE_ENV+= YORICK_SITE=${YORICK_PREFIX}/share/yorick

BUILDLINK_DEPMETHOD.yorick= full

GNU_CONFIGURE= yes
MAKEFILE= Makefile.build

PYTHON_FOR_BUILD_ONLY= yes
PYTHON_PATCH_SCRIPTS= parse_documentation.py

.include "../../graphics/plplot/buildlink2.mk"
.include "../../graphics/plplot/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../math/yorick/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

0 comments on commit c73c641

Please sign in to comment.