openbsd-ports/www/mediawiki-httpauth/Makefile

37 lines
844 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.5 2011/08/01 10:56:21 jasper Exp $
COMMENT = MediaWiki extension for http based authentication
V = 0.1
DISTNAME = mediawiki-httpauth-${V}
REVISION = 1
CATEGORIES = www
MAINTAINER = Wen Heping <wenheping@gmail.com>
HOMEPAGE = http://www.mediawiki.org/wiki/Extension:HttpAuth
MASTER_SITES = http://github.com/oremj/mediawiki-http-auth/tarball/v${V}/
# Mozilla Public License 1.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
PREFIX = /var/www
EXTENSIONSDIR = ${PREFIX}/mediawiki/extensions
2010-11-22 03:36:47 -05:00
RUN_DEPENDS = www/mediawiki>=1.13.2
do-install:
${INSTALL_DATA_DIR} ${EXTENSIONSDIR}
${INSTALL_DATA} \
${WRKDIR}/oremj-mediawiki-http-auth-4be6b72/HttpAuthPlugin.php \
${EXTENSIONSDIR}
.include <bsd.port.mk>