Bugfix, python3 called from filter CMakeList
[inkscape-1.0-freebsd.git] / Makefile
index 2a53999c283f004c62f95f8b847cc5ed02c28300..10d4008e60667efed21551af0b6a47d674d0f448 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,12 +36,16 @@ LIB_DEPENDS=        \
        libharfbuzz.so:print/harfbuzz \
        libfontconfig.so:x11-fonts/fontconfig \
        libpng.so:graphics/png \
+       libfreetype.so:print/freetype2 \
+       libenchant-2.so:textproc/enchant 
 
 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
+
 INSTALLS_ICONS=        yes
 
 SHEBANG_FILES= \
@@ -115,5 +119,7 @@ post-patch:
                ${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>