dc3f15e2bd
- fix the inclusion order of network headers (netinet/in.h before arpa/inet.h)
40 lines
840 B
Makefile
40 lines
840 B
Makefile
# $OpenBSD: Makefile,v 1.19 2011/03/21 09:46:31 sthen Exp $
|
|
|
|
SHARED_LIBS = rtmp 0.0
|
|
|
|
COMMENT = dump RTMP media streams
|
|
|
|
DISTNAME = rtmpdump-2.3
|
|
REVISION = 0
|
|
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
|
|
|
|
USE_GROFF = Yes
|
|
NO_REGRESS = Yes
|
|
|
|
do-configure:
|
|
perl -pi -e 's,so\.0,so.${LIBrtmp_VERSION},g' \
|
|
${WRKSRC}/librtmp/Makefile
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rtmpdump
|
|
cd ${WRKBUILD}; \
|
|
${INSTALL_DATA} README COPYING ChangeLog ${PREFIX}/share/doc/rtmpdump
|
|
|
|
.include <bsd.port.mk>
|