2010-03-15 16:39:04 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= flvstreamer
|
|
|
|
PORTVERSION= 2.1.c.1
|
2011-01-04 12:56:56 +01:00
|
|
|
PORTREVISION= 1
|
2010-03-15 16:39:04 +01:00
|
|
|
CATEGORIES= multimedia net
|
|
|
|
MASTER_SITES= SAVANNAH
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/source
|
|
|
|
DISTNAME= ${PORTNAME}-2.1c1
|
|
|
|
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= Open source command-line RTMP client
|
2010-03-15 16:39:04 +01:00
|
|
|
|
2013-10-17 09:37:29 +02:00
|
|
|
USES= gmake
|
2010-03-15 16:39:04 +01:00
|
|
|
ALL_TARGET= posix
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2011-12-13 19:58:01 +01:00
|
|
|
MAKE_ARGS= THREADLIB="${PTHREAD_LIBS}" \
|
|
|
|
XCFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
|
|
|
|
XLDFLAGS="${LDFLAGS}"
|
2011-01-04 12:56:56 +01:00
|
|
|
PLIST_FILES= bin/flvstreamer bin/streams
|
2010-03-15 16:39:04 +01:00
|
|
|
PORTDOCS= ChangeLog ChangeLog.rtmpdump README
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PLIST_FILES:S,^bin/,,} \
|
2013-10-17 09:37:29 +02:00
|
|
|
${STAGEDIR}${PREFIX}/bin
|
2010-03-15 16:39:04 +01:00
|
|
|
|
2014-02-21 14:38:20 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-10-17 09:37:29 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2010-03-15 16:39:04 +01:00
|
|
|
post-install:
|
2013-10-17 09:37:29 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
2010-03-15 16:39:04 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|