2008-02-08 05:39:34 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2008/02/08 10:39:34 mbalmer Exp $
|
2004-12-22 03:13:03 -05:00
|
|
|
|
2007-09-11 18:12:34 -04:00
|
|
|
COMMENT= web-based collaborative editing environment
|
2004-12-22 03:13:03 -05:00
|
|
|
|
2008-02-08 05:39:34 -05:00
|
|
|
DISTNAME= mediawiki-1.11.1
|
2004-12-22 03:13:03 -05:00
|
|
|
CATEGORIES= www
|
|
|
|
|
2006-07-20 00:43:27 -04:00
|
|
|
HOMEPAGE= http://www.mediawiki.org/
|
2004-12-22 03:13:03 -05:00
|
|
|
|
2006-11-17 15:46:32 -05:00
|
|
|
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
|
2004-12-22 03:13:03 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2007-11-04 11:42:46 -05:00
|
|
|
MASTER_SITES= http://download.wikimedia.org/mediawiki/1.11/
|
2004-12-22 03:13:03 -05:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
|
|
|
INSTDIR= ${PREFIX}/mediawiki
|
|
|
|
SUBST_VARS= INSTDIR
|
|
|
|
|
2007-01-25 05:43:05 -05:00
|
|
|
RUN_DEPENDS= :php5-gd-*:www/php5/extensions,-gd
|
2004-12-22 03:13:03 -05:00
|
|
|
|
|
|
|
do-install:
|
2008-02-08 05:39:34 -05:00
|
|
|
@mv ${WRKDIST} ${INSTDIR}
|
2006-11-17 15:46:32 -05:00
|
|
|
@find ${PREFIX} -name '.cvsignore' -exec rm {} \;
|
2008-02-08 05:39:34 -05:00
|
|
|
@find ${PREFIX} -name \*.orig -exec rm {} \;
|
2005-11-01 12:16:25 -05:00
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
|
2004-12-22 03:13:03 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|