# New ports collection makefile for: vls # Date created: 3rd August 2001 # Whom: Gleb Smirnoff # # $FreeBSD$ # PORTNAME= vls PORTVERSION= 0.5.6 PORTREVISION= 2 CATEGORIES= net ipv6 multimedia MASTER_SITES= http://download.videolan.org/pub/videolan/vls/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Broadcasts MPEG(1/2/4, PS/TS) video streams LIB_DEPENDS= dvbpsi.4:${PORTSDIR}/multimedia/libdvbpsi .if !defined(WITHOUT_DVD) LIB_DEPENDS+= dvdread.5:${PORTSDIR}/multimedia/libdvdread .endif BROKEN= Does not build with current libdvbpsi DEPRECATED= Development has been moved to multimedia/vlc EXPIRATION_DATE= 2008-04-28 USE_BZIP2= yes USE_GMAKE= yes USE_RC_SUBR= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/inlcude CONFIGURE_ARGS+= --with-dvbpsi=${LOCALBASE} .if !defined(WITHOUT_DVD) CONFIGURE_ARGS+= --with-dvdcss=${LOCALBASE} \ --with-dvdread=${LOCALBASE} PLIST_FILES+= lib/videolan/vls/dvdreader.so .else CONFIGURE_ARGS+= --disable-dvd .endif post-patch: @${SED} -e 's|%%PREFIX%%|${PREFIX}|g; \ s|%%RC_SUBR%%|${RC_SUBR}|g' \ ${FILESDIR}/vlsd.sh.in > ${WRKDIR}/vlsd.sh pre-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR}/developer ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ ${CP} -pR ${WRKSRC}/doc/developer/*.* ${DOCSDIR}/developer/ .endif post-install: ${INSTALL_SCRIPT} ${WRKDIR}/vlsd.sh ${PREFIX}/etc/rc.d .include .if ${OSVERSION} >= 502122 # allow nonconforming code to compile CFLAGS+= -fpermissive .endif .include