2012-05-10 16:04:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2012/05/10 20:04:48 rpointel Exp $
|
2007-09-19 09:45:00 -04:00
|
|
|
|
2011-01-02 17:04:09 -05:00
|
|
|
COMMENT = high-level Python web framework
|
2007-09-19 09:45:00 -04:00
|
|
|
|
2012-05-10 16:04:48 -04:00
|
|
|
MODPY_EGG_VERSION = 1.4
|
2011-01-02 17:04:09 -05:00
|
|
|
LNAME = django
|
|
|
|
DISTNAME = Django-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-${LNAME}-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES = www
|
2007-09-19 09:45:00 -04:00
|
|
|
|
2011-01-02 17:04:09 -05:00
|
|
|
HOMEPAGE = http://www.djangoproject.com/
|
2007-09-19 09:45:00 -04:00
|
|
|
|
2011-01-02 17:04:09 -05:00
|
|
|
MAINTAINER = Ryan Boggs <rmboggs@gmail.com>
|
2007-09-19 09:45:00 -04:00
|
|
|
|
|
|
|
# BSD License
|
2011-01-02 17:04:09 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2007-09-19 09:45:00 -04:00
|
|
|
|
2012-05-10 16:04:48 -04:00
|
|
|
MASTER_SITES = ${HOMEPAGE}/m/releases/${MODPY_EGG_VERSION}/
|
2007-09-19 09:45:00 -04:00
|
|
|
|
2011-01-02 17:04:09 -05:00
|
|
|
MODULES = lang/python
|
2007-09-19 09:45:00 -04:00
|
|
|
|
2011-01-02 17:04:09 -05:00
|
|
|
SUBST_VARS += LNAME
|
2007-09-19 09:45:00 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${LNAME}
|
2009-09-18 09:16:51 -04:00
|
|
|
cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/${LNAME}
|
2007-09-19 09:45:00 -04:00
|
|
|
|
2011-04-24 14:40:03 -04:00
|
|
|
do-regress:
|
|
|
|
cd ${WRKSRC} && env LC_CTYPE=en_US.UTF-8 PYTHONPATH=. \
|
|
|
|
${MODPY_BIN} tests/runtests.py --settings=test_sqlite
|
|
|
|
|
2007-09-19 09:45:00 -04:00
|
|
|
.include <bsd.port.mk>
|