Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 1998 10:42:37 +0900 (KST)
From:      junker@jazz.snu.ac.kr
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6169: port upgrade: korean/pinetreefonts
Message-ID:  <199803300142.KAA22719@punky.snu.ac.kr>

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

>Number:         6169
>Category:       ports
>Synopsis:       port upgrade: korean/pinetreefonts
>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:   Sun Mar 29 19:42:42 PST 1998
>Last-Modified:
>Originator:     CHOI Junho
>Organization:
NARAE, CS Dept., Seoul National Univ., ROK
>Release:        FreeBSD 2.2.6-BETA i386
>Environment:

FreeBSD punky.snu.ac.kr 2.2.6-STABLE FreeBSD 2.2.6-STABLE #0: Fri Mar 27 08:45:52 GMT 1998     root@punky.snu.ac.kr:/usr/src/sys/compile/PUNKY  i386

>Description:

Port upgrade(korean/pinetreefonts). Move font location.

>How-To-Repeat:

>Fix:
	
Apply the following diffs:

diff -uNr /usr/ports/korean/pinetreefonts/Makefile ./Makefile
--- /usr/ports/korean/pinetreefonts/Makefile	Tue Sep 23 01:22:22 1997
+++ ./Makefile	Mon Mar 30 10:40:07 1998
@@ -1,7 +1,7 @@
-# New ports collection makefile for:	pinetree fonts
+# New ports collection makefile for:	pinetree fonts(x11)
 # Version required:     1.0
 # Date created:		22 Mar 1997
-# Whom:			Choi Jun Ho <junker@jazz.snu.ac.kr>
+# Whom:			CHOI Junho <junker@jazz.snu.ac.kr>
 #
 # $Id: Makefile,v 1.3 1997/09/22 16:22:22 max Exp $
 #
@@ -11,37 +11,27 @@
 CATEGORIES=	korean x11
 MASTER_SITES=	ftp://ftp.kaist.ac.kr/pub/hangul/fonts/ \
 		ftp://cglab.snu.ac.kr/pub/hangul/n3f/fonts/ \
-		ftp://sunsite.kren.nm.kr/pub/packages/hangul/fonts/
+		ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/fonts/
 EXTRACT_SUFX=	.bdf.tar.gz
+
 MAINTAINER=	junker@jazz.snu.ac.kr
 
 USE_X11=	yes
 
+FONTS=		ptpR08 ptpR10 ptpR12 ptpR14 ptpR18 ptpR24 \
+		ptpB08 ptpB10 ptpB12 ptpB14 ptpB18 ptpB24
+
 do-build:
 	@cd ${WRKSRC}/; \
 	sh Makepcf; \
-	compress *.pcf; \
+	${GZIP_CMD} *.pcf; \
 	mkfontdir .
 
 do-install:
 	@cd ${WRKSRC}; \
-	${MKDIR} ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpR08.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpR10.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpR12.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpR14.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpR18.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpR24.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpB08.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpB10.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpB12.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpB14.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpB18.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} ptpB24.pcf.Z ${PREFIX}/lib/X11/fonts/korean/pinetree; \
-	${INSTALL_DATA} fonts.dir ${PREFIX}/lib/X11/fonts/korean/pinetree
-
-# to show a warning message to add fontpath for these fonts
-post-install:
-	@${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
+	for file in ${FONTS}; do \
+		${INSTALL_DATA} "$$file".pcf.gz ${PREFIX}/lib/X11/fonts/misc; \
+	done; \
+	mkfontdir ${PREFIX}/lib/X11/fonts/misc
 
 .include <bsd.port.mk>
diff -uNr /usr/ports/korean/pinetreefonts/pkg/DESCR ./pkg/DESCR
--- /usr/ports/korean/pinetreefonts/pkg/DESCR	Sat Mar 29 21:58:32 1997
+++ ./pkg/DESCR	Mon Mar 30 10:31:08 1998
@@ -7,4 +7,4 @@
 8-24 points), and it is propositional fonts not common in hangul fonts.
 
 --
-Ports by Choi Jun Ho <junker@jazz.snu.ac.kr>
+Ports by CHOI Junho <junker@jazz.snu.ac.kr>
diff -uNr /usr/ports/korean/pinetreefonts/pkg/PLIST ./pkg/PLIST
--- /usr/ports/korean/pinetreefonts/pkg/PLIST	Sat Mar 29 21:58:32 1997
+++ ./pkg/PLIST	Mon Mar 30 10:37:16 1998
@@ -1,14 +1,14 @@
-lib/X11/fonts/korean/pinetree/ptpB08.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpB10.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpB12.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpB14.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpB18.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpB24.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpR08.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpR10.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpR12.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpR14.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpR18.pcf.Z
-lib/X11/fonts/korean/pinetree/ptpR24.pcf.Z
-lib/X11/fonts/korean/pinetree/fonts.dir
-@dirrm lib/X11/fonts/korean/pinetree
+lib/X11/fonts/misc/ptpB08.pcf.gz
+lib/X11/fonts/misc/ptpB10.pcf.gz
+lib/X11/fonts/misc/ptpB12.pcf.gz
+lib/X11/fonts/misc/ptpB14.pcf.gz
+lib/X11/fonts/misc/ptpB18.pcf.gz
+lib/X11/fonts/misc/ptpB24.pcf.gz
+lib/X11/fonts/misc/ptpR08.pcf.gz
+lib/X11/fonts/misc/ptpR10.pcf.gz
+lib/X11/fonts/misc/ptpR12.pcf.gz
+lib/X11/fonts/misc/ptpR14.pcf.gz
+lib/X11/fonts/misc/ptpR18.pcf.gz
+lib/X11/fonts/misc/ptpR24.pcf.gz
+@exec cd %D/lib/X11/fonts/misc ; mkfontdir
+@unexec cd %D/lib/X11/fonts/misc ; mkfontdir
diff -uNr /usr/ports/korean/pinetreefonts/pkg/REQ ./pkg/REQ
--- /usr/ports/korean/pinetreefonts/pkg/REQ	Sat Mar 29 21:58:32 1997
+++ ./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 these fonts:"
-echo "  FontPath    \"/usr/X11R6/lib/X11/fonts/korean/pinetree\""
>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?199803300142.KAA22719>