From: David Marec Date: Sat, 9 May 2020 23:06:42 +0000 (+0200) Subject: First issue X-Git-Tag: plist-nls~17 X-Git-Url: http://popeye.lapinbilly.eu/git/?p=inkscape-1.0-freebsd.git;a=commitdiff_plain;h=0031019286e1e7aa6340da32139ec3ca048e9dd0 First issue --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a4166d9 --- /dev/null +++ b/Makefile @@ -0,0 +1,107 @@ +# Created by: Alexander Nedotsukov +# $FreeBSD: head/graphics/inkscape/Makefile 533681 2020-05-02 10:00:12Z tcberner $ + +PORTNAME= inkscape +PORTVERSION=1.0 +PORTREVISION=1 +CATEGORIES= graphics gnome +MASTER_SITES=https://inkscape.org/gallery/item/18460/ +DISTNAME=inkscape-1.0 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Full featured open source SVG editor + +LICENSE= GPLv2+ GPLv3+ LGPL21 MPL11 +LICENSE_COMB= multi +LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSES/GPL-2.0.txt +LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSES/GPL-3.0.txt +LICENSE_FILE_LGPL21= ${WRKSRC}/LICENSES/LGPL-2.1.txt +LICENSE_FILE_MPL11= ${WRKSRC}/LICENSES/MPL-1.1.txt + +#BUILD_DEPENDS= ${LOCALBASE}/include/boost/concept_check.hpp:devel/boost-libs +LIB_DEPENDS= \ + libgsl.so:math/gsl \ + libpotrace.so:graphics/libpotrace \ + libpng.so:graphics/png \ + +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scour>0:textproc/py-scour@${PY_FLAVOR} + +USES= compiler:c++11-lib cmake \ + iconv:wchar_t jpeg pathfix pkgconfig python:3.7 \ + shebangfix tar:xz xorg +USE_GNOME= gtkmm30 libxml2 libxslt +USE_XORG= x11 +INSTALLS_ICONS= yes + +SHEBANG_FILES= \ + share/extensions/genpofiles.sh \ + man/fix-roff-punct + +#option(WITH_LPETOOL "Compile with LPE Tool" OFF) +#option(LPE_ENABLE_TEST_EFFECTS "Compile with test experimental LPEs enabled" OFF) + + +OPTIONS_DEFINE= POPPLER VISIO CDR DBUS WPG LCMS SVG2 OPENMP IMAGEMAGICK GRAPHICSMAGICK NLS +OPTIONS_DEFAULT=POPPLER VISIO CDR WPG LCMS SVG2 OPENMP IMAGEMAGICK NLS +OPTIONS_SUB= yes + +POPPLER_DESC= PDF preview rendering +POPPLER_CMAKE_BOOL= ENABLE_POPPLER ENABLE_POPPLER_CAIRO +POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler \ + libpoppler-glib.so:graphics/poppler-glib + +VISIO_DESC= Support for Microsoft Visio diagrams +VISIO_CMAKE_BOOL= WITH_LIBVISIO +VISIO_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ + libvisio-0.1.so:textproc/libvisio01 + +CDR_DESC= Support for CorelDRAW diagrams +CDR_CMAKE_BOOL= WITH_LIBCDR +CDR_LIB_DEPENDS= librevenge-stream-0.0.so:textproc/librevenge \ + libcdr-0.1.so:graphics/libcdr01 + +DBUS_DESC = Support for DBus interface +DBUS_CMAKE_BOOL= WITH_DBUS +DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ + libdbus-1.so:devel/dbus + +WPG_DESC= Support for WordPerfect graphics +WPG_CMAKE_BOOL= WITH_LIBWPG +WPG_LIB_DEPENDS= libwpg-0.3.so:graphics/libwpg03 + +SVG2_DESC= Support for new SVG2 features +SVG2_CMAKE_BOOL= WITH_LIBWPG +SVG2_USE= GNOME=librsvg2,cairo + +LCMS_DESC= LCMS support +LCMS_CMAKE_BOOL= ENABLE_LCMS +LCMS_LIB_DEPENDS= liblcms2.so:graphics/lcms2 + +OPENMP_DESC= OpenMP support +OPENMP_USES= compiler:openmp +OPENMP_USES_OFF= compiler:c++11-lib +OPENMP_CMAKE_BOOL= WITH_OPENMP + +IMAGEMAGICK_DESC= Support of ImageMagick for raster extensions and image import resolution (requires ImageMagick 7; set to OFF if you prefer GraphicsMagick) +IMAGEMAGICK_DEPENDS+= convert:graphics/ImageMagick7 +IMAGEMAGICK_CMAKE_BOOL=WITH_IMAGE_MAGICK + +GRAPHICSMAGICK_DESC= support of GraphicsMagick for raster extensions and image import resolution" +GRAPHICSMAGICK_USES= graphics/GraphicsMagick7 +GRAPHICSMAGICK_CMAKE_BOOL=WITH_GRAPHICS_MAGICK +# temporary until the build works for the !NLS case +#USES+= gettext +NLS_DESC = Native Language Support +NLS_CMAKE_BOOL= WITH_NLS +NLS_USES= gettext + +#post-patch: +# @${REINPLACE_CMD} -e 's|COMMAND python|COMMAND ${PYTHON_VERSION}|g' \ +# ${WRKSRC}/share/*/CMakeLists.txt +# # Third entry in the table of interpreters is basename of executable +# @${REINPLACE_CMD} -e 's|python|${PYTHON_VERSION}|3' \ +# ${WRKSRC}/src/extension/implementation/script.cpp + +.include diff --git a/README.md b/README.md new file mode 100644 index 0000000..03b30f9 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +Port inkscape 1.0 to Freebsd + + diff --git a/distinfo b/distinfo new file mode 100644 index 0000000..e2d637d --- /dev/null +++ b/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1557601550 +SHA256 (inkscape-1.0.tar.xz) = 89c123d1a62ac52db6a08fe3be730584411b89a88ecc528a410b4f3fa53f94bb +SIZE (inkscape-1.0.tar.xz) = 31935616 diff --git a/pkg-descr b/pkg-descr new file mode 100644 index 0000000..fbd1381 --- /dev/null +++ b/pkg-descr @@ -0,0 +1,9 @@ +Inkscape seeks to become a full featured open source SVG editor. +Derived from the highly popular Sodipodi codebase, Inkscape strives +to build full XML, SVG, and CSS2 compliance. + +Features include alpha blending, node editing, svg-to-png export, +and more. Project aims for capabilities similar to Illustrator, +CorelDraw, Visio, etc. + +WWW: http://www.inkscape.org