aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/divx4linux4
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 /graphics/divx4linux4
parent2c10c21071a27bad713aade76aecca70e78ed688 (diff)
downloadfreebsd-ports-gnome-9b4136e9bfdf52878972a6771edda350b088790e.tar.gz
freebsd-ports-gnome-9b4136e9bfdf52878972a6771edda350b088790e.tar.zst
freebsd-ports-gnome-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 'graphics/divx4linux4')
-rw-r--r--graphics/divx4linux4/Makefile46
-rw-r--r--graphics/divx4linux4/distinfo1
-rw-r--r--graphics/divx4linux4/pkg-comment1
-rw-r--r--graphics/divx4linux4/pkg-descr12
-rw-r--r--graphics/divx4linux4/pkg-plist12
5 files changed, 72 insertions, 0 deletions
diff --git a/graphics/divx4linux4/Makefile b/graphics/divx4linux4/Makefile
new file mode 100644
index 000000000000..d0b8212e2002
--- /dev/null
+++ b/graphics/divx4linux4/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/graphics/divx4linux4/distinfo b/graphics/divx4linux4/distinfo
new file mode 100644
index 000000000000..d9cbc36b68a8
--- /dev/null
+++ b/graphics/divx4linux4/distinfo
@@ -0,0 +1 @@
+MD5 (divx4linux-20010824.zip) = e9e92fe3e754d3d1ca47c12d11b0ea70
diff --git a/graphics/divx4linux4/pkg-comment b/graphics/divx4linux4/pkg-comment
new file mode 100644
index 000000000000..3e39dea362f6
--- /dev/null
+++ b/graphics/divx4linux4/pkg-comment
@@ -0,0 +1 @@
+Linux binary release of DivX (TM) Codec
diff --git a/graphics/divx4linux4/pkg-descr b/graphics/divx4linux4/pkg-descr
new file mode 100644
index 000000000000..d51a8e742d83
--- /dev/null
+++ b/graphics/divx4linux4/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/graphics/divx4linux4/pkg-plist b/graphics/divx4linux4/pkg-plist
new file mode 100644
index 000000000000..e0ce87d55023
--- /dev/null
+++ b/graphics/divx4linux4/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