# New ports collection makefile for: hpscat-1.3jshin # Date created: 4 Apr 1997 # Whom: Choi Jun Ho # # $FreeBSD$ # PORTNAME= hpscat PORTVERSION= 1.3jshin CATEGORIES= korean print MASTER_SITES= ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/ \ 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= ports@FreeBSD.org COMMENT= Hangul Text Printing Utility RUN_DEPENDS= hcode:${PORTSDIR}/korean/hcode USE_PERL5= yes pre-patch: @${REINPLACE_CMD} -e 's,,,' \ ${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