0f532b2da9
Reference: http://secunia.com/advisories/26772/ ok mbalmer@
37 lines
831 B
Makefile
37 lines
831 B
Makefile
# $OpenBSD: Makefile,v 1.14 2007/09/11 22:12:34 rui Exp $
|
|
|
|
COMMENT= web-based collaborative editing environment
|
|
|
|
DISTNAME= mediawiki-1.10.2
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://www.mediawiki.org/
|
|
|
|
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://download.wikimedia.org/mediawiki/1.10/
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= /var/www
|
|
INSTDIR= ${PREFIX}/mediawiki
|
|
SUBST_VARS= INSTDIR
|
|
|
|
RUN_DEPENDS= :php5-gd-*:www/php5/extensions,-gd
|
|
|
|
do-install:
|
|
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
|
|
@find ${PREFIX} -name '.cvsignore' -exec rm {} \;
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
|
|
@mv ${INSTDIR}-${DISTNAME:S/mediawiki-//} ${INSTDIR}
|
|
|
|
.include <bsd.port.mk>
|