- Remove USE_PHP=hash which is available in default php installation of all versions of php * security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH - Remove USE_PHP=json which is available in default php installation of all versions of php * devel/pear-PHPTAL: Remove OPTION JSON * www/ilias: Remove OPTION SCORM2004 - Remove USE_PHP=mssql which is no longer available in php from php80 and later and has been replaced with sqlsrv module which is Windows only * www/codeigniter: Remove OPTION MSSQL * www/moodle311: Remove OPTION MSSQL * www/moodle39: Remove OPTION MSSQL * www/moodle40: Remove OPTION MSSQL * www/moodle41: Remove OPTION MSSQL - Remove USE_PHP=openssl which is available in default php installation of all versions of php * databases/phpmyadmin: Remove OPTION OPENSSL * databases/phpmyadmin5: Remove OPTION OPENSSL * security/pear-Horde_Crypt_Blowfish: Remove OPTION OPENSSL * www/nextcloud: Remove OPTION SSL * www/owncloud: Remove OPTION SSL - Remove USE_PHP=pcre which is available in default php installation of all versions of php * sysutils/racktables: Remove OPTION PCRE - Remove USE_PHP=postgresql which should be USE_PHP=pgsql and update following ports * www/typo3-11 * www/typo3-12 - Remove USE_PHP=pdf which is no longer available as php module * databases/phpmyadmin: Remove OPTION PDF - Remove USE_PHP=spl which is available in default php installation of all versions of php - Remove USE_PHP=sqlsrv which was never imported into FreeBSD as that is Windows only php module * www/typo3-11: Remove OPTION SQLSRV * www/typo3-12: Remove OPTION SQLSRV - Bump where DEFAULT OPTIONS are affected Sponsored by: Bounce Experts Approved by: portmgr(blanket)
80 lines
2.3 KiB
Makefile
80 lines
2.3 KiB
Makefile
PORTNAME= flyspray
|
|
PORTVERSION= 0.9.9.7
|
|
PORTREVISION= 5
|
|
CATEGORIES= devel www
|
|
MASTER_SITES= http://flyspray.org/packed/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simple, easy-to-use web based bug tracking system
|
|
WWW= https://www.flyspray.org/
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/adodb/adodb.inc.php:databases/adodb5
|
|
|
|
USE_PHP= session zlib xml gd
|
|
USES= cpe dos2unix php:web zip
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
DOS2UNIX_REGEX= .php
|
|
|
|
OPTIONS_DEFINE= GRAPHVIZ 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}
|
|
|
|
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 <bsd.port.mk>
|