Bitmap font, 8 dots x 16 dots bitmap font.

Bitmap font is used on Mule with bitmap-mule or Emacs20 with bitmap-emacs20.
This commit is contained in:
Shigeyuki Fukushima 1999-08-18 14:00:03 +00:00
parent 9c3ab1899c
commit 4b39a8e5d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20779
6 changed files with 82 additions and 0 deletions

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (bitmap-mule-7.18.tar.gz) = 23852daca0d7ce6f9407ba9b5f6fd1ce

View File

@ -0,0 +1 @@
Bitmap font, 8 dots x 16 dots bitmap font.

View File

@ -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>

View File

@ -0,0 +1,3 @@
%%FONTSDIR%%/%%BITMAP_FONT%%.pcf.gz
@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir

View File

@ -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;