diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-12-03 17:53:05 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-12-03 17:53:05 +0000 |
commit | 58094ff690975dd98e9338449a163cafd591ebea (patch) | |
tree | 158e00a9a243e4f2ea747ba27d69eb6d6ad96939 /x11-toolkits | |
parent | 82c277f8c67d5517567b151873c9fd5817a3434b (diff) | |
download | ports-58094ff690975dd98e9338449a163cafd591ebea.tar.gz ports-58094ff690975dd98e9338449a163cafd591ebea.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/py-gtkglext/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/py-gtkglext/files/patch-py-compile | 19 | ||||
-rw-r--r-- | x11-toolkits/py-gtkglext/pkg-plist | 2 |
3 files changed, 23 insertions, 2 deletions
diff --git a/x11-toolkits/py-gtkglext/Makefile b/x11-toolkits/py-gtkglext/Makefile index 9738cc3db9f9..1468751e2e44 100644 --- a/x11-toolkits/py-gtkglext/Makefile +++ b/x11-toolkits/py-gtkglext/Makefile @@ -20,4 +20,8 @@ USES= gmake libtool pathfix pkgconfig python tar:bzip2 USE_GNOME= pygtk2 GNU_CONFIGURE= yes +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gtk/gtkgl/_gtkgl.so + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gtk/gdkgl/_gdkgl.so + .include <bsd.port.mk> diff --git a/x11-toolkits/py-gtkglext/files/patch-py-compile b/x11-toolkits/py-gtkglext/files/patch-py-compile new file mode 100644 index 000000000000..9e48aa41a713 --- /dev/null +++ b/x11-toolkits/py-gtkglext/files/patch-py-compile @@ -0,0 +1,19 @@ +--- py-compile.orig 2005-02-03 03:22:53.000000000 +0300 ++++ py-compile 2014-12-03 19:39:49.000000000 +0300 +@@ -72,7 +72,7 @@ + continue + print file, + sys.stdout.flush() +- py_compile.compile(path) ++ py_compile.compile(path, path + 'c', os.path.join('/', os.path.relpath(path, os.environ['DESTDIR']))) + print" || exit $? + + # this will fail for python < 1.5, but that doesn't matter ... +@@ -87,6 +87,6 @@ + continue + print file, + sys.stdout.flush() +- py_compile.compile(path) ++ py_compile.compile(path, path + 'o', os.path.join('/', os.path.relpath(path, os.environ['DESTDIR']))) + print" 2>/dev/null || : + diff --git a/x11-toolkits/py-gtkglext/pkg-plist b/x11-toolkits/py-gtkglext/pkg-plist index aa4fafc69027..dbcbb90ead23 100644 --- a/x11-toolkits/py-gtkglext/pkg-plist +++ b/x11-toolkits/py-gtkglext/pkg-plist @@ -19,5 +19,3 @@ libdata/pkgconfig/pygtkglext-1.0.pc share/pygtk/2.0/defs/gdkglext-types.defs share/pygtk/2.0/defs/gdkglext.defs share/pygtk/2.0/defs/gtkglext.defs -@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/gtkgl -@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/gdkgl |