# New ports collection makefile for: libdvdnav # Date created: 21 May 2002 # Whom: MANTANI Nobutaka # # $FreeBSD$ # PORTNAME= libdvdnav PORTVERSION= 4.1.4.r1219 CATEGORIES= multimedia # Svn repository URL : svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \ 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/ \ LOCAL/martymac MAINTAINER= martymac@FreeBSD.org COMMENT= MPlayer version of the libdvdnav project LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread LICENSE= GPLv2 USE_BZIP2= yes 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 \ --disable-debug \ --cc="${CC}" USE_GMAKE= yes CONFLICTS= libdvdnav-mplayer-[0-9]* USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e 's|^threadlib="-lpthread"|threadlib="${PTHREAD_LIBS}"|g' \ ${WRKSRC}/configure2 .include