openbsd-ports/www/mediawiki-CategoryTree/Makefile
2013-03-11 11:35:43 +00:00

33 lines
751 B
Makefile

# $OpenBSD: Makefile,v 1.4 2013/03/11 11:44:43 espie Exp $
COMMENT = dynamic view of the wiki's category structure as a tree
V = 48711
DISTNAME = CategoryTree-MW1.15-r${V}
PKGNAME = mediawiki-CategoryTree-${V}
REVISION = 0
CATEGORIES = www
MAINTAINER = Wen Heping <wenheping@gmail.com>
HOMEPAGE = http://www.mediawiki.org/wiki/Extension:CategoryTree
MASTER_SITES = http://upload.wikimedia.org/ext-dist/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
PREFIX = /var/www
EXTENSIONSDIR = ${PREFIX}/mediawiki/extensions
RUN_DEPENDS = www/mediawiki>=1.15.1
do-install:
${INSTALL_DATA_DIR} ${EXTENSIONSDIR}/CategoryTree
${INSTALL_DATA} ${WRKDIR}/CategoryTree/* ${EXTENSIONSDIR}/CategoryTree/
.include <bsd.port.mk>