openbsd-ports/www/pmwiki/Makefile

35 lines
719 B
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.12 2013/03/11 11:44:48 espie Exp $
COMMENT= wiki-based system for collaborative creation of websites
DISTNAME= pmwiki-2.2.35
REVISION= 0
EXTRACT_SUFX= .tgz
CATEGORIES= www
HOMEPAGE= http://pmwiki.org/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${HOMEPAGE}/pub/pmwiki/
NO_BUILD= Yes
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
PKG_ARCH= *
EXTRACT_ONLY=
PREFIX= /var/www
INSTDIR= ${PREFIX}/pmwiki
SUBST_VARS= INSTDIR
2011-07-08 19:01:39 -04:00
MODULES= lang/php
do-install:
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTFILES}
@mv ${PREFIX}/${DISTNAME} ${PREFIX}/pmwiki
@perl -pi -e "s,/.flock,/wiki.d/.flock,g" ${PREFIX}/pmwiki/pmwiki.php
@${INSTALL_DATA_DIR} ${PREFIX}/pmwiki/wiki.d ${PREFIX}/pmwiki/uploads
.include <bsd.port.mk>