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.
36 lines
738 B
Makefile
36 lines
738 B
Makefile
COMMENT = standards compliant, simple to use Wiki
|
|
|
|
VERSION = 2020-07-29
|
|
MODPHP_VERSION = 7.4
|
|
DISTNAME = dokuwiki-${VERSION}
|
|
PKGNAME = dokuwiki-${VERSION:S/-/./g}
|
|
CATEGORIES = www
|
|
HOMEPAGE = https://www.dokuwiki.org/dokuwiki
|
|
REVISION = 0
|
|
|
|
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>
|