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
|
2005-11-22 21:19:59 +01:00
|
|
|
PORTVERSION= 0.43
|
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 \
|
|
|
|
gtkspell.0:${PORTSDIR}/textproc/gtkspell2
|
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
|
|
|
|
2005-11-22 21:19:59 +01:00
|
|
|
USE_BZIP2= yes
|
2003-11-17 05:03:39 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
2005-11-22 21:19:59 +01:00
|
|
|
WANT_GNOME= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack intlhack libxslt
|
2003-11-17 05:03:39 +01:00
|
|
|
USE_REINPLACE= yes
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-03-12 12:03:07 +01:00
|
|
|
USE_GCC= 3.4
|
2005-11-22 21:19:59 +01:00
|
|
|
CONFIGURE_ARGS= --with-popt
|
|
|
|
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
|
|
|
|
2004-04-09 22:54:11 +02:00
|
|
|
MAN1= inkscape.1 inkview.1
|
2003-11-17 05:03:39 +01:00
|
|
|
|
2005-08-31 23:43:52 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
IGNORE= Requires symbols not present on 4.X
|
|
|
|
.endif
|
|
|
|
|
2005-11-22 21:19:59 +01:00
|
|
|
.if ${HAVE_GNOME:Mlibgnomeprint} != ""
|
|
|
|
USE_GNOME+= libgnomeprint
|
|
|
|
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
|
|
|
|
|
2005-11-19 07:02:20 +01:00
|
|
|
patch-autotools::
|
2005-03-12 12:03:07 +01:00
|
|
|
@(cd ${PATCH_WRKSRC}; \
|
|
|
|
for file in ${LIBTOOLFILES}; do \
|
|
|
|
${CP} $$file $$file.tmp; \
|
|
|
|
${SED} -e "/^ltmain=/s^\$$ac_aux_dir/ltmain.sh^${LTMAIN}^g" \
|
|
|
|
$$file.tmp > $$file; \
|
|
|
|
${RM} $$file.tmp; \
|
|
|
|
done);
|
|
|
|
|
|
|
|
post-install:
|
2005-07-30 05:04:51 +02:00
|
|
|
${GZIP_CMD} ${PREFIX}/man/fr/man1/inkscape.1
|
2005-03-12 12:03:07 +01:00
|
|
|
@-update-desktop-database
|
|
|
|
|
2005-08-31 23:43:52 +02:00
|
|
|
.include <bsd.port.post.mk>
|