2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2013/03/11 11:44:43 espie Exp $
|
2005-05-17 17:29:36 -04:00
|
|
|
|
2008-05-09 18:15:30 -04:00
|
|
|
COMMENT = wiki engine written in python
|
2005-05-17 17:29:36 -04:00
|
|
|
|
2013-01-09 06:56:34 -05:00
|
|
|
MODPY_EGG_VERSION = 1.9.6
|
2008-05-09 18:15:30 -04:00
|
|
|
DISTNAME = moin-${MODPY_EGG_VERSION}
|
2009-07-31 23:28:47 -04:00
|
|
|
PKGNAME = moin${DISTNAME}
|
2005-05-17 17:29:36 -04:00
|
|
|
|
2008-05-09 18:15:30 -04:00
|
|
|
CATEGORIES = www
|
|
|
|
|
|
|
|
HOMEPAGE = http://moinmo.in/
|
2005-05-17 17:29:36 -04:00
|
|
|
|
2009-01-03 16:27:25 -05:00
|
|
|
# GPLv2 and several other ones claiming compliance with GPLv2 or
|
|
|
|
# actually being less restrictive.
|
2008-05-09 18:15:30 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
2005-05-17 17:29:36 -04:00
|
|
|
|
2008-05-09 18:15:30 -04:00
|
|
|
MASTER_SITES = http://static.moinmo.in/files/
|
2005-05-17 17:29:36 -04:00
|
|
|
|
2008-05-09 18:15:30 -04:00
|
|
|
MODULES = lang/python
|
2007-02-13 04:13:43 -05:00
|
|
|
|
2012-10-24 18:09:30 -04:00
|
|
|
MODPY_VERSION = 2.7
|
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST = Yes
|
2005-05-17 17:29:36 -04:00
|
|
|
|
2009-10-31 10:26:39 -04:00
|
|
|
post-configure:
|
2010-04-18 16:39:49 -04:00
|
|
|
@cd ${WRKSRC}/wiki/server && perl -pi -e \
|
|
|
|
's,/usr/bin/env python|/usr/bin/python,${MODPY_BIN},g' \
|
2010-09-01 19:24:55 -04:00
|
|
|
moin moin.ajp moin.cgi moin.fcgi moin.scgi test.wsgi
|
2009-10-31 10:26:39 -04:00
|
|
|
|
2005-05-17 17:29:36 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/moinmoin
|
2008-04-02 11:30:51 -04:00
|
|
|
cd ${WRKSRC}/docs && ${INSTALL_DATA} CHANGES INSTALL.html \
|
2012-10-24 18:09:30 -04:00
|
|
|
README.migration UPDATE.html ${PREFIX}/share/doc/moinmoin
|
2005-05-17 17:29:36 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|