with the switch to php 7.0. this was used to provide a decent RNG for the random_compat polyfill but is no longer needed as php 7.0 has random_bytes() in core.
38 lines
784 B
Makefile
38 lines
784 B
Makefile
# $OpenBSD: Makefile,v 1.29 2018/06/01 20:43:14 sthen Exp $
|
|
|
|
COMMENT = standards compliant, simple to use Wiki
|
|
|
|
VERSION = 2017-02-19e
|
|
REVISION = 3
|
|
DISTNAME = dokuwiki-${VERSION}
|
|
PKGNAME = dokuwiki-${VERSION:S/-/./g}
|
|
CATEGORIES = www
|
|
HOMEPAGE = http://www.dokuwiki.org/dokuwiki
|
|
|
|
MAINTAINER = Pierre-Emmanuel Andre <pea@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = http://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>
|