diff options
author | marino <marino@pkgsrc.org> | 2011-12-08 08:20:39 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2011-12-08 08:20:39 +0000 |
commit | acd3f868b2b24b5921e823d5ffe89a605be6e7aa (patch) | |
tree | 4c770cb9af1cd13e26a1b1da310948fe892ca7f9 /editors | |
parent | a8bc8e909d3fe8b9223a5d4dc99634cc13115ff5 (diff) | |
download | pkgsrc-acd3f868b2b24b5921e823d5ffe89a605be6e7aa.tar.gz |
editors/qgoogletrans: Add DragonFly support to installer
Diffstat (limited to 'editors')
-rw-r--r-- | editors/qgoogletranslator/distinfo | 4 | ||||
-rw-r--r-- | editors/qgoogletranslator/patches/patch-CMakeLists.txt | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/editors/qgoogletranslator/distinfo b/editors/qgoogletranslator/distinfo index f15e4386751..faeb16fbf72 100644 --- a/editors/qgoogletranslator/distinfo +++ b/editors/qgoogletranslator/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.2 2011/03/10 21:59:15 wiz Exp $ +$NetBSD: distinfo,v 1.3 2011/12/08 08:20:39 marino Exp $ SHA1 (qgoogletranslator-1.2.1.tar.bz2) = 7c41aef23f770f462ffa3fae502fc62e8fe56453 RMD160 (qgoogletranslator-1.2.1.tar.bz2) = 1e0032ff76be79a826d8329f5021ef6ee5fdf969 Size (qgoogletranslator-1.2.1.tar.bz2) = 279120 bytes -SHA1 (patch-CMakeLists.txt) = 8846c69ac465252af26ba7c91e97a25e4c8a8e2a +SHA1 (patch-CMakeLists.txt) = f07e92e064c473932b53067253e4bfbd57ffde8d SHA1 (patch-src_3rdparty_qtsingleapplication_qtlocalpeer.cpp) = df4056ed44115ea556a377d0cda0c9e43e7a303b SHA1 (patch-src_defines.h.in) = 258684e4d34c0b8919742e6bcaf9e7c355068f67 diff --git a/editors/qgoogletranslator/patches/patch-CMakeLists.txt b/editors/qgoogletranslator/patches/patch-CMakeLists.txt index c661b0ce67f..e2f622189d4 100644 --- a/editors/qgoogletranslator/patches/patch-CMakeLists.txt +++ b/editors/qgoogletranslator/patches/patch-CMakeLists.txt @@ -1,4 +1,4 @@ -$NetBSD: patch-CMakeLists.txt,v 1.1.1.1 2011/03/07 07:02:06 ryoon Exp $ +$NetBSD: patch-CMakeLists.txt,v 1.2 2011/12/08 08:20:39 marino Exp $ --- CMakeLists.txt.orig 2010-11-21 09:54:19.000000000 +0000 +++ CMakeLists.txt @@ -7,10 +7,10 @@ $NetBSD: patch-CMakeLists.txt,v 1.1.1.1 2011/03/07 07:02:06 ryoon Exp $ endif(${CMAKE_SYSTEM_NAME} STREQUAL Linux) -if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD) -+if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD OR ${CMAKE_SYSTEM_NAME} STREQUAL NetBSD) ++if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD OR ${CMAKE_SYSTEM_NAME} STREQUAL NetBSD OR ${CMAKE_SYSTEM_NAME} STREQUAL DragonFly) set (QGT_L10N_DIRECTORY ${CMAKE_INSTALL_PREFIX}/share/qgoogletranslator/l10n) -endif(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD) -+endif(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD") ++endif(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD" OR CMAKE_SYSTEM_NAME STREQUAL "DragonFly") ADD_DEFINITIONS(${QT_DEFINITIONS}) @@ -19,7 +19,7 @@ $NetBSD: patch-CMakeLists.txt,v 1.1.1.1 2011/03/07 07:02:06 ryoon Exp $ # install for freebsd -if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD) -+if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD OR ${CMAKE_SYSTEM_NAME} STREQUAL NetBSD) ++if(${CMAKE_SYSTEM_NAME} STREQUAL FreeBSD OR ${CMAKE_SYSTEM_NAME} STREQUAL NetBSD OR ${CMAKE_SYSTEM_NAME} STREQUAL DragonFly) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/qgoogletranslator.desktop ${CMAKE_CURRENT_BINARY_DIR}/qgoogletranslator.desktop COPYONLY) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/artwork/icons/eyeworld_icon.png ${CMAKE_CURRENT_BINARY_DIR}/qgoogletranslator.png COPYONLY) install(TARGETS qgoogletranslator DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) |