aboutsummaryrefslogtreecommitdiffstats
path: root/korean/pinetreefonts/Makefile
blob: 6323a2e310437d97c95e693fba1558560f204780 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# New ports collection makefile for:    pinetree fonts(x11)
# Date created:     22 Mar 1997
# Whom:         CHOI Junho <junker@jazz.snu.ac.kr>
#
# $FreeBSD$
#

PORTNAME=   pinetreefonts
PORTVERSION=    1.01
CATEGORIES= korean x11-fonts
MASTER_SITES=   ftp://cglab.snu.ac.kr/pub/hangul/n3f/tar/ \
        ftp://ftp.kaist.ac.kr/pub/hangul/fonts/ \
        ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/fonts/ \
        ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
DISTNAME=   pinetree.precomposed-${PORTVERSION}-bdf

MAINTAINER= cjh@FreeBSD.org
COMMENT=    Hangul fonts for X11(pinetree, KSC5601-1987-0 encoding)

BUILD_DEPENDS=  bdftopcf:${X_CLIENTS_PORT}
RUN_DEPENDS=    mkfontdir:${X_CLIENTS_PORT}

USE_X_PREFIX=   yes

WRKSRC=     ${WRKDIR}/pinetree.precomposed/bdf

FONTS=      ptpR08 ptpR10 ptpR12 ptpR14 ptpR18 ptpR24 \
        ptpB08 ptpB10 ptpB12 ptpB14 ptpB18 ptpB24 \
        ptptB14 pttpB14

do-build:
    @cd ${WRKSRC}/; \
    sh Makepcf; \
    ${GZIP_CMD} *.pcf; \
    mkfontdir .

do-install:
    -${MKDIR} ${PREFIX}/lib/X11/fonts/local
    @cd ${WRKSRC}; \
    for file in ${FONTS}; do \
        ${INSTALL_DATA} "$$file".pcf.gz ${PREFIX}/lib/X11/fonts/local; \
    done; \
    mkfontdir ${PREFIX}/lib/X11/fonts/local

.include <bsd.port.mk>