git: 57a319e9532f - main - print/scribus: fix dependencies

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Mon, 08 Jul 2024 10:27:01 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=57a319e9532fd8e00016ebc72181139ce6aafaf4

commit 57a319e9532fd8e00016ebc72181139ce6aafaf4
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-07-08 10:23:39 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-07-08 10:23:39 +0000

    print/scribus: fix dependencies
    
    * Fix GRAPHICSMAGICK_LIB_DEPENDS.
    * Boost used for build only: replace BOOST_LIB_DEPENDS with BOOST_BUILD_DEPENDS.
    * Fix path to icon.
    
    Approved by:    pkubaj (maintainer, via IRC)
    MFH:            2024Q3
---
 print/scribus/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/print/scribus/Makefile b/print/scribus/Makefile
index 24dfa9730f78..e24e0ce101d6 100644
--- a/print/scribus/Makefile
+++ b/print/scribus/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	scribus
 DISTVERSION=	1.6.2
+PORTREVISION=	1
 CATEGORIES=	print editors
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}/ \
 		http://www.scribus.net/downloads/${PORTVERSION}/
@@ -49,10 +50,10 @@ HUNSPELL_DESC=	Enable spellchecking via hunspell
 OSG_DESC=	Enable 3D rendering via osg
 PDF_DESC=	Enable PDF export via podofo
 
-BOOST_LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
+BOOST_BUILD_DEPENDS=	boost-libs>0:devel/boost-libs
 BOOST_CMAKE_BOOL=	WITH_BOOST
 
-GRAPHICSMAGIC_LIB_DEPENDS=	graphics/GraphicsMagick
+GRAPHICSMAGICK_LIB_DEPENDS=	libGraphicsMagick.so:graphics/GraphicsMagick
 GRAPHICSMAGICK_CMAKE_BOOL=	WANT_GRAPHICSMAGICK
 
 HUNSPELL_LIB_DEPENDS=	libhunspell-1.7.so:textproc/hunspell
@@ -65,7 +66,7 @@ PDF_LIB_DEPENDS=	libpodofo.so:graphics/podofo
 PDF_CMAKE_BOOL=	WITH_PODOFO
 
 post-install:
-		${LN} -sf ../share/icons/1_5_1/scribus.png \
+		${LN} -sf ../scribus/icons/1_5_1/scribus.png \
 			${STAGEDIR}${PREFIX}/share/pixmaps/
 
 .include <bsd.port.mk>