Index: head/devel/flyspray/Makefile =================================================================== --- head/devel/flyspray/Makefile (revision 466792) +++ head/devel/flyspray/Makefile (revision 466793) @@ -1,84 +1,83 @@ # Created by: Nick Hilliard # $FreeBSD$ PORTNAME= flyspray PORTVERSION= 0.9.9.7 PORTREVISION= 3 CATEGORIES= devel www MASTER_SITES= http://flyspray.org/packed/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple, easy-to-use web based bug tracking system RUN_DEPENDS= ${LOCALBASE}/share/adodb/adodb.inc.php:databases/adodb USE_PHP= pcre session zlib xml gd -USES= dos2unix zip -WANT_PHP_WEB= yes +USES= dos2unix php:web zip NO_BUILD= yes NO_ARCH= yes NO_WRKSUBDIR= yes DOS2UNIX_REGEX= .php OPTIONS_DEFINE= GRAPHVIZ MYSQL MYSQLI PGSQL DOCS OPTIONS_DEFAULT= MYSQLI DOCS_SUB_FILES= pkg-message MYSQLI_DESC= Use MySQLi Database Interface FLYSPRAYDIR= ${PREFIX}/share/${PORTNAME} FSINSTALLDIR= ${STAGEDIR}${FLYSPRAYDIR} ATTACHMENTDIR= ${DBDIR}/${PORTNAME}/attachments DBDIR= /var/db DOC_FILES= AUTHORS.txt BUGS.txt CHANGELOG.txt INSTALL.txt \ QA_CHECKLIST.txt README.txt TODO.txt UPGRADING.txt \ README.FreeBSD \ licences/ADOdb.licence.txt \ licences/Flyspray.licence.txt \ licences/NuvolaIcons.licence.txt \ licences/jsCalendar.licence.txt FLYSPRAY_FILES= cache docs/licences/gnu_lgpl.html favicon.ico \ flyspray.conf.php-dist feed.php header.php htaccess.dist \ includes index.php javascript lang plugins robots.txt \ schedule.php scripts setup templates themes PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} MYSQL_USE= PHP=mysql MYSQLI_USE= PHP=mysqli PGSQL_USE= PHP=pgsql GRAPHVIZ_RUN_DEPENDS= ${LOCALBASE}/bin/dot:graphics/graphviz post-patch: @${CP} ${PKGDIR}/files/README.FreeBSD ${WRKSRC}/docs/ @${REINPLACE_CMD} -e "s|%%FLYSPRAYDIR%%|"${FLYSPRAYDIR}"|g" \ -e "s|%%DOCSDIR%%|"${DOCSDIR}"|g" \ ${WRKSRC}/docs/README.FreeBSD @${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} ';' @${REINPLACE_CMD} "s|E_ALL|E_ALL \& ~E_STRICT|g" \ ${WRKSRC}/includes/fix.inc.php @${RM} ${WRKSRC}/includes/fix.inc.php.bak do-install: ${MKDIR} ${FSINSTALLDIR} ${CP} ${WRKSRC}/setup/upgrade/${PORTVERSION}/flyspray.conf.php ${WRKSRC}/flyspray.conf.php-dist ${TOUCH} ${FSINSTALLDIR}/flyspray.conf.php cd ${WRKSRC} && \ ${TAR} cf - ${FLYSPRAY_FILES} | \ (cd ${FSINSTALLDIR} && ${TAR} -xf -) ${LN} -sf ${ATTACHMENTDIR} ${FSINSTALLDIR}/attachments ${LN} -sf ${PREFIX}/share/adodb ${FSINSTALLDIR} ${MKDIR} ${STAGEDIR}${ATTACHMENTDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${DOC_FILES} @${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/devel/gitlist/Makefile =================================================================== --- head/devel/gitlist/Makefile (revision 466792) +++ head/devel/gitlist/Makefile (revision 466793) @@ -1,48 +1,48 @@ # Created by: Andre Rikkert de Koe - ARK-ICT # $FreeBSD$ PORTNAME= gitlist PORTVERSION= 0.5.0 CATEGORIES= devel www MASTER_SITES= https://s3.amazonaws.com/gitlist/ \ http://freebsd.ark-ict.nl/ports/ MAINTAINER= andre@ark-ict.nl COMMENT= Web based Git repository browser written in PHP LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= git:devel/git PLIST= ${WRKDIR}/plist WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes -WANT_PHP_WEB= yes +USES= php:web USERS?= ${WWWOWN} GROUPS?= ${WWWGRP} SUB_FILES= pkg-message post-patch: ${MKDIR} ${WRKSRC}/cache cd ${WRKSRC}; \ ${REINPLACE_CMD} -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; \ ${FIND} . ! -type d | ${SORT} | ${SED} -e "s,^\.,%%WWWDIR%%," > ${PLIST}; ${ECHO} "@dir %%WWWDIR%%/vendor/phpmd/phpmd/setup" >> ${PLIST} ${ECHO} "@dir(${WWWOWN},${WWWGRP},) %%WWWDIR%%/cache" >> ${PLIST} do-install: cd ${WRKSRC}; \ IFS="$$(printf '\n\t')"; \ for src in $$( ${FIND} . ); do \ dst="${STAGEDIR}${WWWDIR}$${src#.}"; \ if ${TEST} -d "$$src"; then \ ${MKDIR} "$$dst"; \ else \ ${INSTALL_DATA} "$$src" "$$dst"; \ fi \ done .include Index: head/devel/gitphp/Makefile =================================================================== --- head/devel/gitphp/Makefile (revision 466792) +++ head/devel/gitphp/Makefile (revision 466793) @@ -1,30 +1,29 @@ # $FreeBSD$ PORTNAME= gitphp PORTVERSION= 0.2.8 PORTREVISION= 1 CATEGORIES= devel www MASTER_SITES= https://github.com/xiphux/gitphp/releases/download/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Web based git repository browser written in PHP LICENSE= GPLv2 -USES= gettext tar:bzip2 +USES= gettext php:web tar:bzip2 USE_PHP= bz2 fileinfo mbstring memcache posix simplexml spl zlib -WANT_PHP_WEB= yes NO_BUILD= yes PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_FILES= pkg-message RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdiff.so:textproc/pecl-xdiff@${PHP_FLAVOR} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} \ && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) ${FIND} ${STAGEDIR}${WWWDIR} -type f -exec ${CHMOD} 644 {} + .include Index: head/devel/phpsh/Makefile =================================================================== --- head/devel/phpsh/Makefile (revision 466792) +++ head/devel/phpsh/Makefile (revision 466793) @@ -1,36 +1,34 @@ # Created by: Ashish SHUKLA # $FreeBSD$ PORTNAME= phpsh PORTVERSION= 20110513 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://distfiles.pirateparty.in/ashish/ \ LOCAL/ashish MAINTAINER= ashish@FreeBSD.org COMMENT= Interactive shell for PHP LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:2.7 tar:bzip2 +USES= php:cli python:2.7 tar:bzip2 USE_PYTHON= distutils autoplist USE_PHP= pcre posix tokenizer NO_ARCH= yes - -WANT_PHP_CLI= yes PLIST_SUB= PORTNAME=${PORTNAME} PYDISTUTILS_PKGVERSION= 1.3 OPTIONS_DEFINE= PCNTL PCNTL_DESC= Fork on every command (pcntl PHP extension) PCNTL_USE= PHP=pcntl post-patch: @${GREP} -Rl '%%ETCDIR%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \ -e 's,%%ETCDIR%%,${ETCDIR},g' .include Index: head/devel/rth/Makefile =================================================================== --- head/devel/rth/Makefile (revision 466792) +++ head/devel/rth/Makefile (revision 466793) @@ -1,30 +1,29 @@ # Created by: Jan Siml # $FreeBSD$ PORTNAME= rth PORTVERSION= 1.7.0 PORTREVISION= 2 CATEGORIES= devel www MASTER_SITES= SF/${PORTNAME}/Release%20${PORTVERSION}/Release%20${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Web-based requirement, test, and bugtracking system -USES= zip +USES= php:web zip NO_BUILD= yes USE_PHP= mysqli gd PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_LIST= "PKGNAME=${PKGNAME}" SUB_FILES= pkg-message -WANT_PHP_WEB= yes WRKSRC= ${WRKDIR}/${PORTNAME} do-install: @${ECHO} "Installing in ${PREFIX}/www/rth" ${MKDIR} ${STAGEDIR}${PREFIX}/www/rth ${MV} ${WRKSRC}/api/properties_inc.php ${WRKSRC}/api/properties_inc.php.sample ${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/www/rth .include Index: head/devel/truc/Makefile =================================================================== --- head/devel/truc/Makefile (revision 466792) +++ head/devel/truc/Makefile (revision 466793) @@ -1,34 +1,32 @@ # Created by: Jan Siml # $FreeBSD$ PORTNAME= truc PORTVERSION= 0.12.0 PORTREVISION= 3 CATEGORIES= devel www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/TRUC%20Testing%20${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= jsi@jules.de COMMENT= Web-based tool for requirement and use case tracking NO_BUILD= yes USE_PHP= mysqli gd -USES= cpe shebangfix +USES= cpe php:web shebangfix SHEBANG_FILES= FCKeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl \ FCKeditor/editor/filemanager/browser/mcpuk/connectors/php/commands/helpers/header.cgi \ FCKeditor/editor/filemanager/browser/mcpuk/connectors/php/commands/helpers/progress.cgi \ FCKeditor/editor/filemanager/browser/mcpuk/connectors/php/commands/helpers/upload.cgi CPE_VENDOR= jan_schutze PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" SUB_LIST= "PKGNAME=${PKGNAME}" SUB_FILES= pkg-message - -WANT_PHP_WEB= yes do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/www/truc # ${MV} ${WRKSRC}/config_inc.php ${WRKSRC}/config_inc.php-dist ${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/www/truc .include