# New ports collection makefile for: liveMedia # Date created: 2002/09/25 # Whom: nork@FreeBSD.org # # $FreeBSD$ # PORTNAME= liveMedia PORTVERSION= 2003.02.10 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 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} BasicUsageEnvironment= \ BasicUsageEnvironment/include/BasicHashTable.hh \ BasicUsageEnvironment/include/BasicUsageEnvironment.hh \ BasicUsageEnvironment/include/BasicUsageEnvironment_version.hh \ BasicUsageEnvironment/include/DelayQueue.hh \ BasicUsageEnvironment/include/Lock.hh UsageEnvironment= \ UsageEnvironment/include/Boolean.hh \ UsageEnvironment/include/HashTable.hh \ UsageEnvironment/include/UsageEnvironment.hh \ UsageEnvironment/include/UsageEnvironment_version.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/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/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}/ #do-configure: # @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./genMakefiles fixed-${OPSYS:L}) pre-install: @${RM} -f ${PLIST} @${TOUCH} ${PLIST} @${INSTALL} -d ${_SHROWNGRP} -m ${SHAREMODE} ${PREFIX}/live @${INSTALL} -d ${_SHROWNGRP} -m ${SHAREMODE} ${PREFIX}/live/groupsock @${INSTALL} -d ${_SHROWNGRP} -m ${SHAREMODE} ${PREFIX}/live/liveMedia @${INSTALL} -d ${_SHROWNGRP} -m ${SHAREMODE} ${PREFIX}/live/UsageEnvironment @${INSTALL} -d ${_SHROWNGRP} -m ${SHAREMODE} ${PREFIX}/live/BasicUsageEnvironment @${INSTALL} -d ${_SHROWNGRP} -m ${SHAREMODE} ${PREFIX}/live/groupsock/include @${INSTALL} -d ${_SHROWNGRP} -m ${SHAREMODE} ${PREFIX}/live/liveMedia/include @${INSTALL} -d ${_SHROWNGRP} -m ${SHAREMODE} ${PREFIX}/live/UsageEnvironment/include @${INSTALL} -d ${_SHROWNGRP} -m ${SHAREMODE} ${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