aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-01-22 15:30:39 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-01-22 15:30:39 +0000
commit28f4cf7354ad032aec8f6fee4396c2f4de28cb70 (patch)
tree2280b5d456e1592f5af1657430b84d7ad939256b /x11-fonts
parent6560f8940fb135fee06f81aac7908f2d52aa6a99 (diff)
downloadports-28f4cf7354ad032aec8f6fee4396c2f4de28cb70.tar.gz
ports-28f4cf7354ad032aec8f6fee4396c2f4de28cb70.zip
Add port x11-fonts/fntsample:
A program for making font samples that show Unicode coverage of the font and are similar in appearance to Unicode charts. Samples can be saved as PDF or PostScript files. WWW: http://sourceforge.net/projects/fntsample/ Author: Eugeniy Meshcheryakov <eugeniy@users.sourceforge.net>
Notes
Notes: svn path=/head/; revision=182983
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/fntsample/Makefile33
-rw-r--r--x11-fonts/fntsample/distinfo6
-rw-r--r--x11-fonts/fntsample/files/patch-fntsample.c10
-rw-r--r--x11-fonts/fntsample/pkg-descr6
5 files changed, 56 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 9db51d08cc57..564e6524b180 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -25,6 +25,7 @@
SUBDIR += dejavu
SUBDIR += etlfonts
SUBDIR += farsifonts
+ SUBDIR += fntsample
SUBDIR += fontconfig
SUBDIR += fontconfig-reference
SUBDIR += freefont-ttf
diff --git a/x11-fonts/fntsample/Makefile b/x11-fonts/fntsample/Makefile
new file mode 100644
index 000000000000..70348fe621a4
--- /dev/null
+++ b/x11-fonts/fntsample/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: fntsample
+# Date created: 22 January 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fntsample
+PORTVERSION= 2.1
+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
+
+USE_GNOME= glib20 pkgconfig
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
+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
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/fntsample/distinfo b/x11-fonts/fntsample/distinfo
new file mode 100644
index 000000000000..47dfb3d78eec
--- /dev/null
+++ b/x11-fonts/fntsample/distinfo
@@ -0,0 +1,6 @@
+MD5 (fntsample-2.1.tar.gz) = 137311165ebb5d92a4d3e9fab1f1b9f0
+SHA256 (fntsample-2.1.tar.gz) = 1e924fd613b108eb8432563fe527fb88572947f3b703f4565425686332b22da9
+SIZE (fntsample-2.1.tar.gz) = 81612
+MD5 (Blocks.txt) = 2555f416d6b064be4a532d3748268569
+SHA256 (Blocks.txt) = 4116c568ac01b49f1c27bf9ef3b4e9e9d9b10452997732e165a7bfd78862f16f
+SIZE (Blocks.txt) = 5455
diff --git a/x11-fonts/fntsample/files/patch-fntsample.c b/x11-fonts/fntsample/files/patch-fntsample.c
new file mode 100644
index 000000000000..9e0a350e4500
--- /dev/null
+++ b/x11-fonts/fntsample/files/patch-fntsample.c
@@ -0,0 +1,10 @@
+--- ./fntsample.c.orig Mon Jan 22 18:21:53 2007
++++ ./fntsample.c Mon Jan 22 18:22:03 2007
+@@ -26,6 +26,7 @@
+ #include <string.h>
+ #include <glib.h>
+ #include <stdbool.h>
++#include <getopt.h>
+
+ #include "unicode_blocks.h"
+
diff --git a/x11-fonts/fntsample/pkg-descr b/x11-fonts/fntsample/pkg-descr
new file mode 100644
index 000000000000..81e5355a18c9
--- /dev/null
+++ b/x11-fonts/fntsample/pkg-descr
@@ -0,0 +1,6 @@
+A program for making font samples that show Unicode coverage of the
+font and are similar in appearance to Unicode charts. Samples can be
+saved as PDF or PostScript files.
+
+WWW: http://sourceforge.net/projects/fntsample/
+Author: Eugeniy Meshcheryakov <eugeniy@users.sourceforge.net>