openbsd-ports/productivity/monica/Makefile
op f42653625b productivity/monica: install and tweak the README
Install the README and add instructions on how to configure it if using
a web server chrooted into /var/www.  While here also fix the PLIST: use
@mode 750 for monica/boostrap/cache/ and don't mark package.php and
services.php as executables.

diff from Aisha (maintainer) with input from sthen@ and me.
2022-06-07 18:59:10 +00:00

45 lines
996 B
Makefile

COMMENT = self hosted personal CRM system
CATEGORIES = productivity
VERSION = 3.7.0
REVISION = 0
PKGNAME = monica-${VERSION}
MASTER_SITES = https://github.com/monicahq/monica/releases/download/v${VERSION}/
DISTNAME = monica-v${VERSION}
EXTRACT_SUFX = .tar.bz2
HOMEPAGE = https://www.monicahq.com/
MAINTAINER = Aisha Tammy <openbsd@aisha.cc>
# AGPL-3.0
PERMIT_PACKAGE = Yes
MODULES = lang/php
RUN_DEPENDS = lang/php/${MODPHP_VERSION},-curl \
lang/php/${MODPHP_VERSION},-gd \
lang/php/${MODPHP_VERSION},-gmp \
lang/php/${MODPHP_VERSION},-intl \
lang/php/${MODPHP_VERSION},-mysqli \
lang/php/${MODPHP_VERSION},-pdo_mysql \
lang/php/${MODPHP_VERSION},-soap \
lang/php/${MODPHP_VERSION},-zip \
graphics/pecl-imagick${MODPHP_FLAVOR}
NO_TEST = Yes
NO_BUILD = Yes
PREFIX = ${LOCALSTATEDIR}
INSTDIR = ${PREFIX}/www/monica
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
cp -a ${WRKSRC}/. ${INSTDIR}
rm ${INSTDIR}/vendor/sabre/dav/bin/googlecode_upload.py
.include <bsd.port.mk>