aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvdcss/Makefile
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/Makefile
parent1f10de108ee56409c9eb7b1e3e507dc98379175a (diff)
downloadports-697b0cdd77ef3939ce15e5ac10d50765c5c3178b.tar.gz
ports-697b0cdd77ef3939ce15e5ac10d50765c5c3178b.zip
remove unecessary file
sanitize the library links bump portrevision Submitted by: lioux
Notes
Notes: svn path=/head/; revision=56848
Diffstat (limited to 'multimedia/libdvdcss/Makefile')
-rw-r--r--multimedia/libdvdcss/Makefile7
1 files changed, 7 insertions, 0 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)