35 lines
859 B
Makefile

# $OpenBSD: Makefile,v 1.31 2014/01/20 20:17:29 fgsch Exp $
COMMENT = wiki engine written in python
MODPY_EGG_VERSION = 1.9.7
DISTNAME = moin-${MODPY_EGG_VERSION}
PKGNAME = moin${DISTNAME}
REVISION = 0
CATEGORIES = www
HOMEPAGE = http://moinmo.in/
# GPLv2 and several other ones claiming compliance with GPLv2 or
# actually being less restrictive.
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = http://static.moinmo.in/files/
MODULES = lang/python
NO_TEST = Yes
pre-configure:
@cd ${WRKSRC}/wiki/server && ${MODPY_BIN_ADJ} \
moin moin.ajp moin.cgi moin.fcgi moin.scgi test.wsgi
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/moinmoin
find ${PREFIX}/share/moin -type f -exec chmod 0644 {} \;
cd ${WRKSRC}/docs && ${INSTALL_DATA} CHANGES INSTALL.html \
README.migration UPDATE.html ${PREFIX}/share/doc/moinmoin
.include <bsd.port.mk>