Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 21:55:50 +0900 (KST)
From:      cjh@wdb.co.kr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16366: Update ports: korean/baekmukfonts-bdf
Message-ID:  <200001261255.VAA26426@kfug.kr.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         16366
>Category:       ports
>Synopsis:       Update ports: korean/baekmukfonts-bdf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 26 05:00:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     CHOI Junho
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Web Data Bank Co.
>Environment:

FreeBSD gradius.myhome 3.4-STABLE FreeBSD 3.4-STABLE #6: Sun Jan  9
12:32:52 KST 2000     root@gradius.myhome:/usr/src/sys/compile/GRADIUS
i386

>Description:

Update to new version. fonts are installed into $X11BASE.../local.

>How-To-Repeat:

build it!

>Fix:

diff -uNr -x README.html -x *~ /usr/ports/korean/baekmukfonts-bdf/Makefile baekmukfonts-bdf/Makefile
--- /usr/ports/korean/baekmukfonts-bdf/Makefile	Mon Nov  1 10:26:10 1999
+++ baekmukfonts-bdf/Makefile	Sun Jan 16 18:28:45 2000
@@ -6,16 +6,15 @@
 # $FreeBSD: ports/korean/baekmukfonts-bdf/Makefile,v 1.4 1999/11/01 01:26:10 steve Exp $
 #
 
-DISTNAME=       baekmuk-1.1
-PKGNAME=	ko-baekmukfonts-bdf-1.1
+DISTNAME=       baekmuk-2.0
+PKGNAME=	ko-baekmukfonts-bdf-2.0
 CATEGORIES=	korean x11-fonts
-MASTER_SITES=	ftp://ftp.mizi.co.kr/pub/baekmuk/ \
-		http://www.FreeBSD.org/~sada/distfiles/
-DISTFILES=	baekmuk-1.1.tar.gz gulim12-19990903.bdf.gz
-EXTRACT_ONLY=	baekmuk-1.1.tar.gz
+MASTER_SITES=	ftp://ftp.mizi.co.kr/pub/baekmuk/
 
 MAINTAINER=	cjh@kr.freebsd.org
 
+BUILD_DEPENDS=	bdftopcf:${PORTSDIR}/x11/XFree86
+
 USE_X_PREFIX=	yes
 
 FONTLIST=	batang10 batang10b batang12 batang12b batang14 batang14b \
@@ -28,25 +27,25 @@
 
 BDFTOPCF=	${PREFIX}/bin/bdftopcf
 MKFONTDIR=	${PREFIX}/bin/mkfontdir
+CHARSETSUB=	s/ksx1001.1997/ksc5601.1987/g
+FONTSDIR=	lib/X11/fonts/local
+MAKE_ENV=	FONTSDIR=${FONTSDIR}
+PLIST_SUB=	FONTSDIR=${FONTSDIR}
 
+# change charset to ksc5601.1987...
 do-build:
-	${GUNZIP_CMD} -c ${_DISTDIR}/gulim12-19990903.bdf.gz \
-		> ${WRKDIR}/gulim12.bdf
 .for FONTNAME in ${FONTLIST}
+	perl -pi -e ${CHARSETSUB} ${WRKDIR}/${FONTNAME}.bdf
 	${BDFTOPCF} ${WRKDIR}/${FONTNAME}.bdf | ${GZIP_CMD} -c \
 		> ${WRKDIR}/${FONTNAME}.pcf.gz
 .endfor
 
 do-install:
-	-mkdir -p ${PREFIX}/lib/X11/fonts/baekmuk
+	-mkdir -p ${PREFIX}/${FONTSDIR}
 .for FONTNAME in ${FONTLIST}
 	${INSTALL_DATA} ${WRKDIR}/${FONTNAME}.pcf.gz \
-			${PREFIX}/lib/X11/fonts/baekmuk
+			${PREFIX}/${FONTSDIR}
 .endfor
