1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- remove conditional for python < 2.4 (we haven't them in ports tree

anyway and japanese/pycodec is deprecated)
- change dependency on textproc/py-xml with ${PYXML}
- change dependency on x11-toolkits/py-gtk2 with USE_GNOME= pygtk2

PR:             ports/162086
Submitted by:   rm (myself)
Approved by:    maintainer (timeout - 2+ weeks), novel (mentor)
Feature safe:   yes
This commit is contained in:
Ruslan Makhmatkhanov 2011-11-14 23:44:50 +00:00
parent b3a496bfcb
commit 407cec236f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285802

View File

@ -14,16 +14,11 @@ MASTER_SITE_SUBDIR= gbottler/45155
MAINTAINER= umeno@rr.iij4u.or.jp
COMMENT= SSTP Bottle client
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
${PYTHON_SITELIBDIR}/_xmlplus/sax/saxutils.py:${PORTSDIR}/textproc/py-xml
PYVERSION= ${PYTHON_VERSION:S/^python//}
.if defined(PYTHON_VERSION) && ${PYVERSION:S/.//} < 24
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/japanese.pth:${PORTSDIR}/japanese/pycodec
.endif # defined(PYVERSION) && ${PYVERSION:S/.//} < 24
RUN_DEPENDS= ${PYXML}
PLIST_SUB= VERSION=${PORTVERSION}
USE_GNOME= pygtk2
USE_PYTHON= yes
USE_GMAKE= yes