freebsd-ports/multimedia/libdvdnav/Makefile
Ganael LAPLANCHE 8e3dcb3c28 - Update multimedia/libdvdread to 4.9.9
- Bump dependent ports' PORTREVISIONS and update LIB_DEPENDS [1]
- multimedia/libdvdnav: remove dependency to (now removed) dvdread-config
- sysutils/vstrip: remove useless dependency to multimedia/libdvdread

Approved by:	portmgr (implicit) [1]
2014-05-13 10:17:04 +00:00

41 lines
1.1 KiB
Makefile

# Created by: MANTANI Nobutaka <nobutaka@nobutaka.com>
# $FreeBSD$
PORTNAME= libdvdnav
PORTVERSION= 4.2.1
PORTREVISION= 1
CATEGORIES= multimedia
# Svn repository URL : svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav
MASTER_SITES= http://dvdnav.mplayerhq.hu/releases/ \
http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
LOCAL/martymac
MAINTAINER= martymac@FreeBSD.org
COMMENT= MPlayer version of the libdvdnav project
LICENSE= GPLv2
LIB_DEPENDS= libdvdread.so:${PORTSDIR}/multimedia/libdvdread
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure2
CONFIGURE_ARGS= --prefix="${PREFIX}" \
--libdir="${PREFIX}/lib" \
--libdatadir="${PREFIX}/libdata/pkgconfig" \
--shlibdir="${PREFIX}/lib" \
--incdir="${PREFIX}/include/dvdnav" \
--disable-opts \
--cc="${CC}"
USES= tar:xz gmake pkgconfig:build
CONFLICTS= libdvdnav-mplayer-[0-9]*
USE_LDCONFIG= yes
OPTIONS_DEFINE= DEBUG
DEBUG_CONFIGURE_ON= --enable-debug --disable-strip
DEBUG_CONFIGURE_OFF= --disable-debug --enable-strip
post-patch:
@${REINPLACE_CMD} -e 's|^threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \
${WRKSRC}/configure2
.include <bsd.port.mk>