this now supports PHP 8.x so remove MODPHP_VERSION=7.4; some plugins and themes may still need attention for 8.x but you can still run it with 7.4 if needed. ok landry@ rsadowski@, input from Mike Fischer maintainer timeout
34 lines
705 B
Makefile
34 lines
705 B
Makefile
COMMENT = standards compliant, simple to use Wiki
|
|
|
|
VERSION = 2022-07-31a
|
|
DISTNAME = dokuwiki-${VERSION}
|
|
PKGNAME = dokuwiki-${VERSION:S/-/./g}
|
|
CATEGORIES = www
|
|
HOMEPAGE = https://www.dokuwiki.org/dokuwiki
|
|
|
|
MAINTAINER = Pierre-Emmanuel Andre <pea@openbsd.org>
|
|
# GPLv2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MASTER_SITES = https://download.dokuwiki.org/src/dokuwiki/
|
|
|
|
EXTRACT_SUFX = .tgz
|
|
NO_BUILD = Yes
|
|
NO_TEST = Yes
|
|
PKG_ARCH = *
|
|
|
|
MODULES= lang/php
|
|
|
|
PREFIX = ${VARBASE}/www
|
|
INSTDIR = ${PREFIX}/dokuwiki
|
|
TINSTDIR = ${TRUEPREFIX}/dokuwiki
|
|
SUBST_VARS = INSTDIR TINSTDIR
|
|
|
|
RUN_DEPENDS = lang/php/${MODPHP_VERSION},-gd
|
|
|
|
do-install:
|
|
cp -Rp ${WRKDIST} ${INSTDIR}
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
.include <bsd.port.mk>
|