freebsd-ports/multimedia/rtmpdump/Makefile
Hiroki Sato 271e0aa883 Fix duplicated Cflags: lines in librtmp.pc.
Submitted by:	Mel Flynn
PR:		ports/164489
2012-01-26 03:49:15 +00:00

48 lines
926 B
Makefile

# Ports collection makefile for: rtmpdump
# Date created: March 15, 2010
# Whom: hrs
#
# $FreeBSD$
PORTNAME= rtmpdump
PORTVERSION= 2.4
PORTREVISION= 1
CATEGORIES= multimedia net
MASTER_SITES= http://rtmpdump.mplayerhq.hu/download/
MAINTAINER= hrs@FreeBSD.org
COMMENT= A tool to download RTMP streams
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNOME= 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
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
BROKEN= does not compile on 6.X
.endif
.if ${OPENSSLBASE} != "/usr"
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>