sthen 06e20cb110 switch default MODPHP_VERSION to 7.4 and bump ports which have changed
version. (as of 6 Dec 2020, 7.3 went into "security fixes only" mode).
2021-02-24 16:48:59 +00:00

32 lines
681 B
Makefile

# $OpenBSD: Makefile,v 1.17 2021/02/24 16:48:59 sthen Exp $
COMMENT = read-eval-print loop for PHP
GH_ACCOUNT = d11wtq
GH_PROJECT = boris
GH_TAGNAME = v1.0.10
REVISION = 4
CATEGORIES = devel
HOMEPAGE = https://github.com/d11wtq/boris
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/php
RUN_DEPENDS += lang/php/${MODPHP_VERSION},-pcntl
NO_BUILD = Yes
NO_TEST = Yes
SUBST_VARS += MODPHP_BIN
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/boris ${PREFIX}/lib/boris
${INSTALL_DATA} ${WRKSRC}/{LICENSE,README.md} ${PREFIX}/share/doc/boris
cp -r ${WRKSRC}/lib/* ${PREFIX}/lib/boris
${SUBST_PROGRAM} ${WRKSRC}/bin/boris ${PREFIX}/bin/boris
.include <bsd.port.mk>