1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/inkscape/Makefile
Jeremy Messenger 903b45dfc5 First all, ahze did most of work. Thanks ahze! Last week or so, I am just
merely pick up and help him. Thanks to many testers in both private and
mailing list emails for report a few of build and dependencies problems.
Also, thanks to marcus and Chess Griffin for test in their tinderboxes.

x11/pixman: Update to 0.10.0
-------------------------------------------------------
Firefox 3 needs it. Orignal, the shared library was bumped and ahze has
added a new feature in our USE_GNOME=ltverhack by can control the number
of shared library. To control the number of shared library, add the
ltverhack:N. Right now pixman has USE_GNOME=ltverhack:9 to make it stays
same at libpixman-1.so.9. If anyone want to use ltverhack:N in one of your
port, you need to make sure the ABI doesn't change to use it..
-------------------------------------------------------

graphics/cairo: Update to 1.6.4
-------------------------------------------------------
Firefox 3 needs it. We have updated most cairo binding ports too.
-------------------------------------------------------

graphics/poppler: Update to 0.8.3
-------------------------------------------------------
The shared libraries version have been changed. All ports that depend on
poppler have PORTREVISION bump. The graphics/py-poppler has been updated
to 0.8.1 to work with newer poppler better. As for the poppler-qt, there
is no shared library version change.
-------------------------------------------------------

www/firefox3 and gecko ports related: Update to 3.0 final
-------------------------------------------------------
The bsd.gecko.mk has been moved from www/mozilla/ to Mk/. You no longer
need to include bsd.gecko.mk/Makefile.common by manual. We are keeping it
in backward compatibility, so the rest ports won't be break. We haven't
add some other ports to have Firefox 3 support yet, so feel free to send
us patch or commit it by yourself (to committers). However, view in
bsd.gecko.mk for document.
-------------------------------------------------------

Approved by:	portmgr (marcus)
2008-06-30 20:16:22 +00:00

74 lines
1.9 KiB
Makefile

# New ports collection makefile for: inkscape
# Date created: 17 Nov 2003
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= inkscape
PORTVERSION= 0.46
PORTREVISION= 3
CATEGORIES= graphics gnome
MASTER_SITES= SF
MAINTAINER= gnome@FreeBSD.org
COMMENT= A program seeks to become a full featured open source SVG editor
BUILD_DEPENDS= ${LOCALBASE}/include/boost/concept_check.hpp:${PORTSDIR}/devel/boost
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
gc.1:${PORTSDIR}/devel/boehm-gc \
gtkspell.0:${PORTSDIR}/textproc/gtkspell \
lcms.1:${PORTSDIR}/graphics/lcms \
Magick++.1:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS= ${SITE_PERL}/XML/XQL.pm:${PORTSDIR}/textproc/p5-XML-XQL
USE_BZIP2= yes
USE_GMAKE= yes
WANT_GNOME= yes
USE_GNOME= gnomehack desktopfileutils intlhack libxslt
USE_GETTEXT= yes
GNU_CONFIGURE= yes
USE_PERL5= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
MAN1= inkscape.1
MAN1_EN= inkview.1
MANLANG= "" fr
OPTIONS= POPPLER "Enable libpoppler-cairo for rendering PDF preview" off
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomevfs2} != ""
USE_GNOME+= gnomevfs2
CONFIGURE_ARGS+= --with-gnome-vfs
.else
CONFIGURE_ARGS+= --without-gnome-vfs
.endif
.if defined(WITH_POPPLER)
LIB_DEPENDS+= poppler-glib.3:${PORTSDIR}/graphics/poppler-gtk
CONFIGURE_ARGS+= --enable-poppler-cairo
.else
CONFIGURE_ARGS+= --disable-poppler-cairo
.endif
post-patch:
@${REINPLACE_CMD} -e 's|ieefp.h|ieeefp.h|' \
${WRKSRC}/src/2geom/bezier-utils.cpp
@${REINPLACE_CMD} -e 's|libpng >= 1.2|libpng12 >= 1.2|g' \
${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "*.h" -o -name "*.cpp" | ${XARGS} \
${REINPLACE_CMD} -e 's|glib/gmessages.h|glib/gtestutils.h|g'
.if !defined(WITH_POPPLER)
@${REINPLACE_CMD} -e 's|poppler|pdisable|g' \
${WRKSRC}/configure
.endif
post-install:
@-update-desktop-database
.include <bsd.port.post.mk>