From 2b9630f2a6bf9f55f218aeb25abed93d1336bdfa Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 8 May 2014 14:56:39 +0000 Subject: [PATCH] - Staging - Add LICENSE - Pet portlint PR: ports/188505 Submitted by: Bartek Rutkowski Approved by: portmgr@ --- devel/py-json-py/Makefile | 8 +++++--- devel/py-json-py/pkg-descr | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/devel/py-json-py/Makefile b/devel/py-json-py/Makefile index 1c9677c31a86..5a4bc41275a7 100644 --- a/devel/py-json-py/Makefile +++ b/devel/py-json-py/Makefile @@ -10,14 +10,15 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/} MAINTAINER= nivit@FreeBSD.org -COMMENT= A python implementation of a JSON (http//:json.org) reader/writer +COMMENT= Python implementation of a JSON (http//:json.org) reader/writer + +LICENSE= LGPL20 NO_WRKSUBDIR= yes USES= zip USE_PYTHON= yes -NO_STAGE= yes do-build: # compile python files cd ${WRKDIR}; \ @@ -27,7 +28,8 @@ do-build: done; \ do-install: + ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} @cd ${WRKDIR}; \ - ${FIND} . \( -name "*.py" -or -name "*.pyc" \) -exec ${INSTALL_SCRIPT} \{\} ${PYTHON_SITELIBDIR} \; + ${FIND} . \( -name "*.py" -or -name "*.pyc" \) -exec ${INSTALL_SCRIPT} \{\} ${STAGEDIR}${PYTHON_SITELIBDIR} \; .include diff --git a/devel/py-json-py/pkg-descr b/devel/py-json-py/pkg-descr index 3bd1ca6a3750..bcd9f6b173f0 100644 --- a/devel/py-json-py/pkg-descr +++ b/devel/py-json-py/pkg-descr @@ -6,4 +6,4 @@ AJAX applications that exchange data from servers to Javascript applications running on web browser clients. Author: -WWW: http://sourceforge.net/projects/json-py/ +WWW: http://sourceforge.net/projects/json-py/