head	1.6;
access;
symbols
	RELEASE_7_3_0:1.2;
locks; strict;
comment	@# @;


1.6
date	2010.06.21.13.39.38;	author decke;	state dead;
branches;
next	1.5;

1.5
date	2010.05.18.04.07.53;	author pgollucci;	state Exp;
branches;
next	1.4;

1.4
date	2010.05.05.21.54.07;	author pgollucci;	state Exp;
branches;
next	1.3;

1.3
date	2010.04.01.12.45.37;	author decke;	state Exp;
branches;
next	1.2;

1.2
date	2010.01.31.00.49.50;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2010.01.04.15.06.59;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.6
log
@- Update to 0.23
- Port has been renamed to mythplugin-mythweb to have a common prefix for
all MythTV plugins.

Approved by:	beat (co-mentor)
Feature safe:	yes
@
text
@# New ports collection makefile for:	mythweb
# Date created:		2009-12-27
# Whom:			Bernhard Froehlich <decke@@bluelife.at>
#
# $FreeBSD: ports/www/mythweb/Makefile,v 1.5 2010/05/18 04:07:53 pgollucci Exp $
#

PORTNAME=	mythweb
PORTVERSION=	0.22
PORTREVISION=	3
CATEGORIES=	www
MASTER_SITES=	http://ftp.osuosl.org/pub/mythtv/ \
		http://ftp.oregonstate.edu/pub/mythtv/
DISTNAME=	mythplugins-${PORTVERSION}

MAINTAINER=	decke@@FreeBSD.org
COMMENT=	A frontend for scheduling and managing recordings on your MythTV Box

RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql

NO_BUILD=	yes
USE_BZIP2=	yes
USE_PHP=	spl session mysql pcre posix json
SUB_FILES=	pkg-message
REINPLACE_ARGS=	-i ""

OPTIONS=	APACHE "Enable Apache Support" on \
		LIGHTTPD "Enable Lighttpd Support" off

.include <bsd.port.options.mk>

.if defined(WITH_APACHE)
USE_APACHE=	2.2+
.endif

.if defined(WITH_LIGHTTPD)
RUN_DEPENDS+=	lighttpd:${PORTSDIR}/www/lighttpd
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|/var/www/html|${WWWDIR}|' \
		${WRKSRC}/mythweb/mythweb.conf.apache
	@@${REINPLACE_CMD} -e 's|/usr/bin/php-cgi|${LOCALBASE}/bin/php-cgi|' \
		${WRKSRC}/mythweb/mythweb.conf.lighttpd

do-install:
	${MKDIR} ${WWWDIR}
	${MKDIR} ${WWWDIR}/data
	(cd ${WRKSRC}/mythweb/ && ${COPYTREE_SHARE} "*" ${WWWDIR})

	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	${CHMOD} -R 775 ${WWWDIR}/data

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.5
log
@- Chase devel/apr -> devel/apr1 shuffling

PR:             ports/146553
Submitted by:   myself (pgollucci@@)
With Hat:       apache@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@5/5: Chase www/apache22 (bundled apr shlib bump)

PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@@
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.3
log
@- Change to my FreeBSD email address

Approved by:	miwi (mentor), beat (co-mentor)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.2
log
@- Added Apache and Lighttpd options
- Lighttpd support added
- PORTREVISION bumped

PR:		143301
Submitted by:	Bernhard Froehlich <decke@@bluelife.at> (maintainer)
@
text
@d16 1
a16 1
MAINTAINER=	decke@@bluelife.at
@


1.1
log
@MythWeb provides a frontend for scheduling and managing recordings
on your MythBox from a web browser located on another machine.
Provided the security is set up correctly on your MythBox you can
access your machine from anywhere on the internet, or even your
mobile phone as long as you have a compatible browser.

WWW:	http://www.mythtv.org/wiki/MythWeb

PR:		ports/142148
Submitted by:	Bernhard Froehlich <decke at bluelife.at>
@
text
@d10 1
a22 1
USE_APACHE=	2.2+
d25 14
d43 2
d49 1
a49 1
	(cd ${WRKSRC}/mythweb/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.bak")
@

