mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
68eb6d5476
PR: ports/8381 Submitted by: CHOI Junho <junker@jazz.snu.ac.kr> Unbreak hacked by: kuriyama
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# New ports collection makefile for: nh2ps-2.3
|
|
# Version required: 2.3
|
|
# Date created: 2 Apr 1997
|
|
# Whom: Choi Jun Ho <junker@jazz.snu.ac.kr>
|
|
#
|
|
# $Id: Makefile,v 1.6 1998/10/16 02:43:27 jseger Exp $
|
|
#
|
|
|
|
DISTNAME= nh2ps-2.3.1
|
|
PKGNAME= ko-nh2ps-2.3.1
|
|
CATEGORIES= korean print
|
|
MASTER_SITES= ftp://jazz.snu.ac.kr/pub/unix/util/nh2ps/
|
|
|
|
MAINTAINER= junker@jazz.snu.ac.kr
|
|
|
|
RUN_DEPENDS= ${PREFIX}/share/ghostscript/5.10ft/hangul:${PORTSDIR}/korean/ftghostscript5
|
|
|
|
MAN1= nh2ps.1
|
|
|
|
post-patch:
|
|
@(cd ${WRKSRC}; \
|
|
${SED} s@/usr/local/bin/perl@${PERL5}@ mkpsfontmap.pl > mk.pl; \
|
|
${MV} -f mk.pl mkpsfontmap.pl; \
|
|
chmod +x mkpsfontmap.pl)
|
|
|
|
pre-install:
|
|
@(cd ${WRKSRC}; make install.man)
|
|
|
|
post-install:
|
|
strip ${PREFIX}/bin/nh2ps
|
|
@${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/
|
|
|
|
.include <bsd.port.mk>
|