aboutsummaryrefslogtreecommitdiffstats
path: root/net/liveMedia/Makefile
blob: 16a16d78d2dac6ece3a4d748be905f3d7371e0f9 (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
# Created by: nork@FreeBSD.org
# $FreeBSD$

PORTNAME=   liveMedia
PORTVERSION=    2013.11.29
PORTEPOCH=  2
CATEGORIES= net devel
MASTER_SITES=   LOCAL/wg \
        http://www.live555.com/liveMedia/public/
DISTNAME=   live.${PORTVERSION}

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    LIVE.COM Streaming Media

LICENSE=    LGPL21

NO_CDROM=   'dated material'

WRKSRC=     ${WRKDIR}/live

HAS_CONFIGURE=  yes

CONFIGURE_SCRIPT=   genMakefiles
CONFIGURE_ARGS=     fixed-${OPSYS:L}

USES=       gmake
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+=    -fPIC
.else
CFLAGS+=    -fpic
.endif

.if ${ARCH} == "sparc64"
BROKEN=     Does not compile
.endif

post-extract:
    ${CP} ${FILESDIR}/config.fixed-${OPSYS:L} ${WRKSRC}/

.include <bsd.port.post.mk>