diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-03-21 07:30:17 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2007-03-21 07:30:17 +0000 |
commit | 5cf6c7f4541d243a88bd3341b0563ba7dfac447e (patch) | |
tree | 65cc5569e2ff841d12137482f05c8756bb8b3592 /devel | |
parent | 1f7b1f000877a105fe15e4f18bff3e8944155b9a (diff) | |
download | ports-5cf6c7f4541d243a88bd3341b0563ba7dfac447e.tar.gz ports-5cf6c7f4541d243a88bd3341b0563ba7dfac447e.zip |
- Update to 1.7
PR: ports/110499
Submitted by: Li-Wen Hsu <lwhsu_AT_lwhsu dot org>
Notes
Notes:
svn path=/head/; revision=187835
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-simplejson/Makefile | 21 | ||||
-rw-r--r-- | devel/py-simplejson/distinfo | 6 |
2 files changed, 21 insertions, 6 deletions
diff --git a/devel/py-simplejson/Makefile b/devel/py-simplejson/Makefile index 0fb94f44f8d1..b2c2340abbd3 100644 --- a/devel/py-simplejson/Makefile +++ b/devel/py-simplejson/Makefile @@ -6,7 +6,7 @@ # PORTNAME= simplejson -PORTVERSION= 1.6 +PORTVERSION= 1.7 CATEGORIES= devel python MASTER_SITES= http://cheeseshop.python.org/packages/source/s/simplejson/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -20,9 +20,24 @@ RUN_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools USE_PYTHON= yes USE_PYDISTUTILS= yes -PYSIMPLEJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg +PYSIMPLEJSON_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}-freebsd-${OSRELEASE}-${ARCH}.egg PLIST_SUB+= PYSIMPLEJSON_EGG=${PYSIMPLEJSON_EGG} \ EGG_VER="${PORTNAME}==${PORTVERSION}" -.include <bsd.port.mk> +.if !defined(NOPORTDOCS) +DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME} +PORTDOCS= * +.endif + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${CP} -R ${WRKSRC}/docs/ ${DOCSDIR} +.endif + +.include <bsd.port.pre.mk> + +OSRELEASE!= uname -r + +.include <bsd.port.post.mk> diff --git a/devel/py-simplejson/distinfo b/devel/py-simplejson/distinfo index 9f4249a14034..226bd57479bd 100644 --- a/devel/py-simplejson/distinfo +++ b/devel/py-simplejson/distinfo @@ -1,3 +1,3 @@ -MD5 (simplejson-1.6.tar.gz) = be3e13943a9627a3cfc012e31db0550b -SHA256 (simplejson-1.6.tar.gz) = e901c0e78ceba9b3679ddccad5dd48e6dd84f087dc288a2e24e5c6d875a4f735 -SIZE (simplejson-1.6.tar.gz) = 56204 +MD5 (simplejson-1.7.tar.gz) = 1e8866f758ef8e7d5fe6ebeb1b26e4eb +SHA256 (simplejson-1.7.tar.gz) = e89889f9465ca3e60c5b8f2dae7c279a29edfb5e894840c95414ddf2980a8dbb +SIZE (simplejson-1.7.tar.gz) = 59806 |