openbsd-ports/www/mediawiki/Makefile
jasper 1545bba4f5 - SECURITY fixes for SA42810
MediaWiki "Clickjacking" Security Bypass Vulnerability

Patches from upstream svn

ok stephan@ (MAINTAINER)
2011-01-05 11:51:57 +00:00

37 lines
773 B
Makefile

# $OpenBSD: Makefile,v 1.24 2011/01/05 11:51:57 jasper Exp $
COMMENT = web-based collaborative editing environment
DISTNAME = mediawiki-1.15.5
REVISION = 0
CATEGORIES = www
HOMEPAGE = http://www.mediawiki.org/
MAINTAINER = Stephan A. Rickauer <stephan@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES= http://download.wikimedia.org/mediawiki/1.15/
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
PREFIX= /var/www
INSTDIR= ${PREFIX}/mediawiki
SUBST_VARS= INSTDIR
RUN_DEPENDS= www/php5/extensions,-gd
do-install:
@mv ${WRKDIST} ${INSTDIR}
@find ${PREFIX} -name '.cvsignore' -or -name \*.orig -exec rm {} \;
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
.include <bsd.port.mk>