Various improvements to the port.

Remove un-needed deps.
Use ports framework a bit more.

PR:	ports/161665
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
This commit is contained in:
Josh Paetzel 2011-10-14 23:34:28 +00:00
parent c32502f0ef
commit 94f91e81f7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283546
2 changed files with 532 additions and 534 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= htsql PORTNAME= htsql
PORTVERSION= 2.2.0b2 PORTVERSION= 2.2.0b2
PORTREVISION= 1
CATEGORIES= databases python CATEGORIES= databases python
MASTER_SITES= CHEESESHOP MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -16,15 +17,14 @@ MAINTAINER= jpaetzel@FreeBSD.org
COMMENT= Python HTSQL COMMENT= Python HTSQL
USE_PYTHON= 2.5-2.7 USE_PYTHON= 2.5-2.7
PLIST_SUB= PYTHON_VER=${PYTHON_VER} USE_PYDISTUTILS= easy_install
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= HTSQL PYDISTUTILS_PKGNAME= HTSQL
PYDISTUTILS_NOEGGINFO= yes
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml \ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/yaml/__init__.py:${PORTSDIR}/devel/py-yaml \
${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2 \ ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2 \
${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
${PYTHON_PKGNAMEPREFIX}simplejson>=0:${PORTSDIR}/devel/py-simplejson
post-patch:
@${REINPLACE_CMD} -e 's|build/dist/egg|dist|g' ${WRKSRC}/setup.cfg
.include <bsd.port.mk> .include <bsd.port.mk>

File diff suppressed because it is too large Load diff