pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libvideogfx Convert to buildlink3 and fix a s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/365c7b3c733d
branches:  trunk
changeset: 473893:365c7b3c733d
user:      snj <snj%pkgsrc.org@localhost>
date:      Sun Apr 25 01:04:36 2004 +0000

description:
Convert to buildlink3 and fix a spelling error in DESCR.

diffstat:

 graphics/libvideogfx/DESCR         |   2 +-
 graphics/libvideogfx/Makefile      |   8 ++++----
 graphics/libvideogfx/buildlink3.mk |  21 +++++++++++++++++++++
 3 files changed, 26 insertions(+), 5 deletions(-)

diffs (61 lines):

diff -r d27fb70de96e -r 365c7b3c733d graphics/libvideogfx/DESCR
--- a/graphics/libvideogfx/DESCR        Sun Apr 25 00:56:17 2004 +0000
+++ b/graphics/libvideogfx/DESCR        Sun Apr 25 01:04:36 2004 +0000
@@ -4,7 +4,7 @@
 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 -r d27fb70de96e -r 365c7b3c733d graphics/libvideogfx/Makefile
--- a/graphics/libvideogfx/Makefile     Sun Apr 25 00:56:17 2004 +0000
+++ b/graphics/libvideogfx/Makefile     Sun Apr 25 01:04:36 2004 +0000
@@ -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 @@
   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 -r d27fb70de96e -r 365c7b3c733d graphics/libvideogfx/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libvideogfx/buildlink3.mk        Sun Apr 25 01:04:36 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index