aboutsummaryrefslogtreecommitdiffstats
path: root/net/liveMedia/Makefile
blob: 9d70c003bc7e802db6c6d5e9a2137e7f6c2a5ade (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# New ports collection makefile for:    liveMedia
# Date created:             2002/09/25
# Whom:                 nork@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   liveMedia
PORTVERSION=    2002.10.19
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

WRKSRC=     ${WRKDIR}/live

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/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/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/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/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/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})

do-install::
    @${INSTALL_PROGRAM} ${WRKSRC}/testProgs/openRTSP ${PREFIX}/bin/
    @${INSTALL_PROGRAM} ${WRKSRC}/testProgs/sapWatch ${PREFIX}/bin/

do-install::
    @${MKDIR} ${PREFIX}/live
    @${MKDIR} ${PREFIX}/live/BasicUsageEnvironment
    @${MKDIR} ${PREFIX}/live/UsageEnvironment
    @${MKDIR} ${PREFIX}/live/groupsock
    @${MKDIR} ${PREFIX}/live/liveMedia
    @${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::
    @${MKDIR} ${PREFIX}/live/BasicUsageEnvironment/include
    @${MKDIR} ${PREFIX}/live/UsageEnvironment/include
    @${MKDIR} ${PREFIX}/live/groupsock/include
    @${MKDIR} ${PREFIX}/live/liveMedia/include
.for file in ${BasicUsageEnvironment}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/live/BasicUsageEnvironment/include/
.endfor
.for file in ${UsageEnvironment}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/live/UsageEnvironment/include/
.endfor
.for file in ${groupsock}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/live/groupsock/include/
.endfor
.for file in ${liveMedia}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/live/liveMedia/include/
.endfor

.include <bsd.port.mk>