aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorShigeyuki Fukushima <shige@FreeBSD.org>1999-08-18 14:00:03 +0000
committerShigeyuki Fukushima <shige@FreeBSD.org>1999-08-18 14:00:03 +0000
commit4b39a8e5d57f23e1c4807cdca67a36d99b66ff56 (patch)
tree246205614013610c5933c24325fdb2b8e68e56ab /x11-fonts
parent9c3ab1899cbdf0cded3e137819e63cf5dcc6e7fe (diff)
downloadports-4b39a8e5d57f23e1c4807cdca67a36d99b66ff56.tar.gz
ports-4b39a8e5d57f23e1c4807cdca67a36d99b66ff56.zip
Notes
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;