[Midnightbsd-cvs] mports: mports/multimedia:

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Aug 13 14:17:50 EDT 2008


Log Message:
-----------


Modified Files:
--------------
    mports/multimedia:
        Makefile (r1.40 -> r1.41)

Added Files:
-----------
    mports/multimedia/linux-divx4linux:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/multimedia/Makefile,v
retrieving revision 1.40
retrieving revision 1.41
diff -L multimedia/Makefile -L multimedia/Makefile -u -r1.40 -r1.41
--- multimedia/Makefile
+++ multimedia/Makefile
@@ -30,6 +30,7 @@
     SUBDIR += libmpeg2
     SUBDIR += libtheora
     SUBDIR += libxine
+    SUBDIR += linux-divx4linux
     SUBDIR += linux-realplayer
     SUBDIR += mpeg2codec
     SUBDIR += mpeg4ip-libmp4v2
--- /dev/null
+++ multimedia/linux-divx4linux/pkg-descr
@@ -0,0 +1,12 @@
+[excerpt from DivX (TM) site]
+
+The center of DivX MPEG-4 Codec is the DivX codec core. It is the
+engine of the codec. The codec core processes either the video
+image or MPEG-4 bitstream, and it uses the compression and
+decompression to convert information between the formats. The codec
+core includes two parts - an encoder (that compresses the video
+image into MPEG-4 bitstreams) and a decoder (that decompresses the
+MPEG-4 bitstream back into video images). The encoder core is named
+"encore", and the decoder core "decore".
+
+WWW: http://www.divx.com/
--- /dev/null
+++ multimedia/linux-divx4linux/pkg-plist
@@ -0,0 +1,12 @@
+%%PORTDOCS%%usr/share/doc/%%PKGNAME%%/DivX MPEG-4 Codec and Its Interface.htm
+usr/include/divx/decore.h
+usr/include/divx/encore2.h
+usr/include/divx/portab.h
+usr/lib/libdivxdecore.so
+usr/lib/libdivxdecore.so.0
+usr/lib/libdivxencore.so
+usr/lib/libdivxencore.so.0
+ at dirrm usr/include/divx
+%%PORTDOCS%%@dirrm usr/share/doc/%%PKGNAME%%
+ at exec %D/sbin/ldconfig
+ at unexec %D/sbin/ldconfig
--- /dev/null
+++ multimedia/linux-divx4linux/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for:	divx4linux
+# Date created:				Mon Sep 24 15:40:14 BRT 2001
+# Whom:			Mario Sergio Fujikawa Ferreira <lioux at FreeBSD.org>
+#
+# $MidnightBSD: mports/multimedia/linux-divx4linux/Makefile,v 1.1 2008/08/13 18:17:47 laffer1 Exp $
+# $FreeBSD: ports/multimedia/linux-divx4linux/Makefile,v 1.19 2007/04/01 07:50:28 lioux Exp $
+#
+
+PORTNAME=	divx4linux
+PORTVERSION=	5.0.${RELEASE_DATE}
+PORTREVISION=	3
+CATEGORIES=	multimedia linux
+MASTER_SITES=	http://download.divx.com/divx/
+PKGNAMEPREFIX=	linux-
+DISTNAME=	${PORTNAME}-std-${RELEASE_DATE}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Linux binary release of DivX (TM) Codec
+LICENSE=	restricted
+
+RESTRICTED=	unsure of licensing issues
+
+ONLY_FOR_ARCHS=	i386 amd64
+USE_LINUX_PREFIX=	yes
+USE_LINUX=	yes
+WRKSRC=	${WRKDIR}/${PORTNAME}-${RELEASE_DATE}
+NO_BUILD=	yes
+PLIST_SUB=	PKGNAME="${PKGNAME}"
+
+DOC_EXT=	htm
+RELEASE_DATE=	20030428
+
+post-patch:
+.for ext in ${DOC_EXT}
+	@${REINPLACE_CMD} -e "s/
//" ${WRKSRC}/*.${ext}
+.endfor
+
+do-install:
+.ifndef(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/usr/share/doc/${PKGNAME}
+.for ext in ${DOC_EXT}
+	@${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/usr/share/doc/${PKGNAME}
+.endfor
+.endif
+# Header file installation
+	@${MKDIR} ${PREFIX}/usr/include/divx
+	@${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/usr/include/divx
+# Library installation
+	@${INSTALL_DATA} ${WRKSRC}/*.so ${PREFIX}/usr/lib
+	( cd ${PREFIX}/usr/lib; ${LN} -s libdivxencore.so libdivxencore.so.0 )
+	( cd ${PREFIX}/usr/lib; ${LN} -s libdivxdecore.so libdivxdecore.so.0 )
+
+.include <bsd.port.mk>
--- /dev/null
+++ multimedia/linux-divx4linux/distinfo
@@ -0,0 +1,3 @@
+MD5 (divx4linux-std-20030428.tar.gz) = 6332d98ad949a40c588681acbf4078f4
+SHA256 (divx4linux-std-20030428.tar.gz) = 5880e6ada7b5fce3d0a58359bd255b422edc0660ea9a17ef12a11bf47f7c80bf
+SIZE (divx4linux-std-20030428.tar.gz) = 414838


More information about the Midnightbsd-cvs mailing list