2003-11-17 04:03:39 +00:00
|
|
|
# New ports collection makefile for: inkscape
|
|
|
|
# Date created: 17 Nov 2003
|
|
|
|
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= inkscape
|
2004-02-16 08:46:10 +00:00
|
|
|
PORTVERSION= 0.37
|
2003-11-17 04:03:39 +00: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 13:28:59 +00:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
|
|
|
|
sigc-1.2.5:${PORTSDIR}/devel/libsigc++12
|
2004-01-06 09:53:59 +00:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/XML/XQL.pm:${PORTSDIR}/textproc/p5-XML-XQL
|
2003-11-17 04:03:39 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
2004-02-16 08:46:10 +00:00
|
|
|
USE_GNOME= gnomeprefix gnomehack lthack intlhack libglade2 libartlgpl2 libgnomeprintui
|
2003-11-17 04:03:39 +00:00
|
|
|
USE_REINPLACE= yes
|
2004-03-14 06:17:56 +00:00
|
|
|
USE_LIBTOOL_VER=13
|
2003-12-11 15:36:02 +00:00
|
|
|
CONFIGURE_ARGS= --with-popt \
|
|
|
|
--with-gnome-print
|
2004-02-16 08:46:10 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -I${X11BASE}/include -I${LOCALBASE}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -L${LOCALBASE}"
|
2003-11-17 04:03:39 +00:00
|
|
|
|
|
|
|
MAN1= inkscape.1
|
|
|
|
|
2004-02-16 08:46:10 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-11-17 04:03:39 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' \
|
2004-02-16 08:46:10 +00:00
|
|
|
${WRKSRC}/src/helper/action.cpp \
|
|
|
|
${WRKSRC}/src/libarikkei/arikkei-token.cpp
|
|
|
|
@${REINPLACE_CMD} -e 's|round|rint|g' \
|
|
|
|
${WRKSRC}/src/livarot/Shape.h \
|
|
|
|
${WRKSRC}/src/modules/gnome.cpp \
|
|
|
|
${WRKSRC}/src/object-edit.cpp \
|
|
|
|
${WRKSRC}/src/spiral-context.cpp \
|
|
|
|
${WRKSRC}/src/star-context.cpp
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
@${REINPLACE_CMD} -e 's|<stdint.h>|<sys/types.h>|g' \
|
|
|
|
${WRKSRC}/src/livarot/*.h
|
|
|
|
@${REINPLACE_CMD} -e 's|isfinite|!isinf|g' \
|
|
|
|
${WRKSRC}/src/helper/*.cpp
|
|
|
|
.endif
|
2003-11-17 04:03:39 +00:00
|
|
|
|
2004-02-16 08:46:10 +00:00
|
|
|
.include <bsd.port.post.mk>
|