diff --git a/www/Makefile b/www/Makefile index bf53162365ad..4550702f3435 100644 --- a/www/Makefile +++ b/www/Makefile @@ -146,6 +146,7 @@ SUBDIR += dolibarr17 SUBDIR += dolibarr18 SUBDIR += dolibarr19 + SUBDIR += dolibarr20 SUBDIR += domoticz SUBDIR += domoticz-devel SUBDIR += dooble diff --git a/www/dolibarr20/Makefile b/www/dolibarr20/Makefile new file mode 100644 index 000000000000..852c6c3995a7 --- /dev/null +++ b/www/dolibarr20/Makefile @@ -0,0 +1,40 @@ +PORTNAME= dolibarr20 +DISTVERSION= 20.0.4 +CATEGORIES= www finance + +MAINTAINER= acm@FreeBSD.org +COMMENT= Modern software package to manage your company or foundation +WWW= https://www.dolibarr.org/ + +LICENSE= GPLv3 + +USE_GITHUB= yes +GH_ACCOUNT= ${PORTNAME:S/d/D/:S/20//} +GH_PROJECT= dolibarr + +USES= cpe php:web +USE_PHP= calendar curl gd intl session +NO_BUILD= yes +NO_ARCH= yes +SUB_FILES= pkg-message +PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} + +OPTIONS_DEFINE= MYSQL PGSQL +OPTIONS_DEFAULT= PGSQL + +MYSQL_USE= PHP=mysqli +PGSQL_USE= PHP=pgsql + +post-extract: + ${RM} -R ${WRKSRC}/.github + ${RM} ${WRKSRC}/.gitmessage + ${RM} ${WRKSRC}/.stickler.yml + ${RM} ${WRKSRC}/.php-cs-fixer.dist.php + ${RM} ${WRKSRC}/.phpcs.xml.dist + ${RM} ${WRKSRC}/.pre-commit-config.yaml + +do-install: + ${MKDIR} ${STAGEDIR}/${WWWDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR} + +.include diff --git a/www/dolibarr20/distinfo b/www/dolibarr20/distinfo new file mode 100644 index 000000000000..d1f2e8bd5d9d --- /dev/null +++ b/www/dolibarr20/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1745290809 +SHA256 (Dolibarr-dolibarr-20.0.4_GH0.tar.gz) = b6554fe6c9854b209ba020a4759fbb0494078ace96c3ee1e0223fe9fd35f5667 +SIZE (Dolibarr-dolibarr-20.0.4_GH0.tar.gz) = 72291754 diff --git a/www/dolibarr20/files/pkg-message.in b/www/dolibarr20/files/pkg-message.in new file mode 100644 index 000000000000..d3559755fe51 --- /dev/null +++ b/www/dolibarr20/files/pkg-message.in @@ -0,0 +1,21 @@ +[ +{ type: install + message: <