aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2002-03-02 02:28:22 +0800
committernobutaka <nobutaka@FreeBSD.org>2002-03-02 02:28:22 +0800
commit11266c8912efc0d43da4eea1aab9ed3729bdc4aa (patch)
treee85491e11318a620bd26d2bd8cacb3d59651abbc
parent9b75240878112d74dfa6aff123503fe6680d76f9 (diff)
downloadfreebsd-ports-gnome-11266c8912efc0d43da4eea1aab9ed3729bdc4aa.tar.gz
freebsd-ports-gnome-11266c8912efc0d43da4eea1aab9ed3729bdc4aa.tar.zst
freebsd-ports-gnome-11266c8912efc0d43da4eea1aab9ed3729bdc4aa.zip
Add xine_dvdnav_plugin, a dvd input plugin for xine.
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/xine_dvdnav_plugin/Makefile36
-rw-r--r--graphics/xine_dvdnav_plugin/distinfo1
-rw-r--r--graphics/xine_dvdnav_plugin/files/patch-ltmain.sh23
-rw-r--r--graphics/xine_dvdnav_plugin/pkg-comment1
-rw-r--r--graphics/xine_dvdnav_plugin/pkg-descr6
-rw-r--r--graphics/xine_dvdnav_plugin/pkg-plist2
7 files changed, 70 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 9eaa21b069df..64d3328461e6 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -342,6 +342,7 @@
SUBDIR += xine
SUBDIR += xine_d4d_plugin
SUBDIR += xine_d5d_plugin
+ SUBDIR += xine_dvdnav_plugin
SUBDIR += xine_mms_plugin
SUBDIR += xli
SUBDIR += xmagv
diff --git a/graphics/xine_dvdnav_plugin/Makefile b/graphics/xine_dvdnav_plugin/Makefile
new file mode 100644
index 000000000000..0bc82ff3e136
--- /dev/null
+++ b/graphics/xine_dvdnav_plugin/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: xine-dvdnav-plugin
+# Date created: 21 Nov 2001
+# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xine_dvdnav_plugin
+PORTVERSION= 0.9.8.b
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= dvd
+DISTNAME= xine-dvdnav-${PORTVERSION:C/b/beta/}
+
+MAINTAINER= nobutaka@FreeBSD.org
+
+LIB_DEPENDS= xine.0:${PORTSDIR}/graphics/libxine \
+ dvdcss.0:${PORTSDIR}/graphics/libdvdcss \
+ dvdread.2:${PORTSDIR}/graphics/libdvdread
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ THREAD_LIBS="${PTHREAD_LIBS}" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ CPPFLAGS="-I${LOCALBASE}/include"
+USE_X_PREFIX= yes
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${PERL} -pi -e \
+ 's|THREAD_LIBS=.*$$|THREAD_LIBS="\$$THREAD_LIBS"|g ; \
+ s|THREAD_CFLAGS=.*$$|THREAD_CFLAGS="\$$THREAD_CFLAGS"|g ; \
+ s|-L/usr/local/lib||g ; \
+ s|-I/usr/local/include||g' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/graphics/xine_dvdnav_plugin/distinfo b/graphics/xine_dvdnav_plugin/distinfo
new file mode 100644
index 000000000000..6d20e677282a
--- /dev/null
+++ b/graphics/xine_dvdnav_plugin/distinfo
@@ -0,0 +1 @@
+MD5 (xine-dvdnav-0.9.8.beta.tar.gz) = 04c7b4b33bb6b162a927853bbc36d3a9
diff --git a/graphics/xine_dvdnav_plugin/files/patch-ltmain.sh b/graphics/xine_dvdnav_plugin/files/patch-ltmain.sh
new file mode 100644
index 000000000000..6a290af7eb87
--- /dev/null
+++ b/graphics/xine_dvdnav_plugin/files/patch-ltmain.sh
@@ -0,0 +1,23 @@
+--- ltmain.sh.orig Tue Jan 29 21:23:16 2002
++++ ltmain.sh Tue Jan 29 21:25:19 2002
+@@ -944,6 +944,7 @@
+ ;;
+
+ -avoid-version)
++ build_old_libs=no
+ avoid_version=yes
+ continue
+ ;;
+@@ -4175,10 +4176,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/graphics/xine_dvdnav_plugin/pkg-comment b/graphics/xine_dvdnav_plugin/pkg-comment
new file mode 100644
index 000000000000..a573f7873fc8
--- /dev/null
+++ b/graphics/xine_dvdnav_plugin/pkg-comment
@@ -0,0 +1 @@
+A dvd input plugin for xine
diff --git a/graphics/xine_dvdnav_plugin/pkg-descr b/graphics/xine_dvdnav_plugin/pkg-descr
new file mode 100644
index 000000000000..26c5db9a8e6b
--- /dev/null
+++ b/graphics/xine_dvdnav_plugin/pkg-descr
@@ -0,0 +1,6 @@
+A dvd input plugin for xine.
+
+WWW: http://dvd.sourceforge.net/xine-dvdnav.shtml
+
+--
+MANTANI Nobutaka <nobutaka@FreeBSD.org>
diff --git a/graphics/xine_dvdnav_plugin/pkg-plist b/graphics/xine_dvdnav_plugin/pkg-plist
new file mode 100644
index 000000000000..0ed366e343a2
--- /dev/null
+++ b/graphics/xine_dvdnav_plugin/pkg-plist
@@ -0,0 +1,2 @@
+lib/xine/plugins/xineplug_inp_dvdnav.so
+@unexec rmdir %D/lib/xine/plugins 2>/dev/null || true