mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
dea918ba86
1. This package should not be commercial use. 2. This package should not be redistributed(except FreeBSD mirrors). Submitted by: CHOI Junho <junker@jazz.snu.ac.kr> PR: ports/6052 Should I put some comments in ports/LEGAL?
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
# New ports collection makefile for: mizifonts
|
|
# Version required: 1.1
|
|
# Date created: 16 Mar 1998
|
|
# Whom: CHOI Junho <junker@jazz.snu.ac.kr>
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
DISTNAME= xfntmizi-1.1-1.noarch
|
|
PKGNAME= ko-mizifonts-1.1
|
|
CATEGORIES= korean x11
|
|
MASTER_SITES= http://www.mizi.co.kr/packages/
|
|
EXTRACT_SUFX= .rpm
|
|
|
|
MAINTAINER= junker@jazz.snu.ac.kr
|
|
|
|
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm
|
|
|
|
NO_CDROM= "Not a free software, but redistributable on FreeBSD mirrors"
|
|
|
|
USE_X11= yes
|
|
NO_PATCH= yes
|
|
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:
|
|
@mkdir -p ${PREFIX}/lib/X11/fonts/misc
|
|
for i in ${WRKDIR}/*.gz; do \
|
|
${INSTALL_DATA} $$i ${PREFIX}/lib/X11/fonts/misc/; \
|
|
done
|
|
cd ${PREFIX}/lib/X11/fonts/misc/ ; mkfontdir
|
|
|
|
post-install:
|
|
@cat ${PKGDIR}/MESSAGE
|
|
|
|
.include <bsd.port.mk>
|