1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

astro/stellarium-qt4: Trivial patch to install manpages correctly on DF

This commit is contained in:
John Marino 2014-11-03 09:43:25 +00:00
parent 4ea55f57ad
commit 1328122a63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372102

View File

@ -0,0 +1,11 @@
--- doc/CMakeLists.txt.orig 2013-08-04 06:20:27 UTC
+++ doc/CMakeLists.txt
@@ -24,7 +24,7 @@ ADD_CUSTOM_COMMAND(
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/stellarium.1
)
-IF(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|NetBSD|OpenBSD)" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD")
+IF(${CMAKE_SYSTEM_NAME} MATCHES "(DragonFly|FreeBSD|NetBSD|OpenBSD)" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD")
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/stellarium.1 DESTINATION man/man1)
ELSE(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|NetBSD|OpenBSD)" AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD")
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/stellarium.1 DESTINATION share/man/man1)