xref: /mports/x11-fonts/fntsample/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	fntsample
2PORTVERSION=	5.4
3DISTVERSIONPREFIX=	release/
4CATEGORIES=	x11-fonts
5MASTER_SITES=	https://unicode.org/Public/14.0.0/ucd/:unidata
6DISTFILES=	Blocks.txt:unidata
7EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
8
9MAINTAINER=	ports@MidnightBSD.org
10COMMENT=	Show Unicode coverage of a font
11WWW=		https://github.com/eugmes/fntsample
12
13LICENSE=	gpl3
14LICENSE_FILE=	${WRKSRC}/COPYING
15
16LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
17		libfreetype.so:print/freetype2
18RUN_DEPENDS=	pdfoutline:textproc/pdfoutline
19
20USES=		cmake gettext gnome iconv pkgconfig
21USE_GNOME=	cairo glib20 pango
22
23CMAKE_ARGS=	-DUNICODE_BLOCKS=${WRKSRC}/Blocks.txt
24LDFLAGS+=	-L${LOCALBASE}/lib
25
26PLIST_FILES=	bin/fntsample \
27		share/man/man1/fntsample.1.gz \
28		share/locale/uk/LC_MESSAGES/fntsample.mo
29
30GH_ACCOUNT=	eugmes
31USE_GITHUB=	yes
32
33post-extract:
34	@${CP} ${DISTDIR}/${DIST_SUBDIR}/Blocks.txt ${WRKSRC}/
35
36.include <bsd.port.mk>
37

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026