pkgsrc/net/rtmpdump/Makefile

34 lines
875 B
Makefile

# $NetBSD: Makefile,v 1.8 2014/02/12 23:18:25 tron Exp $
#
DISTNAME= rtmpdump-2.4
PKGREVISION= 2
CATEGORIES= net multimedia
MASTER_SITES= http://rtmpdump.mplayerhq.hu/download/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://rtmpdump.mplayerhq.hu/
COMMENT= Tools for handling RTMP stream
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
BUILD_DIRS= . librtmp
WRKSRC= ${WRKDIR}/rtmpdump
PKGCONFIG_OVERRIDE+= librtmp/librtmp.pc.in
LDFLAGS.SunOS+= -lnsl -lsocket
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
SUBST_FILES.fix-paths= Makefile
SUBST_FILES.fix-paths+= librtmp/Makefile
SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"