1996-11-09 12:55:12 +00:00
|
|
|
# New ports collection makefile for: jp-dvi2ps
|
1996-12-30 08:23:11 +00:00
|
|
|
# Version required: 2.0gamma
|
1996-11-09 12:55:12 +00:00
|
|
|
# Date created: 15 Sep 1996
|
|
|
|
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
|
|
#
|
1997-07-13 18:49:31 +00:00
|
|
|
# $Id: Makefile,v 1.4 1996/12/30 08:23:07 max Exp $
|
1996-11-09 12:55:12 +00:00
|
|
|
#
|
|
|
|
|
1996-12-30 08:23:11 +00:00
|
|
|
DISTNAME= dvi2ps-2.0j-gamma
|
|
|
|
PKGNAME= jp-dvi2ps-2.0g
|
1996-11-11 10:13:07 +00:00
|
|
|
CATEGORIES= japanese print
|
1996-11-09 12:55:12 +00:00
|
|
|
MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/
|
|
|
|
|
|
|
|
MAINTAINER= mita@jp.FreeBSD.org
|
|
|
|
|
1996-12-30 08:23:11 +00:00
|
|
|
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf
|
1996-12-07 00:20:47 +00:00
|
|
|
LIB_DEPENDS= VFlib\\.2\\.:${PORTSDIR}/japanese/vflib
|
1996-11-09 12:55:12 +00:00
|
|
|
|
1996-12-30 08:23:11 +00:00
|
|
|
MAN1= dvi2ps.1 ../ja_JP.EUC/man1/dvi2ps.1
|
|
|
|
|
1996-11-09 12:55:12 +00: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/ ;\
|
1996-12-30 08:23:11 +00:00
|
|
|
mv ${PREFIX}/lib/dvi2ps/doc/dvi2ps.man ${PREFIX}/man/man1/dvi2ps.1 ;\
|
|
|
|
nkf -e ${PREFIX}/lib/dvi2ps/doc/dvi2ps.jman > \
|
|
|
|
${PREFIX}/man/ja_JP.EUC/man1/dvi2ps.1 ;\
|
|
|
|
${RM} -f ${PREFIX}/lib/dvi2ps/doc/dvi2ps.jman ;\
|
1996-11-09 12:55:12 +00:00
|
|
|
${INSTALL_SCRIPT} tools/lnfonts ${PREFIX}/lib/dvi2ps ;\
|
|
|
|
${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 18:49:31 +00:00
|
|
|
@${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
1996-11-09 12:55:12 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|