1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/www/ajaxplorer/Makefile
Baptiste Daroussin 912c68df95 Convert to USES=dos2unix
With hat:	portmgr
2014-05-26 09:24:47 +00:00

42 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= ajaxplorer
PORTVERSION= 5.0.4
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/stable-channel/${PORTVERSION}
DISTNAME= ${PORTNAME}-core-${PORTVERSION}
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Ajax web file management system
LICENSE= AGPLv3
NO_BUILD= yes
USES= dos2unix shebangfix
php_OLD_CMD= /php
SHEBANG_FILES= plugins/core.mq/ws-server.php \
plugins/core.mq/vendor/phpws/demo_ssl.php \
plugins/core.mq/vendor/phpws/demo.php
USE_PHP= dom mcrypt gd
DOS2UNIX_REGEX= .*\.php
WANT_PHP_WEB= yes
SUB_FILES= pkg-deinstall pkg-install pkg-message
post-patch:
@${RM} -f ${WRKSRC}/plugins/gui.ajax/res/themes/vision/images/mimes/16/._users-folder.png
@${MV} ${WRKSRC}/conf/bootstrap_conf.php ${WRKDIR}/bootstrap_conf.php.sample
@${MV} ${WRKSRC}/conf/bootstrap_context.php ${WRKDIR}/bootstrap_context.php.sample
@${MV} ${WRKSRC}/conf/bootstrap_repositories.php ${WRKDIR}/bootstrap_repositories.php.sample
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "* .htaccess" ${STAGEDIR}${WWWDIR})
${INSTALL_DATA} ${WRKDIR}/bootstrap_*.php.sample ${STAGEDIR}${WWWDIR}/conf
${INSTALL_DATA} ${FILESDIR}/4.2.3-5.0.0-db-upgrade.sql ${STAGEDIR}${WWWDIR}/conf
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
post-install:
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
.include <bsd.port.mk>