Skip to content

Commit

Permalink
print/scribus: port improvements
Browse files Browse the repository at this point in the history
Reported by:	diizzy@
  • Loading branch information
pkubaj committed Jan 5, 2024
1 parent b5a1cb6 commit 39c93c4
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions print/scribus/Makefile
@@ -1,5 +1,5 @@
PORTNAME= scribus
PORTVERSION= 1.6.0
DISTVERSION= 1.6.0
PORTREVISION= 1
CATEGORIES= print editors
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}/ \
Expand Down Expand Up @@ -37,34 +37,33 @@ USE_QT= buildtools:build core gui linguisttools:build \
network opengl printsupport qmake:build widgets xml
USE_GNOME= cairo libxml2

CMAKE_ARGS+= -DWANT_CPP17=YES \
-DCMAKE_COLOR_MAKEFILE:BOOL=ON
CMAKE_ARGS= -DWANT_CPP17=YES

CONFLICTS_INSTALL= scribus-devel

OPTIONS_DEFINE= BOOST DOCS GRAPHICSMAGICK HUNSPELL OSG PDF
OPTIONS_DEFAULT=BOOST GRAPHICSMAGICK HUNSPELL OSG PDF

BOOST_DESC= Enable support for Boost-based enhancement
GRAPHICSMAGICK_DESC= Use GraphicsMagick instead of ImageMagick
GRAPHICSMAGICK_DESC= Use GraphicsMagick for image import support
HUNSPELL_DESC= Enable spellchecking via hunspell
OSG_DESC= Enable 3D rendering via osg
PDF_DESC= Enable PDF export via podofo

BOOST_CMAKE_BOOL= WITH_BOOST
BOOST_LIB_DEPENDS= libboost_thread.so:devel/boost-libs
BOOST_CMAKE_BOOL= WITH_BOOST

GRAPHICSMAGICK_CMAKE_BOOL= WANT_GRAPHICSMAGICK
GRAPHICSMAGIC_LIB_DEPENDS= graphics/GraphicsMagick
GRAPHICSMAGICK_CMAKE_BOOL= WANT_GRAPHICSMAGICK

HUNSPELL_CMAKE_BOOL= WANT_HUNSPELL
HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
HUNSPELL_CMAKE_BOOL= WANT_HUNSPELL

OSG_LIB_DEPENDS= libosg.so:graphics/osg
OSG_CMAKE_BOOL_OFF= WANT_NOOSG

PDF_CMAKE_BOOL= WITH_PODOFO
PDF_LIB_DEPENDS= libpodofo.so:graphics/podofo
PDF_CMAKE_BOOL= WITH_PODOFO

post-install:
${LN} -sf ../share/icons/1_5_1/scribus.png \
Expand Down

0 comments on commit 39c93c4

Please sign in to comment.