mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
14981d7d28
Update pkg-descr and COMMENT to better reflect the current version of vls PR: ports/72668 Submitted by: Michael Johnson <ahze@ahze.net>
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# New ports collection makefile for: vls
|
|
# Date created: 3rd August 2001
|
|
# Whom: Gleb Smirnoff <glebius@cell.sick.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vls
|
|
PORTVERSION= 0.5.6
|
|
CATEGORIES= net multimedia
|
|
MASTER_SITES= http://download.videolan.org/pub/videolan/vls/${PORTVERSION}/
|
|
|
|
MAINTAINER= ahze@ahze.net
|
|
COMMENT= Broadcasts MPEG(1/2/4, PS/TS) video streams
|
|
|
|
LIB_DEPENDS= dvbpsi.3:${PORTSDIR}/multimedia/libdvbpsi
|
|
.if !defined(WITHOUT_DVD)
|
|
LIB_DEPENDS+= dvdcss.2:${PORTSDIR}/multimedia/libdvdcss \
|
|
dvdread.3:${PORTSDIR}/multimedia/libdvdread
|
|
.endif
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_SHLIB= 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
|
|
|
|
pre-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}/developer
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
|
${CP} -pR ${WRKSRC}/doc/developer/*.* ${DOCSDIR}/developer/
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
CONFIGURE_ENV+= VLS_LIB="-L/usr/lib -lcipher"
|
|
.endif
|
|
|
|
.if ${OSVERSION} >= 502122
|
|
# allow nonconforming code to compile
|
|
CFLAGS+= -fpermissive
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|