freebsd-ports/www/mythweb/Makefile
Martin Wilke 2389b28b17 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>
2010-01-04 15:06:59 +00:00

41 lines
1,007 B
Makefile

# New ports collection makefile for: mythweb
# Date created: 2009-12-27
# Whom: Bernhard Froehlich <decke@bluelife.at>
#
# $FreeBSD$
#
PORTNAME= mythweb
PORTVERSION= 0.22
CATEGORIES= www
MASTER_SITES= http://ftp.osuosl.org/pub/mythtv/ \
http://ftp.oregonstate.edu/pub/mythtv/
DISTNAME= mythplugins-${PORTVERSION}
MAINTAINER= decke@bluelife.at
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_APACHE= 2.2+
USE_PHP= spl session mysql pcre posix json
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's|/var/www/html|${WWWDIR}|' \
${WRKSRC}/mythweb/mythweb.conf.apache
do-install:
${MKDIR} ${WWWDIR}
${MKDIR} ${WWWDIR}/data
(cd ${WRKSRC}/mythweb/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.bak")
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
${CHMOD} -R 775 ${WWWDIR}/data
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>