From 0c9c88a68dd3f48889d59163cc25996fe811006f Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Sun, 9 Dec 2012 17:17:34 +0000 Subject: Add x11-fonts/dina. Dina is a monospace bitmap font, primarily aimed at programmers. It is relatively compact to allow a lot of code on screen, while (hopefully) clear enough to remain readable even at high resolutions. --- x11-fonts/Makefile | 1 + x11-fonts/dina/Makefile | 34 ++++++++++++++++++++++++++++++++++ x11-fonts/dina/distinfo | 2 ++ x11-fonts/dina/pkg-descr | 5 +++++ x11-fonts/dina/pkg-plist | 15 +++++++++++++++ 5 files changed, 57 insertions(+) create mode 100644 x11-fonts/dina/Makefile create mode 100644 x11-fonts/dina/distinfo create mode 100644 x11-fonts/dina/pkg-descr create mode 100644 x11-fonts/dina/pkg-plist diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index eeac9e6dc75e..8015fc22bd9b 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -21,6 +21,7 @@ SUBDIR += cyberbit-ttfonts SUBDIR += cyr-rfx SUBDIR += dejavu + SUBDIR += dina SUBDIR += doulos SUBDIR += doulos-compact SUBDIR += droid-fonts-ttf diff --git a/x11-fonts/dina/Makefile b/x11-fonts/dina/Makefile new file mode 100644 index 000000000000..64083047507a --- /dev/null +++ b/x11-fonts/dina/Makefile @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= dina +PORTVERSION= 2.89 +CATEGORIES= x11-fonts +MASTER_SITES= LOCAL/rakuco + +MAINTAINER= rakuco@FreeBSD.org +COMMENT= A monospace bitmap font, primarily aimed at programmers + +# IANAL, but the license looks close enough to a standard BSD license that +# auto-accept and all the other permissions look like reasonable defaults here. +LICENSE= custom +LICENSE_NAME= Custom License +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell + +BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \ + mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir + +FONTDIR= lib/X11/fonts/${PORTNAME} +NO_BUILD= yes +PLIST_SUB+= FONTDIR=${FONTDIR} + +do-install: + @${MKDIR} ${PREFIX}/${FONTDIR} + @${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${PREFIX}/${FONTDIR} + +post-install: + @cd ${PREFIX}/${FONTDIR} && mkfontdir + @${CP} ${PREFIX}/${FONTDIR}/fonts.dir ${PREFIX}/${FONTDIR}/fonts.scale + @command fc-cache -f -v ${PREFIX}/${FONTDIR} + +.include diff --git a/x11-fonts/dina/distinfo b/x11-fonts/dina/distinfo new file mode 100644 index 000000000000..8d70da1ac849 --- /dev/null +++ b/x11-fonts/dina/distinfo @@ -0,0 +1,2 @@ +SHA256 (dina-2.89.tar.gz) = eaa67fe2a8fc69944bd3010cbf6d946177f0e2204dcb0ce70ebd0637d816f43a +SIZE (dina-2.89.tar.gz) = 52559 diff --git a/x11-fonts/dina/pkg-descr b/x11-fonts/dina/pkg-descr new file mode 100644 index 000000000000..077319db9a0b --- /dev/null +++ b/x11-fonts/dina/pkg-descr @@ -0,0 +1,5 @@ +Dina is a monospace bitmap font, primarily aimed at programmers. It is +relatively compact to allow a lot of code on screen, while (hopefully) clear +enough to remain readable even at high resolutions. + +WWW: http://www.donationcoder.com/Software/Jibz/Dina/ diff --git a/x11-fonts/dina/pkg-plist b/x11-fonts/dina/pkg-plist new file mode 100644 index 000000000000..a5103a655d49 --- /dev/null +++ b/x11-fonts/dina/pkg-plist @@ -0,0 +1,15 @@ +%%FONTDIR%%/fonts.dir +%%FONTDIR%%/fonts.scale +%%FONTDIR%%/DinaBold10.pcf.gz +%%FONTDIR%%/DinaBold8.pcf.gz +%%FONTDIR%%/DinaBold9.pcf.gz +%%FONTDIR%%/DinaBoldItalic10.pcf.gz +%%FONTDIR%%/DinaBoldItalic8.pcf.gz +%%FONTDIR%%/DinaBoldItalic9.pcf.gz +%%FONTDIR%%/DinaItalic10.pcf.gz +%%FONTDIR%%/DinaItalic8.pcf.gz +%%FONTDIR%%/DinaItalic9.pcf.gz +%%FONTDIR%%/DinaMedium10.pcf.gz +%%FONTDIR%%/DinaMedium8.pcf.gz +%%FONTDIR%%/DinaMedium9.pcf.gz +@dirrm %%FONTDIR%% -- cgit v1.2.3