blob: 4a3d0512e61b01ba96f063e757fbabe9906ff622 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# New ports collection makefile for: inkscape
# Date created: 17 Nov 2003
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= inkscape
PORTVERSION= 0.44
PORTREVISION= 1
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
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
RUN_DEPENDS= ${SITE_PERL}/XML/XQL.pm:${PORTSDIR}/textproc/p5-XML-XQL
USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
WANT_GNOME= yes
USE_GNOME= gnomeprefix gnomehack intlhack libxslt
USE_GETTEXT= yes
GNU_CONFIGURE= yes
USE_GCC= 3.4
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}"
MAN1= inkscape.1 inkview.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= requires symbols not present on 4.X
.endif
.if ${HAVE_GNOME:Mlibgnomeprintui} != ""
USE_GNOME+= libgnomeprintui
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
post-patch:
@${REINPLACE_CMD} -e 's|ieefp.h|ieeefp.h|' \
${WRKSRC}/src/display/bezier-utils.cpp
post-install:
${GZIP_CMD} ${PREFIX}/man/fr/man1/inkscape.1
@-update-desktop-database
.include <bsd.port.post.mk>
|