1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

Add @${PY_FLAVOR} to RUN_DEPENDS (thanks lifanov)

While here:

* use PORTVERSION not DISTVERSION
* bump PORTREVSION

Reported by:	lifanov
This commit is contained in:
Dan Langille 2018-03-27 21:06:15 +00:00
parent 21231f9da0
commit 674127a010
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465754

View File

@ -1,7 +1,8 @@
# $FreeBSD$
PORTNAME= hared
DISTVERSION= 1.0
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -10,14 +11,13 @@ MAINTAINER= dvl@FreeBSD.org
COMMENT= Small Python server for inserting notications into mtqq
LICENSE= MIT
LICENSE_FILE= LICENSE
USES= python
USE_PYTHON= distutils autoplist
ETCDIR= ${PREFIX}/etc
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}paho-mqtt>0:net/py-paho-mqtt
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}paho-mqtt>0:net/py-paho-mqtt@${PY_FLAVOR}
PLIST_FILES+= "@sample %%ETCDIR%%/hared.ini.sample"