2011-10-16 11:20:33 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2011/10/16 15:20:33 ajacoutot Exp $
|
2004-12-22 03:13:03 -05:00
|
|
|
|
2009-12-04 06:06:29 -05:00
|
|
|
COMMENT = web-based collaborative editing environment
|
2004-12-22 03:13:03 -05:00
|
|
|
|
2010-10-25 02:55:05 -04:00
|
|
|
DISTNAME = mediawiki-1.15.5
|
2011-10-16 11:20:33 -04:00
|
|
|
REVISION = 6
|
2009-12-04 06:06:29 -05:00
|
|
|
CATEGORIES = www
|
2004-12-22 03:13:03 -05:00
|
|
|
|
2009-12-04 06:06:29 -05:00
|
|
|
HOMEPAGE = http://www.mediawiki.org/
|
|
|
|
|
2011-08-01 06:56:21 -04:00
|
|
|
MAINTAINER = Wen Heping <wenheping@gmail.com>
|
2004-12-22 03:13:03 -05:00
|
|
|
|
2010-01-11 07:48:01 -05:00
|
|
|
# GPLv2
|
2009-12-04 06:06:29 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2004-12-22 03:13:03 -05:00
|
|
|
|
2009-12-04 06:06:29 -05:00
|
|
|
MASTER_SITES= http://download.wikimedia.org/mediawiki/1.15/
|
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
|
|
|
|
|
2011-07-08 20:14:45 -04:00
|
|
|
MODULES= lang/php
|
2011-10-16 10:37:45 -04:00
|
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-gd \
|
|
|
|
php-mysql-*|php-pgsql-*:lang/php/${MODPHP_VERSION},-mysql
|
2004-12-22 03:13:03 -05:00
|
|
|
|
|
|
|
do-install:
|
2008-02-08 05:39:34 -05:00
|
|
|
@mv ${WRKDIST} ${INSTDIR}
|
2010-01-11 07:48:01 -05:00
|
|
|
@find ${PREFIX} -name '.cvsignore' -or -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>
|