freebsd-ports/www/lighttpd-mod_h264_streaming/Makefile
Jan Beich 629a8d6b69 Convert CC license names to r421995 spellings
While here fix common mistakes such as:
- Missing "or (at your option) any later version" bit
- LICENSE_FILE with LICENSE_COMB != single
- LICENSE_COMB = dual for code + assets
- Copy-pasting undocumented NC/SA restriction
2016-09-28 06:38:00 +00:00

40 lines
1.2 KiB
Makefile

# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$
PORTNAME= mod_h264_streaming
CATEGORIES= www multimedia
PKGNAMEPREFIX= lighttpd-
DISTNAME= lighttpd-${PORTVERSION}
COMMENT= H264 streaming module for lighttpd
LICENSE= CC-BY-NC-SA-3.0
LICENSE_FILE= ${FILESDIR}/COPYING.mod_h264_streaming
LICENSE_DISTFILES= ${PATCHFILES}
BUILD_DEPENDS= ${LOCALBASE}/sbin/lighttpd:www/lighttpd
RUN_DEPENDS= ${LOCALBASE}/sbin/lighttpd:www/lighttpd
MASTERDIR= ${.CURDIR}/../lighttpd
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
MANUAL_PACKAGE_BUILD= free for non-commercial use only
PATCH_SITES+= https://raw.githubusercontent.com/pkubaj/lighttpd-mod_h264_streaming/master/
PATCHFILES+= lighttpd-1.4.26_mod_h264_streaming-2.2.9.patch
BUILD_WRKSRC= ${WRKSRC}/src
ALL_TARGET= ${PORTNAME}.la
_BUILDING_LIGHTTPD_MODULE= yes
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/lighttpd
${INSTALL_LIB} ${WRKSRC}/src/.libs/${PORTNAME}.so \
${STAGEDIR}${PREFIX}/lib/lighttpd
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d
${INSTALL_DATA} ${FILESDIR}/h264_streaming.conf \
${STAGEDIR}${PREFIX}/etc/lighttpd/conf.d/h264_streaming.conf.sample
.include "${MASTERDIR}/Makefile"