summaryrefslogtreecommitdiff
path: root/textproc/py-jsonschema/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-jsonschema/Makefile')
-rw-r--r--textproc/py-jsonschema/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/py-jsonschema/Makefile b/textproc/py-jsonschema/Makefile
new file mode 100644
index 00000000000..d6bed48b064
--- /dev/null
+++ b/textproc/py-jsonschema/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2014/12/31 13:18:58 bsiegert Exp $
+
+DISTNAME= jsonschema-2.4.0
+CATEGORIES= textproc python
+MASTER_SITES= https://pypi.python.org/packages/source/j/jsonschema/
+
+MAINTAINER= bsiegert@NetBSD.org
+HOMEPAGE= https://github.com/Julian/jsonschema
+COMMENT= Implementation of JSON Schema for Python
+LICENSE= modified-bsd
+
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
+
+.include "../../lang/python/egg.mk"
+
+post-install:
+ mv ${DESTDIR}${PREFIX}/bin/jsonschema ${DESTDIR}${PREFIX}/bin/jsonschema${PYVERSSUFFIX}
+
+.include "../../mk/bsd.pkg.mk"