summaryrefslogtreecommitdiff
path: root/graphics/libvideogfx
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-25 01:04:36 +0000
committersnj <snj@pkgsrc.org>2004-04-25 01:04:36 +0000
commit7b2064a6ae7c524da42f9af2c8dd1a0e5cf520bd (patch)
tree5d4c27d1ed5497d322d6268a20fac24890ca78ec /graphics/libvideogfx
parent1e7040b1996a50641113f51137e44e44f0465b68 (diff)
downloadpkgsrc-7b2064a6ae7c524da42f9af2c8dd1a0e5cf520bd.tar.gz
Convert to buildlink3 and fix a spelling error in DESCR.
Diffstat (limited to 'graphics/libvideogfx')
-rw-r--r--graphics/libvideogfx/DESCR2
-rw-r--r--graphics/libvideogfx/Makefile8
-rw-r--r--graphics/libvideogfx/buildlink3.mk21
3 files changed, 26 insertions, 5 deletions
diff --git a/graphics/libvideogfx/DESCR b/graphics/libvideogfx/DESCR
index 2de11659357..d6cf82b976d 100644
--- a/graphics/libvideogfx/DESCR
+++ b/graphics/libvideogfx/DESCR
@@ -4,7 +4,7 @@ by providing high-level classes for commonly required tasks. The library
comprises support for:
basic image data classes
- color-space convertion for RGB, YUV, HSV
+ color-space conversion for RGB, YUV, HSV
drawing primitives (lines, circles, ...)
image manipulation (scaling, pixel-ops, convolution)
file-IO (ppm, yuv, jpeg, png, mpeg, V4L-grabbing)
diff --git a/graphics/libvideogfx/Makefile b/graphics/libvideogfx/Makefile
index 96a6d86949c..33d56af414a 100644
--- a/graphics/libvideogfx/Makefile
+++ b/graphics/libvideogfx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/02/14 17:21:43 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2004/04/25 01:04:36 snj Exp $
#
DISTNAME= libvideogfx-1.0.3
@@ -11,11 +11,11 @@ HOMEPAGE= \
http://rachmaninoff.informatik.uni-mannheim.de/libvideogfx/index.html
COMMENT= C++ library for low-level video processing
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
USE_X11= yes
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libvideogfx/buildlink3.mk b/graphics/libvideogfx/buildlink3.mk
new file mode 100644
index 00000000000..ee3921c4fa9
--- /dev/null
+++ b/graphics/libvideogfx/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 01:04:36 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBVIDEOGFX_BUILDLINK3_MK:= ${LIBVIDEOGFX_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libvideogfx
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibvideogfx}
+BUILDLINK_PACKAGES+= libvideogfx
+
+.if !empty(LIBVIDEOGFX_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libvideogfx+= libvideogfx>=1.0.3
+BUILDLINK_PKGSRCDIR.libvideogfx?= ../../graphics/libvideogfx
+.endif # LIBVIDEOGFX_BUILDLINK3_MK
+
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}