1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Update to 0.9.1

This commit is contained in:
Max Brazhnikov 2010-11-28 20:20:12 +00:00
parent cb93812dbd
commit 5d0aa1e185
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265337
7 changed files with 99 additions and 1704 deletions

View File

@ -6,21 +6,21 @@
#
PORTNAME= qtoctave
PORTVERSION= 0.8.2
PORTREVISION= 2
PORTVERSION= 0.9.1
CATEGORIES= math
MASTER_SITES= http://forja.rediris.es/frs/download.php/1383/
MASTER_SITES= http://forja.rediris.es/frs/download.php/1760/
MAINTAINER= makc@FreeBSD.org
COMMENT= Qt4 frontend for Octave
RUN_DEPENDS= octave:${PORTSDIR}/math/octave
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= gui svg xml qmake_build moc_build rcc_build uic_build
QT_COMPONENTS= designer gui network script svg xml \
qmake_build moc_build rcc_build uic_build
USE_CMAKE= yes
CMAKE_ARGS+= -DWITH_UseRPMTools:Bool=Off
CMAKE_USE_PTHREAD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
.include <bsd.port.mk>

View File

@ -1,3 +1,2 @@
MD5 (qtoctave-0.8.2.tar.gz) = 56d0d7bece168b7df6a6b30d448266f4
SHA256 (qtoctave-0.8.2.tar.gz) = f7c42f0c215209e3f3faf98bed366afa49969a66a01a5733d83ce38118a0f1a3
SIZE (qtoctave-0.8.2.tar.gz) = 4554545
SHA256 (qtoctave-0.9.1.tar.bz2) = dd54c1dda166811e1ab32043211e37b803135b01d5f7d9101e85300ea9cfc986
SIZE (qtoctave-0.9.1.tar.bz2) = 3335725

View File

@ -1,10 +1,16 @@
--- ./CMakeLists.txt.orig 2008-09-21 13:00:30.000000000 +0400
+++ ./CMakeLists.txt 2009-02-18 20:25:44.000000000 +0300
@@ -10,7 +10,6 @@
--- ./CMakeLists.txt.orig 2010-01-25 16:19:48.000000000 +0300
+++ ./CMakeLists.txt 2010-11-28 19:09:57.665396912 +0300
@@ -28,13 +28,6 @@
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake-modules/)
include(UseQt4)
-set(CMAKE_BUILD_TYPE Release)
-if( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} EQUAL 6 )
- MESSAGE (FATAL_ERROR
- "Qt version 4.6 required.\n"
- "Qt version installed is: ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}\n"
- "Please install required version.\n"
- )
-endif( NOT ${QT_VERSION_MAJOR} EQUAL 4 OR NOT ${QT_VERSION_MINOR} EQUAL 6 )
#Uncoment to Verbose mode
#set(CMAKE_VERBOSE_MAKEFILE TRUE)
add_subdirectory (qtoctave_pkg/src)
add_subdirectory (xmlwidget/qt4)

View File

@ -0,0 +1,32 @@
--- ./qtinfo/CMakeLists.txt.orig 2010-01-25 16:19:51.000000000 +0300
+++ ./qtinfo/CMakeLists.txt 2010-11-28 19:09:57.667465357 +0300
@@ -25,17 +25,17 @@
# run rcc on these files:
QT4_ADD_RESOURCES ( qtinfo_qrc_sources ${qtinfo_qrc} )
-add_executable(qtinfo
+add_executable(qtoctave_info
${qtinfo_sources} ${qtinfo_moc_sources} ${qtinfo_ui_headers} ${qtinfo_moc_headers} ${qtinfo_qrc_sources}
)
-SET_TARGET_PROPERTIES(qtinfo
+SET_TARGET_PROPERTIES(qtoctave_info
PROPERTIES INSTALL_RPATH ":usr/lib"
BUILD_WITH_INSTALL_RPATH true
INSTALL_RPATH_USE_LINK_PATH true
)
-TARGET_LINK_LIBRARIES(qtinfo
+TARGET_LINK_LIBRARIES(qtoctave_info
${Qt4_LIBRARIES}
${QT_QTCORE_LIBRARY}
${QT_QTGUI_LIBRARY}
@@ -43,7 +43,7 @@
install (
- TARGETS qtinfo
+ TARGETS qtoctave_info
RUNTIME DESTINATION bin
)

View File

@ -0,0 +1,15 @@
--- ./qtoctave/src/CMakeLists.txt.orig 2010-01-25 16:19:48.000000000 +0300
+++ ./qtoctave/src/CMakeLists.txt 2010-11-28 19:31:11.804026657 +0300
@@ -45,12 +45,6 @@
)
install (
- DIRECTORY octave_doc
- DESTINATION share/doc/octave-html
- PATTERN ".svn" EXCLUDE
- )
-
-install (
DIRECTORY qtoctave_doc
DESTINATION share/doc/qtoctave
PATTERN ".svn" EXCLUDE

View File

@ -0,0 +1,11 @@
--- ./qtoctave/src/scripts_octave/qtinfo.m.orig 2010-01-25 16:19:50.000000000 +0300
+++ ./qtoctave/src/scripts_octave/qtinfo.m 2010-11-28 19:09:57.670497066 +0300
@@ -1,5 +1,5 @@
function qtinfo()
- command=sprintf("qtinfo %s > /dev/null", info_file);
+ command=sprintf("qtoctave_info %s > /dev/null", info_file);
printf("Starting info: %s\n", command);
system(command, 1, "async");
-endfunction
\ No newline at end of file
+endfunction

File diff suppressed because it is too large Load Diff