1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/korean/kaistfonts/Makefile
Akinori MUSHA c982f5faf1 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
2002-01-29 11:24:09 +00:00

43 lines
1022 B
Makefile

# New ports collection makefile for: seri font collection
# Date created: Fri Mar 27 17:26:42 KST 1998
# Whom: CHOI Junho <junker@jazz.snu.ac.kr>
#
# $FreeBSD$
#
PORTNAME= kaistfonts-ksc
PORTVERSION= 1.0
CATEGORIES= korean x11-fonts
MASTER_SITES= ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
DISTNAME= ${PKGNAME}
DISTFILES= kaist-newmj18.bdf.gz ks_philgi16.bdf.gz \
kaist-newmj16.bdf.gz ks_iyagi16.bdf.gz
MAINTAINER= cjh@FreeBSD.org
USE_X_PREFIX= yes
.include <bsd.port.pre.mk>
.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
.endif
USE_GMAKE= yes
NO_WRKSUBDIR= yes
MAKE_ENV= DISTDIR=${DISTDIR} DISTFILES="${DISTFILES}"
do-extract:
@${RM} -fr ${WRKDIR} && \
${MKDIR} ${WRKDIR} && \
cd ${WRKDIR} && \
for file in ${DISTFILES}; do \
${GUNZIP_CMD} -c < ${_DISTDIR}/$$file > `${ECHO_CMD} $$file | ${SED} -e 's/\.Z//' -e 's/\.gz//'`; \
done
post-install:
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>