openbsd-ports/www/awl/Makefile
sthen 9d623ec305 explicitly set MODPHP_VERSION=7.4 for PHP ports unless they're known
or strongly suspected to support at least 8.0. (7.4 is currently on security
support only, and that finishes in November, so I intend to switch the "ports
default" version to 8.0).

some of these ports _may_ work with 8.0 already, some have pull requests or
support in newer upstream code (not always in a release), others definitely
need 7.4.
2022-03-22 18:20:52 +00:00

30 lines
586 B
Makefile

COMMENT = Andrews web libraries for PHP
DISTNAME = awl_0.62.orig
PKGNAME = php-awl-0.62
MODPHP_VERSION = 7.4
EXTRACT_SUFX = .tar.xz
CATEGORIES = www
PKG_ARCH = *
# GPLv2+
PERMIT_PACKAGE = Yes
MASTER_SITES = https://www.davical.org/downloads/
WRKSRC = ${WRKDIR}
PREFIX = ${VARBASE}/www
INSTDIR = ${PREFIX}/awl
SUBST_VARS = INSTDIR
NO_BUILD = Yes
NO_TEST = Yes
MODULES = lang/php
do-install:
${INSTALL_DATA_DIR} ${INSTDIR}
cp -Rp ${WRKSRC}/{README,dba,docs,inc} ${INSTDIR}
rm ${INSTDIR}/inc/AWLUtilities.php.in
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include <bsd.port.mk>