2012-09-09 17:00:10 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2012/09/09 21:00:10 jasper 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
|
|
|
|
2012-09-01 07:10:45 -04:00
|
|
|
V = 1.19.2
|
2012-06-27 02:37:15 -04:00
|
|
|
DISTNAME = mediawiki-${V}
|
2012-09-09 17:00:10 -04:00
|
|
|
REVISION = 0
|
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
|
|
|
|
2012-01-23 04:47:38 -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
|
|
|
|
2012-06-27 02:37:15 -04:00
|
|
|
MASTER_SITES= http://download.wikimedia.org/mediawiki/${V:R}/
|
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 \
|
2012-01-11 17:27:26 -05:00
|
|
|
php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-mysql
|
2004-12-22 03:13:03 -05:00
|
|
|
|
|
|
|
do-install:
|
2012-03-23 08:59:58 -04:00
|
|
|
@${INSTALL_DATA_DIR} ${INSTDIR}
|
|
|
|
@cd ${WRKSRC} && pax -rw * ${INSTDIR}
|
2012-05-07 09:35:47 -04:00
|
|
|
@find ${INSTDIR} \( -name '.cvsignore' -or -name \*.orig \) -exec rm -f {} +
|
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
2004-12-22 03:13:03 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|