61 lines
1.9 KiB
Makefile
61 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.129 2022/07/14 23:46:19 dholland Exp $
|
|
|
|
DISTNAME= fontforge-20220308
|
|
PKGREVISION= 3
|
|
CATEGORIES= fonts editors
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=fontforge/}
|
|
GITHUB_PROJECT= fontforge
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= https://fontforge.github.io/
|
|
COMMENT= Postscript font editor
|
|
LICENSE= modified-bsd
|
|
|
|
USE_TOOLS+= gmake msgfmt pkg-config xgettext
|
|
USE_LANGUAGES= c c++11
|
|
USE_CMAKE= yes
|
|
|
|
# C++11
|
|
GCC_REQD+= 4.8
|
|
|
|
CONFIGURE_DIRS+= build
|
|
CMAKE_ARGS+= ..
|
|
CMAKE_ARGS+= -DENABLE_DOCS=NO
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
CHECK_PORTABILITY_SKIP+= osx/FontForge.app/Contents/MacOS/*
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
pre-configure:
|
|
${MKDIR} ${WRKSRC}/build
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../databases/shared-mime-info/mimedb.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../devel/gettext-tools/msgfmt-desktop.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/libltdl/buildlink3.mk"
|
|
.include "../../devel/pango/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../fonts/woff2/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/extension.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../textproc/libuninameslist/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../x11/gtk3/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|