summaryrefslogtreecommitdiff
path: root/korean/hpscat/Makefile
blob: 571a6bfa9e3c651fad7ff2969269918c7796ce1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 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

RUN_DEPENDS=    hcode:${PORTSDIR}/korean/hcode

pre-patch:
	@${PERL} -pi -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>