openbsd-ports/net/rtmpdump/Makefile
2010-05-29 20:20:17 +00:00

35 lines
860 B
Makefile

# $OpenBSD: Makefile,v 1.15 2010/05/29 20:20:17 sthen Exp $
COMMENT = dump RTMP media streams
DISTNAME = rtmpdump-2.2e
#EXTRACT_SUFX = .tgz
CATEGORIES = net
HOMEPAGE = http://rtmpdump.mplayerhq.hu/
# tools GPLv2+, librtmp LGPLv2.1+
PERMIT_PACKAGE_CDROM = No
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =No
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c crypto pthread ssl z
MASTER_SITES = ${HOMEPAGE}download/
MAKE_FLAGS = CC="${CC}" XCFLAGS="${CFLAGS}" OPT= THREADLIB=-pthread
NO_REGRESS = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtmpdump
cd ${WRKBUILD}; \
${INSTALL_PROGRAM} rtmpdump rtmpsrv rtmpsuck rtmpgw ${PREFIX}/bin; \
${INSTALL_MAN} rtmpdump.1 ${PREFIX}/man/man1; \
${INSTALL_MAN} rtmpgw.8 ${PREFIX}/man/man8; \
${INSTALL_DATA} README COPYING ChangeLog ${PREFIX}/share/doc/rtmpdump
.include <bsd.port.mk>