Changeset View
Changeset View
Standalone View
Standalone View
head/www/mythplugin-mythweb/Makefile
# Created by: Bernhard Froehlich <decke@bluelife.at> | # Created by: Bernhard Froehlich <decke@bluelife.at> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= mythweb | PORTNAME= mythweb | ||||
PORTVERSION= 0.28.1 | |||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
PORTREVISION= 1 | DISTVERSION= 29.1 | ||||
CATEGORIES= www | CATEGORIES= www | ||||
PKGNAMEPREFIX= mythplugin- | PKGNAMEPREFIX= mythplugin- | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Frontend for scheduling and managing recordings on your MythTV Box | COMMENT= Frontend for scheduling and managing recordings on your MythTV Box | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
IGNORE_WITH_PHP= 70 71 72 | USES= php shebangfix perl5 | ||||
USE_PERL5= run | |||||
RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql | USE_PHP= json pcre posix mysqli session spl sockets | ||||
USES= php shebangfix | |||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= MythTV | GH_ACCOUNT= MythTV | ||||
USE_PHP= json mysql pcre posix session spl | |||||
SHEBANG_FILES= mythweb.pl modules/_shared/lang/build_translation.pl \ | SHEBANG_FILES= mythweb.pl modules/_shared/lang/build_translation.pl \ | ||||
modules/coverart/handler.pl modules/stream/*.pl | modules/coverart/handler.pl modules/stream/*.pl | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" | PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" | ||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
REINPLACE_ARGS= -i "" | REINPLACE_ARGS= -i "" | ||||
OPTIONS_DEFINE= APACHE LIGHTTPD | OPTIONS_DEFINE= APACHE LIGHTTPD NGINX | ||||
OPTIONS_DEFAULT= APACHE | OPTIONS_DEFAULT= APACHE | ||||
APACHE_USE= APACHE_RUN=22+ | APACHE_USE= APACHE_RUN=22+ | ||||
LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd | LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd | ||||
NGINX_DESC= Nginx server support | |||||
NGINX_RUN_DEPENDS= nginx:www/nginx | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|/var/www/html|${WWWDIR}|' \ | @${REINPLACE_CMD} -e 's|/var/www/html|${WWWDIR}|' \ | ||||
${WRKSRC}/mythweb.conf.apache | ${WRKSRC}/mythweb.conf.apache | ||||
@${REINPLACE_CMD} -e 's|/usr/bin/php-cgi|${LOCALBASE}/bin/php-cgi|' \ | @${REINPLACE_CMD} -e 's|/usr/bin/php-cgi|${LOCALBASE}/bin/php-cgi|' \ | ||||
${WRKSRC}/mythweb.conf.lighttpd | ${WRKSRC}/mythweb.conf.lighttpd | ||||
do-install: | do-install: | ||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \ | (cd ${WRKSRC} && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \ | ||||
"! -name *.orig -and ! -name LICENSE") | "! -name *.orig -and ! -name LICENSE") | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |