mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
79e6561ee6
- Update MASTER_SITE - Remove USES shebang as it's not needed anymore - Convert deprecated @exec to @postexec - Update WWW in pkg-descr - Pass maintainership to submitter Submitted by: Tommy Scheunemann <net@arrishq.net> (via email)
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pydio
|
|
PORTVERSION= 7.0.4
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://download.pydio.com/pub/core/archives/
|
|
DISTNAME= ${PORTNAME}-core-${PORTVERSION}
|
|
|
|
MAINTAINER= net@arrishq.net
|
|
COMMENT= Ajax web file management system
|
|
|
|
LICENSE= AGPLv3
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
USES= cpe dos2unix
|
|
USE_PHP= dom mcrypt gd
|
|
DOS2UNIX_REGEX= .*\.php
|
|
WANT_PHP_WEB= yes
|
|
SUB_FILES= pkg-deinstall pkg-message
|
|
SUB_LIST+= GOWDIR=${WWWDIR:H}
|
|
|
|
post-patch:
|
|
@${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
|
|
# Remove unneeded sample file for IIS
|
|
@${RM} ${WRKSRC}/web.config.sample
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} "* .htaccess" ${STAGEDIR}${WWWDIR})
|
|
${INSTALL_DATA} ${WRKDIR}/bootstrap_*.php.sample ${STAGEDIR}${WWWDIR}/conf
|
|
|
|
post-install:
|
|
@${ECHO_CMD} '@postexec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|