Files
ports/x11-fonts/fntsample/Makefile
T
Sunpoet Po-Chuan Hsieh 3c8a1a3af0 Update Blocks to 12.1.0
- Bump PORTREVISION for package change

It also fixes unfetchable Blocks-12.0.0d1.txt which was removed by upstream.

MFH:		2019Q2
2019-05-12 16:34:35 +00:00

40 lines
944 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= fntsample
PORTVERSION= 5.3
DISTVERSIONPREFIX= release/
PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= https://unicode.org/Public/12.1.0/ucd/:unidata
DISTFILES= Blocks.txt:unidata
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Show Unicode coverage of a font
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
RUN_DEPENDS= pdfoutline:textproc/pdfoutline
USES= cmake gettext gnome iconv pkgconfig
USE_GNOME= cairo glib20 pango
CMAKE_ARGS= -DUNICODE_BLOCKS=${WRKSRC}/Blocks.txt
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/fntsample \
man/man1/fntsample.1.gz \
share/locale/uk/LC_MESSAGES/fntsample.mo
GH_ACCOUNT= eugmes
USE_GITHUB= yes
post-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/Blocks.txt ${WRKSRC}/
.include <bsd.port.mk>