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:
parent
9c3ab1899c
commit
4b39a8e5d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20779
42
x11-fonts/bitmap-fonts/Makefile
Normal file
42
x11-fonts/bitmap-fonts/Makefile
Normal 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>
|
1
x11-fonts/bitmap-fonts/distinfo
Normal file
1
x11-fonts/bitmap-fonts/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (bitmap-mule-7.18.tar.gz) = 23852daca0d7ce6f9407ba9b5f6fd1ce
|
1
x11-fonts/bitmap-fonts/pkg-comment
Normal file
1
x11-fonts/bitmap-fonts/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Bitmap font, 8 dots x 16 dots bitmap font.
|
8
x11-fonts/bitmap-fonts/pkg-descr
Normal file
8
x11-fonts/bitmap-fonts/pkg-descr
Normal 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>
|
3
x11-fonts/bitmap-fonts/pkg-plist
Normal file
3
x11-fonts/bitmap-fonts/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
%%FONTSDIR%%/%%BITMAP_FONT%%.pcf.gz
|
||||
@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
|
||||
@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
|
27
x11-fonts/bitmap-fonts/pkg-req
Normal file
27
x11-fonts/bitmap-fonts/pkg-req
Normal 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;
|
Loading…
Reference in New Issue
Block a user