# New ports collection makefile for:    nhppf-1.2
# Version required:     1.2
# Date created:         2 Apr 1997
# Whom:                 Choi Jun Ho <junker@jazz.snu.ac.kr>
#
# $Id$
#

DISTNAME=	nhppf-1.2
PKGNAME=	kr-nhppf-1.2
CATEGORIES=	korean
MASTER_SITES=	ftp://jazz.snu.ac.kr/pub/unix/util/nhppf/

MAINTAINER=	junker@jazz.snu.ac.kr

NO_BUILD=	yes

# it depends on HLaTeX-0.95(ps) fonts and perl-5.003
RUN_DEPENDS=    ${PREFIX}/share/fonts/HLaTeX-0.95-pfb:$(PORTSDIR)/korean/hlatexpsfonts\
		perl5.003:${PORTSDIR}/lang/perl5

do-configure:
	@cd ${WRKSRC}; \
	echo "#!${PREFIX}/bin/perl5.003" > scriptheader; \
	cat scriptheader nhppf > nhppf.new

do-install:
	@cd ${WRKSRC}; \
	${MKDIR} -p ${PREFIX}/bin; \
	${INSTALL_SCRIPT} nhppf.new ${PREFIX}/bin/nhppf

.include <bsd.port.mk>
