1998-08-09 00:14:58 +00:00
|
|
|
# New ports collection makefile for: nh2ps-2.3
|
1997-06-04 08:46:49 +00:00
|
|
|
# Date created: 2 Apr 1997
|
|
|
|
# Whom: Choi Jun Ho <junker@jazz.snu.ac.kr>
|
|
|
|
#
|
1999-08-30 12:09:14 +00:00
|
|
|
# $FreeBSD$
|
1997-06-04 08:46:49 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 09:17:26 +00:00
|
|
|
PORTNAME= nh2ps
|
|
|
|
PORTVERSION= 2.3.1
|
1997-06-04 08:46:49 +00:00
|
|
|
CATEGORIES= korean print
|
|
|
|
MASTER_SITES= ftp://jazz.snu.ac.kr/pub/unix/util/nh2ps/
|
|
|
|
|
1998-08-09 00:14:58 +00:00
|
|
|
RUN_DEPENDS= ${PREFIX}/share/ghostscript/5.10ft/hangul:${PORTSDIR}/korean/ftghostscript5
|
1997-06-04 08:46:49 +00:00
|
|
|
|
|
|
|
MAN1= nh2ps.1
|
|
|
|
|
1998-12-05 10:35:17 +00:00
|
|
|
post-patch:
|
|
|
|
@(cd ${WRKSRC}; \
|
|
|
|
${SED} s@/usr/local/bin/perl@${PERL5}@ mkpsfontmap.pl > mk.pl; \
|
|
|
|
${MV} -f mk.pl mkpsfontmap.pl; \
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHMOD} +x mkpsfontmap.pl)
|
1998-12-05 10:35:17 +00:00
|
|
|
|
1997-06-04 08:46:49 +00:00
|
|
|
pre-install:
|
|
|
|
@(cd ${WRKSRC}; make install.man)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/nh2ps
|
1998-08-09 00:14:58 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/nh2ps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.nh2ps ${PREFIX}/share/doc/nh2ps/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.font ${PREFIX}/share/doc/nh2ps/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.filtering_with_gs \
|
|
|
|
${PREFIX}/share/doc/nh2ps/
|
1997-06-04 08:46:49 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|