mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
- Use DISTNAME to match upstream name - Remove DIST_SUBDIR - Update COMMENT - Add pytz to RUN_DEPENDS - Set USE_PYTHON to 2.7 only - Enable AUTOPLIST support and delete pkg-plist accordingly - Re-order Makefile and whitespace align PR: ports/181981 Submitted by: Volodymyr Kostyrko <c.kworr@gmail.com> (maintainer) Approved by: maintainer
32 lines
900 B
Makefile
32 lines
900 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= mysql2pgsql
|
|
PORTVERSION= 0.1.6
|
|
CATEGORIES= databases python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py-${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= c.kworr@gmail.com
|
|
COMMENT= Tool for migrating/converting from MySQL to PostgreSQL
|
|
|
|
LICENSE= MIT
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.3:${PORTSDIR}/databases/py-MySQLdb \
|
|
${PYTHON_PKGNAMEPREFIX}psycopg2>=2.4.2:${PORTSDIR}/databases/py-psycopg2 \
|
|
${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:${PORTSDIR}/devel/py-termcolor \
|
|
${PYTHON_PKGNAMEPREFIX}yaml>=3.10.0:${PORTSDIR}/devel/py-yaml \
|
|
${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz
|
|
|
|
USE_PYTHON= 2.7
|
|
USE_PYDISTUTILS= easy_install
|
|
PYDISTUTILS_PKGNAME= py_${PORTNAME}
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= philipsoutham
|
|
GH_COMMIT= 250cb1c
|
|
GH_PROJECT= py-${PORTNAME}
|
|
GH_TAGNAME= v${PORTVERSION}
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.mk>
|