aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-08-18 22:00:03 +0800
committershige <shige@FreeBSD.org>1999-08-18 22:00:03 +0800
commit9192cebdd2d74f2599a6ee18898a58bb73af9439 (patch)
treeeec003cf5717fb9530277497cc0b07ac7eae75c2 /x11-fonts
parent2c9cd3106a0d58642c18d21546b745d09730be55 (diff)
downloadfreebsd-ports-gnome-9192cebdd2d74f2599a6ee18898a58bb73af9439.tar.gz
freebsd-ports-gnome-9192cebdd2d74f2599a6ee18898a58bb73af9439.tar.zst
freebsd-ports-gnome-9192cebdd2d74f2599a6ee18898a58bb73af9439.zip
Bitmap font, 8 dots x 16 dots bitmap font.
Bitmap font is used on Mule with bitmap-mule or Emacs20 with bitmap-emacs20.
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/bitmap-fonts/Makefile42
-rw-r--r--x11-fonts/bitmap-fonts/distinfo1
-rw-r--r--x11-fonts/bitmap-fonts/pkg-comment1
-rw-r--r--x11-fonts/bitmap-fonts/pkg-descr8
-rw-r--r--x11-fonts/bitmap-fonts/pkg-plist3
-rw-r--r--x11-fonts/bitmap-fonts/pkg-req27
6 files changed, 82 insertions, 0 deletions
diff --git a/x11-fonts/bitmap-fonts/Makefile b/x11-fonts/bitmap-fonts/Makefile
new file mode 100644
index 000000000000..f86c56f91a7c
--- /dev/null
+++ b/x11-fonts/bitmap-fonts/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: bitmap-font
+# Version required: 7.18
+# Date created: 23 September 1998
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
+#
+# $Id$
+#
+
+DISTNAME= bitmap-mule-${BITMAP_VER}
+PKGNAME= bitmap-font-${BITMAP_VER}
+CATEGORIES= x11-fonts elisp
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/bitmap-mule/
+
+MAINTAINER= shige@FreeBSD.org
+
+# distfile version
+BITMAP_VER= 7.18
+BITMAP_FONT= etl8x16-bitmap
+FONTSDIR= lib/X11/fonts/local
+
+USE_X_PREFIX= yes
+
+BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86
+
+PLIST_SUB= FONTSDIR=${FONTSDIR} BITMAP_FONT=${BITMAP_FONT}
+
+do-build:
+ @(cd ${WRKSRC}; \
+ bdftopcf ${BITMAP_FONT}.bdf > ${BITMAP_FONT}.pcf ; \
+ ${GZIP_CMD} ${BITMAP_FONT}.pcf ; \
+ )
+
+pre-install:
+ @${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
+
+do-install:
+ @(cd ${WRKSRC}; \
+ ${INSTALL_DATA} ${BITMAP_FONT}.pcf.gz ${PREFIX}/${FONTSDIR} ; \
+ )
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/bitmap-fonts/distinfo b/x11-fonts/bitmap-fonts/distinfo
new file mode 100644
index 000000000000..c574dedaf449
--- /dev/null
+++ b/x11-fonts/bitmap-fonts/distinfo
@@ -0,0 +1 @@
+MD5 (bitmap-mule-7.18.tar.gz) = 23852daca0d7ce6f9407ba9b5f6fd1ce
diff --git a/x11-fonts/bitmap-fonts/pkg-comment b/x11-fonts/bitmap-fonts/pkg-comment
new file mode 100644
index 000000000000..f85585a9d905
--- /dev/null
+++ b/x11-fonts/bitmap-fonts/pkg-comment
@@ -0,0 +1 @@
+Bitmap font, 8 dots x 16 dots bitmap font.
diff --git a/x11-fonts/bitmap-fonts/pkg-descr b/x11-fonts/bitmap-fonts/pkg-descr
new file mode 100644
index 000000000000..8363c07ac028
--- /dev/null
+++ b/x11-fonts/bitmap-fonts/pkg-descr
@@ -0,0 +1,8 @@
+Bitmap font, 8 dots x 16 dots bitmap font.
+
+ Bitmap font is used on Mule with bitmap-mule or Emacs20 with bitmap-emacs20.
+
+ Bitmap font is installed the following directory tree:
+ ${X11BASE}/lib/X11/fonts/local/
+
+--- Porting by shige <shige@FreeBSD.org>
diff --git a/x11-fonts/bitmap-fonts/pkg-plist b/x11-fonts/bitmap-fonts/pkg-plist
new file mode 100644
index 000000000000..a6fa92d631bd
--- /dev/null
+++ b/x11-fonts/bitmap-fonts/pkg-plist
@@ -0,0 +1,3 @@
+%%FONTSDIR%%/%%BITMAP_FONT%%.pcf.gz
+@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
+@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
diff --git a/x11-fonts/bitmap-fonts/pkg-req b/x11-fonts/bitmap-fonts/pkg-req
new file mode 100644
index 000000000000..c245d9493cc4
--- /dev/null
+++ b/x11-fonts/bitmap-fonts/pkg-req
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+if [ "x$1" = "x" ]; then
+ exit 1;
+fi
+if [ "x$2" != "xINSTALL" -a "x$2" != "xDEINSTALL" ]; then
+ exit 1;
+fi
+
+export FONTDIR; FONTDIR=${PKG_PREFIX}/lib/X11/fonts/local
+
+if [ "$2x" = "INSTALLx" -a ! -d ${FONTDIR} ]; then
+ echo '**********************************************************************'
+ echo "****** ${FONTDIR}/ doesn't exist."
+ echo "****** Creating ${FONTDIR}/"
+ echo '****** Please upgrade your XFree86 to 3.3.3 or upper,'
+ echo "****** or add this directory to your /etc/XF86Config's FontPath entry."
+ echo '**********************************************************************'
+ mkdir ${FONTDIR}
+fi
+
+echo "**********************************************************"
+echo "You should restart X server or do 'xset fp rehash' command"
+echo "to enable this update."
+echo "**********************************************************"
+
+exit 0;