PORTREVISION= 0
CATEGORIES= graphics gnome
MASTER_SITES=https://inkscape.org/gallery/item/18460/
+DISTNAME=${PORTNAME}-1.0_2020-05-01_4035a4fb49
DISTFILES=inkscape-${PORTVERSION}.${PORTREVISION}.tar.xz
-DISTNAME=${PORTNAME}-${PORTVERSION}.${PORTREVISION}_2020-05-01_4035a4fb49
MAINTAINER= gnome@FreeBSD.org
COMMENT= Full featured open source SVG editor
libharfbuzz.so:print/harfbuzz \
libfontconfig.so:x11-fonts/fontconfig \
libpng.so:graphics/png \
+ libfreetype.so:print/freetype2 \
+ libenchant-2.so:textproc/enchant2
USES= compiler:c++11-lib cmake \
iconv:wchar_t jpeg pathfix pkgconfig python:3.5+ \
- shebangfix tar:xz xorg
+ shebangfix tar:xz xorg \
+ desktop-file-utils
+
USE_GNOME= gtkmm30 libxml2 libxslt cairo pango
-USE_XORG= x11 xext ice
+USE_XORG= x11 xext ice sm
+
+USE_LDCONFIG= yes
INSTALLS_ICONS= yes
SHEBANG_FILES= \
LCMS_CMAKE_BOOL= ENABLE_LCMS
LCMS_LIB_DEPENDS= liblcms2.so:graphics/lcms2
-GTKSPELL_DESC= Support of GTK spell
+GTKSPELL_DESC= Support of GTK spell
GTKSPELL_CMAKE_BOOL= WITH_GTKSPELL
GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3
IMAGEMAGICK_LIB_DEPENDS= libMagick++-6.so:graphics/ImageMagick6
IMAGEMAGICK_CMAKE_BOOL=WITH_IMAGE_MAGICK
-GRAPHICSMAGICK_DESC= support of GraphicsMagick for raster extensions and image import resolution
+GRAPHICSMAGICK_DESC= support of GraphicsMagick for raster extensions and image import resolution
GRAPHICSMAGICK_LIB_DEPENDS= libGraphicsMagick++.so:graphics/GraphicsMagick
GRAPHICSMAGICK_CMAKE_BOOL=WITH_GRAPHICS_MAGICK
${WRKSRC}/po/*.po
@${REINPLACE_CMD} -e 's|web-transmit-att|web_transmit_att|g' \
${WRKSRC}/po/*.po
+ @${REINPLACE_CMD} -e 's|COMMAND python3|COMMAND ${PYTHON_VERSION}|g' \
+ ${WRKSRC}/share/*/CMakeLists.txt
.include <bsd.port.mk>