c006ebe4cf
See http://hg.moinmo.in/moin/1.9/raw-file/1.9.4/docs/CHANGES for details
37 lines
918 B
Makefile
37 lines
918 B
Makefile
# $OpenBSD: Makefile,v 1.24 2012/05/25 14:32:15 fgsch Exp $
|
|
|
|
COMMENT = wiki engine written in python
|
|
|
|
MODPY_EGG_VERSION = 1.9.4
|
|
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>
|