# New ports collection makefile for: fntsample # Date created: 22 January 2007 # Whom: Andrew Pantyukhin # # $FreeBSD$ # PORTNAME= fntsample PORTVERSION= 2.7 CATEGORIES= x11-fonts MASTER_SITES= SF http://unicode.org/Public/5.0.0/ucd/:unidata DISTFILES= ${DISTNAME}${EXTRACT_SUFX} Blocks.txt:unidata EXTRACT_ONLY= ${DISTFILES:M*gz} MAINTAINER= infofarmer@FreeBSD.org COMMENT= Show Unicode coverage of a font LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \ freetype.9:${PORTSDIR}/print/freetype2 RUN_DEPENDS= pdfoutline:${PORTSDIR}/textproc/pdfoutline USE_GNOME= glib20 pkgconfig pango USE_PERL5_RUN= yes GNU_CONFIGURE= yes PLIST_FILES= bin/${PORTNAME} MAN1= ${PORTNAME}.1 post-extract: @${CP} ${_DISTDIR}/Blocks.txt ${WRKSRC}/ post-patch: @${REINPLACE_CMD} -e 's|/usr/share/unicode|${WRKSRC}|' ${WRKSRC}/configure do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/ .include