aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/flvstreamer/Makefile
blob: deef028fee45591dd900f84c00f550a036d0cf40 (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
# $FreeBSD$

PORTNAME=   flvstreamer
PORTVERSION=    2.1.c.1
PORTREVISION=   1
CATEGORIES= multimedia net
MASTER_SITES=   SAVANNAH/${PORTNAME}/source
DISTNAME=   ${PORTNAME}-2.1c1

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Open source command-line RTMP client

USES=       gmake
ALL_TARGET= posix
WRKSRC=     ${WRKDIR}/${PORTNAME}
MAKE_ARGS=  THREADLIB="-lpthread" XCFLAGS="${CFLAGS}" XLDFLAGS="${LDFLAGS}"
PLIST_FILES=    bin/flvstreamer bin/streams
PORTDOCS=   ChangeLog ChangeLog.rtmpdump README

OPTIONS_DEFINE= DOCS

do-install:
    cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PLIST_FILES:S,^bin/,,} \
        ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>