diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2002-05-20 17:48:25 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2002-05-20 17:48:25 +0000 |
commit | 522e2a0309512570c8b4fe777e190c31d5a11e83 (patch) | |
tree | 360fee50e332e6ad1fced38960b44b17de344813 /multimedia/libdvdnav | |
parent | 3c0571ab41d1978c9e87c7a183d39acca4b7b93f (diff) | |
download | ports-522e2a0309512570c8b4fe777e190c31d5a11e83.tar.gz ports-522e2a0309512570c8b4fe777e190c31d5a11e83.zip |
Add libdvdnav. The library for the xine-dvdnav plugin.
Notes
Notes:
svn path=/head/; revision=59542
Diffstat (limited to 'multimedia/libdvdnav')
-rw-r--r-- | multimedia/libdvdnav/Makefile | 30 | ||||
-rw-r--r-- | multimedia/libdvdnav/distinfo | 1 | ||||
-rw-r--r-- | multimedia/libdvdnav/files/patch-example:Makefile.in | 11 | ||||
-rw-r--r-- | multimedia/libdvdnav/files/patch-ltmain.sh | 49 | ||||
-rw-r--r-- | multimedia/libdvdnav/files/patch-src:Makefile.in | 11 | ||||
-rw-r--r-- | multimedia/libdvdnav/pkg-comment | 1 | ||||
-rw-r--r-- | multimedia/libdvdnav/pkg-descr | 6 | ||||
-rw-r--r-- | multimedia/libdvdnav/pkg-plist | 12 |
8 files changed, 121 insertions, 0 deletions
diff --git a/multimedia/libdvdnav/Makefile b/multimedia/libdvdnav/Makefile new file mode 100644 index 000000000000..ae35c752da77 --- /dev/null +++ b/multimedia/libdvdnav/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: libdvdnav +# Date created: 21 May 2002 +# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com> +# +# $FreeBSD$ +# + +PORTNAME= libdvdnav +PORTVERSION= 0.1.0 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= dvd + +MAINTAINER= nobutaka@FreeBSD.org + +LIB_DEPENDS= dvdread.2:${PORTSDIR}/graphics/libdvdread + +GNU_CONFIGURE= yes +CONFIGURE_ENV= THREAD_CFLAGS="${PTHREAD_CFLAGS}" \ + THREAD_LIBS="${PTHREAD_LIBS}" +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|-L${LOCALBASE}/lib|g ; \ + s|-I/usr/local/include|-I${LOCALBASE}/include|g' ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/multimedia/libdvdnav/distinfo b/multimedia/libdvdnav/distinfo new file mode 100644 index 000000000000..6894f39df041 --- /dev/null +++ b/multimedia/libdvdnav/distinfo @@ -0,0 +1 @@ +MD5 (libdvdnav-0.1.0.tar.gz) = 01b5ffdbc834dc72317f57a3db959a0a diff --git a/multimedia/libdvdnav/files/patch-example:Makefile.in b/multimedia/libdvdnav/files/patch-example:Makefile.in new file mode 100644 index 000000000000..ca251d2042e6 --- /dev/null +++ b/multimedia/libdvdnav/files/patch-example:Makefile.in @@ -0,0 +1,11 @@ +--- examples/Makefile.in.orig Tue May 21 01:52:35 2002 ++++ examples/Makefile.in Tue May 21 01:52:51 2002 +@@ -116,7 +116,7 @@ + LIBS = @LIBS@ + menus_OBJECTS = menus.$(OBJEXT) + menus_DEPENDENCIES = $(top_builddir)/src/libdvdnav.la +-menus_LDFLAGS = ++menus_LDFLAGS = $(THREAD_LIBS) + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + CCLD = $(CC) diff --git a/multimedia/libdvdnav/files/patch-ltmain.sh b/multimedia/libdvdnav/files/patch-ltmain.sh new file mode 100644 index 000000000000..0591f6be269a --- /dev/null +++ b/multimedia/libdvdnav/files/patch-ltmain.sh @@ -0,0 +1,49 @@ +--- ltmain.sh.orig Mon Apr 29 18:30:38 2002 ++++ ltmain.sh Tue May 21 01:46:02 2002 +@@ -958,6 +958,7 @@ + ;; + + -avoid-version) ++ build_old_libs=no + avoid_version=yes + continue + ;; +@@ -1045,14 +1046,14 @@ + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; +@@ -2459,7 +2460,7 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; +- *-*-openbsd* | *-*-freebsd*) ++ *-*-openbsd*) + # Do not include libc due to us having libc/libc_r. + ;; + *) +@@ -4247,10 +4248,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/multimedia/libdvdnav/files/patch-src:Makefile.in b/multimedia/libdvdnav/files/patch-src:Makefile.in new file mode 100644 index 000000000000..ee80996541b0 --- /dev/null +++ b/multimedia/libdvdnav/files/patch-src:Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Tue May 21 01:59:54 2002 ++++ src/Makefile.in Tue May 21 02:00:14 2002 +@@ -102,7 +102,7 @@ + + libdvdnav_la_SOURCES = decoder.c dvdnav.c vm.c vmcmd.c read_cache.c navigation.c highlight.c searching.c settings.c + +-libdvdnav_la_LDFLAGS = $(DVDREAD_LIBS) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) ++libdvdnav_la_LDFLAGS = $(DVDREAD_LIBS) + + + include_HEADERS = decoder.h dvdnav.h dvdnav_events.h dvdnav_internal.h vm.h vmcmd.h read_cache.h dvd_types.h diff --git a/multimedia/libdvdnav/pkg-comment b/multimedia/libdvdnav/pkg-comment new file mode 100644 index 000000000000..75fdc31a383e --- /dev/null +++ b/multimedia/libdvdnav/pkg-comment @@ -0,0 +1 @@ +The library for the xine-dvdnav plugin diff --git a/multimedia/libdvdnav/pkg-descr b/multimedia/libdvdnav/pkg-descr new file mode 100644 index 000000000000..1f3040c04e2d --- /dev/null +++ b/multimedia/libdvdnav/pkg-descr @@ -0,0 +1,6 @@ +The library for the xine-dvdnav plugin. + +WWW: http://dvd.sourceforge.net/xine-dvdnav.shtml + +-- +MANTANI Nobutaka <nobutaka@nobutaka.com> diff --git a/multimedia/libdvdnav/pkg-plist b/multimedia/libdvdnav/pkg-plist new file mode 100644 index 000000000000..bd7df2b4d248 --- /dev/null +++ b/multimedia/libdvdnav/pkg-plist @@ -0,0 +1,12 @@ +bin/dvdnav-config +include/dvdnav/decoder.h +include/dvdnav/dvd_types.h +include/dvdnav/dvdnav.h +include/dvdnav/dvdnav_events.h +include/dvdnav/dvdnav_internal.h +include/dvdnav/read_cache.h +include/dvdnav/vm.h +include/dvdnav/vmcmd.h +lib/libdvdnav.so.0 +lib/libdvdnav.so +@dirrm include/dvdnav |