19ac337f15
Routes is a Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions and generating URL's. Routes makes it easy to create pretty and concise URL's that are RESTful with little effort.
36 lines
753 B
Makefile
36 lines
753 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/03/15 12:18:03 fgsch Exp $
|
|
|
|
COMMENT = re-implementation of the rails routes system
|
|
|
|
MODPY_EGG_VERSION = 1.10.3
|
|
|
|
DISTNAME = Routes-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME:L}
|
|
|
|
CATEGORIES = www devel
|
|
|
|
HOMEPAGE = http://routes.groovie.org/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = http://pypi.python.org/packages/source/R/Routes/
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
DOCS = index.txt integration.txt manual.txt recipes.txt
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/docs/py-routes
|
|
cd ${WRKSRC}/docs && ${INSTALL_DATA} ${DOCS} \
|
|
${PREFIX}/share/docs/py-routes
|
|
|
|
.include <bsd.port.mk>
|