1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/korean/kaistfonts/Makefile
2021-04-06 16:31:07 +02:00

33 lines
853 B
Makefile

# Created by: Junho CHOI <junho.choi@gmail.com>
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>