diff options
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/ogmtools/Makefile | 63 | ||||
-rw-r--r-- | graphics/ogmtools/distinfo | 1 | ||||
-rw-r--r-- | graphics/ogmtools/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/ogmtools/pkg-descr | 7 | ||||
-rw-r--r-- | graphics/ogmtools/pkg-plist | 5 | ||||
-rw-r--r-- | multimedia/ogmtools/Makefile | 63 | ||||
-rw-r--r-- | multimedia/ogmtools/distinfo | 1 | ||||
-rw-r--r-- | multimedia/ogmtools/pkg-comment | 1 | ||||
-rw-r--r-- | multimedia/ogmtools/pkg-descr | 7 | ||||
-rw-r--r-- | multimedia/ogmtools/pkg-plist | 5 |
11 files changed, 155 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index c096775..decaae1 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -250,6 +250,7 @@ SUBDIR += ocaml-lablgl SUBDIR += ogle SUBDIR += ogle-gui + SUBDIR += ogmtools SUBDIR += okle SUBDIR += opendis SUBDIR += opendx diff --git a/graphics/ogmtools/Makefile b/graphics/ogmtools/Makefile new file mode 100644 index 0000000..90cf911 --- /dev/null +++ b/graphics/ogmtools/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: ogmtools +# Date created: Sun Oct 20 13:06:13 UTC 2002 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ogmtools +PORTVERSION= 0.9.51 +CATEGORIES= graphics audio +MASTER_SITES= http://www.bunkus.org/videotools/ogmtools/ +DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.{2})$/\1/} + +MAINTAINER= lioux@FreeBSD.org + +LIB_DEPENDS= ogg.4:${PORTSDIR}/audio/libogg \ + vorbis.2:${PORTSDIR}/audio/libvorbis \ + vorbisenc.2:${PORTSDIR}/audio/libvorbis + +USE_BZIP2= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-ogg-prefix=${LOCALBASE} \ + --with-vorbis-prefix=${LOCALBASE} + +MAN1= ogmdemux.1 ogminfo.1 ogmmerge.1 ogmsplit.1 + +post-configure: +# disable GNU auto* tools + @${FIND} ${WRKSRC} -type f -name "Makefile" | ${XARGS} \ + -n 10 ${REINPLACE_CMD} -E -e \ + 's! (autoconf|autoheader|automake|aclocal)(-1.6)?$$! ${TRUE}!' +# malloc.h -> stdlib.h + @${FIND} ${WRKSRC} -type f | ${XARGS} \ + -n 10 ${REINPLACE_CMD} -E -e \ + 's!malloc.h!stdlib.h!' + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/libdvdread.so.2) +WITH_DVDREAD=yes +.endif + +.ifdef(WITH_DVDREAD) +LIB_DEPENDS+= dvdread.2:${PORTSDIR}/graphics/libdvdread + +CONFIGURE_ARGS+= --with-dvdread \ + --with-dvdread-includes=${LOCALBASE} \ + --with-dvdread-libs=${LOCALBASE} +PLIST_SUB+= WITH_DVDREAD="" + +MAN1+= dvdxchap.1 +.else +CONFIGURE_ARGS+= --without-dvdread +PLIST_SUB+= WITH_DVDREAD="@comment " +.endif + +pre-everything:: +.ifndef(WITH_DVDREAD) + @${ECHO_MSG} "===> Define WITH_DVDREAD in order to be able to 'Extract chapter information from DVDs'" +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/ogmtools/distinfo b/graphics/ogmtools/distinfo new file mode 100644 index 0000000..af278c5 --- /dev/null +++ b/graphics/ogmtools/distinfo @@ -0,0 +1 @@ +MD5 (ogmtools-0.951.tar.bz2) = cef71ba4434a5fc47fe1f7bed198c11c diff --git a/graphics/ogmtools/pkg-comment b/graphics/ogmtools/pkg-comment new file mode 100644 index 0000000..7274465 --- /dev/null +++ b/graphics/ogmtools/pkg-comment @@ -0,0 +1 @@ +Tools to extract from/get info about/create OGG media streams diff --git a/graphics/ogmtools/pkg-descr b/graphics/ogmtools/pkg-descr new file mode 100644 index 0000000..4f44102 --- /dev/null +++ b/graphics/ogmtools/pkg-descr @@ -0,0 +1,7 @@ +[ excerpt (with adaptations) from developer's website ] + +These tools allow information about (ogminfo) or extraction from +(ogmdemux) or creation of (ogmmerge) OGG media streams. Note that +I'll use OGM for "OGG media streams". + +WWW: http://www.bunkus.org/videotools/ogmtools/ diff --git a/graphics/ogmtools/pkg-plist b/graphics/ogmtools/pkg-plist new file mode 100644 index 0000000..6297275 --- /dev/null +++ b/graphics/ogmtools/pkg-plist @@ -0,0 +1,5 @@ +%%WITH_DVDREAD%%bin/dvdxchap +bin/ogmdemux +bin/ogminfo +bin/ogmmerge +bin/ogmsplit diff --git a/multimedia/ogmtools/Makefile b/multimedia/ogmtools/Makefile new file mode 100644 index 0000000..90cf911 --- /dev/null +++ b/multimedia/ogmtools/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: ogmtools +# Date created: Sun Oct 20 13:06:13 UTC 2002 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ogmtools +PORTVERSION= 0.9.51 +CATEGORIES= graphics audio +MASTER_SITES= http://www.bunkus.org/videotools/ogmtools/ +DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.{2})$/\1/} + +MAINTAINER= lioux@FreeBSD.org + +LIB_DEPENDS= ogg.4:${PORTSDIR}/audio/libogg \ + vorbis.2:${PORTSDIR}/audio/libvorbis \ + vorbisenc.2:${PORTSDIR}/audio/libvorbis + +USE_BZIP2= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-ogg-prefix=${LOCALBASE} \ + --with-vorbis-prefix=${LOCALBASE} + +MAN1= ogmdemux.1 ogminfo.1 ogmmerge.1 ogmsplit.1 + +post-configure: +# disable GNU auto* tools + @${FIND} ${WRKSRC} -type f -name "Makefile" | ${XARGS} \ + -n 10 ${REINPLACE_CMD} -E -e \ + 's! (autoconf|autoheader|automake|aclocal)(-1.6)?$$! ${TRUE}!' +# malloc.h -> stdlib.h + @${FIND} ${WRKSRC} -type f | ${XARGS} \ + -n 10 ${REINPLACE_CMD} -E -e \ + 's!malloc.h!stdlib.h!' + +.include <bsd.port.pre.mk> + +.if exists(${LOCALBASE}/lib/libdvdread.so.2) +WITH_DVDREAD=yes +.endif + +.ifdef(WITH_DVDREAD) +LIB_DEPENDS+= dvdread.2:${PORTSDIR}/graphics/libdvdread + +CONFIGURE_ARGS+= --with-dvdread \ + --with-dvdread-includes=${LOCALBASE} \ + --with-dvdread-libs=${LOCALBASE} +PLIST_SUB+= WITH_DVDREAD="" + +MAN1+= dvdxchap.1 +.else +CONFIGURE_ARGS+= --without-dvdread +PLIST_SUB+= WITH_DVDREAD="@comment " +.endif + +pre-everything:: +.ifndef(WITH_DVDREAD) + @${ECHO_MSG} "===> Define WITH_DVDREAD in order to be able to 'Extract chapter information from DVDs'" +.endif + +.include <bsd.port.post.mk> diff --git a/multimedia/ogmtools/distinfo b/multimedia/ogmtools/distinfo new file mode 100644 index 0000000..af278c5 --- /dev/null +++ b/multimedia/ogmtools/distinfo @@ -0,0 +1 @@ +MD5 (ogmtools-0.951.tar.bz2) = cef71ba4434a5fc47fe1f7bed198c11c diff --git a/multimedia/ogmtools/pkg-comment b/multimedia/ogmtools/pkg-comment new file mode 100644 index 0000000..7274465 --- /dev/null +++ b/multimedia/ogmtools/pkg-comment @@ -0,0 +1 @@ +Tools to extract from/get info about/create OGG media streams diff --git a/multimedia/ogmtools/pkg-descr b/multimedia/ogmtools/pkg-descr new file mode 100644 index 0000000..4f44102 --- /dev/null +++ b/multimedia/ogmtools/pkg-descr @@ -0,0 +1,7 @@ +[ excerpt (with adaptations) from developer's website ] + +These tools allow information about (ogminfo) or extraction from +(ogmdemux) or creation of (ogmmerge) OGG media streams. Note that +I'll use OGM for "OGG media streams". + +WWW: http://www.bunkus.org/videotools/ogmtools/ diff --git a/multimedia/ogmtools/pkg-plist b/multimedia/ogmtools/pkg-plist new file mode 100644 index 0000000..6297275 --- /dev/null +++ b/multimedia/ogmtools/pkg-plist @@ -0,0 +1,5 @@ +%%WITH_DVDREAD%%bin/dvdxchap +bin/ogmdemux +bin/ogminfo +bin/ogmmerge +bin/ogmsplit |