freebsd-ports/graphics/inkscape/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

56 lines
1.5 KiB
Makefile

# New ports collection makefile for: inkscape
# Date created: 17 Nov 2003
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= inkscape
PORTVERSION= 0.42.2
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/gtkspell2
RUN_DEPENDS= ${SITE_PERL}/XML/XQL.pm:${PORTSDIR}/textproc/p5-XML-XQL
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack intlhack libgnomeprintui libxslt
USE_REINPLACE= yes
USE_AUTOTOOLS= libtool:15
USE_GCC= 3.4
CONFIGURE_ARGS= --with-popt \
--with-gnome-print
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -I${X11BASE}/include -I${LOCALBASE} ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -L${LOCALBASE} ${PTHREAD_LIBS}"
MAN1= inkscape.1 inkview.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= Requires symbols not present on 4.X
.endif
patch-autotools:
@(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:
${GZIP_CMD} ${PREFIX}/man/fr/man1/inkscape.1
@-update-desktop-database
.include <bsd.port.post.mk>