freebsd-ports/korean/hpscat/Makefile
Ade Lovett 7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00

48 lines
1.6 KiB
Makefile

# New ports collection makefile for: hpscat-1.3jshin
# Date created: 4 Apr 1997
# Whom: Choi Jun Ho <junker@jazz.snu.ac.kr>
#
# $FreeBSD$
#
PORTNAME= hpscat
PORTVERSION= 1.3jshin
CATEGORIES= korean print
MASTER_SITES= ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/ \
ftp://ftp.kaist.ac.kr/pub/hangul/print/hpscat/ \
ftp://ftp.kaist.ac.kr/pub/hangul/editor/ked/ \
ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/print/hpscat/ \
ftp://ftp.kreonet.re.kr/pub/hangul/cair-archive/editor/ked/
DISTNAME= hpscat-jshin
DISTFILES= hpscat-jshin.tar.gz ked.tar.gz
MAINTAINER= cjh@FreeBSD.org
COMMENT= Hangul Text Printing Utility
RUN_DEPENDS= hcode:${PORTSDIR}/korean/hcode
USE_PERL5= yes
USE_REINPLACE= yes
pre-patch:
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/hpscat.h
pre-configure:
${CP} ${FILESDIR}/hpscat.sh ${WRKSRC}/
do-install:
@cd ${WRKSRC}; \
${MKDIR} ${PREFIX}/share/fonts/ked-hpscat; \
${INSTALL_PROGRAM} hpscat ${PREFIX}/bin/hpscat.bin; \
${INSTALL_SCRIPT} hpscat.sh ${PREFIX}/bin/hpscat; \
${INSTALL_DATA} ${WRKDIR}/ked/Header ${PREFIX}/share/fonts/ked-hpscat; \
${INSTALL_DATA} ${WRKDIR}/ked/Munjo ${PREFIX}/share/fonts/ked-hpscat; \
${INSTALL_DATA} ${WRKDIR}/ked/MunjoBold ${PREFIX}/share/fonts/ked-hpscat; \
${INSTALL_DATA} ${WRKDIR}/ked/PCMunjo ${PREFIX}/share/fonts/ked-hpscat; \
${INSTALL_DATA} ${WRKDIR}/ked/Gotic ${PREFIX}/share/fonts/ked-hpscat; \
${INSTALL_DATA} README ${PREFIX}/share/fonts/ked-hpscat; \
${INSTALL_DATA} README.jshin ${PREFIX}/share/fonts/ked-hpscat;\
${INSTALL_DATA} README.jshin.ks ${PREFIX}/share/fonts/ked-hpscat
.include <bsd.port.mk>