freebsd-ports/textproc/plover/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

27 lines
663 B
Makefile

# $FreeBSD$
PORTNAME= plover
PORTVERSION= 2.2.0
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://launchpadlibrarian.net/88624187/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Open source solution for stenography
LICENSE= GPLv2
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlib>=0:x11-toolkits/py-xlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}serial>=0:comms/py-serial@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lockfile>=0:devel/py-lockfile@${PY_FLAVOR}
USES= python:2.7
USE_PYTHON= distutils
USE_WX= 3.0+
WX_COMPS= wx
post-patch:
@${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/setup.py
.include <bsd.port.mk>