diff options
author | jlam <jlam> | 2004-01-03 23:06:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-01-03 23:06:43 +0000 |
commit | 0d6c711ce586532632e1ae1b985d86085faa4580 (patch) | |
tree | 7815453a8a5d5cc91288c15c8c52893726b1e2bc /graphics | |
parent | 7c4feed9a8d4596547ef84ababb069e65e478323 (diff) | |
download | pkgsrc-0d6c711ce586532632e1ae1b985d86085faa4580.tar.gz |
Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/SDL_image/buildlink3.mk | 25 | ||||
-rw-r--r-- | graphics/aalib-x11/buildlink3.mk | 27 | ||||
-rw-r--r-- | graphics/freetype-lib/buildlink3.mk | 21 | ||||
-rw-r--r-- | graphics/gd/buildlink3.mk | 25 | ||||
-rw-r--r-- | graphics/glut/buildlink3.mk | 21 | ||||
-rw-r--r-- | graphics/jpeg/buildlink3.mk | 19 | ||||
-rw-r--r-- | graphics/libungif/buildlink3.mk | 19 | ||||
-rw-r--r-- | graphics/png/buildlink3.mk | 21 | ||||
-rw-r--r-- | graphics/tiff/buildlink3.mk | 22 |
9 files changed, 200 insertions, 0 deletions
diff --git a/graphics/SDL_image/buildlink3.mk b/graphics/SDL_image/buildlink3.mk new file mode 100644 index 00000000000..fbb3c3b54d8 --- /dev/null +++ b/graphics/SDL_image/buildlink3.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +SDL_IMAGE_BUILDLINK3_MK:= ${SDL_IMAGE_BUILDLINK3_MK}+ + +.if !empty(SDL_IMAGE_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.SDL_image?= SDL_image>=1.2.2nb2 +BUILDLINK_PKGSRCDIR.SDL_image?= ../../graphics/SDL_image +.endif # SDL_IMAGE_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= SDL_image +.endif + +.if !empty(SDL_IMAGE_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= SDL_image +BUILDLINK_INCDIRS.SDL_image?= include/SDL + +. include "../../graphics/jpeg/buildlink3.mk" +. include "../../graphics/png/buildlink3.mk" +. include "../../graphics/tiff/buildlink3.mk" +. include "../../devel/SDL/buildlink3.mk" +.endif # SDL_IMAGE_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/graphics/aalib-x11/buildlink3.mk b/graphics/aalib-x11/buildlink3.mk new file mode 100644 index 00000000000..ac1a61750cc --- /dev/null +++ b/graphics/aalib-x11/buildlink3.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +AALIB_X11_BUILDLINK3_MK:= ${AALIB_X11_BUILDLINK3_MK}+ + +.if !empty(AALIB_X11_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.aalib-x11?= aalib-x11>=1.4.0.4nb1 +BUILDLINK_PKGSRCDIR.aalib-x11?= ../../graphics/aalib-x11 +.endif # AALIB_X11_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= aalib-x11 +.endif + +.if !empty(AALIB_X11_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= aalib-x11 + +BUILDLINK_FILES.aalib-x11= include/aalib-x11.h +BUILDLINK_TRANSFORM.aalib-x11+= -e "s|/aalib-x11.h|/aalib.h|g" +BUILDLINK_TRANSFORM+= l:aa:aa-x11 + +AALIB_CONFIG= ${BUILDLINK_PREFIX.aalib-x11}/bin/aalib-x11-config +CONFIGURE_ENV+= AALIB_CONFIG="${AALIB_CONFIG}" +MAKE_ENV+= AALIB_CONFIG="${AALIB_CONFIG}" +.endif # AALIB_X11_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/graphics/freetype-lib/buildlink3.mk b/graphics/freetype-lib/buildlink3.mk new file mode 100644 index 00000000000..cc74e905284 --- /dev/null +++ b/graphics/freetype-lib/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +FREETYPE_BUILDLINK3_MK:= ${FREETYPE_BUILDLINK3_MK}+ + +.if !empty(FREETYPE_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.freetype?= freetype-lib>=1.3.1nb1 +BUILDLINK_PKGSRCDIR.freetype?= ../../graphics/freetype-lib +.endif # FREETYPE_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= freetype +.endif + +.if !empty(FREETYPE_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= freetype + +. include "../../devel/gettext-lib/buildlink3.mk" +.endif # FREETYPE_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/graphics/gd/buildlink3.mk b/graphics/gd/buildlink3.mk new file mode 100644 index 00000000000..865d959f18a --- /dev/null +++ b/graphics/gd/buildlink3.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GD_BUILDLINK3_MK:= ${GD_BUILDLINK3_MK}+ + +.if !empty(GD_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.gd?= gd>=2.0.15 +BUILDLINK_PKGSRCDIR.gd?= ../../graphics/gd +.endif # GD_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= gd +.endif + +.if !empty(GD_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= gd + +. include "../../devel/zlib/buildlink3.mk" +. include "../../graphics/freetype2/buildlink3.mk" +. include "../../graphics/jpeg/buildlink3.mk" +. include "../../graphics/png/buildlink3.mk" +. include "../../graphics/xpm/buildlink3.mk" +.endif # GD_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/graphics/glut/buildlink3.mk b/graphics/glut/buildlink3.mk new file mode 100644 index 00000000000..75ae012bf87 --- /dev/null +++ b/graphics/glut/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GLUT_BUILDLINK3_MK:= ${GLUT_BUILDLINK3_MK}+ + +.if !empty(GLUT_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.glut?= glut>=${MESA_VERSION} +BUILDLINK_PKGSRCDIR.glut?= ../../graphics/glut +.endif # GLUT_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= glut +.endif + +.if !empty(GLUT_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= glut + +. include "../../graphics/MesaLib/buildlink3.mk" +.endif # GLUT_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/graphics/jpeg/buildlink3.mk b/graphics/jpeg/buildlink3.mk new file mode 100644 index 00000000000..16649eb7959 --- /dev/null +++ b/graphics/jpeg/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +JPEG_BUILDLINK3_MK:= ${JPEG_BUILDLINK3_MK}+ + +.if !empty(JPEG_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.jpeg?= jpeg>=6b +BUILDLINK_PKGSRCDIR.jpeg?= ../../graphics/jpeg +.endif # JPEG_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= jpeg +.endif + +.if !empty(JPEG_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= jpeg +.endif # JPEG_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/graphics/libungif/buildlink3.mk b/graphics/libungif/buildlink3.mk new file mode 100644 index 00000000000..fad48c44a93 --- /dev/null +++ b/graphics/libungif/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBUNGIF_BUILDLINK3_MK:= ${LIBUNGIF_BUILDLINK3_MK}+ + +.if !empty(LIBUNGIF_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.libungif?= libungif>=4.1.0 +BUILDLINK_PKGSRCDIR.libungif?= ../../graphics/libungif +.endif # LIBUNGIF_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= libungif +.endif + +.if !empty(LIBUNGIF_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= libungif +.endif # LIBUNGIF_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/graphics/png/buildlink3.mk b/graphics/png/buildlink3.mk new file mode 100644 index 00000000000..0b9894da10b --- /dev/null +++ b/graphics/png/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PNG_BUILDLINK3_MK:= ${PNG_BUILDLINK3_MK}+ + +.if !empty(PNG_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.png?= png>=1.2.4 +BUILDLINK_PKGSRCDIR.png?= ../../graphics/png +.endif # PNG_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= png +.endif + +.if !empty(PNG_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= png + +. include "../../devel/zlib/buildlink3.mk" +.endif # PNG_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} diff --git a/graphics/tiff/buildlink3.mk b/graphics/tiff/buildlink3.mk new file mode 100644 index 00000000000..05bdfa5fdf6 --- /dev/null +++ b/graphics/tiff/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +TIFF_BUILDLINK3_MK:= ${TIFF_BUILDLINK3_MK}+ + +.if !empty(TIFF_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.tiff?= tiff>=3.5.4 +BUILDLINK_PKGSRCDIR.tiff?= ../../graphics/tiff +.endif # TIFF_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= tiff +.endif + +.if !empty(TIFF_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= tiff + +. include "../../devel/zlib/buildlink3.mk" +. include "../../graphics/jpeg/buildlink3.mk" +.endif # TIFF_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} |