mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
474b385af1
for PKGNAME. (IE, jp-* to ja-*).
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# New ports collection makefile for: jp-dvi2ps
|
|
# Version required: 2.0gamma
|
|
# Date created: 15 Sep 1996
|
|
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
#
|
|
# $Id: Makefile,v 1.5 1997/07/13 18:49:15 max Exp $
|
|
#
|
|
|
|
DISTNAME= dvi2ps-2.0j-gamma
|
|
PKGNAME= ja-dvi2ps-2.0g
|
|
CATEGORIES= japanese print
|
|
MASTER_SITES= ftp://ftp.math.s.chiba-u.ac.jp/tex/
|
|
|
|
MAINTAINER= mita@jp.FreeBSD.org
|
|
|
|
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf
|
|
LIB_DEPENDS= VFlib\\.2\\.:${PORTSDIR}/japanese/vflib
|
|
|
|
MAN1= dvi2ps.1 ../ja_JP.EUC/man1/dvi2ps.1
|
|
|
|
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/ ;\
|
|
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 ;\
|
|
${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 ;\
|
|
)
|
|
@${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
|
|
|
.include <bsd.port.mk>
|