aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoitsu <koitsu@FreeBSD.org>2007-04-04 22:04:27 +0800
committerkoitsu <koitsu@FreeBSD.org>2007-04-04 22:04:27 +0800
commite84dbca6e337e097319bd53d32ba348588689ca3 (patch)
treebbcd1317cfe6d6edf79ee49204d4dcf83f151fb6
parent2e71c1d5066ba41c83cebc3ec1ece47b925b8c5e (diff)
downloadfreebsd-ports-graphics-e84dbca6e337e097319bd53d32ba348588689ca3.tar.gz
freebsd-ports-graphics-e84dbca6e337e097319bd53d32ba348588689ca3.tar.zst
freebsd-ports-graphics-e84dbca6e337e097319bd53d32ba348588689ca3.zip
Maintainer update; 0.9.4 to 0.9.7
PR: 111100 Submitted by: Robert C. Noland III <rnoland@2hip.net> Approved by: philip
-rw-r--r--multimedia/libdvdread/Makefile26
-rw-r--r--multimedia/libdvdread/distinfo6
-rw-r--r--multimedia/libdvdread/files/extra-patch-dvdread::bswap.h17
-rw-r--r--multimedia/libdvdread/files/patch-dvdread::bswap.h22
-rw-r--r--multimedia/libdvdread/files/patch-dvdread::dvd_input.c18
-rw-r--r--multimedia/libdvdread/pkg-plist21
6 files changed, 18 insertions, 92 deletions
diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile
index 27d2656638e..1d50f16bb87 100644
--- a/multimedia/libdvdread/Makefile
+++ b/multimedia/libdvdread/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libdvdread
-PORTVERSION= 0.9.4
+PORTVERSION= 0.9.7
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
@@ -18,7 +18,9 @@ LIB_DEPENDS= dvdcss.${DVDCSS_LIBVERSION}:${PORTSDIR}/multimedia/libdvdcss
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
+
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
DOC_FILES= AUTHORS COPYING NEWS README TODO
@@ -50,24 +52,4 @@ post-install:
.endif
.include <bsd.port.pre.mk>
-
-# FreeBSD byteswap optimized routines
-.if ${ARCH} == "i386"
-. if (defined(MACHINE_CPU) && ${MACHINE_CPU:Mi486} == "i486")
-WITH_OPTIMIZED_BYTESWAP=yes
-. endif
-
-. if defined(WITH_OPTIMIZED_BYTESWAP)
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-dvdread::bswap.h
-. endif
-.endif
-
-pre-everything::
-.ifndef(WITH_OPTIMIZED_BYTESWAP)
- @${ECHO_MSG} '===>'
- @${ECHO_MSG} '===> Define WITH_OPTIMIZED_BYTESWAP to use optimized byteswap'
- @${ECHO_MSG} '===> routines. This works only in the i386 architecture, and'
- @${ECHO_MSG} '===> only with 486 processors and above.'
-.endif
-
.include <bsd.port.post.mk>
diff --git a/multimedia/libdvdread/distinfo b/multimedia/libdvdread/distinfo
index 7c9c545990a..4f6f7251063 100644
--- a/multimedia/libdvdread/distinfo
+++ b/multimedia/libdvdread/distinfo
@@ -1,3 +1,3 @@
-MD5 (libdvdread-0.9.4.tar.gz) = 06353d7b14541ff8b431e69ad404db84
-SHA256 (libdvdread-0.9.4.tar.gz) = bb9027e5753ec5daf0206ca9b642cd7a9d4a3b783f1d38162a9d7b8c10742f30
-SIZE (libdvdread-0.9.4.tar.gz) = 256858
+MD5 (libdvdread-0.9.7.tar.gz) = 078788c9241ae16763529e1235502337
+SHA256 (libdvdread-0.9.7.tar.gz) = e01f70cba5cfbc577b853ae69d73f00db7161e1704dc2359c4377aac4232a184
+SIZE (libdvdread-0.9.7.tar.gz) = 389113
diff --git a/multimedia/libdvdread/files/extra-patch-dvdread::bswap.h b/multimedia/libdvdread/files/extra-patch-dvdread::bswap.h
deleted file mode 100644
index 91f08856dd3..00000000000
--- a/multimedia/libdvdread/files/extra-patch-dvdread::bswap.h
+++ /dev/null
@@ -1,17 +0,0 @@
---- dvdread/bswap.h.orig Sat Nov 23 18:53:53 2002
-+++ dvdread/bswap.h Sat Nov 23 18:57:27 2002
-@@ -54,6 +54,14 @@
- * functionality!
- */
-
-+#elif defined(__FreeBSD__)
-+# define _KERNEL
-+# define I486_CPU /* Will crash unless 486+ */
-+# include <machine/endian.h>
-+# undef _KERNEL
-+# undef I486_CPU
-+# define FROM_BE_32(x) (ntohl(x))
-+
- #elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__)
- #define B2N_16(x) \
- x = ((((x) & 0xff00) >> 8) | \
diff --git a/multimedia/libdvdread/files/patch-dvdread::bswap.h b/multimedia/libdvdread/files/patch-dvdread::bswap.h
deleted file mode 100644
index 02bb51851df..00000000000
--- a/multimedia/libdvdread/files/patch-dvdread::bswap.h
+++ /dev/null
@@ -1,22 +0,0 @@
---- dvdread/bswap.h.orig Sat Nov 13 17:18:54 2004
-+++ dvdread/bswap.h Sat Nov 13 18:01:26 2004
-@@ -57,7 +57,19 @@
- #include <sys/endian.h>
- #define B2N_16(x) x = be16toh(x)
- #define B2N_32(x) x = be32toh(x)
-+# if __FreeBSD_version >= 510000
- #define B2N_64(x) x = be64toh(x)
-+# else
-+#define B2N_64(x) x = \
-+ x = ((((x) & 0xff00000000000000) >> 56) | \
-+ (((x) & 0x00ff000000000000) >> 40) | \
-+ (((x) & 0x0000ff0000000000) >> 24) | \
-+ (((x) & 0x000000ff00000000) >> 8) | \
-+ (((x) & 0x00000000ff000000) << 8) | \
-+ (((x) & 0x0000000000ff0000) << 24) | \
-+ (((x) & 0x000000000000ff00) << 40) | \
-+ (((x) & 0x00000000000000ff) << 56))
-+# endif
-
- /* This is a slow but portable implementation, it has multiple evaluation
- * problems so beware.
diff --git a/multimedia/libdvdread/files/patch-dvdread::dvd_input.c b/multimedia/libdvdread/files/patch-dvdread::dvd_input.c
deleted file mode 100644
index c45e78f50ae..00000000000
--- a/multimedia/libdvdread/files/patch-dvdread::dvd_input.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- dvdread/dvd_input.c.orig Sun Jul 13 14:42:27 2003
-+++ dvdread/dvd_input.c Sun Jul 13 14:42:41 2003
-@@ -297,14 +297,7 @@
-
- dvdcss_version = (char **)dlsym(dvdcss_library, U_S "dvdcss_interface_2");
-
-- if(dlsym(dvdcss_library, U_S "dvdcss_crack")) {
-- fprintf(stderr,
-- "libdvdread: Old (pre-0.0.2) version of libdvdcss found.\n"
-- "libdvdread: You should get the latest version from "
-- "http://www.videolan.org/\n" );
-- dlclose(dvdcss_library);
-- dvdcss_library = NULL;
-- } else if(!DVDcss_open || !DVDcss_close || !DVDcss_title || !DVDcss_seek
-+ if(!DVDcss_open || !DVDcss_close || !DVDcss_title || !DVDcss_seek
- || !DVDcss_read || !DVDcss_error || !dvdcss_version) {
- fprintf(stderr, "libdvdread: Missing symbols in libdvdcss.so.2, "
- "this shouldn't happen !\n");
diff --git a/multimedia/libdvdread/pkg-plist b/multimedia/libdvdread/pkg-plist
index 94cb9990c38..bb71aaf1b28 100644
--- a/multimedia/libdvdread/pkg-plist
+++ b/multimedia/libdvdread/pkg-plist
@@ -1,7 +1,3 @@
-lib/libdvdread.a
-lib/libdvdread.la
-lib/libdvdread.so
-lib/libdvdread.so.3
include/dvdread/dvd_reader.h
include/dvdread/ifo_types.h
include/dvdread/ifo_read.h
@@ -9,10 +5,15 @@ include/dvdread/ifo_print.h
include/dvdread/nav_types.h
include/dvdread/nav_read.h
include/dvdread/nav_print.h
-%%PORTDOCS%%share/doc/libdvdread/AUTHORS
-%%PORTDOCS%%share/doc/libdvdread/COPYING
-%%PORTDOCS%%share/doc/libdvdread/NEWS
-%%PORTDOCS%%share/doc/libdvdread/README
-%%PORTDOCS%%share/doc/libdvdread/TODO
-%%PORTDOCS%%@dirrm share/doc/libdvdread
+include/dvdread/cmd_print.h
+lib/libdvdread.so.5
+lib/libdvdread.so
+lib/libdvdread.la
+lib/libdvdread.a
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/dvdread