aboutsummaryrefslogtreecommitdiff
path: root/graphics/tulip
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-01-03 14:40:40 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-01-03 14:40:40 +0000
commit8f805255511cb15a86c14d9b367b06433a56780a (patch)
tree479acbd63ebec1a3d383d7b9244d78910d2cf03a /graphics/tulip
parent957561b46384a058095ba374efc1e8e0865ef177 (diff)
downloadports-8f805255511cb15a86c14d9b367b06433a56780a.tar.gz
ports-8f805255511cb15a86c14d9b367b06433a56780a.zip
Notes
Diffstat (limited to 'graphics/tulip')
-rw-r--r--graphics/tulip/Makefile17
-rw-r--r--graphics/tulip/files/patch-CMakeLists.txt12
-rw-r--r--graphics/tulip/pkg-plist3
3 files changed, 20 insertions, 12 deletions
diff --git a/graphics/tulip/Makefile b/graphics/tulip/Makefile
index 8793eeab1062..99652b926f6a 100644
--- a/graphics/tulip/Makefile
+++ b/graphics/tulip/Makefile
@@ -3,7 +3,7 @@
PORTNAME= tulip
PORTVERSION= 4.6.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/auber/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}_src
@@ -11,25 +11,24 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= System dedicated to the visualization of huge graphs
-LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
- libQxtCore.so:${PORTSDIR}/devel/libqxt \
+LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
libOGDF.so:${PORTSDIR}/math/ogdf \
libpng.so:${PORTSDIR}/graphics/png \
+ libquazip.so:${PORTSDIR}/archivers/quazip \
libjpeg.so:${PORTSDIR}/graphics/jpeg
-USES= cmake:outsource compiler:c++11-lib dos2unix python shebangfix
+USES= cmake:outsource compiler:c++11-lib dos2unix execinfo python \
+ shebangfix
SHEBANG_FILES= tulip-config.in
DOS2UNIX_FILES= software/tulip/src/main.cpp
USE_CXXSTD= c++11
USE_GL= glew glut
USE_GNOME= libxml2
-USE_QT4= corelib moc_build uic_build rcc_build gui opengl xml network qmake_build \
- designer assistant assistantclient
+USE_QT4= corelib gui network opengl webkit xml xmlpatterns \
+ qmake_build moc_build rcc_build uic_build
CXXFLAGS+= -fPIC -I${LOCALBASE}/include -DNDEBUG -DOGDF_DLL
LDFLAGS+= -L${LOCALBASE}/lib
-CMAKE_ARGS+= -DPYTHON_INCLUDEDIR:PATH=${PYTHON_INCLUDEDIR} \
- -DLOCALBASE:PATH=${LOCALBASE} \
- -DOGDFLibrary=${LOCALBASE}/lib/libOGDF.so \
+CMAKE_ARGS= -DOGDFLibrary=${LOCALBASE}/lib/libOGDF.so \
-DOGDFInclude=${LOCALBASE}/include \
-DBUILD_DOC:BOOL=false
USE_LDCONFIG= ${PREFIX}/lib/tulip
diff --git a/graphics/tulip/files/patch-CMakeLists.txt b/graphics/tulip/files/patch-CMakeLists.txt
index d0f29f5ea494..cd879a2f2b85 100644
--- a/graphics/tulip/files/patch-CMakeLists.txt
+++ b/graphics/tulip/files/patch-CMakeLists.txt
@@ -1,5 +1,17 @@
--- CMakeLists.txt.orig 2014-09-28 22:18:14.000000000 +0200
+++ CMakeLists.txt 2014-09-30 12:39:54.000000000 +0200
+@@ -108,7 +108,10 @@
+ IF(APPLE)
+ SET_TARGET_PROPERTIES(${name} PROPERTIES INSTALL_NAME_DIR "@executable_path/../lib")
+ ENDIF(APPLE)
+- SET_TARGET_PROPERTIES(${name} PROPERTIES INSTALL_RPATH "$ORIGIN")
++ GET_TARGET_PROPERTY(_target_type ${name} TYPE)
++ IF(NOT "${_target_type}" STREQUAL "INTERFACE_LIBRARY")
++ SET_TARGET_PROPERTIES(${name} PROPERTIES INSTALL_RPATH "$ORIGIN")
++ ENDIF(NOT "${_target_type}" STREQUAL "INTERFACE_LIBRARY")
+ IF(MSVC)
+ SET_TARGET_PROPERTIES(${name} PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_BINARY_DIR}")
+ SET_TARGET_PROPERTIES(${name} PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_BINARY_DIR}")
@@ -401,8 +401,8 @@
SET(FTGLLibrary ftgl-tulip-${TulipMMVersion})
ENDIF(NOT BUILD_CORE_ONLY)
diff --git a/graphics/tulip/pkg-plist b/graphics/tulip/pkg-plist
index 31d56263dfd7..aed843115047 100644
--- a/graphics/tulip/pkg-plist
+++ b/graphics/tulip/pkg-plist
@@ -303,9 +303,6 @@ lib/libftgl-tulip-%%TULIP_VERS%%.so.2
lib/libftgl-tulip-%%TULIP_VERS%%.so.2.1
lib/libgzstream-tulip-%%TULIP_VERS%%.so
lib/libgzstream-tulip-%%TULIP_VERS%%.so.0
-lib/libquazip-tulip-%%TULIP_VERS%%.so
-lib/libquazip-tulip-%%TULIP_VERS%%.so.1
-lib/libquazip-tulip-%%TULIP_VERS%%.so.1.0.0
lib/libqxt-tulip-%%TULIP_VERS%%.so
lib/libqxt-tulip-%%TULIP_VERS%%.so.0
lib/libtulip-core-%%TULIP_VERS%%.so