fix WITH_PYTHON

PR:		ports/147651
Submitted by:	"Philip M. Gollucci" <pgollucci@p6m7g8.com>
This commit is contained in:
Oliver Lehmann 2010-06-08 08:04:09 +00:00
parent 497166b01b
commit c1e37981bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256087
2 changed files with 7 additions and 1 deletions

View file

@ -64,7 +64,8 @@ PLIST_SUB+= NOTIFY="@comment "
USE_PYTHON= yes
CONFIGURE_ARGS+=--enable-python
.include "${PORTSDIR}/Mk/bsd.python.mk"
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pygtk.py:${PORTSDIR}/x11-toolkits/py-gtk2
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gtk>=2:${PORTSDIR}/x11-toolkits/py-gtk2
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gtk>=2:${PORTSDIR}/x11-toolkits/py-gtk2
PLIST_SUB+= PYTHON=""
.else
CONFIGURE_ARGS+=--disable-python

View file

@ -49,6 +49,9 @@ lib/libexo-hal-%%VERSION%%.so.5
%%PYTHON%%%%PYTHON_SITELIBDIR%%/exo-%%VERSION%%/exo/__init__.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/exo-%%VERSION%%/exo/__init__.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/exo-%%VERSION%%/exo/__init__.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyexo.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyexo.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyexo.pyo
libdata/pkgconfig/exo-%%VERSION%%.pc
libdata/pkgconfig/exo-hal-%%VERSION%%.pc
libexec/exo-compose-mail-%%VERSION%%
@ -250,6 +253,8 @@ share/xfce4/helpers/xterm.desktop
@dirrmtry share/icons/hicolor/48x48
@dirrmtry share/icons/hicolor/24x24/apps
@dirrmtry share/icons/hicolor/24x24
@dirrmtry %%PYTHON%%%%PYTHON_SITELIBDIR%%/exo-%%VERSION%%/exo
@dirrmtry %%PYTHON%%%%PYTHON_SITELIBDIR%%/exo-%%VERSION%%
@dirrm include/exo-%%VERSION%%/exo-hal
@dirrm include/exo-%%VERSION%%/exo
@dirrm include/exo-%%VERSION%%