diff options
Diffstat (limited to 'www/dolibarr21/Makefile')
-rw-r--r-- | www/dolibarr21/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/www/dolibarr21/Makefile b/www/dolibarr21/Makefile new file mode 100644 index 000000000000..24eebd638a02 --- /dev/null +++ b/www/dolibarr21/Makefile @@ -0,0 +1,40 @@ +PORTNAME= dolibarr21 +DISTVERSION= 21.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/21//} +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 <bsd.port.mk> |