openbsd-ports/www/mediawiki-CategoryTree/Makefile
2011-08-01 10:56:21 +00:00

36 lines
835 B
Makefile

# $OpenBSD: Makefile,v 1.3 2011/08/01 10:56:21 jasper 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
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
RUN_DEPENDS = www/mediawiki>=1.15.1
do-install:
${INSTALL_DATA_DIR} ${EXTENSIONSDIR}/CategoryTree
${INSTALL_DATA} ${WRKDIR}/CategoryTree/* ${EXTENSIONSDIR}/CategoryTree/
.include <bsd.port.mk>