freebsd-ports/www/dolibarr/Makefile
2022-01-16 12:03:44 -05:00

34 lines
723 B
Makefile

PORTNAME= dolibarr
DISTVERSION= 14.0.5
CATEGORIES= www finance
MAINTAINER= acm@FreeBSD.org
COMMENT= Modern software package to manage your company or foundation
LICENSE= GPLv3
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME:S/d/D/}
USES= cpe php:web
USE_PHP= calendar curl gd intl pcre session openssl
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
do-install:
${MKDIR} ${STAGEDIR}/${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}
.include <bsd.port.mk>