openbsd-ports/www/mediawiki/Makefile
winiger 6419f09a4a fix diff feature when used with postgresql
bump pkgname

ok mbalmer@
2007-12-19 10:29:49 +00:00

38 lines
858 B
Makefile

# $OpenBSD: Makefile,v 1.16 2007/12/19 10:29:49 winiger Exp $
COMMENT= web-based collaborative editing environment
DISTNAME= mediawiki-1.11.0
PKGNAME= ${DISTNAME}p0
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.11/
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>