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

36 lines
763 B
Makefile

# $OpenBSD: Makefile,v 1.52 2021/02/24 16:49:02 sthen Exp $
COMMENT= web-based LDAP browser to manage LDAP servers
DISTNAME= phpldapadmin-${GH_TAGNAME}
CATEGORIES= www
HOMEPAGE= https://github.com/leenooks/phpLDAPadmin
REVISION= 0
GH_ACCOUNT= leenooks
GH_TAGNAME= 1.2.5
GH_PROJECT= phpLDAPadmin
# GPLv2
PERMIT_PACKAGE= Yes
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
PREFIX= ${VARBASE}/www
INSTDIR= ${PREFIX}/phpldapadmin
SUBST_VARS= INSTDIR
MODULES= lang/php
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-ldap
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/phpldapadmin
cd ${WRKBUILD} && tar -cf - * .* | \
tar -C ${PREFIX}/phpldapadmin -xf -
find ${PREFIX}/phpldapadmin -name '*.orig' -delete
chown -R root:daemon ${PREFIX}/phpldapadmin
.include <bsd.port.mk>