From 11266c8912efc0d43da4eea1aab9ed3729bdc4aa Mon Sep 17 00:00:00 2001 From: nobutaka Date: Fri, 1 Mar 2002 18:28:22 +0000 Subject: Add xine_dvdnav_plugin, a dvd input plugin for xine. --- graphics/Makefile | 1 + graphics/xine_dvdnav_plugin/Makefile | 36 +++++++++++++++++++++++ graphics/xine_dvdnav_plugin/distinfo | 1 + graphics/xine_dvdnav_plugin/files/patch-ltmain.sh | 23 +++++++++++++++ graphics/xine_dvdnav_plugin/pkg-comment | 1 + graphics/xine_dvdnav_plugin/pkg-descr | 6 ++++ graphics/xine_dvdnav_plugin/pkg-plist | 2 ++ 7 files changed, 70 insertions(+) create mode 100644 graphics/xine_dvdnav_plugin/Makefile create mode 100644 graphics/xine_dvdnav_plugin/distinfo create mode 100644 graphics/xine_dvdnav_plugin/files/patch-ltmain.sh create mode 100644 graphics/xine_dvdnav_plugin/pkg-comment create mode 100644 graphics/xine_dvdnav_plugin/pkg-descr create mode 100644 graphics/xine_dvdnav_plugin/pkg-plist 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 +# +# $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 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 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 -- cgit