head	1.5;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.02.38;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2011.03.23.15.49.12;	author mm;	state Exp;
branches;
next	1.3;

1.3
date	2010.08.28.08.33.34;	author mm;	state Exp;
branches;
next	1.2;

1.2
date	2010.08.27.18.53.26;	author mm;	state Exp;
branches;
next	1.1;

1.1
date	2010.08.27.18.50.23;	author mm;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	mod_h264_streaming
# Date created:			27 Aug 2010
# Whom:				Martin Matuska <mm@@FreeBSD.org>
#
# $FreeBSD: head/www/lighttpd-mod_h264_streaming/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	mod_h264_streaming
CATEGORIES=	www multimedia
PKGNAMEPREFIX=	lighttpd-
DISTNAME=	lighttpd-${PORTVERSION}

MAINTAINER=	mm@@FreeBSD.org
COMMENT=	H264 streaming module for lighttpd

BUILD_DEPENDS=	${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd
RUN_DEPENDS=	${LOCALBASE}/sbin/lighttpd:${PORTSDIR}/www/lighttpd

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

MASTERDIR=	${.CURDIR}/../lighttpd
PLIST=		${FILESDIR}/pkg-plist.${PORTNAME}
DESCR=		${FILESDIR}/pkg-descr.${PORTNAME}
LATEST_LINK=	lighttpd-${PORTNAME}

MANUAL_PACKAGE_BUILD=	free for non-commercial use only

PATCH_SITES+=	${MASTER_SITE_LOCAL}
PATCHFILES+=	lighttpd-1.4.26_mod_h264_streaming-2.2.9.patch.gz
PATCH_SITE_SUBDIR+=	mm

BUILD_WRKSRC=	${WRKSRC}/src
ALL_TARGET=	${PORTNAME}.la

_BUILDING_LIGHTTPD_MODULE=	yes

do-install:
	@@${INSTALL_KLD} ${WRKSRC}/src/.libs/${PORTNAME}.so \
		${LOCALBASE}/lib/lighttpd
	@@${INSTALL_KLD} ${WRKSRC}/src/.libs/${PORTNAME}.la \
		${LOCALBASE}/lib/lighttpd
	@@${INSTALL_DATA} ${WRKSRC}/src/.libs/${PORTNAME}.a \
		${LOCALBASE}/lib/lighttpd

post-install:
	@@${INSTALL_DATA} ${FILESDIR}/h264_streaming.conf \
		${PREFIX}/etc/lighttpd/conf.d/h264_streaming.conf.sample
.if !exists(${PREFIX}/etc/lighttpd/conf.d/h264_streaming.conf)
	@@${INSTALL_DATA} ${FILESDIR}/h264_streaming.conf \
		${PREFIX}/etc/lighttpd/conf.d/h264_streaming.conf
.endif

.include "${MASTERDIR}/Makefile"
@


1.4
log
@- Add LICENSE knobs
- Bundle license for mod_h264_streaming
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- Use autoconf and automake on build time (avoid re-run of configure)
- Remove AUTOTOOLS knobs from slave ports
@
text
@d19 7
a41 5
.if !defined(NOPORTDOCS)
DOCSDIR=	${PREFIX}/share/doc/${LATEST_LINK}
PORTDOCS=	COPYING_H264
.endif

a57 5
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/COPYING_H264 ${DOCSDIR}
.endif

@


1.2
log
@- Fix license knob
@
text
@a28 2
USE_AUTOTOOLS+=	autoconf:262 autoheader:262 aclocal:110 automake:110
ACLOCAL_ARGS+=	-I m4
@


1.1
log
@This is the H264 Streaming Module for the lighttpd webserver.
Its features are as follows:

  * Timeshifting seek
  * Virtual video clips
  * Network efficiency
  * Encoding

WWW: http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
@
text
@d24 1
a24 1
#MANUAL_PACKAGE_BUILD=	free for non-commercial use only
@

