2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2013/03/11 11:44:48 espie Exp $
|
2007-11-14 05:44:11 -05:00
|
|
|
|
2007-11-14 07:25:35 -05:00
|
|
|
COMMENT= wiki-based system for collaborative creation of websites
|
2007-11-14 05:44:11 -05:00
|
|
|
|
2011-11-25 07:16:13 -05:00
|
|
|
DISTNAME= pmwiki-2.2.35
|
2012-09-10 05:16:33 -04:00
|
|
|
REVISION= 0
|
2007-11-14 05:44:11 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
CATEGORIES= www
|
|
|
|
HOMEPAGE= http://pmwiki.org/
|
|
|
|
|
2010-12-23 08:06:50 -05:00
|
|
|
# GPLv2+
|
2007-11-14 05:44:11 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/pub/pmwiki/
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2007-11-14 05:44:11 -05:00
|
|
|
PKG_ARCH= *
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
|
|
|
INSTDIR= ${PREFIX}/pmwiki
|
|
|
|
SUBST_VARS= INSTDIR
|
|
|
|
|
2011-07-08 19:01:39 -04:00
|
|
|
MODULES= lang/php
|
2007-11-14 05:44:11 -05:00
|
|
|
|
|
|
|
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>
|