21a283f3be
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now, we won't have conflicts there. Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel has the correct PKGNAME anyway. Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called OPTIONS_FILE now.) Reviewed by: antoine, bapt Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3336
28 lines
602 B
Makefile
28 lines
602 B
Makefile
# Created by: Attila Nagy <bra@fsn.hu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jsonrpclib
|
|
PORTVERSION= 0.1.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= bra@fsn.hu
|
|
COMMENT= Implements the JSON-RPC 2.0 proposed specification in pure Python
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= python:2
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
OPTIONS_DEFINE= CJSON
|
|
CJSON_DESC= Use cjson instead of json or simplejson
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MCJSON}
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cjson>0:${PORTSDIR}/devel/py-cjson
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|