diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2010-05-11 15:31:01 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2010-05-11 15:31:01 +0000 |
commit | 1396742da281413d188bf851bd85d4b74afa7908 (patch) | |
tree | 84b5e3b01979b0f51c76b65636d8068dad697fdd /x11 | |
parent | a68ba2d5ceae534230477706527c9d1edc924f4a (diff) | |
download | ports-1396742da281413d188bf851bd85d4b74afa7908.tar.gz ports-1396742da281413d188bf851bd85d4b74afa7908.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 2 | ||||
-rw-r--r-- | x11/plasma-scriptengine-python/Makefile | 34 | ||||
-rw-r--r-- | x11/plasma-scriptengine-python/files/patch-plasma__generic__scriptengines__python__CMakeLists.txt | 11 | ||||
-rw-r--r-- | x11/plasma-scriptengine-python/pkg-descr | 3 | ||||
-rw-r--r-- | x11/plasma-scriptengine-python/pkg-plist | 20 | ||||
-rw-r--r-- | x11/plasma-scriptengine-ruby/Makefile | 32 | ||||
-rw-r--r-- | x11/plasma-scriptengine-ruby/files/patch-plasma__generic__scriptengines__ruby__CMakeLists.txt | 8 | ||||
-rw-r--r-- | x11/plasma-scriptengine-ruby/pkg-descr | 3 | ||||
-rw-r--r-- | x11/plasma-scriptengine-ruby/pkg-plist | 5 |
9 files changed, 118 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index 08bd82dd5689..18643c018b40 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -244,6 +244,8 @@ SUBDIR += padkey SUBDIR += peeper SUBDIR += pixman + SUBDIR += plasma-scriptengine-python + SUBDIR += plasma-scriptengine-ruby SUBDIR += portoseguro SUBDIR += powershell SUBDIR += printproto diff --git a/x11/plasma-scriptengine-python/Makefile b/x11/plasma-scriptengine-python/Makefile new file mode 100644 index 000000000000..11152e74c6d2 --- /dev/null +++ b/x11/plasma-scriptengine-python/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: plasma-scriptengine-python +# Date created: 2010-03-14 +# Whom: Max Brazhnikov <makc@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= plasma-scriptengine-python +PORTVERSION= ${KDE4_VERSION} +CATEGORIES= x11 kde +MASTER_SITES= ${MASTER_SITE_KDE} +MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src +DISTNAME= kdebase-workspace-${PORTVERSION} +DIST_SUBDIR= KDE + +MAINTAINER= kde@FreeBSD.org +COMMENT= Plasma scriptengine for Python + +USE_BZIP2= yes +USE_CMAKE= yes +USE_KDE4= kdeprefix kdelibs automoc4 pykde4 +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build moc_build uic_build rcc_build +USE_PYTHON= 2.5+ +MD5_FILE= ${PORTSDIR}/x11/kdebase4-workspace/distinfo + +CMAKE_SOURCE_PATH= ${WRKSRC}/plasma/generic/scriptengines/python +CMAKE_OUTSOURCE= yes + +pre-configure: + ${REINPLACE_CMD} -e 's,$${PYTHON_SITE_PACKAGES_DIR},${PYTHONPREFIX_SITELIBDIR},g' \ + ${CMAKE_SOURCE_PATH}/CMakeLists.txt + +.include <bsd.port.mk> diff --git a/x11/plasma-scriptengine-python/files/patch-plasma__generic__scriptengines__python__CMakeLists.txt b/x11/plasma-scriptengine-python/files/patch-plasma__generic__scriptengines__python__CMakeLists.txt new file mode 100644 index 000000000000..5f9b6ffdbfdd --- /dev/null +++ b/x11/plasma-scriptengine-python/files/patch-plasma__generic__scriptengines__python__CMakeLists.txt @@ -0,0 +1,11 @@ +--- ./plasma/generic/scriptengines/python/CMakeLists.txt.orig 2009-11-13 13:57:51.000000000 +0300 ++++ ./plasma/generic/scriptengines/python/CMakeLists.txt 2010-03-14 01:48:21.780880917 +0300 +@@ -1,5 +1,8 @@ + project(plasma-python) + ++find_package(KDE4 4.4.1 REQUIRED) ++macro_optional_find_package(PythonLibrary) ++ + INCLUDE(PythonMacros) + + # install the library, .desktop, and plasma.py diff --git a/x11/plasma-scriptengine-python/pkg-descr b/x11/plasma-scriptengine-python/pkg-descr new file mode 100644 index 000000000000..088bb553eb0b --- /dev/null +++ b/x11/plasma-scriptengine-python/pkg-descr @@ -0,0 +1,3 @@ +Plasma scriptengine for Python. + +WWW: http://www.kde.org/ diff --git a/x11/plasma-scriptengine-python/pkg-plist b/x11/plasma-scriptengine-python/pkg-plist new file mode 100644 index 000000000000..187711287635 --- /dev/null +++ b/x11/plasma-scriptengine-python/pkg-plist @@ -0,0 +1,20 @@ +%%PYTHON_SITELIBDIR%%/PyKDE4/plasmascript.py +%%PYTHON_SITELIBDIR%%/PyKDE4/plasmascript.pyc +share/apps/plasma_scriptengine_python/plasma_importer.py +share/apps/plasma_scriptengine_python/plasma_importer.pyc +share/apps/plasma_scriptengine_python/pyappletscript.py +share/apps/plasma_scriptengine_python/pyappletscript.pyc +share/apps/plasma_scriptengine_python/pydataengine.py +share/apps/plasma_scriptengine_python/pydataengine.pyc +share/apps/plasma_scriptengine_python/pyrunner.py +share/apps/plasma_scriptengine_python/pyrunner.pyc +share/apps/plasma_scriptengine_python/pywallpaper.py +share/apps/plasma_scriptengine_python/pywallpaper.pyc +share/kde4/services/plasma-scriptengine-applet-python.desktop +share/kde4/services/plasma-scriptengine-dataengine-python.desktop +share/kde4/services/plasma-scriptengine-runner-python.desktop +share/kde4/services/plasma-scriptengine-wallpaper-python.desktop +@dirrm share/apps/plasma_scriptengine_python +@dirrmtry %%PYTHON_SITELIBDIR%%/PyKDE4 +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrmtry %%PYTHON_LIBDIR%% diff --git a/x11/plasma-scriptengine-ruby/Makefile b/x11/plasma-scriptengine-ruby/Makefile new file mode 100644 index 000000000000..fbbab317019d --- /dev/null +++ b/x11/plasma-scriptengine-ruby/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: plasma-scriptengine-ruby +# Date created: 2010-03-30 +# Whom: Max Brazhnikov <makc@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= plasma-scriptengine-ruby +PORTVERSION= ${KDE4_VERSION} +CATEGORIES= x11 kde +MASTER_SITES= ${MASTER_SITE_KDE} +MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src +DISTNAME= kdebase-workspace-${PORTVERSION} +DIST_SUBDIR= KDE + +MAINTAINER= kde@FreeBSD.org +COMMENT= Plasma scriptengine for Ruby + +RUN_DEPENDS= ${RUBY_SITELIBDIR}/KDE/plasma.rb:${PORTSDIR}/devel/kdebindings4-ruby + +USE_BZIP2= yes +USE_CMAKE= yes +USE_KDE4= kdeprefix kdelibs automoc4 +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build moc_build uic_build rcc_build +USE_RUBY= yes +MD5_FILE= ${PORTSDIR}/x11/kdebase4-workspace/distinfo + +CMAKE_SOURCE_PATH= ${WRKSRC}/plasma/generic/scriptengines/ruby +CMAKE_OUTSOURCE= yes + +.include <bsd.port.mk> diff --git a/x11/plasma-scriptengine-ruby/files/patch-plasma__generic__scriptengines__ruby__CMakeLists.txt b/x11/plasma-scriptengine-ruby/files/patch-plasma__generic__scriptengines__ruby__CMakeLists.txt new file mode 100644 index 000000000000..50bdfbddb3bd --- /dev/null +++ b/x11/plasma-scriptengine-ruby/files/patch-plasma__generic__scriptengines__ruby__CMakeLists.txt @@ -0,0 +1,8 @@ +--- ./plasma/generic/scriptengines/ruby/CMakeLists.txt.orig 2009-09-16 15:41:04.000000000 +0400 ++++ ./plasma/generic/scriptengines/ruby/CMakeLists.txt 2010-03-30 20:25:46.102451515 +0400 +@@ -1,3 +1,5 @@ ++find_package(KDE4 4.4.1 REQUIRED) ++ + install(FILES applet.rb DESTINATION ${DATA_INSTALL_DIR}/plasma_scriptengine_ruby) + install(FILES data_engine.rb DESTINATION ${DATA_INSTALL_DIR}/plasma_scriptengine_ruby) + diff --git a/x11/plasma-scriptengine-ruby/pkg-descr b/x11/plasma-scriptengine-ruby/pkg-descr new file mode 100644 index 000000000000..0ccc3eaacbf7 --- /dev/null +++ b/x11/plasma-scriptengine-ruby/pkg-descr @@ -0,0 +1,3 @@ +Plasma scriptengine for Ruby. + +WWW: http://www.kde.org/ diff --git a/x11/plasma-scriptengine-ruby/pkg-plist b/x11/plasma-scriptengine-ruby/pkg-plist new file mode 100644 index 000000000000..bc3a5947d286 --- /dev/null +++ b/x11/plasma-scriptengine-ruby/pkg-plist @@ -0,0 +1,5 @@ +share/apps/plasma_scriptengine_ruby/applet.rb +share/apps/plasma_scriptengine_ruby/data_engine.rb +share/kde4/services/plasma-scriptengine-ruby-applet.desktop +share/kde4/services/plasma-scriptengine-ruby-dataengine.desktop +@dirrm share/apps/plasma_scriptengine_ruby |