diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-09-14 18:57:18 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-09-14 18:57:18 +0000 |
commit | 2518ccd70256783228328e085fb0e739c8984a05 (patch) | |
tree | 986382528802bfa3c9020037cf2370148904ef6e /multimedia/libdvdnav | |
parent | 65cd32c3a96c274dee77e39d1fc91b92b850a8c4 (diff) | |
download | ports-2518ccd70256783228328e085fb0e739c8984a05.tar.gz ports-2518ccd70256783228328e085fb0e739c8984a05.zip |
Notes
Diffstat (limited to 'multimedia/libdvdnav')
-rw-r--r-- | multimedia/libdvdnav/Makefile | 18 | ||||
-rw-r--r-- | multimedia/libdvdnav/distinfo | 6 | ||||
-rw-r--r-- | multimedia/libdvdnav/files/patch-configure2 | 12 | ||||
-rw-r--r-- | multimedia/libdvdnav/pkg-plist | 4 |
4 files changed, 21 insertions, 19 deletions
diff --git a/multimedia/libdvdnav/Makefile b/multimedia/libdvdnav/Makefile index 160047e273a9..4c9449a38338 100644 --- a/multimedia/libdvdnav/Makefile +++ b/multimedia/libdvdnav/Makefile @@ -6,16 +6,19 @@ # PORTNAME= libdvdnav -PORTVERSION= 4.1.3 +PORTVERSION= 4.1.4.r1217 CATEGORIES= multimedia -MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/ \ +# Svn repository URL : svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav +MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \ + 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} + ftp://ftp2.mplayerhq.hu/MPlayer/releases/dvdnav/ \ + LOCAL/makc +DISTNAME= ${PORTNAME}-${PORTVERSION:S,r,,} MAINTAINER= ganael.laplanche@martymac.org COMMENT= MPlayer version of the libdvdnav project @@ -23,8 +26,6 @@ COMMENT= MPlayer version of the libdvdnav project LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread USE_BZIP2= yes -CFLAGS+= "-I${LOCALBASE}/include" -LDFLAGS+= "-L${LOCALBASE}/lib" HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure2 CONFIGURE_ARGS= --prefix="${PREFIX}" \ @@ -34,15 +35,12 @@ CONFIGURE_ARGS= --prefix="${PREFIX}" \ --incdir="${PREFIX}/include/dvdnav" \ --disable-opts \ --disable-debug \ - --extra-cflags="${CFLAGS}" \ - --extra-ldflags="${LDFLAGS}" + --cc=${CC} USE_GMAKE= yes CONFLICTS= libdvdnav-mplayer-[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 diff --git a/multimedia/libdvdnav/distinfo b/multimedia/libdvdnav/distinfo index 9ae3a482c4a9..19a741894eef 100644 --- a/multimedia/libdvdnav/distinfo +++ b/multimedia/libdvdnav/distinfo @@ -1,3 +1,3 @@ -MD5 (libdvdnav-4.1.3.tar.bz2) = d62383c45b28816771e283515f2c27fa -SHA256 (libdvdnav-4.1.3.tar.bz2) = e82a3d7b3c342a895a332fc0fb2281f40ff9978cb8cbb8bf1343fcad0063759d -SIZE (libdvdnav-4.1.3.tar.bz2) = 110843 +MD5 (libdvdnav-4.1.4.1217.tar.bz2) = f28973e8f0cde1aab596141eecb8451d +SHA256 (libdvdnav-4.1.4.1217.tar.bz2) = 3d8cf09d88c93d2abd343f020dc9a38d65cba6f77b8704206bf813db8a7159bb +SIZE (libdvdnav-4.1.4.1217.tar.bz2) = 111089 diff --git a/multimedia/libdvdnav/files/patch-configure2 b/multimedia/libdvdnav/files/patch-configure2 index 425db7d73d30..ba3a3da1cb93 100644 --- a/multimedia/libdvdnav/files/patch-configure2 +++ b/multimedia/libdvdnav/files/patch-configure2 @@ -1,5 +1,5 @@ ---- configure2.orig 2008-10-04 12:27:58.564694499 +0200 -+++ configure2 2008-10-04 12:35:04.406225755 +0200 +--- configure2.orig 2010-09-06 11:37:21.000000000 +0000 ++++ configure2 2010-09-07 12:58:47.440053134 +0000 @@ -26,6 +26,7 @@ echo " --help print this message" echo " --prefix=PREFIX install in PREFIX [$PREFIX]" @@ -17,8 +17,12 @@ --shlibdir=*) shlibdir="$optval" ;; --incdir=*) incdir="$optval" -@@ -100,6 +103,7 @@ - PREFIX=`cd $PREFIX && pwd` +@@ -97,9 +100,10 @@ + esac + done + +-PREFIX=`cd $PREFIX && pwd` ++#PREFIX=`cd $PREFIX && pwd` test -z "$libdir" && libdir=$PREFIX/lib +test -z "$libdatadir" && libdir=$PREFIX/lib/pkgconfig diff --git a/multimedia/libdvdnav/pkg-plist b/multimedia/libdvdnav/pkg-plist index 657d65d8aa18..07376804933e 100644 --- a/multimedia/libdvdnav/pkg-plist +++ b/multimedia/libdvdnav/pkg-plist @@ -5,10 +5,10 @@ include/dvdnav/dvdnav_events.h lib/libdvdnav.a lib/libdvdnav.so lib/libdvdnav.so.4 -lib/libdvdnav.so.4.1.3 +lib/libdvdnav.so.4.1.4 lib/libdvdnavmini.so lib/libdvdnavmini.so.4 -lib/libdvdnavmini.so.4.1.3 +lib/libdvdnavmini.so.4.1.4 libdata/pkgconfig/dvdnav.pc libdata/pkgconfig/dvdnavmini.pc @dirrm include/dvdnav |