blob: 106c74362bb26472cdcac04490b200f3b95f19c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# $NetBSD: Makefile,v 1.130 2016/05/22 18:20:47 wiz Exp $
DISTNAME= inkscape-0.91
PKGREVISION= 15
CATEGORIES= graphics
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=inkscape/}
MASTER_SITES= https://inkscape.global.ssl.fastly.net/media/resources/file/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.inkscape.org/
COMMENT= Scalable Vector Graphics (SVG) editor
LICENSE= gnu-gpl-v2
.if !exists(/usr/bin/iconv)
BUILD_DEPENDS+= libiconv-[0-9]*:../../converters/libiconv
.endif
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
# for inkex.py, needed by most python extension scripts
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
EXTRACT_USING= bsdtar
GCC_REQD+= 4.5.2
USE_LANGUAGES= c c++
CXXFLAGS+= -std=c++11
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake intltool msgfmt perl:run pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ENV+= MSGFMT=${TOOLS_DIR}/bin/msgfmt
CONFIGURE_ENV+= GMSGFMT=${TOOLS_DIR}/bin/msgfmt
CONFIGURE_ARGS+= --with-python
REPLACE_PERL+= share/extensions/*.p[lm]
BUILDLINK_API_DEPENDS.boehm-gc+= boehm-gc>=6.4
BUILDLINK_API_DEPENDS.poppler+= poppler>=0.5.9
UNLIMIT_RESOURCES= datasize
LDFLAGS.DragonFly= -lX11
SUBST_CLASSES+= pypath
SUBST_STAGE.pypath= pre-configure
SUBST_FILES.pypath= src/extension/implementation/script.cpp
SUBST_VARS.pypath= PYTHONBIN
REPLACE_PYTHON+= cxxtest/cxxtestgen.py
REPLACE_PYTHON+= share/filters/i18n.py
REPLACE_PYTHON+= share/extensions/*.py
REPLACE_PYTHON+= share/extensions/Barcode/*.py
REPLACE_PYTHON+= share/extensions/ink2canvas/*.py
REPLACE_PYTHON+= share/extensions/test/*.test.py
REPLACE_PYTHON+= share/patterns/i18n.py
CHECK_INTERPRETER_SKIP+=share/inkscape/extensions/genpofiles.sh
CHECK_INTERPRETER_SKIP+=share/inkscape/extensions/simplepath.rb
CHECK_PORTABILITY_SKIP+=packaging/macosx/Resources/bin/inkscape
CHECK_PORTABILITY_SKIP+=packaging/macosx/ScriptExec/launcher-quartz-no-macintegration.sh
PKG_OPTIONS_VAR= PKG_OPTIONS.inkscape
PKG_SUPPORTED_OPTIONS= gnome
PKG_SUGGESTED_OPTIONS= gnome
.include "../../mk/bsd.options.mk"
# gnome-vfs support for the inkscape file open window.
.if !empty(PKG_OPTIONS:Mgnome)
CONFIGURE_ARGS+= --with-gnome-vfs
.include "../../sysutils/gnome-vfs/buildlink3.mk"
.endif
BUILDLINK_API_DEPENDS.poppler-includes+= poppler-includes>=0.12.2
BUILDLINK_API_DEPENDS.boehm-gc+= boehm-gc>=7.4
.include "../../converters/libcdr/buildlink3.mk"
.include "../../converters/libvisio/buildlink3.mk"
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/libart/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../math/gsl/buildlink3.mk"
.include "../../print/poppler-glib/buildlink3.mk"
.include "../../print/poppler-includes/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/gtkspell/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../x11/gtkmm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|