2013-09-21 01:36:50 +02:00
|
|
|
# Created by: Martin Matuska <mm@FreeBSD.org>
|
2010-08-27 20:50:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mod_h264_streaming
|
|
|
|
CATEGORIES= www multimedia
|
|
|
|
PKGNAMEPREFIX= lighttpd-
|
|
|
|
DISTNAME= lighttpd-${PORTVERSION}
|
|
|
|
|
|
|
|
COMMENT= H264 streaming module for lighttpd
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd
|
|
|
|
|
2011-03-23 16:49:12 +01:00
|
|
|
LICENSE= CCPL.BY-NC-SA.30
|
|
|
|
LICENSE_NAME= Creative Commons Attribution-NonCommercial-ShareAlike 3.0 \
|
|
|
|
Unported License
|
|
|
|
LICENSE_FILE= ${FILESDIR}/COPYING.mod_h264_streaming
|
|
|
|
LICENSE_DISTFILES= ${PATCHFILES}
|
|
|
|
LICENSE_PERMS= dist-mirror pkg-mirror
|
|
|
|
|
2010-08-27 20:50:23 +02:00
|
|
|
MASTERDIR= ${.CURDIR}/../lighttpd
|
2015-04-30 15:15:10 +02:00
|
|
|
DESCR= ${.CURDIR}/pkg-descr
|
|
|
|
PLIST= ${.CURDIR}/pkg-plist
|
2010-08-27 20:50:23 +02:00
|
|
|
|
2010-08-27 20:53:26 +02:00
|
|
|
MANUAL_PACKAGE_BUILD= free for non-commercial use only
|
2010-08-27 20:50:23 +02:00
|
|
|
|
2015-05-14 12:15:04 +02:00
|
|
|
PATCH_SITES+= LOCAL/mm
|
2010-08-27 20:50:23 +02:00
|
|
|
PATCHFILES+= lighttpd-1.4.26_mod_h264_streaming-2.2.9.patch.gz
|
|
|
|
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
ALL_TARGET= ${PORTNAME}.la
|
|
|
|
|
|
|
|
_BUILDING_LIGHTTPD_MODULE= yes
|
|
|
|
|
|
|
|
do-install:
|
2014-01-19 12:00:28 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/lighttpd
|
2014-05-07 08:50:59 +02:00
|
|
|
@${INSTALL_LIB} ${WRKSRC}/src/.libs/${PORTNAME}.so \
|
2014-01-19 12:00:28 +01:00
|
|
|
${STAGEDIR}${PREFIX}/lib/lighttpd
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d
|
2010-08-27 20:50:23 +02:00
|
|
|
@${INSTALL_DATA} ${FILESDIR}/h264_streaming.conf \
|
2014-01-19 12:00:28 +01:00
|
|
|
${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d/h264_streaming.conf.sample
|
2010-08-27 20:50:23 +02:00
|
|
|
|
|
|
|
.include "${MASTERDIR}/Makefile"
|