aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/linux-divx4linux
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-09-25 02:42:50 +0800
committerlioux <lioux@FreeBSD.org>2001-09-25 02:42:50 +0800
commit9b4136e9bfdf52878972a6771edda350b088790e (patch)
treef9bd930280aedd52bd19ef16521885041e83a5af /multimedia/linux-divx4linux
parent2c10c21071a27bad713aade76aecca70e78ed688 (diff)
downloadfreebsd-ports-graphics-9b4136e9bfdf52878972a6771edda350b088790e.tar.gz
freebsd-ports-graphics-9b4136e9bfdf52878972a6771edda350b088790e.tar.zst
freebsd-ports-graphics-9b4136e9bfdf52878972a6771edda350b088790e.zip
o New port divx4linux version 0.20010824: Linux binary release of
DivX (TM) Codec o Marked RESTRICTED waiting for license clarification
Diffstat (limited to 'multimedia/linux-divx4linux')
-rw-r--r--multimedia/linux-divx4linux/Makefile46
-rw-r--r--multimedia/linux-divx4linux/distinfo1
-rw-r--r--multimedia/linux-divx4linux/pkg-comment1
-rw-r--r--multimedia/linux-divx4linux/pkg-descr12
-rw-r--r--multimedia/linux-divx4linux/pkg-plist12
5 files changed, 72 insertions, 0 deletions
diff --git a/multimedia/linux-divx4linux/Makefile b/multimedia/linux-divx4linux/Makefile
new file mode 100644
index 00000000000..d0b8212e200
--- /dev/null
+++ b/multimedia/linux-divx4linux/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: divx4linux
+# Date created: Mon Sep 24 15:40:14 BRT 2001
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= divx4linux
+PORTVERSION= 0.${RELEASE_DATE}
+CATEGORIES= graphics linux
+MASTER_SITES= http://download3.divx.com/videocodecs/linux/
+DISTNAME= ${PORTNAME}-${PORTVERSION:E}
+
+MAINTAINER= lioux@FreeBSD.org
+
+RESTRICTED= unsure of licensing issues
+
+ONLY_FOR_ARCHS= i386
+USE_ZIP= yes
+USE_LINUX_PREFIX= yes
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+PLIST_SUB= PKGNAME="${PKGNAME}"
+
+RELEASE_DATE= 20010824
+
+post-patch:
+.for ext in h linux txt
+ @${PERL} -pi -e "s/ //" ${WRKSRC}/*.${ext}
+.endfor
+
+do-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/usr/doc/${PKGNAME}
+.for ext in linux txt
+ @${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/usr/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
+ @${LINUXBASE}/sbin/ldconfig
+
+.include <bsd.port.mk>
diff --git a/multimedia/linux-divx4linux/distinfo b/multimedia/linux-divx4linux/distinfo
new file mode 100644
index 00000000000..d9cbc36b68a
--- /dev/null
+++ b/multimedia/linux-divx4linux/distinfo
@@ -0,0 +1 @@
+MD5 (divx4linux-20010824.zip) = e9e92fe3e754d3d1ca47c12d11b0ea70
diff --git a/multimedia/linux-divx4linux/pkg-comment b/multimedia/linux-divx4linux/pkg-comment
new file mode 100644
index 00000000000..3e39dea362f
--- /dev/null
+++ b/multimedia/linux-divx4linux/pkg-comment
@@ -0,0 +1 @@
+Linux binary release of DivX (TM) Codec
diff --git a/multimedia/linux-divx4linux/pkg-descr b/multimedia/linux-divx4linux/pkg-descr
new file mode 100644
index 00000000000..d51a8e742d8
--- /dev/null
+++ b/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/
diff --git a/multimedia/linux-divx4linux/pkg-plist b/multimedia/linux-divx4linux/pkg-plist
new file mode 100644
index 00000000000..e0ce87d5502
--- /dev/null
+++ b/multimedia/linux-divx4linux/pkg-plist
@@ -0,0 +1,12 @@
+%%PORTDOCS%%usr/doc/%%PKGNAME%%/Codec Core Interface.txt
+%%PORTDOCS%%usr/doc/%%PKGNAME%%/license.txt
+%%PORTDOCS%%usr/doc/%%PKGNAME%%/RELNOTES.linux
+usr/include/divx/decore.h
+usr/include/divx/encore2.h
+usr/include/divx/mv_hint.h
+usr/lib/libdivxdecore.so
+usr/lib/libdivxencore.so
+@dirrm usr/include/divx
+%%PORTDOCS%%@dirrm usr/doc/%%PKGNAME%%
+@exec %D/sbin/ldconfig
+@unexec %D/sbin/ldconfig