PORTNAME= webtrees PORTVERSION= 2.0.19 CATEGORIES= www MASTER_SITES= https://github.com/fisharebest/${PORTNAME}/releases/download/${PORTVERSION}/ \ https://freebsd.ark-ict.nl/ports/ PKGNAMESUFFIX= 20 MAINTAINER= freebsd-ports@misc.ark-ict.nl COMMENT= Online genealogy viewer (for PHP 7.1-7.4) LICENSE= GPLv3+ USES= cpe php shebangfix zip USE_PHP= calendar dom filter gd json pcre pdo_mysql session simplexml xml SHEBANG_FILES= webtrees/vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php \ webtrees/vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php WWWDIR= ${PREFIX}/www/webtrees${PKGNAMESUFFIX} EXTRACT_AFTER_ARGS= -d ${WRKSRC} NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message pkg-deinstall SUB_LIST= VERSION_SUFFIX=${PKGNAMESUFFIX} do-install: -${MKDIR} ${STAGEDIR}${WWWDIR} @cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_BIN} . ${STAGEDIR}${WWWDIR} @(cd ${WRKSRC}/${PORTNAME}; ${FIND} . -not -type d) | ${SORT} | \ ${SED} -ne 's,^${PORTNAME}/,${WWWDIR_REL}/,p' >> ${TMPPLIST} @${ECHO_CMD} \ '@postexec ${CHOWN} -R ${WWWOWN}:${WWWGRP} %D/${WWWDIR_REL}/data' \ >> ${TMPPLIST} .include