aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvdread
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-05-15 10:41:21 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-05-15 10:41:21 +0000
commitb03107f88d31f245434fc148de5c69020e62f4ec (patch)
treeb6a409b9bb593b6095faf58489616fb0fb210d1b /multimedia/libdvdread
parent2a30cce248262e373a623d3ecb2eebb2b918124a (diff)
downloadports-b03107f88d31f245434fc148de5c69020e62f4ec.tar.gz
ports-b03107f88d31f245434fc148de5c69020e62f4ec.zip
Notes
Diffstat (limited to 'multimedia/libdvdread')
-rw-r--r--multimedia/libdvdread/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile
index ae742497e08c..edf8e93b4b7e 100644
--- a/multimedia/libdvdread/Makefile
+++ b/multimedia/libdvdread/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libdvdread
PORTVERSION= 4.9.9
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://dvdnav.mplayerhq.hu/releases/ \
http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
@@ -14,25 +15,16 @@ COMMENT= MPlayer version of the libdvdread project
LICENSE= GPLv2
GNU_CONFIGURE= yes
-USES= tar:xz gmake pkgconfig:build
+INSTALL_TARGET= install-strip
+USES= gmake libtool:oldver pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
OPTIONS_DEFINE= DVDCSS
.if !defined(PACKAGE_BUILDING)
OPTIONS_DEFAULT= DVDCSS
.endif
-DVDCSS_LIB_DEPENDS= libdvdcss.so:${PORTSDIR}/multimedia/libdvdcss
# DVDCSS version hardcoded in src/dvd_input.c (dlopen'ed)
-DVDCSS_LIBVERSION= 3
-
-post-patch:
- @${REINPLACE_CMD} 's|^pkgconfigdir =.*|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|' \
- ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -E -e 's|(libdvdcss.so)\.2|\1.${DVDCSS_LIBVERSION}|' \
- ${WRKSRC}/src/dvd_input.c
-
-post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdvdread.so.5
+DVDCSS_LIB_DEPENDS= libdvdcss.so.2:${PORTSDIR}/multimedia/libdvdcss
.include <bsd.port.mk>