aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
author0mp <0mp@FreeBSD.org>2019-02-14 19:51:25 +0800
committer0mp <0mp@FreeBSD.org>2019-02-14 19:51:25 +0800
commitbd38d12699b4583cdfd96f9909894687a4fc6691 (patch)
tree8242e548a4868273023096130a8726a08991b530 /x11-fonts
parente97d5ce6cc10fd2792d7e976065ea53037d2e109 (diff)
downloadfreebsd-ports-gnome-bd38d12699b4583cdfd96f9909894687a4fc6691.tar.gz
freebsd-ports-gnome-bd38d12699b4583cdfd96f9909894687a4fc6691.tar.zst
freebsd-ports-gnome-bd38d12699b4583cdfd96f9909894687a4fc6691.zip
New port: x11-fonts/3270font: IBM 3270 font for the nostalgic
This font is derived from the x3270 font, which, in turn, was translated from the one in Georgia Tech's 3270tool, which was itself hand-copied from a 3270 series terminal. This font was built because the author felt that terminals deserve to be pretty. The .sfd font file contains a x3270 bitmap font that was used for guidance. WWW: https://github.com/rbanffy/3270font Reviewed by: mat Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D19186
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/3270font/Makefile29
-rw-r--r--x11-fonts/3270font/distinfo3
-rw-r--r--x11-fonts/3270font/pkg-descr7
-rw-r--r--x11-fonts/3270font/pkg-plist17
-rw-r--r--x11-fonts/Makefile1
5 files changed, 57 insertions, 0 deletions
diff --git a/x11-fonts/3270font/Makefile b/x11-fonts/3270font/Makefile
new file mode 100644
index 000000000000..3837533dafc0
--- /dev/null
+++ b/x11-fonts/3270font/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= 3270font
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.0.0
+CATEGORIES= x11-fonts
+MASTER_SITES= http://s3.amazonaws.com/${PORTNAME}/ \
+ https://github.com/rbanffy/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
+DISTNAME= 3270_fonts_4cfe95c
+
+MAINTAINER= 0mp@FreeBSD.org
+COMMENT= IBM 3270 font for the nostalgic
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= fonts zip
+
+FONTNAME= 3270
+
+NO_ARCH= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FONTSDIR} "! -name LICENSE.txt"
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/3270font/distinfo b/x11-fonts/3270font/distinfo
new file mode 100644
index 000000000000..24ffb915282e
--- /dev/null
+++ b/x11-fonts/3270font/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1550096786
+SHA256 (3270_fonts_4cfe95c.zip) = 8966e0667a1367dfc91361f9c9cb3187d1914a5b51710bfc10e5d71869188b4c
+SIZE (3270_fonts_4cfe95c.zip) = 1428094
diff --git a/x11-fonts/3270font/pkg-descr b/x11-fonts/3270font/pkg-descr
new file mode 100644
index 000000000000..54f76eb31644
--- /dev/null
+++ b/x11-fonts/3270font/pkg-descr
@@ -0,0 +1,7 @@
+This font is derived from the x3270 font, which, in turn, was translated
+from the one in Georgia Tech's 3270tool, which was itself hand-copied
+from a 3270 series terminal. This font was built because the author felt
+that terminals deserve to be pretty. The .sfd font file contains a x3270
+bitmap font that was used for guidance.
+
+WWW: https://github.com/rbanffy/3270font
diff --git a/x11-fonts/3270font/pkg-plist b/x11-fonts/3270font/pkg-plist
new file mode 100644
index 000000000000..4a112672739f
--- /dev/null
+++ b/x11-fonts/3270font/pkg-plist
@@ -0,0 +1,17 @@
+%%FONTSDIR%%/3270Medium.afm
+%%FONTSDIR%%/3270Medium.otf
+%%FONTSDIR%%/3270Medium.pfm
+%%FONTSDIR%%/3270Medium.ttf
+%%FONTSDIR%%/3270Medium.woff
+%%FONTSDIR%%/3270Narrow.afm
+%%FONTSDIR%%/3270Narrow.g2n
+%%FONTSDIR%%/3270Narrow.otf
+%%FONTSDIR%%/3270Narrow.pfm
+%%FONTSDIR%%/3270Narrow.ttf
+%%FONTSDIR%%/3270Narrow.woff
+%%FONTSDIR%%/3270SemiNarrow.afm
+%%FONTSDIR%%/3270SemiNarrow.g2n
+%%FONTSDIR%%/3270SemiNarrow.otf
+%%FONTSDIR%%/3270SemiNarrow.pfm
+%%FONTSDIR%%/3270SemiNarrow.ttf
+%%FONTSDIR%%/3270SemiNarrow.woff
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index a2d88a1ca3f8..97be2fc657cb 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -3,6 +3,7 @@
COMMENT = X11 fonts and font utilities
+ SUBDIR += 3270font
SUBDIR += Hasklig
SUBDIR += alef
SUBDIR += alegreya