1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/korean/hpscat/Makefile
2006-05-09 00:19:16 +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
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>