ports/159023: [PATCH] devel/py-demjson: install jsonlint
Li-Wen Hsu
lwhsu at FreeBSD.org
Tue Jul 19 06:40:04 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list