summaryrefslogtreecommitdiffstats
path: root/korean/hpscat/Makefile
blob: ce15c8026b9aca46fd455c8973355dd0b08b1b36 (plain)
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
45
46
47
# 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

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>
OpenPOWER on IntegriCloud