freebsd-ports/databases/mydbf2mysql/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

22 lines
626 B
Makefile

# Created by: Andrey Polyakov <andrey.polyakov@unix.net>
# $FreeBSD$
PORTNAME= mydbf2mysql
PORTVERSION= 0.8.4.5
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= SF/mydbf2mysql/mydbf2mysql/${PORTVERSION}/
DISTNAME= MyDBF2MySQL-${PORTVERSION}
MAINTAINER= andrey.polyakov@unix.net
COMMENT= Flexible tool for DBF import into MySQL
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:databases/py-MySQLdb@${PY_FLAVOR}
RUN_DEPENDS+= ydbf>=0.0.1:devel/py-ydbf@${PY_FLAVOR}
USES= python:2.7 tar:bzip2
USE_PYTHON= distutils autoplist
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}/dist/${DISTNAME}/
.include <bsd.port.mk>