1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/liveMedia/Makefile
2003-05-10 01:57:38 +00:00

175 lines
6.4 KiB
Makefile

# New ports collection makefile for: liveMedia
# Date created: 2002/09/25
# Whom: nork@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= liveMedia
PORTVERSION= 2003.05.06
PORTEPOCH= 1
CATEGORIES= net devel
MASTER_SITES= http://www.LIVE.COM/liveMedia/public/
MASTER_SITES+= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= nork
DISTNAME= live.${PORTVERSION}
MAINTAINER= nork@FreeBSD.org
COMMENT= LIVE.COM Streaming Media
NO_CDROM= 'dated material'
WRKSRC= ${WRKDIR}/live
PLIST= ${WRKDIR}/pkg-plist
HAS_CONFIGURE= YES
USE_REINPLACE= YES
CONFIGURE_SCRIPT= genMakefiles
CONFIGURE_ARGS= fixed-${OPSYS:L}
INSTALL_DATADIR= ${INSTALL} -d ${_SHROWNGRP} -m 755
BasicUsageEnvironment= \
BasicUsageEnvironment/include/BasicHashTable.hh \
BasicUsageEnvironment/include/BasicUsageEnvironment.hh \
BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh \
BasicUsageEnvironment/include/DelayQueue.hh
UsageEnvironment= \
UsageEnvironment/include/Boolean.hh \
UsageEnvironment/include/HashTable.hh \
UsageEnvironment/include/UsageEnvironment.hh \
UsageEnvironment/include/UsageEnvironment_version.hh \
UsageEnvironment/include/strDup.hh
groupsock= \
groupsock/include/GroupEId.hh \
groupsock/include/Groupsock.hh \
groupsock/include/GroupsockHelper.hh \
groupsock/include/IOHandlers.hh \
groupsock/include/NetAddress.hh \
groupsock/include/NetCommon.h \
groupsock/include/NetInterface.hh \
groupsock/include/TunnelEncaps.hh \
groupsock/include/groupsock_version.hh
liveMedia= \
liveMedia/include/AC3AudioRTPSink.hh \
liveMedia/include/AC3AudioRTPSource.hh \
liveMedia/include/AC3AudioStreamFramer.hh \
liveMedia/include/BasicUDPSource.hh \
liveMedia/include/ByteStreamFileSource.hh \
liveMedia/include/ByteStreamMultiFileSource.hh \
liveMedia/include/DeviceSource.hh \
liveMedia/include/FileSink.hh \
liveMedia/include/FramedFileSource.hh \
liveMedia/include/FramedFilter.hh \
liveMedia/include/FramedSource.hh \
liveMedia/include/GSMAudioRTPSink.hh \
liveMedia/include/H261VideoRTPSource.hh \
liveMedia/include/H263plusVideoRTPSink.hh \
liveMedia/include/H263plusVideoRTPSource.hh \
liveMedia/include/HTTPSink.hh \
liveMedia/include/JPEGVideoRTPSource.hh \
liveMedia/include/MP3ADU.hh \
liveMedia/include/MP3ADURTPSink.hh \
liveMedia/include/MP3ADURTPSource.hh \
liveMedia/include/MP3ADUTranscoder.hh \
liveMedia/include/MP3ADUinterleaving.hh \
liveMedia/include/MP3FileSource.hh \
liveMedia/include/MP3HTTPSource.hh \
liveMedia/include/MP3Transcoder.hh \
liveMedia/include/MPEG4ESVideoRTPSource.hh \
liveMedia/include/MPEG4GenericRTPSource.hh \
liveMedia/include/MPEG4LATMAudioRTPSource.hh \
liveMedia/include/MPEGAudioRTPSink.hh \
liveMedia/include/MPEGAudioRTPSource.hh \
liveMedia/include/MPEGAudioStreamFramer.hh \
liveMedia/include/MPEGDemux.hh \
liveMedia/include/MPEGDemuxedElementaryStream.hh \
liveMedia/include/MPEGVideoHTTPSink.hh \
liveMedia/include/MPEGVideoRTPSink.hh \
liveMedia/include/MPEGVideoRTPSource.hh \
liveMedia/include/MPEGVideoStreamFramer.hh \
liveMedia/include/Media.hh \
liveMedia/include/MediaSession.hh \
liveMedia/include/MediaSink.hh \
liveMedia/include/MediaSource.hh \
liveMedia/include/MultiFramedRTPSink.hh \
liveMedia/include/MultiFramedRTPSource.hh \
liveMedia/include/PassiveServerMediaSession.hh \
liveMedia/include/PrioritizedRTPStreamSelector.hh \
liveMedia/include/QCELPAudioRTPSource.hh \
liveMedia/include/QuickTimeFileSink.hh \
liveMedia/include/QuickTimeGenericRTPSource.hh \
liveMedia/include/RTCP.hh \
liveMedia/include/RTPInterface.hh \
liveMedia/include/RTPSink.hh \
liveMedia/include/RTPSource.hh \
liveMedia/include/RTSPClient.hh \
liveMedia/include/RTSPServer.hh \
liveMedia/include/SIPClient.hh \
liveMedia/include/ServerMediaSession.hh \
liveMedia/include/SimpleRTPSink.hh \
liveMedia/include/SimpleRTPSource.hh \
liveMedia/include/liveMedia.hh \
liveMedia/include/liveMedia_version.hh
post-extract:
@${CP} ${FILESDIR}/config.fixed-${OPSYS:L} ${WRKSRC}/
pre-install:
@${RM} -f ${PLIST}
@${TOUCH} ${PLIST}
@${INSTALL_DATADIR} ${PREFIX}/live
@${INSTALL_DATADIR} ${PREFIX}/live/groupsock
@${INSTALL_DATADIR} ${PREFIX}/live/liveMedia
@${INSTALL_DATADIR} ${PREFIX}/live/UsageEnvironment
@${INSTALL_DATADIR} ${PREFIX}/live/BasicUsageEnvironment
@${INSTALL_DATADIR} ${PREFIX}/live/groupsock/include
@${INSTALL_DATADIR} ${PREFIX}/live/liveMedia/include
@${INSTALL_DATADIR} ${PREFIX}/live/UsageEnvironment/include
@${INSTALL_DATADIR} ${PREFIX}/live/BasicUsageEnvironment/include
do-install::
@${ECHO_CMD} bin/playSIP >> ${PLIST}
@${ECHO_CMD} bin/openRTSP >> ${PLIST}
@${ECHO_CMD} bin/sapWatch >> ${PLIST}
@${INSTALL_PROGRAM} ${WRKSRC}/testProgs/playSIP ${PREFIX}/bin/
@${INSTALL_PROGRAM} ${WRKSRC}/testProgs/openRTSP ${PREFIX}/bin/
@${INSTALL_PROGRAM} ${WRKSRC}/testProgs/sapWatch ${PREFIX}/bin/
do-install::
@${ECHO_CMD} live/BasicUsageEnvironment/libBasicUsageEnvironment.a >> ${PLIST}
@${ECHO_CMD} live/UsageEnvironment/libUsageEnvironment.a >> ${PLIST}
@${ECHO_CMD} live/groupsock/libgroupsock.a >> ${PLIST}
@${ECHO_CMD} live/liveMedia/libliveMedia.a >> ${PLIST}
@${INSTALL_DATA} ${WRKSRC}/BasicUsageEnvironment/libBasicUsageEnvironment.a ${PREFIX}/live/BasicUsageEnvironment/
@${INSTALL_DATA} ${WRKSRC}/UsageEnvironment/libUsageEnvironment.a ${PREFIX}/live/UsageEnvironment/
@${INSTALL_DATA} ${WRKSRC}/groupsock/libgroupsock.a ${PREFIX}/live/groupsock/
@${INSTALL_DATA} ${WRKSRC}/liveMedia/libliveMedia.a ${PREFIX}/live/liveMedia/
do-install::
.for file in ${BasicUsageEnvironment}
@${ECHO_CMD} live/BasicUsageEnvironment/include/${file:T} >> ${PLIST}
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/live/BasicUsageEnvironment/include/
.endfor
.for file in ${UsageEnvironment}
@${ECHO_CMD} live/UsageEnvironment/include/${file:T} >> ${PLIST}
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/live/UsageEnvironment/include/
.endfor
.for file in ${groupsock}
@${ECHO_CMD} live/groupsock/include/${file:T} >> ${PLIST}
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/live/groupsock/include/
.endfor
.for file in ${liveMedia}
@${ECHO_CMD} live/liveMedia/include/${file:T} >> ${PLIST}
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/live/liveMedia/include/
.endfor
do-install::
@${CAT} ${.CURDIR}/pkg-plist >> ${PLIST}
.include <bsd.port.mk>