2016-02-05 22:27:25 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.48 2016/02/05 22:27:25 sthen Exp $
|
2015-09-24 10:38:17 +00:00
|
|
|
|
|
|
|
# XXX check if still needed at next update
|
|
|
|
CXXFLAGS += -std=c++11
|
2008-04-04 14:37:26 +00:00
|
|
|
|
|
|
|
COMMENT= SVG vector drawing application
|
|
|
|
|
2015-03-24 18:45:11 +00:00
|
|
|
DISTNAME= inkscape-0.91
|
2008-04-04 14:37:26 +00:00
|
|
|
CATEGORIES= graphics
|
2016-02-05 22:27:25 +00:00
|
|
|
REVISION= 6
|
2008-04-04 14:37:26 +00:00
|
|
|
|
2015-03-24 18:45:11 +00:00
|
|
|
MASTER_SITES = https://inkscape.org/en/gallery/item/3854/
|
2008-04-04 14:37:26 +00:00
|
|
|
HOMEPAGE= http://www.inkscape.org/
|
|
|
|
|
2011-05-16 19:39:18 +00:00
|
|
|
# GPLv2 and LGPLv2.1
|
2008-04-04 14:37:26 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2015-11-29 10:45:22 +00:00
|
|
|
WANTLIB += ICE Magick++-6.Q16 MagickCore-6.Q16 MagickWand-6.Q16
|
|
|
|
WANTLIB += SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
|
|
|
WANTLIB += Xrandr Xrender Xt aspell atk-1.0 atkmm-1.6 bz2 c cairo
|
|
|
|
WANTLIB += cairomm-1.0 djvulibre enchant exif expat ffi fftw3
|
|
|
|
WANTLIB += fontconfig freetype gc gdk-x11-2.0 gdk_pixbuf-2.0 gdkmm-2.4
|
|
|
|
WANTLIB += gio-2.0 giomm-2.4 glib-2.0 glibmm-2.4 gmodule-2.0 gobject-2.0
|
|
|
|
WANTLIB += graphite2 gsl gslcblas gthread-2.0 gtk-x11-2.0 gtkmm-2.4
|
|
|
|
WANTLIB += gtkspell harfbuzz jbig jpeg lcms2 lzma m openjp2 openjpeg
|
2015-05-29 12:24:37 +00:00
|
|
|
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pangomm-1.4 pcre
|
|
|
|
WANTLIB += pixman-1 png poppler poppler-glib popt pthread pthread-stubs
|
2015-11-29 10:45:22 +00:00
|
|
|
WANTLIB += sigc-2.0 stdc++ tiff webp xcb xcb-render xcb-shm xml2
|
|
|
|
WANTLIB += xslt z
|
2008-04-04 14:37:26 +00:00
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
2013-10-24 23:28:21 +00:00
|
|
|
textproc/intltool \
|
|
|
|
lang/python \
|
|
|
|
lang/ruby
|
|
|
|
|
2015-09-24 10:38:17 +00:00
|
|
|
# c++11
|
|
|
|
MODULES += gcc4
|
|
|
|
MODGCC4_ARCHS= *
|
|
|
|
MODGCC4_LANGS= c++
|
|
|
|
|
2013-10-24 23:28:21 +00:00
|
|
|
# We are just substituting paths at build time
|
|
|
|
MODPY_BUILDDEP = No
|
|
|
|
MODRUBY_BUILDDEP = No
|
|
|
|
|
|
|
|
# There are no (enabled) ruby extensions yet, but users may like
|
|
|
|
# to write their own extensions. Add Ruby as a soft dependency.
|
|
|
|
# Note that Python is already pulled in indirectly by py-lxml.
|
|
|
|
MODRUBY_RUNDEP = No
|
2008-04-04 14:37:26 +00:00
|
|
|
|
2010-11-17 08:05:12 +00:00
|
|
|
BUILD_DEPENDS= devel/boost
|
|
|
|
LIB_DEPENDS= devel/boehm-gc \
|
|
|
|
devel/gsl \
|
|
|
|
devel/popt \
|
|
|
|
graphics/ImageMagick \
|
2013-10-22 00:14:59 +00:00
|
|
|
graphics/lcms2 \
|
2015-03-30 22:48:12 +00:00
|
|
|
graphics/libexif \
|
2010-11-17 08:05:12 +00:00
|
|
|
graphics/png \
|
|
|
|
print/poppler \
|
|
|
|
textproc/aspell/core \
|
|
|
|
textproc/gtkspell \
|
|
|
|
textproc/libxslt \
|
2013-06-28 12:02:30 +00:00
|
|
|
x11/gtk2mm>=2.24.4
|
2010-11-17 08:05:12 +00:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
2013-08-20 22:05:46 +00:00
|
|
|
textproc/py-lxml \
|
2015-03-27 08:11:24 +00:00
|
|
|
x11/gtk+3,-guic
|
2008-04-04 14:37:26 +00:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2015-03-24 18:45:11 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
#AUTOCONF_VERSION= 2.69
|
2011-06-02 17:09:31 +00:00
|
|
|
CONFIGURE_ARGS= --without-gnome-vfs
|
2013-06-04 18:41:39 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/ImageMagick \
|
2011-05-16 19:39:18 +00:00
|
|
|
-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2008-04-04 14:37:26 +00:00
|
|
|
|
2013-03-11 11:10:51 +00:00
|
|
|
NO_TEST= Yes
|
2008-04-04 14:37:26 +00:00
|
|
|
|
2013-10-22 00:14:59 +00:00
|
|
|
# As discussed on the ports mailing list, remove internationalised manual
|
|
|
|
# pages, as our mandoc implementation does not yet deal with them properly.
|
|
|
|
RM_MANS= man/el man/fr man/ja man/man1/inkscape.*.1 \
|
|
|
|
man/sk man/zh_TW
|
|
|
|
|
2013-10-24 23:28:21 +00:00
|
|
|
SUBST_VARS += RUBY MODRUBY_REV
|
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/src/extension/implementation/script.cpp
|
|
|
|
|
2013-10-22 00:14:59 +00:00
|
|
|
post-install:
|
|
|
|
.for i in ${RM_MANS}
|
|
|
|
rm -Rf ${PREFIX}/${i}
|
|
|
|
.endfor
|
|
|
|
|
2008-04-04 14:37:26 +00:00
|
|
|
.include <bsd.port.mk>
|