diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2011-12-18 22:04:13 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2011-12-18 22:04:13 +0000 |
commit | 0a360fab1af18c217ffe8a00cb8f39de85b957cc (patch) | |
tree | 6db55229bd6bb6ad1f962e1b1b32315e2c8d84b4 /devel | |
parent | b79e748466b214b790223c4674e01c1c269f53fa (diff) | |
download | ports-0a360fab1af18c217ffe8a00cb8f39de85b957cc.tar.gz ports-0a360fab1af18c217ffe8a00cb8f39de85b957cc.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/pyside-tools/Makefile | 47 | ||||
-rw-r--r-- | devel/pyside-tools/distinfo | 2 | ||||
-rw-r--r-- | devel/pyside-tools/files/patch-CMakeLists.txt | 14 | ||||
-rw-r--r-- | devel/pyside-tools/files/patch-pylupdate__CMakeLists.txt | 13 | ||||
-rw-r--r-- | devel/pyside-tools/files/patch-pyrcc__CMakeLists.txt | 13 | ||||
-rw-r--r-- | devel/pyside-tools/pkg-descr | 3 | ||||
-rw-r--r-- | devel/pyside-tools/pkg-plist | 34 |
8 files changed, 127 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 59a3324dd442..91d4d44b6667 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3338,6 +3338,7 @@ SUBDIR += pypersrc SUBDIR += pyrex SUBDIR += pyside + SUBDIR += pyside-tools SUBDIR += pyst SUBDIR += pysvn SUBDIR += pythk diff --git a/devel/pyside-tools/Makefile b/devel/pyside-tools/Makefile new file mode 100644 index 000000000000..34b9213108ba --- /dev/null +++ b/devel/pyside-tools/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: pyside-tools +# Date created: 2011-12-17 +# Whom: Nicola Vitale <nivit@mnemosine.domo.sva> +# +# $FreeBSD$ +# + +PORTNAME= pyside-tools +PORTVERSION= 0.2.13 +#PORTREVISION= 0 +CATEGORIES= devel +MASTER_SITES= http://www.pyside.org/files/ \ + http://nivi.interfree.it/distfiles/${PORTNAME}/ +PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} + +MAINTAINER= nivit@mnemosine.domo.sva +COMMENT= Utilities for creating PySide applications + +LICENSE= BSD GPLv2 +LICENSE_COMB= multi + +BUILD_DEPENDS= pyside${PYTHON_PKGNAMESUFFIX}>=1.0.9:${PORTSDIR}/devel/pyside +LIB_DEPENDS= shiboken-${PYTHON_VERSION}.1:${PORTSDIR}/devel/shiboken +RUN_DEPENDS= pyside${PYTHON_PKGNAMESUFFIX}>=1.0.9:${PORTSDIR}/devel/pyside + +.if !defined(NO_INSTALL_MANPAGES) +MAN1= pyside-lupdate.1 \ + pyside-rcc.1 \ + pyside-uic.1 +.else +CMAKE_ARGS= -DNO_INSTALL_MANPAGES:BOOL=ON +.endif + +QT_COMPONENTS= moc_build qmake_build rcc_build uic_build + +REINPLACE_ARGS= -i.bak -e 's+/usr/bin/env python+&${PYTHON_VER}+' \ + ${WRKSRC}/pyside-uic ${WRKSRC}/pysideuic/icon_cache.py + +USE_BZIP2= yes +USE_CMAKE= yes +USE_PYTHON= 2.5-2.7 +USE_QT_VER= 4 + +post-patch: + ${REINPLACE_CMD} + +.include <bsd.port.mk> diff --git a/devel/pyside-tools/distinfo b/devel/pyside-tools/distinfo new file mode 100644 index 000000000000..7624cebe7033 --- /dev/null +++ b/devel/pyside-tools/distinfo @@ -0,0 +1,2 @@ +SHA256 (pyside-tools-0.2.13.tar.bz2) = 091e8d09f144626d64671ce8c59e165d81b3443a8538102729fc72fb5b5b364c +SIZE (pyside-tools-0.2.13.tar.bz2) = 75634 diff --git a/devel/pyside-tools/files/patch-CMakeLists.txt b/devel/pyside-tools/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..101d0c8648fa --- /dev/null +++ b/devel/pyside-tools/files/patch-CMakeLists.txt @@ -0,0 +1,14 @@ +--- ./CMakeLists.txt.orig 2011-08-22 23:19:14.000000000 +0200 ++++ ./CMakeLists.txt 2011-12-18 15:02:59.000000000 +0100 +@@ -43,9 +43,9 @@ + PATTERN "*pysideuic\\__init__.py" EXCLUDE) + + # Man pages for pyside-uic +-if (NOT win32) ++if (NOT (win32 OR NO_INSTALL_MANPAGES)) + file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/pysideuic/*.1") +- install(FILES ${manpages} DESTINATION share/man/man1) ++ install(FILES ${manpages} DESTINATION man/man1) + endif() + + configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake" diff --git a/devel/pyside-tools/files/patch-pylupdate__CMakeLists.txt b/devel/pyside-tools/files/patch-pylupdate__CMakeLists.txt new file mode 100644 index 000000000000..75a0a4f3879a --- /dev/null +++ b/devel/pyside-tools/files/patch-pylupdate__CMakeLists.txt @@ -0,0 +1,13 @@ +--- ./pylupdate/CMakeLists.txt.orig 2011-08-22 23:19:14.000000000 +0200 ++++ ./pylupdate/CMakeLists.txt 2011-12-18 15:03:30.000000000 +0100 +@@ -31,8 +31,8 @@ + install(TARGETS pyside-lupdate RUNTIME DESTINATION bin) + + # Man pages +-if (NOT win32) ++if (NOT (win32 OR NO_INSTALL_MANPAGES)) + file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/*.1") +- install(FILES ${manpages} DESTINATION share/man/man1) ++ install(FILES ${manpages} DESTINATION man/man1) + endif() + diff --git a/devel/pyside-tools/files/patch-pyrcc__CMakeLists.txt b/devel/pyside-tools/files/patch-pyrcc__CMakeLists.txt new file mode 100644 index 000000000000..c84b86f14b81 --- /dev/null +++ b/devel/pyside-tools/files/patch-pyrcc__CMakeLists.txt @@ -0,0 +1,13 @@ +--- ./pyrcc/CMakeLists.txt.orig 2011-08-22 23:19:14.000000000 +0200 ++++ ./pyrcc/CMakeLists.txt 2011-12-18 15:03:49.000000000 +0100 +@@ -13,8 +13,8 @@ + install(TARGETS pyside-rcc RUNTIME DESTINATION bin) + + # Man pages +-if (NOT win32) ++if (NOT (win32 OR NO_INSTALL_MANPAGES)) + file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/*.1") +- install(FILES ${manpages} DESTINATION share/man/man1) ++ install(FILES ${manpages} DESTINATION man/man1) + endif() + diff --git a/devel/pyside-tools/pkg-descr b/devel/pyside-tools/pkg-descr new file mode 100644 index 000000000000..d41a4d0a855f --- /dev/null +++ b/devel/pyside-tools/pkg-descr @@ -0,0 +1,3 @@ +Utilities for creating PySide applications. + +WWW: http://pyside.org/ diff --git a/devel/pyside-tools/pkg-plist b/devel/pyside-tools/pkg-plist new file mode 100644 index 000000000000..17e5655b8068 --- /dev/null +++ b/devel/pyside-tools/pkg-plist @@ -0,0 +1,34 @@ +@comment $FreeBSD$ +bin/pyside-lupdate +bin/pyside-rcc +bin/pyside-uic +%%PYTHON_SITELIBDIR%%/pysideuic/Compiler/__init__.py +%%PYTHON_SITELIBDIR%%/pysideuic/Compiler/compiler.py +%%PYTHON_SITELIBDIR%%/pysideuic/Compiler/indenter.py +%%PYTHON_SITELIBDIR%%/pysideuic/Compiler/misc.py +%%PYTHON_SITELIBDIR%%/pysideuic/Compiler/proxy_type.py +%%PYTHON_SITELIBDIR%%/pysideuic/Compiler/qobjectcreator.py +%%PYTHON_SITELIBDIR%%/pysideuic/Compiler/qtproxies.py +%%PYTHON_SITELIBDIR%%/pysideuic/__init__.py +%%PYTHON_SITELIBDIR%%/pysideuic/driver.py +%%PYTHON_SITELIBDIR%%/pysideuic/exceptions.py +%%PYTHON_SITELIBDIR%%/pysideuic/icon_cache.py +%%PYTHON_SITELIBDIR%%/pysideuic/icon_cache.py.bak +%%PYTHON_SITELIBDIR%%/pysideuic/objcreator.py +%%PYTHON_SITELIBDIR%%/pysideuic/port_v2/__init__.py +%%PYTHON_SITELIBDIR%%/pysideuic/port_v2/as_string.py +%%PYTHON_SITELIBDIR%%/pysideuic/port_v2/ascii_upper.py +%%PYTHON_SITELIBDIR%%/pysideuic/port_v2/invoke.py +%%PYTHON_SITELIBDIR%%/pysideuic/port_v2/load_plugin.py +%%PYTHON_SITELIBDIR%%/pysideuic/port_v2/proxy_base.py +%%PYTHON_SITELIBDIR%%/pysideuic/port_v2/string_io.py +%%PYTHON_SITELIBDIR%%/pysideuic/properties.py +%%PYTHON_SITELIBDIR%%/pysideuic/pyside-uic.1 +%%PYTHON_SITELIBDIR%%/pysideuic/uiparser.py +%%PYTHON_SITELIBDIR%%/pysideuic/widget-plugins/phonon.py +%%PYTHON_SITELIBDIR%%/pysideuic/widget-plugins/qtdeclarative.py +%%PYTHON_SITELIBDIR%%/pysideuic/widget-plugins/qtwebkit.py +@dirrm %%PYTHON_SITELIBDIR%%/pysideuic/widget-plugins +@dirrm %%PYTHON_SITELIBDIR%%/pysideuic/port_v2 +@dirrm %%PYTHON_SITELIBDIR%%/pysideuic/Compiler +@dirrm %%PYTHON_SITELIBDIR%%/pysideuic |