openbsd-ports/www/moinmoin/Makefile
2011-06-08 18:15:28 +00:00

38 lines
934 B
Makefile

# $OpenBSD: Makefile,v 1.21 2011/06/08 18:15:29 rpointel Exp $
COMMENT = wiki engine written in python
MODPY_EGG_VERSION = 1.9.3
DISTNAME = moin-${MODPY_EGG_VERSION}
PKGNAME = moin${DISTNAME}
REVISION = 1
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>