openbsd-ports/www/py-quixote/Makefile
2011-09-16 12:00:05 +00:00

39 lines
876 B
Makefile

# $OpenBSD: Makefile,v 1.8 2011/09/16 12:00:08 espie Exp $
COMMENT= simple Python framework for web-based applications
MODPY_EGG_VERSION= 2.6
DISTNAME= Quixote-${MODPY_EGG_VERSION}
PKGNAME= py-quixote-${MODPY_EGG_VERSION}
REVISION= 3
CATEGORIES= www
HOMEPAGE= http://www.quixote.ca/
MASTER_SITES= ${HOMEPAGE}releases/
MAINTAINER= Will Maier <wcmaier@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
REGRESS_DEPENDS= www/twill \
devel/py-nose
# Clean up root-owned files.
post-install:
rm -fr ${WRKSRC}/Quixote.egg-info
rm -fr ${WRKSRC}/Quixote-$V.egg-info
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-quixote
.for i in LICENSE.txt doc/*txt
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/py-quixote
.endfor
.include <bsd.port.mk>