diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2015-11-18 22:13:53 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2015-11-18 22:13:53 +0000 |
commit | 307093f543a159fce089a706abec56cf33aac0d4 (patch) | |
tree | ec1bdc7c9faebdb932da5779d45f74e9a3eeb407 /graphics/eog-plugins | |
parent | c7c8e1f72bd509dedaa306d317875d180b85bb1a (diff) | |
download | ports-307093f543a159fce089a706abec56cf33aac0d4.tar.gz ports-307093f543a159fce089a706abec56cf33aac0d4.zip |
Notes
Diffstat (limited to 'graphics/eog-plugins')
-rw-r--r-- | graphics/eog-plugins/Makefile | 12 | ||||
-rw-r--r-- | graphics/eog-plugins/pkg-plist | 14 |
2 files changed, 18 insertions, 8 deletions
diff --git a/graphics/eog-plugins/Makefile b/graphics/eog-plugins/Makefile index f20682e75089..337a250159ff 100644 --- a/graphics/eog-plugins/Makefile +++ b/graphics/eog-plugins/Makefile @@ -63,4 +63,14 @@ post-patch: ${WRKSRC}/configure .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3500 +PYOEXTENSION= pyo +.else +PYOEXTENSION= opt-1.pyc +.endif + +PLIST_SUB+= PYOEXTENSION=${PYOEXTENSION} + +.include <bsd.port.post.mk> diff --git a/graphics/eog-plugins/pkg-plist b/graphics/eog-plugins/pkg-plist index ba39eda38006..3a7668908ba2 100644 --- a/graphics/eog-plugins/pkg-plist +++ b/graphics/eog-plugins/pkg-plist @@ -2,14 +2,14 @@ lib/eog/plugins/exif-display.plugin %%PYTHON%%lib/eog/plugins/export-to-folder.plugin %%PYTHON%%lib/eog/plugins/export-to-folder.py %%PYTHON%%lib/eog/plugins/__pycache__/export-to-folder.cpython-%%PYVER%%.pyc -%%PYTHON%%lib/eog/plugins/__pycache__/export-to-folder.cpython-%%PYVER%%.pyo +%%PYTHON%%lib/eog/plugins/__pycache__/export-to-folder.cpython-%%PYVER%%.%%PYOEXTENSION%% %%PYTHON%%lib/eog/plugins/__pycache__/maximize-windows.cpython-%%PYVER%%.pyc -%%PYTHON%%lib/eog/plugins/__pycache__/maximize-windows.cpython-%%PYVER%%.pyo +%%PYTHON%%lib/eog/plugins/__pycache__/maximize-windows.cpython-%%PYVER%%.%%PYOEXTENSION%% lib/eog/plugins/fit-to-width.plugin %%PYTHON%%lib/eog/plugins/fullscreenbg.plugin %%PYTHON%%lib/eog/plugins/fullscreenbg.py %%PYTHON%%lib/eog/plugins/__pycache__/fullscreenbg.cpython-%%PYVER%%.pyc -%%PYTHON%%lib/eog/plugins/__pycache__/fullscreenbg.cpython-%%PYVER%%.pyo +%%PYTHON%%lib/eog/plugins/__pycache__/fullscreenbg.cpython-%%PYVER%%.%%PYOEXTENSION%% lib/eog/plugins/hide-titlebar.plugin lib/eog/plugins/libexif-display.so lib/eog/plugins/libfit-to-width.so @@ -26,18 +26,18 @@ lib/eog/plugins/postasa.plugin %%PYTHON%%lib/eog/plugins/pythonconsole.plugin %%PYTHON%%lib/eog/plugins/pythonconsole/__init__.py %%PYTHON%%lib/eog/plugins/pythonconsole/__pycache__/__init__.cpython-%%PYVER%%.pyc -%%PYTHON%%lib/eog/plugins/pythonconsole/__pycache__/__init__.cpython-%%PYVER%%.pyo +%%PYTHON%%lib/eog/plugins/pythonconsole/__pycache__/__init__.cpython-%%PYVER%%.%%PYOEXTENSION%% %%PYTHON%%lib/eog/plugins/pythonconsole/__pycache__/config.cpython-%%PYVER%%.pyc -%%PYTHON%%lib/eog/plugins/pythonconsole/__pycache__/config.cpython-%%PYVER%%.pyo +%%PYTHON%%lib/eog/plugins/pythonconsole/__pycache__/config.cpython-%%PYVER%%.%%PYOEXTENSION%% %%PYTHON%%lib/eog/plugins/pythonconsole/__pycache__/console.cpython-%%PYVER%%.pyc -%%PYTHON%%lib/eog/plugins/pythonconsole/__pycache__/console.cpython-%%PYVER%%.pyo +%%PYTHON%%lib/eog/plugins/pythonconsole/__pycache__/console.cpython-%%PYVER%%.%%PYOEXTENSION%% %%PYTHON%%lib/eog/plugins/pythonconsole/config.py %%PYTHON%%lib/eog/plugins/pythonconsole/console.py lib/eog/plugins/send-by-mail.plugin %%PYTHON%%lib/eog/plugins/slideshowshuffle.plugin %%PYTHON%%lib/eog/plugins/slideshowshuffle.py %%PYTHON%%lib/eog/plugins/__pycache__/slideshowshuffle.cpython-%%PYVER%%.pyc -%%PYTHON%%lib/eog/plugins/__pycache__/slideshowshuffle.cpython-%%PYVER%%.pyo +%%PYTHON%%lib/eog/plugins/__pycache__/slideshowshuffle.cpython-%%PYVER%%.%%PYOEXTENSION%% share/appdata/eog-exif-display.metainfo.xml %%PYTHON%%share/appdata/eog-export-to-folder.metainfo.xml share/appdata/eog-fit-to-width.metainfo.xml |