aboutsummaryrefslogtreecommitdiffstats
path: root/korean/kaistfonts/Makefile
blob: 1c0d2fb7c38889d6498f8ecebbd5a25f3912da32 (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
# Created by: Junho CHOI <junho.choi@gmail.com>
# $FreeBSD$

PORTNAME=   kaistfonts
PORTVERSION=    1.0
PORTREVISION=   5
CATEGORIES= korean x11-fonts
MASTER_SITES=   ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
PKGNAMESUFFIX=  -ksc
DISTNAME=   ${PKGNAME}
DISTFILES=  kaist-newmj18.bdf.gz ks_philgi16.bdf.gz \
        kaist-newmj16.bdf.gz ks_iyagi16.bdf.gz

MAINTAINER= ports@FreeBSD.org
COMMENT=    X11 KAIST font(ksc5601.1987-0 encoding) collection

SUB_FILES=  pkg-message

BUILD_DEPENDS=  bdftopcf:x11-fonts/bdftopcf

USES=       fonts gmake
NO_WRKSUBDIR=   yes
MAKE_ENV=   DISTDIR=${DISTDIR} DISTFILES="${DISTFILES}" FONTSDIR="${FONTSDIR}"

do-extract:
    @${RM} -r ${WRKSRC} && \
    ${MKDIR} ${WRKSRC} && \
    cd ${WRKSRC} && \
    for file in ${DISTFILES}; do \
        ${GUNZIP_CMD} -c < ${_DISTDIR}/$$file > `${ECHO_CMD} $$file | ${SED} -e 's/\.Z//' -e 's/\.gz//'`; \
    done

.include <bsd.port.mk>