mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
parent
b79e748466
commit
0a360fab1a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287625
@ -3338,6 +3338,7 @@
|
||||
SUBDIR += pypersrc
|
||||
SUBDIR += pyrex
|
||||
SUBDIR += pyside
|
||||
SUBDIR += pyside-tools
|
||||
SUBDIR += pyst
|
||||
SUBDIR += pysvn
|
||||
SUBDIR += pythk
|
||||
|
47
devel/pyside-tools/Makefile
Normal file
47
devel/pyside-tools/Makefile
Normal file
@ -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>
|
2
devel/pyside-tools/distinfo
Normal file
2
devel/pyside-tools/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (pyside-tools-0.2.13.tar.bz2) = 091e8d09f144626d64671ce8c59e165d81b3443a8538102729fc72fb5b5b364c
|
||||
SIZE (pyside-tools-0.2.13.tar.bz2) = 75634
|
14
devel/pyside-tools/files/patch-CMakeLists.txt
Normal file
14
devel/pyside-tools/files/patch-CMakeLists.txt
Normal file
@ -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"
|
13
devel/pyside-tools/files/patch-pylupdate__CMakeLists.txt
Normal file
13
devel/pyside-tools/files/patch-pylupdate__CMakeLists.txt
Normal file
@ -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()
|
||||
|
13
devel/pyside-tools/files/patch-pyrcc__CMakeLists.txt
Normal file
13
devel/pyside-tools/files/patch-pyrcc__CMakeLists.txt
Normal file
@ -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()
|
||||
|
3
devel/pyside-tools/pkg-descr
Normal file
3
devel/pyside-tools/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Utilities for creating PySide applications.
|
||||
|
||||
WWW: http://pyside.org/
|
34
devel/pyside-tools/pkg-plist
Normal file
34
devel/pyside-tools/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user