summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-02-18 00:13:28 +0000
committerjmmv <jmmv>2004-02-18 00:13:28 +0000
commit8316a1fbe38d1a58f34864924fc42ab4e19085db (patch)
treeb29133d40290d26003a8cee18c02928c2189c08b
parentcae5e1a5fbbb287d85f35d02749477e5c1b8afb6 (diff)
downloadpkgsrc-8316a1fbe38d1a58f34864924fc42ab4e19085db.tar.gz
bl3ify
-rw-r--r--multimedia/mjpegtools/Makefile20
-rw-r--r--multimedia/mjpegtools/buildlink3.mk27
2 files changed, 37 insertions, 10 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile
index 87821b0bba9..97fac744c16 100644
--- a/multimedia/mjpegtools/Makefile
+++ b/multimedia/mjpegtools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/02/14 17:21:45 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2004/02/18 00:13:28 jmmv Exp $
DISTNAME= mjpegtools-1.6.1.93
CATEGORIES= multimedia
@@ -11,7 +11,7 @@ COMMENT= Programs for compressing video streams
DEPENDS+= toolame>=02l:../../audio/toolame
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
@@ -24,15 +24,15 @@ CONFIGURE_ARGS+= --with-lame-includes=${BUILDLINK_PREFIX.lame}
# XXX fix me
CONFIGURE_ARGS+= --without-avifile
-.include "../../audio/lame/buildlink2.mk"
-.include "../../devel/SDL/buildlink2.mk"
-.include "../../graphics/ImageMagick/buildlink2.mk"
-.include "../../graphics/jpeg/buildlink2.mk"
-#.include "../../multimedia/avifile/buildlink2.mk"
+.include "../../audio/lame/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/ImageMagick/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+#.include "../../multimedia/avifile/buildlink3.mk"
# GTK+ support is disabled to avoid a dependency on GTK+ when building GNOME2.
# This only disables the "glav" program. If you really need it, please add an
# external package for it.
-#.include "../../x11/gtk/buildlink2.mk"
-.include "../../mk/ossaudio.buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+#.include "../../x11/gtk/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/mjpegtools/buildlink3.mk b/multimedia/mjpegtools/buildlink3.mk
new file mode 100644
index 00000000000..d9e7e0234af
--- /dev/null
+++ b/multimedia/mjpegtools/buildlink3.mk
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/18 00:13:28 jmmv Exp $
+#
+# This Makefile fragment is included by packages that use mjpegtools.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+MJPEGTOOLS_BUILDLINK3_MK:= ${MJPEGTOOLS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= mjpegtools
+.endif
+
+.if !empty(MJPEGTOOLS_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= mjpegtools
+BUILDLINK_DEPENDS.mjpegtools+= mjpegtools>=1.6.1.90nb3
+BUILDLINK_PKGSRCDIR.mjpegtools?= ../../multimedia/mjpegtools
+
+.include "../../audio/lame/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/ImageMagick/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+
+.endif # MJPEGTOOLS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}