aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-05-29 01:59:55 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-05-29 01:59:55 +0000
commit766cbd5476a5a8710096a26344fc7a778df2b167 (patch)
treebe8ee41bf5505a6b829ee285da30b27518032db4 /print
parent2bba1084adefeaffff2ef63890e3b651c4b0bf0f (diff)
downloadports-766cbd5476a5a8710096a26344fc7a778df2b167.tar.gz
ports-766cbd5476a5a8710096a26344fc7a778df2b167.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/cloudprint/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/print/cloudprint/Makefile b/print/cloudprint/Makefile
index c867603ba7a3..14145f497d82 100644
--- a/print/cloudprint/Makefile
+++ b/print/cloudprint/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cloudprint
PORTVERSION= 0.14.0.20170128
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= print
MAINTAINER= decke@FreeBSD.org
@@ -11,8 +11,7 @@ COMMENT= Google Cloud Print proxy for local CUPS printers
LICENSE= GPLv3
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycups>=0:print/py-pycups@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}configargparse>=0.9.3:devel/py-configargparse@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configargparse>=0.9.3:devel/py-configargparse@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}daemon>0:devel/py-daemon@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR}
@@ -32,4 +31,12 @@ SUB_LIST+= PYTHON_CMD="${PYTHON_CMD}" \
CPUSER="${USERS}" \
CPGROUP="${GROUPS}"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3500
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pycups1>=0:print/py-pycups1@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pycups>=0:print/py-pycups@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>