1998-05-09 14:19:20 +00:00
|
|
|
# New ports collection makefile for: mizifonts
|
|
|
|
# Date created: 16 Mar 1998
|
1999-07-22 04:39:59 +00:00
|
|
|
# Whom: CHOI Junho <cjh@kr.freebsd.org>
|
1998-05-09 14:19:20 +00:00
|
|
|
#
|
1999-08-30 12:09:14 +00:00
|
|
|
# $FreeBSD$
|
1998-05-09 14:19:20 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 09:17:26 +00:00
|
|
|
PORTNAME= mizifonts
|
|
|
|
PORTVERSION= 1.1
|
1998-08-07 22:43:13 +00:00
|
|
|
CATEGORIES= korean x11-fonts
|
1999-09-03 18:27:22 +00:00
|
|
|
MASTER_SITES= ftp://ftp.mizi.co.kr/pub/hanIM/
|
2000-04-13 09:17:26 +00:00
|
|
|
DISTNAME= xfntmizi-1.1-2.noarch
|
1998-05-09 14:19:20 +00:00
|
|
|
EXTRACT_SUFX= .rpm
|
|
|
|
|
2000-07-15 13:25:02 +00:00
|
|
|
MAINTAINER= cjh@FreeBSD.org
|
1998-05-09 14:19:20 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm
|
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
2000-09-12 11:08:05 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${XFREE86_VERSION} == 4
|
|
|
|
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
|
|
|
|
.endif
|
|
|
|
|
1998-05-09 14:19:20 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
RPM2CPIO= rpm2cpio
|
|
|
|
CPIO= /usr/bin/cpio
|
|
|
|
CPIO_OPT= -i --make-directories
|
|
|
|
UNCOMPRESS= /usr/bin/uncompress
|
|
|
|
FONTS= mzgt16e.pcf mzgt16h.pcf mzgt16h1.pcf mzmj16e.pcf mzmj16h.pcf \
|
|
|
|
mzpg16e.pcf mzpg16h.pcf mzsm16e.pcf mzsm16h.pcf
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${RM} -rf ${WRKDIR} && \
|
|
|
|
${MKDIR} ${WRKDIR} && \
|
|
|
|
cd ${WRKDIR} && \
|
|
|
|
${RPM2CPIO} ${_DISTDIR}/${DISTFILES} | ${CPIO} ${CPIO_OPT} && \
|
|
|
|
${MV} ${WRKDIR}/usr/lib/X11/fonts/misc/* .
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@cd ${WRKDIR}; \
|
|
|
|
for i in ${FONTS}; do \
|
|
|
|
${UNCOMPRESS} -c $$i.Z | ${GZIP_CMD} -c > $$i.gz; \
|
|
|
|
done
|
|
|
|
|
|
|
|
do-install:
|
1999-08-22 23:33:47 +00:00
|
|
|
@${MKDIR} ${PREFIX}/lib/X11/fonts/local
|
1998-05-09 14:19:20 +00:00
|
|
|
for i in ${WRKDIR}/*.gz; do \
|
1998-11-18 13:03:42 +00:00
|
|
|
${INSTALL_DATA} $$i ${PREFIX}/lib/X11/fonts/local/; \
|
1998-05-09 14:19:20 +00:00
|
|
|
done
|
1998-11-18 13:03:42 +00:00
|
|
|
cd ${PREFIX}/lib/X11/fonts/local/ ; mkfontdir
|
1998-05-09 14:19:20 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-08-22 23:33:47 +00:00
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
1998-05-09 14:19:20 +00:00
|
|
|
|
2000-09-12 11:08:05 +00:00
|
|
|
.include <bsd.port.post.mk>
|