blob: b48852ddf7423c3fb17a41f518ef177a04b573de (
plain) (
blame)
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
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= fntsample
PORTVERSION= 4.1
CATEGORIES= x11-fonts
MASTER_SITES= SF/fntsample/fntsample/${PORTVERSION} \
http://unicode.org/Public/6.0.0/ucd/:unidata
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
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
RUN_DEPENDS= pdfoutline:textproc/pdfoutline
CONFIGURE_ARGS= --with-unicode-blocks=${WRKSRC}/Blocks.txt
GNU_CONFIGURE= yes
USE_GNOME= pango
USE_PERL5= run
USES= gettext iconv perl5 pkgconfig
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
share/locale/uk/LC_MESSAGES/${PORTNAME}.mo
post-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/Blocks.txt ${WRKSRC}/
post-patch:
@${REINPLACE_CMD} -e '/^bin_SCRIPTS/d' ${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
${INSTALL_DATA} ${WRKSRC}/po/uk.gmo ${STAGEDIR}${PREFIX}/share/locale/uk/LC_MESSAGES/${PORTNAME}.mo
.include <bsd.port.mk>
|