pkgsrc/graphics/dia/Makefile.common
wiz 23ea0ae13a Update dia to 0.97.3, provided by David H. Gutteridge in PR 49954.
dia-0.97.3: 2014-09-05

 * Fix double free with some SVG rendering (regression from Dia 0.97.2)
 * Fixes to cope better with updated versions of Dia's dependencies:
   - don't crash at start-up with ABI breaking GLib 2-36
   - don't assert in cairo 1.12 with invalid arc parameters
   - avoid kerning problems (character overlap) for all Pango versions
   - fix image files to be loadable by libpng16
 * Backport fixes for some seldom crashes and other annoyances, see:
   http://bugzilla.gnome.org/buglist.cgi?product=dia&target_milestone=0.97.3
 * Update translations for Brazilian Portuguese, German, Hungarian,
   Polish, Romanian, Serbian and Slovenian
2015-06-09 08:55:22 +00:00

65 lines
2 KiB
Text

# $NetBSD: Makefile.common,v 1.29 2015/06/09 08:55:22 wiz Exp $
#
# used by graphics/dia-python/Makefile
DISTNAME= dia-0.97.3
PKGNAME= ${DISTNAME:S/dia-/dia${DIA_SUBPKG}-/}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.97/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://live.gnome.org/Dia
COMMENT= Program for creating diagrams of all kinds
LICENSE= gnu-gpl-v2
DISTINFO_FILE= ${.CURDIR}/../../graphics/dia/distinfo
PATCHDIR= ${.CURDIR}/../../graphics/dia/patches
GNU_CONFIGURE= YES
USE_TOOLS+= gmake intltool pkg-config msgfmt
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
USE_LANGUAGES= c c++
CHECK_PORTABILITY_SKIP+= installer/macosx/dia
CONFIGURE_ARGS+= --disable-emf
CONFIGURE_ARGS+= --without-python
SUBST_CLASSES+= intl
SUBST_MESSAGE.intl= Fixing path to installed files.
SUBST_STAGE.intl= pre-configure
SUBST_FILES.intl= lib/intl.c
SUBST_SED.intl= -e 's,%%PREFIX%%,${PREFIX},g'
SUBST_CLASSES+= for
SUBST_MESSAGE.for= Fixing empty "for" loops.
SUBST_STAGE.for= pre-configure
SUBST_FILES.for= doc/*/Makefile.in
SUBST_SED.for= -e 's,for file in \$$(omffile); do,omffile="$$(omffile)"; for file in $$$$omffile; do,'
.if empty(PKGNAME:Mdia-[0-9]*)
DEPENDS+= dia>=0.94nb1:../../graphics/dia
BUILDLINK_DEPMETHOD.gettext-lib+= build
BUILDLINK_DEPMETHOD.glib2+= build
BUILDLINK_DEPMETHOD.pango+= build
BUILDLINK_DEPMETHOD.pkgconfig+= build
BUILDLINK_DEPMETHOD.freetype2+= build
BUILDLINK_DEPMETHOD.libart+= build
BUILDLINK_DEPMETHOD.libxml2+= build
BUILDLINK_DEPMETHOD.libxslt+= build
BUILDLINK_DEPMETHOD.scrollkeeper+= build
BUILDLINK_DEPMETHOD.gtk2+= build
.endif
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libart/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../x11/gtk2/buildlink3.mk"