1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/irc/dxirc/files/patch-data_CMakeLists.txt
Jason E. Hale 8c6d013b62 Update to 1.30.0
Switch to CMake build
Convert to options helpers
Add support for Qt and set Qt 5.x as the default toolkit
Update pkg-descr

PR:		210234
Submitted by:	David Vachulka <arch_dvx@users.sourceforge.net> (maintainer)
2016-11-23 19:21:19 +00:00

21 lines
728 B
Plaintext

--- data/CMakeLists.txt.orig 2015-10-28 18:53:26 UTC
+++ data/CMakeLists.txt
@@ -1,9 +1,16 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
+if(WITH_NLS)
add_subdirectory(translations)
+endif(WITH_NLS)
if(NOT WIN32)
-install(FILES dxirc-fox.desktop dxirc-qt.desktop DESTINATION share/applications)
+ if(BUILD_FOX)
+ install(FILES dxirc-fox.desktop DESTINATION share/applications)
+ endif(BUILD_FOX)
+ if(BUILD_QT)
+ install(FILES dxirc-qt.desktop DESTINATION share/applications)
+ endif(BUILD_QT)
endif(NOT WIN32)
install(FILES icons/dxirc.png DESTINATION share/icons/hicolor/48x48/apps)
install(DIRECTORY icons/ DESTINATION share/dxirc/icons FILES_MATCHING PATTERN "*.png" PATTERN "*.smiley" PATTERN ".svn" EXCLUDE)