| @@ -1,13 +1,50 @@ | | | @@ -1,13 +1,50 @@ |
1 | # $NetBSD: Makefile,v 1.126 2024/04/07 07:34:09 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.127 2024/04/17 13:03:53 wiz Exp $ |
2 | | | 2 | |
3 | PKGREVISION= 34 | | 3 | DISTNAME= dia-0.97.3 |
4 | .include "Makefile.common" | | 4 | PKGNAME= ${DISTNAME:S/dia-/dia${DIA_SUBPKG}-/} |
| | | 5 | PKGREVISION= 35 |
| | | 6 | CATEGORIES= graphics |
| | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/dia/0.97/} |
| | | 8 | EXTRACT_SUFX= .tar.xz |
5 | | | 9 | |
6 | .include "options.mk" | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
| | | 11 | HOMEPAGE= https://live.gnome.org/Dia |
| | | 12 | COMMENT= Program for creating diagrams of all kinds |
| | | 13 | LICENSE= gnu-gpl-v2 |
7 | | | 14 | |
8 | # just to convert the manpage | | 15 | # just to convert the manpage |
9 | TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | | 16 | TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl |
10 | | | 17 | |
| | | 18 | GNU_CONFIGURE= YES |
| | | 19 | USE_TOOLS+= gmake intltool pkg-config msgfmt |
| | | 20 | USE_LIBTOOL= YES |
| | | 21 | USE_PKGLOCALEDIR= YES |
| | | 22 | USE_LANGUAGES= c c++ |
| | | 23 | |
| | | 24 | CHECK_PORTABILITY_SKIP+= installer/macosx/dia |
| | | 25 | |
| | | 26 | CONFIGURE_ARGS+= --without-python |
| | | 27 | |
| | | 28 | SUBST_CLASSES+= intl |
| | | 29 | SUBST_MESSAGE.intl= Fixing path to installed files. |
| | | 30 | SUBST_STAGE.intl= pre-configure |
| | | 31 | SUBST_FILES.intl= lib/intl.c |
| | | 32 | SUBST_VARS.intl= PREFIX |
| | | 33 | |
| | | 34 | SUBST_CLASSES+= for |
| | | 35 | SUBST_MESSAGE.for= Fixing empty "for" loops. |
| | | 36 | SUBST_STAGE.for= pre-configure |
| | | 37 | SUBST_FILES.for= doc/*/Makefile.in |
| | | 38 | SUBST_SED.for= -e 's,for file in \$$(omffile); do,omffile="$$(omffile)"; for file in $$$$omffile; do,' |
| | | 39 | |
| | | 40 | .include "../../devel/gettext-lib/buildlink3.mk" |
| | | 41 | .include "../../devel/glib2/buildlink3.mk" |
| | | 42 | .include "../../devel/pango/buildlink3.mk" |
| | | 43 | .include "../../graphics/freetype2/buildlink3.mk" |
| | | 44 | .include "../../graphics/libart/buildlink3.mk" |
| | | 45 | .include "../../textproc/libxml2/buildlink3.mk" |
| | | 46 | .include "../../textproc/libxslt/buildlink3.mk" |
| | | 47 | .include "../../x11/gtk2/buildlink3.mk" |
11 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 48 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
12 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 49 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
13 | .include "../../mk/bsd.pkg.mk" | | 50 | .include "../../mk/bsd.pkg.mk" |