mystuff/www/movim/Makefile

75 lines
1.7 KiB
Makefile

COMMENT = Movim XMMP font-end
V = 0.21.1
DISTNAME = movim-$V
PKGNAME= movim-${V}
GH_ACCOUNT = movim
GH_PROJECT = movim
GH_TAGNAME = v0.21.1
EXTRACT_SUFX = .tar.gz
CATEGORIES= www
HOMEPAGE= https://mov.im/
MAINTAINER= Kitoy <kitoy@kitoy.me>
# AGPLv3 (GNU Affero Public License)
# jQuery: MIT / GPLv3
# HTTP: 3 clause BSD
# MDB2: BSD-like
# User: AGPL
# XML/RPC: MIT / PHP
# Silk icons: Creative Commons Attribution
PERMIT_PACKAGE= Yes
MODULES= lang/php
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
WRKDIST= ${WRKDIR}/movim
PREFIX= ${VARBASE}/www
INSTDIR= ${PREFIX}/movim
TINSTDIR= ${TRUEPREFIX}/movim
VR= ${V:R}
MAJOR= ${VR:R}
SUBST_VARS= INSTDIR TINSTDIR VR MAJOR
RUN_DEPENDS= www/composer \
lang/php/${MODPHP_VERSION},-gd \
${MODPHP_PDO_DEPENDS}
# http user authentication
RUN_DEPENDS += lang/php/${MODPHP_VERSION},-curl
# apps extraction
RUN_DEPENDS += lang/php/${MODPHP_VERSION},-bz2
# sorting of non-ASCII characters
RUN_DEPENDS += lang/php/${MODPHP_VERSION},-intl
# Postgresql module
RUN_DEPENDS += lang/php/${MODPHP_VERSION},-pgsql
# image processing
RUN_DEPENDS += graphics/pecl-imagick${MODPHP_FLAVOR}
# image processing
RUN_DEPENDS += www/composer
do-install:
cp -Rp ${WRKSRC} ${INSTDIR}
find ${INSTDIR} -name '*.orig' -delete
${SUBST_DATA} ${.CURDIR}/pkg/README \
${WRKINST}${LOCALBASE}/share/doc/pkg-readmes/${PKGSTEM}
.include <bsd.port.mk>