aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvdcss
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-29 08:39:54 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-29 08:39:54 +0000
commit697b0cdd77ef3939ce15e5ac10d50765c5c3178b (patch)
tree1522489229758a268693277aec0f8386afd01717 /multimedia/libdvdcss
parent1f10de108ee56409c9eb7b1e3e507dc98379175a (diff)
downloadports-697b0cdd77ef3939ce15e5ac10d50765c5c3178b.tar.gz
ports-697b0cdd77ef3939ce15e5ac10d50765c5c3178b.zip
Notes
Diffstat (limited to 'multimedia/libdvdcss')
-rw-r--r--multimedia/libdvdcss/Makefile7
-rw-r--r--multimedia/libdvdcss/pkg-plist1
2 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/libdvdcss/Makefile b/multimedia/libdvdcss/Makefile
index 5e06fa45b2a3..0a0bf260281b 100644
--- a/multimedia/libdvdcss/Makefile
+++ b/multimedia/libdvdcss/Makefile
@@ -8,6 +8,7 @@
PORTNAME= libdvdcss
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.videolan.org/pub/videolan/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
@@ -28,6 +29,12 @@ CONFIGURE_ARGS= --enable-release
USE_GMAKE= yes
INSTALLS_SHLIB= yes
+post-patch:
+ @${PERL} -pi -e 's|(LIBDVDCSS_VERSION=)"[\d\.]+?\.(\d)"|\1"\2"|' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${PERL} -pi -e 's|^.+?ln.+?FULL_SO.+?MAJOR_SO.+\n||' \
+ ${WRKSRC}/extras/libdvdcss/Makefile
+
.include <bsd.port.pre.mk>
.if defined(HAVE_ESOUND)
diff --git a/multimedia/libdvdcss/pkg-plist b/multimedia/libdvdcss/pkg-plist
index d6583943573c..808b0a3c1128 100644
--- a/multimedia/libdvdcss/pkg-plist
+++ b/multimedia/libdvdcss/pkg-plist
@@ -3,4 +3,3 @@ include/videolan/dvdcss.h
lib/libdvdcss.a
lib/libdvdcss.so
lib/libdvdcss.so.1
-lib/libdvdcss.so.1.0.1