aboutsummaryrefslogtreecommitdiff
path: root/multimedia/linux-divx4linux4
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-24 18:42:50 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-24 18:42:50 +0000
commit8f8a1f46d8bd6ef2ebdd6ab1cfe2ad4ebc809add (patch)
treecdc876bac51c12e42b4012796ee03815e2e39369 /multimedia/linux-divx4linux4
parent4acd2bcfe6082e19635f569d3ca62995ae3416a3 (diff)
downloadports-8f8a1f46d8bd6ef2ebdd6ab1cfe2ad4ebc809add.tar.gz
ports-8f8a1f46d8bd6ef2ebdd6ab1cfe2ad4ebc809add.zip
Notes
Diffstat (limited to 'multimedia/linux-divx4linux4')
-rw-r--r--multimedia/linux-divx4linux4/Makefile46
-rw-r--r--multimedia/linux-divx4linux4/distinfo1
-rw-r--r--multimedia/linux-divx4linux4/pkg-comment1
-rw-r--r--multimedia/linux-divx4linux4/pkg-descr12
-rw-r--r--multimedia/linux-divx4linux4/pkg-plist12
5 files changed, 72 insertions, 0 deletions
diff --git a/multimedia/linux-divx4linux4/Makefile b/multimedia/linux-divx4linux4/Makefile
new file mode 100644
index 000000000000..d0b8212e2002
--- /dev/null
+++ b/multimedia/linux-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/multimedia/linux-divx4linux4/distinfo b/multimedia/linux-divx4linux4/distinfo
new file mode 100644
index 000000000000..d9cbc36b68a8
--- /dev/null
+++ b/multimedia/linux-divx4linux4/distinfo
@@ -0,0 +1 @@
+MD5 (divx4linux-20010824.zip) = e9e92fe3e754d3d1ca47c12d11b0ea70
diff --git a/multimedia/linux-divx4linux4/pkg-comment b/multimedia/linux-divx4linux4/pkg-comment
new file mode 100644
index 000000000000..3e39dea362f6
--- /dev/null
+++ b/multimedia/linux-divx4linux4/pkg-comment
@@ -0,0 +1 @@
+Linux binary release of DivX (TM) Codec
diff --git a/multimedia/linux-divx4linux4/pkg-descr b/multimedia/linux-divx4linux4/pkg-descr
new file mode 100644
index 000000000000..d51a8e742d83
--- /dev/null
+++ b/multimedia/linux-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/multimedia/linux-divx4linux4/pkg-plist b/multimedia/linux-divx4linux4/pkg-plist
new file mode 100644
index 000000000000..e0ce87d55023
--- /dev/null
+++ b/multimedia/linux-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