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

- Depend on py-gtk2 in correct way

Approved by:	miwi (mentor)
This commit is contained in:
Dmitry Marakasov 2008-07-10 16:28:34 +00:00
parent b3c44e7f8e
commit 1dc4ce0792
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216657

View File

@ -7,6 +7,7 @@
PORTNAME= magicor
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
DISTFILES= ${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX} \
@ -27,7 +28,7 @@ OPTIONS= EDITOR "Enable editor" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_EDITOR)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pygtk.pth:${PORTSDIR}/x11-toolkits/py-gtk2
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
PLIST_SUB+= EDITOR=""
.else
PLIST_SUB+= EDITOR="@comment "