head	1.20;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.8
	RELEASE_8_1_0:1.7
	old_RELEASE_7_3_0:1.2;
locks; strict;
comment	@# @;


1.20
date	2012.11.17.06.02.43;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2012.10.27.13.24.45;	author decke;	state Exp;
branches;
next	1.18;

1.18
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.17;

1.17
date	2012.08.04.08.13.01;	author decke;	state Exp;
branches;
next	1.16;

1.16
date	2012.06.30.14.30.58;	author az;	state Exp;
branches;
next	1.15;

1.15
date	2012.05.10.08.21.14;	author decke;	state Exp;
branches;
next	1.14;

1.14
date	2012.02.01.14.51.25;	author decke;	state Exp;
branches;
next	1.13;

1.13
date	2011.08.20.17.27.48;	author ohauer;	state Exp;
branches;
next	1.12;

1.12
date	2011.05.22.17.08.59;	author decke;	state Exp;
branches;
next	1.11;

1.11
date	2011.05.20.12.41.24;	author decke;	state Exp;
branches;
next	1.10;

1.10
date	2011.01.04.17.49.38;	author decke;	state Exp;
branches;
next	1.9;

1.9
date	2010.12.08.18.34.56;	author decke;	state Exp;
branches;
next	1.8;

1.8
date	2010.08.06.09.27.42;	author decke;	state Exp;
branches;
next	1.7;

1.7
date	2010.06.21.13.39.38;	author decke;	state Exp;
branches;
next	1.6;

1.6
date	2010.06.21.13.29.21;	author decke;	state Exp;
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.20
log
@Switch exporter over
@
text
@# Created by: Bernhard Froehlich <decke@@bluelife.at>
# $FreeBSD: head/www/mythplugin-mythweb/Makefile 306501 2012-10-27 13:24:45Z decke $

PORTNAME=	mythweb
PORTVERSION=	0.26.0
CATEGORIES=	www
MASTER_SITES=	http://ftp.osuosl.org/pub/mythtv/ \
		http://ftp.osuosl.org/pub/mythtv/old_releases/ \
		http://ftp.oregonstate.edu/pub/mythtv/ \
		http://ftp.oregonstate.edu/pub/mythtv/old_releases/
PKGNAMEPREFIX=	mythplugin-
DISTNAME=	mythplugins-${PORTVERSION}

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

RUN_DEPENDS=	p5-DBD-mysql>=0:${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_DEFINE=	APACHE LIGHTTPD
OPTIONS_DEFAULT=	APACHE

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE_RUN=	22+
.endif

.if ${PORT_OPTIONS:MLIGHTTPD}
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} "! -name *.orig")

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

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

.include <bsd.port.mk>
@


1.19
log
@SVN rev 306501 on 2012-10-27 13:24:45Z by decke

- Update to 0.26.0
- Convert to OptionsNG
- Force binutils from ports for 7.x/8.x because binutils from base is too old
- Trim Makefile headers

Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.18
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d1 1
a1 4
# New ports collection makefile for:	mythplugin-mythweb
# Date created:		2009-12-27
# Whom:			Bernhard Froehlich <decke@@bluelife.at>
#
a2 1
#
d5 1
a5 1
PORTVERSION=	0.25.2
d25 2
a26 2
OPTIONS=	APACHE "Enable Apache Support" on \
		LIGHTTPD "Enable Lighttpd Support" off
d30 1
a30 1
.if defined(WITH_APACHE)
d34 1
a34 1
.if defined(WITH_LIGHTTPD)
@


1.17
log
@SVN rev 302009 on 2012-08-04 08:13:01Z by decke

- Update to 0.25.2
- Add fixes for PHP 5.4
@
text
@d35 1
a35 1
USE_APACHE=	22+
@


1.16
log
@- Remove SITE_PERL from *_DEPENDS

Approved by: portmgr@@ (bapt@@)
@
text
@d9 1
a9 1
PORTVERSION=	0.25
d51 1
a51 1
	(cd ${WRKSRC}/mythweb/ && ${COPYTREE_SHARE} "*" ${WWWDIR})
@


1.15
log
@- Update to 0.25
- Fix mythbackend rc script to start after mysql
- Add HOME env variable for mythbackend to find it's home directory
@
text
@d21 1
a21 1
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
@


1.14
log
@- Update to 0.24.2
@
text
@d9 1
a9 1
PORTVERSION=	0.24.2
@


1.13
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d9 1
a9 2
PORTVERSION=	0.24.1
PORTREVISION=	1
@


1.12
log
@- Switch back to mythplugins distfile because they rerolled it and included mythweb again
- Remove WRKSRC
- Bump PORTREVISION

Reported by:	Ashley Diamond <ash@@diamondbsd.com>
@
text
@d36 1
a36 1
USE_APACHE=	2.2+
@


1.11
log
@- Update to 0.24.1
@
text
@d10 1
d17 1
a17 1
EXTRACT_SUFX=	.tar
a23 1
WRKSRC=		${WRKDIR}/mythplugins-${PORTVERSION}
d25 1
@


1.10
log
@- Update to 0.24
- Remove MD5 checksum
@
text
@d9 1
a9 1
PORTVERSION=	0.24
d16 1
a16 1
DISTNAME=	mythplugins-${PORTVERSION}
d23 1
a24 1
USE_BZIP2=	yes
@


1.9
log
@- Update MythTV MASTER_SITES for old releases

Noticed by:	The Distilator
@
text
@d9 1
a9 1
PORTVERSION=	0.23.1
@


1.8
log
@- Update to 0.23.1

Approved by:	miwi (mentor)
@
text
@d12 3
a14 1
		http://ftp.oregonstate.edu/pub/mythtv/
@


1.7
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
@d9 1
a9 1
PORTVERSION=	0.23
@


1.6
log
@- Forced commit to document that www/mythplugin-mythweb was
repocopied from www/mythweb.

PR:		ports/147737
Repocopy by:	marcus
Approved by:	beat (co-mentor)
Feature safe:	yes
@
text
@d1 1
a1 1
# New ports collection makefile for:	mythweb
d9 1
a9 2
PORTVERSION=	0.22
PORTREVISION=	3
d13 1
@


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

PR:             ports/146553
Submitted by:   myself (pgollucci@@)
With Hat:       apache@@
@
text
@@


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")
@

