Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2011 14:32:35 +0800 (CST)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        wen@FreeBSD.org
Subject:   ports/159023: [PATCH] devel/py-demjson: install jsonlint
Message-ID:  <20110719063235.7353C9D7BF@lwbsd.csie.net>
Resent-Message-ID: <201107190640.p6J6e4nv032695@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159023
>Category:       ports
>Synopsis:       [PATCH] devel/py-demjson: install jsonlint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 19 06:40:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lwbsd.cs.nctu.edu.tw 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 12:42:00 CST 2011
>Description:
- Install jsonlint utility

Port maintainer (wen@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- py27-demjson-1.6_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/py-demjson/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile	6 Apr 2011 00:48:44 -0000	1.3
+++ Makefile	19 Jul 2011 06:31:59 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	demjson
 PORTVERSION=	1.6
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP \
 		http://deron.meranda.us/python/demjson/dist/
@@ -18,4 +19,9 @@
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/jsonlint ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/py-demjson/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist	22 Dec 2008 21:19:26 -0000	1.1
+++ pkg-plist	19 Jul 2011 06:31:59 -0000
@@ -1,3 +1,4 @@
+bin/jsonlint
 %%PYTHON_SITELIBDIR%%/demjson.py
 %%PYTHON_SITELIBDIR%%/demjson.pyo
 %%PYTHON_SITELIBDIR%%/demjson.pyc
--- py27-demjson-1.6_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110719063235.7353C9D7BF>