2011-09-16 05:24:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2011/09/16 09:24:56 espie Exp $
|
2007-06-24 17:51:30 -04:00
|
|
|
|
2009-03-24 21:32:17 -04:00
|
|
|
COMMENT = JSON encoder/decoder
|
2007-06-24 17:51:30 -04:00
|
|
|
|
2009-03-24 21:32:17 -04:00
|
|
|
MODPY_EGG_VERSION = 2.0.9
|
|
|
|
DISTNAME = simplejson-${MODPY_EGG_VERSION}
|
2010-08-30 18:24:14 -04:00
|
|
|
PKGNAME = py-${DISTNAME}
|
2011-09-16 05:24:48 -04:00
|
|
|
REVISION = 4
|
2007-06-24 17:51:30 -04:00
|
|
|
|
2009-03-24 21:32:17 -04:00
|
|
|
CATEGORIES = devel
|
2007-06-24 17:51:30 -04:00
|
|
|
|
2009-03-24 21:32:17 -04:00
|
|
|
HOMEPAGE = http://undefined.org/python/\#simplejson
|
2007-06-24 17:51:30 -04:00
|
|
|
|
2009-03-24 21:32:17 -04:00
|
|
|
MAINTAINER = Martynas Venckus <martynas@openbsd.org>
|
2007-06-24 17:51:30 -04:00
|
|
|
|
|
|
|
# MIT
|
2009-03-24 21:32:17 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2007-06-24 17:51:30 -04:00
|
|
|
|
2009-03-24 21:32:17 -04:00
|
|
|
MASTER_SITES = ${MASTER_SITE_PYPI:=s/simplejson/}
|
2007-06-24 17:51:30 -04:00
|
|
|
|
2009-03-24 21:32:17 -04:00
|
|
|
MODULES = lang/python
|
2010-11-15 14:45:56 -05:00
|
|
|
REGRESS_DEPENDS = devel/py-nose
|
2007-06-24 17:51:30 -04:00
|
|
|
|
2009-03-24 21:32:17 -04:00
|
|
|
MODPY_SETUPTOOLS = Yes
|
2007-06-24 17:51:30 -04:00
|
|
|
|
2011-05-31 01:44:26 -04:00
|
|
|
WANTLIB += ${MODPY_WANTLIB}
|
|
|
|
|
2007-06-24 17:51:30 -04:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-simplejson
|
2009-03-24 21:32:17 -04:00
|
|
|
cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/py-simplejson
|
2007-06-24 17:51:30 -04:00
|
|
|
|
2008-07-11 18:40:06 -04:00
|
|
|
do-regress:
|
2009-03-24 21:32:17 -04:00
|
|
|
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests
|
2008-07-11 18:40:06 -04:00
|
|
|
|
2007-06-24 17:51:30 -04:00
|
|
|
.include <bsd.port.mk>
|