-	${INSTALL_DATA} ${WRKDIR}/fonts.alias ${PREFIX}/lib/X11/fonts/baekmuk
-	${MKFONTDIR} ${PREFIX}/lib/X11/fonts/baekmuk
-
-post-install:
-	@${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
+	@(cd ${PREFIX}/${FONTSDIR} && mkfontdir .)
 
 .include <bsd.port.mk>
diff -uNr -x README.html -x *~ /usr/ports/korean/baekmukfonts-bdf/files/md5 baekmukfonts-bdf/files/md5
--- /usr/ports/korean/baekmukfonts-bdf/files/md5	Mon Nov  1 10:26:13 1999
+++ baekmukfonts-bdf/files/md5	Fri Jan 14 23:25:01 2000
@@ -1,2 +1 @@
-MD5 (baekmuk-1.1.tar.gz) = afcaec896106903ee627fac6e1b3c1eb
-MD5 (gulim12-19990903.bdf.gz) = 0277603d2cddb1442579afd3fd05e853
+MD5 (baekmuk-2.0.tar.gz) = d40c31eec54172bdc80d42827066d9db
diff -uNr -x README.html -x *~ /usr/ports/korean/baekmukfonts-bdf/pkg/MESSAGE baekmukfonts-bdf/pkg/MESSAGE
--- /usr/ports/korean/baekmukfonts-bdf/pkg/MESSAGE	Sat Sep  4 01:03:03 1999
+++ baekmukfonts-bdf/pkg/MESSAGE	Thu Jan  1 09:00:00 1970
@@ -1,22 +0,0 @@
-Baekmuk Font(BDF)
-=================
-
-Please note:
-
- This package installed fonts in /usr/X11R6/lib/X11/fonts/baekmuk directory.
- To use this, add this directory to your /etc/XF86config:
-
- Section "Files"
-     ...
-     FontPath   "/usr/X11R6/lib/X11/fonts/baekmuk/"
-     ...
-
- Or, run this command at your X desktop:
-
- # xset +fp /usr/X11R6/lib/X11/fonts/baekmuk/ && xset fp rehash
-
- Don't forget to add the directory to your /etc/XF86config, for
- add the correct font path after you reboots X.
-
---
-CHOI Junho <cjh@kr.freebsd.org>
diff -uNr -x README.html -x *~ /usr/ports/korean/baekmukfonts-bdf/pkg/PLIST baekmukfonts-bdf/pkg/PLIST
--- /usr/ports/korean/baekmukfonts-bdf/pkg/PLIST	Sat Sep  4 01:03:03 1999
+++ baekmukfonts-bdf/pkg/PLIST	Sun Jan 16 18:26:02 2000
@@ -1,45 +1,44 @@
-lib/X11/fonts/baekmuk/batang10.pcf.gz
-lib/X11/fonts/baekmuk/batang10b.pcf.gz
-lib/X11/fonts/baekmuk/batang12.pcf.gz
-lib/X11/fonts/baekmuk/batang12b.pcf.gz
-lib/X11/fonts/baekmuk/batang14.pcf.gz
-lib/X11/fonts/baekmuk/batang14b.pcf.gz
-lib/X11/fonts/baekmuk/batang16.pcf.gz
-lib/X11/fonts/baekmuk/batang16b.pcf.gz
-lib/X11/fonts/baekmuk/batang18.pcf.gz
-lib/X11/fonts/baekmuk/batang18b.pcf.gz
-lib/X11/fonts/baekmuk/batang20.pcf.gz
-lib/X11/fonts/baekmuk/batang20b.pcf.gz
-lib/X11/fonts/baekmuk/batang24.pcf.gz
-lib/X11/fonts/baekmuk/batang24b.pcf.gz
-lib/X11/fonts/baekmuk/dotum10.pcf.gz
-lib/X11/fonts/baekmuk/dotum12.pcf.gz
-lib/X11/fonts/baekmuk/dotum14.pcf.gz
-lib/X11/fonts/baekmuk/dotum16.pcf.gz
-lib/X11/fonts/baekmuk/dotum18.pcf.gz
-lib/X11/fonts/baekmuk/dotum20.pcf.gz
-lib/X11/fonts/baekmuk/dotum24.pcf.gz
-lib/X11/fonts/baekmuk/fonts.alias
-lib/X11/fonts/baekmuk/gulim10.pcf.gz
-lib/X11/fonts/baekmuk/gulim10b.pcf.gz
-lib/X11/fonts/baekmuk/gulim12.pcf.gz
-lib/X11/fonts/baekmuk/gulim12b.pcf.gz
-lib/X11/fonts/baekmuk/gulim14.pcf.gz
-lib/X11/fonts/baekmuk/gulim14b.pcf.gz
-lib/X11/fonts/baekmuk/gulim16.pcf.gz
-lib/X11/fonts/baekmuk/gulim16b.pcf.gz
-lib/X11/fonts/baekmuk/gulim18.pcf.gz
-lib/X11/fonts/baekmuk/gulim18b.pcf.gz
-lib/X11/fonts/baekmuk/gulim20.pcf.gz
-lib/X11/fonts/baekmuk/gulim20b.pcf.gz
-lib/X11/fonts/baekmuk/gulim24.pcf.gz
-lib/X11/fonts/baekmuk/gulim24b.pcf.gz
-lib/X11/fonts/baekmuk/hline10.pcf.gz
-lib/X11/fonts/baekmuk/hline12.pcf.gz
-lib/X11/fonts/baekmuk/hline14.pcf.gz
-lib/X11/fonts/baekmuk/hline16.pcf.gz
-lib/X11/fonts/baekmuk/hline18.pcf.gz
-lib/X11/fonts/baekmuk/hline20.pcf.gz
-lib/X11/fonts/baekmuk/hline24.pcf.gz
-@exec cd %D/lib/X11/fonts/baekmuk ; %D/bin/mkfontdir
-@unexec cd %D/lib/X11/fonts/baekmuk ; %D/bin/mkfontdir
+%%FONTSDIR%%/batang10.pcf.gz
+%%FONTSDIR%%/batang10b.pcf.gz
+%%FONTSDIR%%/batang12.pcf.gz
+%%FONTSDIR%%/batang12b.pcf.gz
+%%FONTSDIR%%/batang14.pcf.gz
+%%FONTSDIR%%/batang14b.pcf.gz
+%%FONTSDIR%%/batang16.pcf.gz
+%%FONTSDIR%%/batang16b.pcf.gz
+%%FONTSDIR%%/batang18.pcf.gz
+%%FONTSDIR%%/batang18b.pcf.gz
+%%FONTSDIR%%/batang20.pcf.gz
+%%FONTSDIR%%/batang20b.pcf.gz
+%%FONTSDIR%%/batang24.pcf.gz
+%%FONTSDIR%%/batang24b.pcf.gz
+%%FONTSDIR%%/dotum10.pcf.gz
+%%FONTSDIR%%/dotum12.pcf.gz
+%%FONTSDIR%%/dotum14.pcf.gz
+%%FONTSDIR%%/dotum16.pcf.gz
+%%FONTSDIR%%/dotum18.pcf.gz
+%%FONTSDIR%%/dotum20.pcf.gz
+%%FONTSDIR%%/dotum24.pcf.gz
+%%FONTSDIR%%/gulim10.pcf.gz
+%%FONTSDIR%%/gulim10b.pcf.gz
+%%FONTSDIR%%/gulim12.pcf.gz
+%%FONTSDIR%%/gulim12b.pcf.gz
+%%FONTSDIR%%/gulim14.pcf.gz
+%%FONTSDIR%%/gulim14b.pcf.gz
+%%FONTSDIR%%/gulim16.pcf.gz
+%%FONTSDIR%%/gulim16b.pcf.gz
+%%FONTSDIR%%/gulim18.pcf.gz
+%%FONTSDIR%%/gulim18b.pcf.gz
+%%FONTSDIR%%/gulim20.pcf.gz
+%%FONTSDIR%%/gulim20b.pcf.gz
+%%FONTSDIR%%/gulim24.pcf.gz
+%%FONTSDIR%%/gulim24b.pcf.gz
+%%FONTSDIR%%/hline10.pcf.gz
+%%FONTSDIR%%/hline12.pcf.gz
+%%FONTSDIR%%/hline14.pcf.gz
+%%FONTSDIR%%/hline16.pcf.gz
+%%FONTSDIR%%/hline18.pcf.gz
+%%FONTSDIR%%/hline20.pcf.gz
+%%FONTSDIR%%/hline24.pcf.gz
+@exec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
+@unexec cd %D/%%FONTSDIR%% ; %D/bin/mkfontdir
diff -uNr -x README.html -x *~ /usr/ports/korean/baekmukfonts-bdf/pkg/REQ baekmukfonts-bdf/pkg/REQ
--- /usr/ports/korean/baekmukfonts-bdf/pkg/REQ	Sat Sep  4 01:03:03 1999
+++ baekmukfonts-bdf/pkg/REQ	Thu Jan  1 09:00:00 1970
@@ -1,7 +0,0 @@
-#! /bin/sh
-if [ "$2" = "DEINSTALL" ]; then
-  exit 0
-fi
-
-echo "Remember to add a FontPath entry to /etc/XF86Config to use Baekmuk font:"
-echo "	FontPath    \"/usr/X11R6/lib/X11/fonts/baekmuk/\""

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001261255.VAA26426>