2010-09-13 13:52:53 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2010/09/13 17:52:53 jasper Exp $
|
2008-04-04 10:37:26 -04:00
|
|
|
|
|
|
|
COMMENT= SVG vector drawing application
|
|
|
|
|
|
|
|
DISTNAME= inkscape-0.46
|
2010-09-13 13:52:53 -04:00
|
|
|
REVISION= 12
|
2008-04-04 10:37:26 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
MAINTAINER= Benoit Chesneau <benoitc@metavers.net>
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.inkscape.org/
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=inkscape/}
|
|
|
|
|
2009-12-04 15:12:35 -05:00
|
|
|
# GPLv2/LGPLv2.1
|
2008-04-04 10:37:26 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-11-20 13:24:20 -05:00
|
|
|
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
|
|
|
|
Xft Xi Xinerama Xrandr Xrender atk-1.0 c cairo \
|
2008-04-04 10:37:26 -04:00
|
|
|
cairomm-1.0 expat fontconfig freetype glib-2.0 glibmm-2.4 \
|
2008-11-20 13:24:20 -05:00
|
|
|
glitz gmodule-2.0 gobject-2.0 gthread-2.0 m \
|
2008-06-29 16:29:53 -04:00
|
|
|
pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 pthread \
|
2009-08-10 02:29:51 -04:00
|
|
|
sigc-2.0 stdc++ xml2 z gio-2.0 giomm-2.4 \
|
2010-09-13 13:52:53 -04:00
|
|
|
pthread-stubs xcb gc.>=3 popt MagickCore Magick++ MagickWand \
|
|
|
|
lcms png xslt poppler poppler-glib atkmm-1.6 gdkmm-2.4 \
|
|
|
|
gtkmm-2.4 pangomm-1.4 gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
|
|
|
|
gtkspell xcb-render xcb-render-util
|
2008-04-04 10:37:26 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
textproc/intltool
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ::devel/boost
|
|
|
|
|
2010-09-13 13:52:53 -04:00
|
|
|
LIB_DEPENDS= ::devel/boehm-gc \
|
|
|
|
::devel/popt \
|
|
|
|
::graphics/ImageMagick \
|
|
|
|
::graphics/lcms \
|
|
|
|
::graphics/png \
|
|
|
|
::textproc/libxslt \
|
|
|
|
::print/poppler \
|
|
|
|
::x11/gtk2mm \
|
|
|
|
::devel/pangomm \
|
|
|
|
::x11/gtk+2 \
|
|
|
|
::textproc/gtkspell
|
|
|
|
|
|
|
|
FAKE_FLAGS= itlocaledir="${PREFIX}/share/locale/"
|
2008-04-04 10:37:26 -04:00
|
|
|
|
2008-04-05 06:23:01 -04:00
|
|
|
RUN_DEPENDS= ::devel/desktop-file-utils \
|
|
|
|
::textproc/py-lxml
|
2008-04-04 10:37:26 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_X11= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= autoconf gnu
|
|
|
|
AUTOCONF_VERSION= 2.61
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-popt --mandir=${PREFIX}/man \
|
|
|
|
--with-xft --without-gnome-print \
|
|
|
|
--without-gnome-vfs --enable-lcms
|
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include \
|
2008-11-20 08:32:17 -05:00
|
|
|
-I${LOCALBASE}/include/libpng \
|
|
|
|
-I${LOCALBASE}/include/ImageMagick
|
2008-04-04 10:37:26 -04:00
|
|
|
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
|
|
|
|
PKG_CONFIG_PATH="${X11BASE}/lib/pkgconfig" \
|
|
|
|
GMSGFMT="${LOCALBASE}/bin/msgfmt" \
|
|
|
|
MSGFMT="${LOCALBASE}/bin/msgfmt"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|