fix WITH_PYTHON
PR: ports/147651 Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
This commit is contained in:
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
|
@ -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
|
||||
|
|
|
@ -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%%
|
||||
|
|
Loading…
Reference in a new issue