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

39 lines
879 B
Makefile

# $OpenBSD: Makefile,v 1.7 2011/06/08 18:15:29 rpointel 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= 2
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>