1f89378825
- convert to README - use INSTDIR instead of PREFEX from wen heping (MAINTAINER) with tweaks from me ok sthen@
39 lines
920 B
Makefile
39 lines
920 B
Makefile
# $OpenBSD: Makefile,v 1.36 2012/05/07 13:35:47 okan Exp $
|
|
|
|
COMMENT = web-based collaborative editing environment
|
|
|
|
DISTNAME = mediawiki-1.19.0
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = http://www.mediawiki.org/
|
|
|
|
MAINTAINER = Wen Heping <wenheping@gmail.com>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES= http://download.wikimedia.org/mediawiki/1.19/
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= /var/www
|
|
INSTDIR= ${PREFIX}/mediawiki
|
|
SUBST_VARS= INSTDIR
|
|
|
|
MODULES= lang/php
|
|
RUN_DEPENDS= lang/php/${MODPHP_VERSION},-gd \
|
|
php-mysql-${MODPHP_VSPEC}|php-pgsql-${MODPHP_VSPEC}:lang/php/${MODPHP_VERSION},-mysql
|
|
|
|
do-install:
|
|
@${INSTALL_DATA_DIR} ${INSTDIR}
|
|
@cd ${WRKSRC} && pax -rw * ${INSTDIR}
|
|
@find ${INSTDIR} \( -name '.cvsignore' -or -name \*.orig \) -exec rm -f {} +
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
.include <bsd.port.mk>
|