1996-11-09 07:55:12 -05:00
|
|
|
# New ports collection makefile for: jp-dvi2ps
|
|
|
|
# Date created: 15 Sep 1996
|
|
|
|
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
|
|
#
|
1999-08-25 01:28:01 -04:00
|
|
|
# $FreeBSD$
|
1996-11-09 07:55:12 -05:00
|
|
|
#
|
|
|
|
|
2000-04-11 10:15:53 -04:00
|
|
|
PORTNAME= dvi2ps
|
|
|
|
PORTVERSION= 2.0
|
1996-11-11 05:13:07 -05:00
|
|
|
CATEGORIES= japanese print
|
1996-11-09 07:55:12 -05:00
|
|
|
MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/
|
2000-04-11 10:15:53 -04:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}j
|
1996-11-09 07:55:12 -05:00
|
|
|
|
|
|
|
MAINTAINER= mita@jp.FreeBSD.org
|
|
|
|
|
1996-12-30 03:23:11 -05:00
|
|
|
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf
|
1998-12-22 20:29:04 -05:00
|
|
|
LIB_DEPENDS= VFlib2.24:${PORTSDIR}/japanese/vflib
|
1996-11-09 07:55:12 -05:00
|
|
|
|
1998-04-04 23:47:11 -05:00
|
|
|
MAN1= dvi2ps.1 ../ja/man1/dvi2ps.1
|
1996-12-30 03:23:11 -05:00
|
|
|
|
1996-11-09 07:55:12 -05:00
|
|
|
post-patch:
|
|
|
|
@(cd ${WRKSRC}; make newlib)
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@(cd ${WRKSRC}/tools; \
|
|
|
|
cc -O -o nup nup.c; \
|
|
|
|
cc -O -traditional -o texfix texfix.c\
|
|
|
|
)
|
|
|
|
post-install:
|
|
|
|
@(cd ${WRKSRC}; \
|
|
|
|
make install-lib; \
|
|
|
|
${CP} -R doc ${PREFIX}/lib/dvi2ps/ ;\
|
1998-07-19 23:36:09 -04:00
|
|
|
${MV} ${PREFIX}/lib/dvi2ps/doc/dvi2ps.man ${PREFIX}/man/man1/dvi2ps.1 ;\
|
1996-12-30 03:23:11 -05:00
|
|
|
nkf -e ${PREFIX}/lib/dvi2ps/doc/dvi2ps.jman > \
|
1998-04-04 23:47:11 -05:00
|
|
|
${PREFIX}/man/ja/man1/dvi2ps.1 ;\
|
1996-12-30 03:23:11 -05:00
|
|
|
${RM} -f ${PREFIX}/lib/dvi2ps/doc/dvi2ps.jman ;\
|
1997-10-17 09:50:16 -04:00
|
|
|
${INSTALL_SCRIPT} tools/fontlink ${PREFIX}/lib/dvi2ps ;\
|
1996-11-09 07:55:12 -05:00
|
|
|
${INSTALL_PROGRAM} tools/nup ${PREFIX}/bin ;\
|
|
|
|
${INSTALL_PROGRAM} tools/texfix ${PREFIX}/bin ;\
|
|
|
|
${INSTALL_SCRIPT} tools/psstrip ${PREFIX}/bin ;\
|
|
|
|
${INSTALL_SCRIPT} tools/MakePK ${PREFIX}/bin ;\
|
|
|
|
)
|
1997-07-13 14:49:31 -04:00
|
|
|
@${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
1996-11-09 07:55:12 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|