forked from Lainports/freebsd-ports
From the official site: After almost 4 years of intensive work, the Scribus Team (www.scribus.net) has released the new stable version 1.4.0 of the Open Source desktop publishing program Scribus.[...] In summary, more than 2000 feature requests and bugs have been resolved since the development of this new version started. PR: ports/164592 [1] ports/164609 [2] Submitted by: Sergey Golyashov <svvord@ulona.org> [1], bsam [2] Approved by: sylvio (maintainer timeout 15 days)
35 lines
1,020 B
Text
35 lines
1,020 B
Text
--- CMakeLists.txt.orig 2011-12-31 00:46:04.000000000 +0400
|
|
+++ CMakeLists.txt 2012-01-12 13:31:25.064693826 +0400
|
|
@@ -251,7 +251,7 @@ ENDIF (APPLEBUNDLE)
|
|
#Setp all the directories we will use
|
|
#MAN
|
|
CMAKE_POLICY(SET CMP0005 OLD)
|
|
-SET(MANDIR "share/man/")
|
|
+SET(MANDIR "man/")
|
|
IF(WANT_VERSIONING)
|
|
SET(SHAREDIR "share/${MAIN_DIR_NAME}${TAG_VERSION}/")
|
|
ELSE(WANT_VERSIONING)
|
|
@@ -322,7 +322,7 @@ IF(WANT_LIB64)
|
|
ENDIF(NOT ARCH_X86_64)
|
|
SET(LIB_SUFFIX "64" CACHE TYPE STRING)
|
|
ENDIF(WANT_LIB64)
|
|
-SET(LIB_DIR_NAME "lib${LIB_SUFFIX}")
|
|
+SET(LIB_DIR_NAME "lib")
|
|
SET(LIBDIR "${LIB_DIR_NAME}/${MAIN_DIR_NAME}${TAG_VERSION}/")
|
|
ADD_DEFINITIONS("-DLIBDIR=\\\"${CMAKE_INSTALL_PREFIX}/${LIBDIR}\\\"")
|
|
|
|
@@ -825,10 +825,10 @@ INSTALL(FILES
|
|
|
|
## PL We may not need this anymore
|
|
#Install the desktop file
|
|
-## INSTALL(FILES
|
|
- # scribus.desktop
|
|
- # #DESTINATION ${DESKTOPDIR}
|
|
-#)
|
|
+INSTALL(FILES
|
|
+ scribus.desktop
|
|
+ DESTINATION ${DESKTOPDIR}
|
|
+)
|
|
|
|
#If building an Apple bundle, install these specific files
|
|
IF(APPLEBUNDLE)
|