summaryrefslogtreecommitdiff
path: root/fonts/fontforge/Makefile
blob: 57d271cfab9246c7b7de33aa19efe9080a1a01c7 (plain)
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
# $NetBSD: Makefile,v 1.104 2018/04/16 14:34:28 wiz Exp $

DISTNAME=	fontforge-dist-20170731
PKGNAME=	${DISTNAME:S/-dist-/-/}
PKGREVISION=	2
CATEGORIES=	fonts editors
MASTER_SITES=	${MASTER_SITE_GITHUB:=fontforge/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://fontforge.github.io/
COMMENT=	Postscript font editor
LICENSE=	modified-bsd

GITHUB_PROJECT=	fontforge
GITHUB_RELEASE=	${PKGVERSION_NOREV}
EXTRACT_USING=	bsdtar
WRKSRC=		${WRKDIR}/fontforge-2.0.${PKGVERSION_NOREV}

USE_LANGUAGES=		c
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake msgfmt pkg-config
GNU_CONFIGURE=		yes

PKGCONFIG_OVERRIDE_STAGE=	post-configure
PKGCONFIG_OVERRIDE+=		libfontforge.pc
PKGCONFIG_OVERRIDE+=		libfontforgeexe.pc

CHECK_PORTABILITY_SKIP+=osx/FontForge.app/Contents/MacOS/*
CHECK_INTERPRETER_SKIP+=share/fontforge/python/collab/*
CHECK_INTERPRETER_SKIP+=share/fontforge/python/gdraw/*
CHECK_INTERPRETER_SKIP+=share/fontforge/python/simple/*

PY_PATCHPLIST=		yes

.include "../../mk/bsd.prefs.mk"

# Requires GNU date features
.if ${OPSYS} == "SunOS"
TOOLS_PLATFORM.date=
.endif

.include "options.mk"

.include "../../converters/libiconv/buildlink3.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libspiro/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/potrace/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"