fa852d74ae
which fixes SA42608, PmWiki "from" Cross-Site Scripting Vulnerability If you're upgrading a previous installation, please take a moment to read http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
37 lines
797 B
Makefile
37 lines
797 B
Makefile
# $OpenBSD: Makefile,v 1.6 2010/12/23 13:06:50 jasper Exp $
|
|
|
|
COMMENT= wiki-based system for collaborative creation of websites
|
|
|
|
DISTNAME= pmwiki-2.2.21
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
CATEGORIES= www
|
|
HOMEPAGE= http://pmwiki.org/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/pub/pmwiki/
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
EXTRACT_ONLY=
|
|
|
|
PREFIX= /var/www
|
|
INSTDIR= ${PREFIX}/pmwiki
|
|
SUBST_VARS= INSTDIR
|
|
|
|
RUN_DEPENDS= www/php5/core
|
|
|
|
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>
|