openbsd-ports/www/moinmoin/Makefile
fgsch c8c88bcc68 SECURITY UPDATE to 1.9.3.
Fixes CVE-2010-0828 and other XSS vulnerability.
input and ok martynas@
2010-09-01 23:24:55 +00:00

37 lines
918 B
Makefile

# $OpenBSD: Makefile,v 1.19 2010/09/01 23:24:55 fgsch Exp $
COMMENT = wiki engine written in python
MODPY_EGG_VERSION = 1.9.3
DISTNAME = moin-${MODPY_EGG_VERSION}
PKGNAME = moin${DISTNAME}
CATEGORIES = www
HOMEPAGE = http://moinmo.in/
# GPLv2 and several other ones claiming compliance with GPLv2 or
# actually being less restrictive.
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://static.moinmo.in/files/
MODULES = lang/python
NO_REGRESS = Yes
post-configure:
@cd ${WRKSRC}/wiki/server && perl -pi -e \
's,/usr/bin/env python|/usr/bin/python,${MODPY_BIN},g' \
moin moin.ajp moin.cgi moin.fcgi moin.scgi test.wsgi
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/moinmoin
cd ${WRKSRC}/docs && ${INSTALL_DATA} CHANGES INSTALL.html \
README.migration ${PREFIX}/share/doc/moinmoin
.include <bsd.port.mk>