blob: 16f2ae69b83b9d38e368dd9a2f567b43d8a751c0 (
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
|
# $FreeBSD$
PORTNAME= rtmpdump
PORTVERSION= 2.4
PORTREVISION= 2
CATEGORIES= multimedia net
MASTER_SITES= http://rtmpdump.mplayerhq.hu/download/
MAINTAINER= hrs@FreeBSD.org
COMMENT= A tool to download RTMP streams
LICENSE= GPLv2
USES= pkgconfig
USE_LDCONFIG= yes
USE_OPENSSL= yes
MAKE_ENV= THREADLIB="${PTHREAD_LIBS}"
CFLAGS+= ${PTHREAD_CFLAGS}
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= ChangeLog README
MAN1= rtmpdump.1
MAN3= librtmp.3
MAN8= rtmpgw.8
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${OPENSSLBASE} != "/usr"
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
.endif
.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|