b773938e08
Mplayer fork of the libdvdnav project. WWW: http://www.mplayerhq.hu/MPlayer/releases/dvdnav PR: ports/126481 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com>
48 lines
1.5 KiB
Makefile
48 lines
1.5 KiB
Makefile
# New ports collection makefile for: libdvdnav-mplayer
|
|
# Date created: 11 August 2008
|
|
# Whom: Ganael Laplanche <ganael.laplanche@martymac.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libdvdnav-mplayer
|
|
PORTVERSION= 4.1.2
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
|
http://www2.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
|
http://www3.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
|
http://www4.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
|
http://www5.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
|
ftp://ftp1.mplayerhq.hu/MPlayer/releases/dvdnav/ \
|
|
ftp://ftp2.mplayerhq.hu/MPlayer/releases/dvdnav/
|
|
DISTNAME= libdvdnav-${PORTVERSION}
|
|
|
|
MAINTAINER= ganael.laplanche@martymac.com
|
|
COMMENT= Mplayer fork of the lidvdnav project
|
|
|
|
LIB_DEPENDS= dvdread.5:${PORTSDIR}/multimedia/libdvdread
|
|
|
|
CFLAGS+= "-I${LOCALBASE}/include"
|
|
LDFLAGS+= "-L${LOCALBASE}/lib"
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= configure2
|
|
CONFIGURE_ARGS= --prefix="${PREFIX}" \
|
|
--libdir="${PREFIX}/lib" \
|
|
--shlibdir="${PREFIX}/lib" \
|
|
--incdir="${PREFIX}/include/dvdnav" \
|
|
--with-dvdread="${LOCALBASE}/include/dvdread" \
|
|
--disable-opts \
|
|
--disable-debug \
|
|
--extra-cflags="${CFLAGS}" \
|
|
--extra-ldflags="${LDFLAGS}"
|
|
USE_GMAKE= yes
|
|
CONFLICTS= libdvdnav-[0-9]*
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-ldl ||g' \
|
|
${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -e 's|threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \
|
|
${WRKSRC}/configure2
|
|
|
|
.include <bsd.port.mk>
|