2003-11-17 05:03:39 +01:00
|
|
|
# New ports collection makefile for: inkscape
|
|
|
|
# Date created: 17 Nov 2003
|
|
|
|
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= inkscape
|
2007-06-30 00:28:48 +02:00
|
|
|
PORTVERSION= 0.45.1
|
2003-11-17 05:03:39 +01:00
|
|
|
CATEGORIES= graphics gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
COMMENT= A program seeks to become a full featured open source SVG editor
|
|
|
|
|
2004-02-16 14:28:59 +01:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
|
2005-03-12 12:03:07 +01:00
|
|
|
gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
|
|
|
|
gc.1:${PORTSDIR}/devel/boehm-gc \
|
2006-07-10 04:12:50 +02:00
|
|
|
gtkspell.0:${PORTSDIR}/textproc/gtkspell \
|
|
|
|
lcms.1:${PORTSDIR}/graphics/lcms
|
2004-01-06 10:53:59 +01:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/XML/XQL.pm:${PORTSDIR}/textproc/p5-XML-XQL
|
2003-11-17 05:03:39 +01:00
|
|
|
|
2006-09-17 08:13:18 +02:00
|
|
|
#USE_BZIP2= yes
|
2003-11-17 05:03:39 +01:00
|
|
|
USE_GMAKE= yes
|
2005-11-22 21:19:59 +01:00
|
|
|
WANT_GNOME= yes
|
2007-03-14 04:22:58 +01:00
|
|
|
USE_GNOME= gnomehack desktopfileutils intlhack libxslt
|
2006-05-16 00:23:04 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-05-28 06:24:28 +02:00
|
|
|
USE_GCC= 3.4+
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --with-popt
|
2005-11-22 21:19:59 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
|
2003-11-17 05:03:39 +01:00
|
|
|
|
2007-03-26 22:08:47 +02:00
|
|
|
MAN1= inkscape.1
|
|
|
|
MAN1_EN= inkview.1
|
|
|
|
MANLANG= "" fr
|
2003-11-17 05:03:39 +01:00
|
|
|
|
2005-08-31 23:43:52 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-12-30 07:32:37 +01:00
|
|
|
.if ${HAVE_GNOME:Mlibgnomeprintui} != ""
|
|
|
|
USE_GNOME+= libgnomeprintui
|
2005-11-22 21:19:59 +01:00
|
|
|
CONFIGURE_ARGS+= --with-gnome-print
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gnome-print
|
|
|
|
.endif
|
|
|
|
.if ${HAVE_GNOME:Mgnomevfs2} != ""
|
|
|
|
USE_GNOME+= gnomevfs2
|
|
|
|
CONFIGURE_ARGS+= --with-gnome-vfs
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gnome-vfs
|
|
|
|
.endif
|
|
|
|
|
2006-06-25 08:07:03 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|ieefp.h|ieeefp.h|' \
|
|
|
|
${WRKSRC}/src/display/bezier-utils.cpp
|
2006-09-17 08:13:18 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|libpng >= 1.2|libpng12 >= 1.2|g' \
|
|
|
|
${WRKSRC}/configure
|
2006-06-25 08:07:03 +02:00
|
|
|
|
2005-03-12 12:03:07 +01:00
|
|
|
post-install:
|
|
|
|
@-update-desktop-database
|
|
|
|
|
2005-08-31 23:43:52 +02:00
|
|
|
.include <bsd.port.post.mk>
|