diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/libdvdnav-mplayer/Makefile | 48 | ||||
-rw-r--r-- | multimedia/libdvdnav-mplayer/distinfo | 3 | ||||
-rw-r--r-- | multimedia/libdvdnav-mplayer/files/patch-Makefile | 11 | ||||
-rw-r--r-- | multimedia/libdvdnav-mplayer/pkg-descr | 3 | ||||
-rw-r--r-- | multimedia/libdvdnav-mplayer/pkg-plist | 12 |
6 files changed, 78 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index 05736b8f973a..e37dbcfe1701 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -111,6 +111,7 @@ SUBDIR += libdvbpsi SUBDIR += libdvdcss SUBDIR += libdvdnav + SUBDIR += libdvdnav-mplayer SUBDIR += libdvdplay SUBDIR += libdvdread SUBDIR += libfame diff --git a/multimedia/libdvdnav-mplayer/Makefile b/multimedia/libdvdnav-mplayer/Makefile new file mode 100644 index 000000000000..b74ea65fb6ed --- /dev/null +++ b/multimedia/libdvdnav-mplayer/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: libdvdnav-mplayer +# Date created: 11 August 2008 +# Whom: Ganael Laplanche <ganael.laplanche@martymac.com> +# +# $FreeBSD$ +# + +PORTNAME= libdvdnav-mplayer +PORTVERSION= 4.1.2 +CATEGORIES= multimedia +MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/ \ + http://www2.mplayerhq.hu/MPlayer/releases/dvdnav/ \ + http://www3.mplayerhq.hu/MPlayer/releases/dvdnav/ \ + http://www4.mplayerhq.hu/MPlayer/releases/dvdnav/ \ + http://www5.mplayerhq.hu/MPlayer/releases/dvdnav/ \ + ftp://ftp1.mplayerhq.hu/MPlayer/releases/dvdnav/ \ + ftp://ftp2.mplayerhq.hu/MPlayer/releases/dvdnav/ +DISTNAME= libdvdnav-${PORTVERSION} + +MAINTAINER= ganael.laplanche@martymac.com +COMMENT= Mplayer fork of the lidvdnav project + +LIB_DEPENDS= dvdread.5:${PORTSDIR}/multimedia/libdvdread + +CFLAGS+= "-I${LOCALBASE}/include" +LDFLAGS+= "-L${LOCALBASE}/lib" +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= configure2 +CONFIGURE_ARGS= --prefix="${PREFIX}" \ + --libdir="${PREFIX}/lib" \ + --shlibdir="${PREFIX}/lib" \ + --incdir="${PREFIX}/include/dvdnav" \ + --with-dvdread="${LOCALBASE}/include/dvdread" \ + --disable-opts \ + --disable-debug \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" +USE_GMAKE= yes +CONFLICTS= libdvdnav-[0-9]* +USE_LDCONFIG= yes + +post-patch: + @${REINPLACE_CMD} -e 's|-ldl ||g' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \ + ${WRKSRC}/configure2 + +.include <bsd.port.mk> diff --git a/multimedia/libdvdnav-mplayer/distinfo b/multimedia/libdvdnav-mplayer/distinfo new file mode 100644 index 000000000000..4f18c26efe64 --- /dev/null +++ b/multimedia/libdvdnav-mplayer/distinfo @@ -0,0 +1,3 @@ +MD5 (libdvdnav-4.1.2.tar.gz) = 0e9a494403f9f5a2e781252c77599561 +SHA256 (libdvdnav-4.1.2.tar.gz) = 56bcb75113bb8091574c36590f84fb00d37711e8cda9f5f7152667b33b2d0cd1 +SIZE (libdvdnav-4.1.2.tar.gz) = 196223 diff --git a/multimedia/libdvdnav-mplayer/files/patch-Makefile b/multimedia/libdvdnav-mplayer/files/patch-Makefile new file mode 100644 index 000000000000..cac98ebd4b4f --- /dev/null +++ b/multimedia/libdvdnav-mplayer/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2008-08-11 07:48:09.644830172 +0200 ++++ Makefile 2008-08-11 07:48:56.632122342 +0200 +@@ -101,7 +101,7 @@ + cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) -L. -Wl,-soname=$(SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) -ldvdread $(THREADLIB) + else + ${SHLIB}: version.h $(.OBJDIR) $(SHOBJS) $(BUILDDEPS) +- cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) -Wl,-soname=$(SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) -ldvdread $(THREADLIB) ++ cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) $(LDFLAGS) -Wl,-soname=$(SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) -ldvdread $(THREADLIB) + endif + ${MINI_SHLIB}: version.h $(.OBJDIR) $(SHOBJS) $(BUILDDEPS) + cd $(.OBJDIR) && $(CC) $(SHLDFLAGS) -Wl,-soname=$(MINI_SHLIB).$(SHLIB_MAJOR) -o $@ $(SHOBJS) $(THREADLIB) diff --git a/multimedia/libdvdnav-mplayer/pkg-descr b/multimedia/libdvdnav-mplayer/pkg-descr new file mode 100644 index 000000000000..cbe3447fab8c --- /dev/null +++ b/multimedia/libdvdnav-mplayer/pkg-descr @@ -0,0 +1,3 @@ +Mplayer fork of the libdvdnav project. + +WWW: http://www.mplayerhq.hu/MPlayer/releases/dvdnav diff --git a/multimedia/libdvdnav-mplayer/pkg-plist b/multimedia/libdvdnav-mplayer/pkg-plist new file mode 100644 index 000000000000..afe499507557 --- /dev/null +++ b/multimedia/libdvdnav-mplayer/pkg-plist @@ -0,0 +1,12 @@ +bin/dvdnav-config +include/dvdnav/dvd_types.h +include/dvdnav/dvdnav.h +include/dvdnav/dvdnav_events.h +@dirrm include/dvdnav +lib/libdvdnav.so.4.1.2 +lib/libdvdnavmini.so.4.1.2 +lib/libdvdnav.so.4 +lib/libdvdnavmini.so.4 +lib/libdvdnav.so +lib/libdvdnavmini.so +lib/libdvdnav.a |