From 5e6050b08d63b9ac4f953ca2c9217202bb993a9b Mon Sep 17 00:00:00 2001 From: Jose Alonso Cardenas Marquez Date: Mon, 21 Apr 2025 20:05:53 -0700 Subject: [PATCH] www/dolibarr20: New port: Modern software package to manage your company or foundation Dolibarr ERP & CRM is a modern software package to manage your organization's activity (contacts, suppliers, invoices, orders, stocks, agenda) It's an Open Source Software (written in PHP language) designed for small, medium or large companies, foundations and freelances. You can freely use, study, modify or distribute it according to its Free Software licence. You can use it as a standalone application or as a web application to be able to access it from the Internet or a LAN. --- www/Makefile | 1 + www/dolibarr20/Makefile | 40 + www/dolibarr20/distinfo | 3 + www/dolibarr20/files/pkg-message.in | 21 + www/dolibarr20/pkg-descr | 11 + www/dolibarr20/pkg-plist | 14525 ++++++++++++++++++++++++++ 6 files changed, 14601 insertions(+) create mode 100644 www/dolibarr20/Makefile create mode 100644 www/dolibarr20/distinfo create mode 100644 www/dolibarr20/files/pkg-message.in create mode 100644 www/dolibarr20/pkg-descr create mode 100644 www/dolibarr20/pkg-plist 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: <