1998-05-02 22:35:09 +00:00
|
|
|
# New ports collection makefile for: dvipsk + jpatch
|
|
|
|
# Date created: 25 Aug 1997
|
|
|
|
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1998-05-02 22:35:09 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= dvipsk
|
|
|
|
PORTVERSION= 5.78a
|
1998-05-02 22:35:09 +00:00
|
|
|
CATEGORIES= japanese print
|
2000-04-01 22:10:16 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/ \
|
1998-07-20 02:55:36 +00:00
|
|
|
ftp://ftp.center.osaka-u.ac.jp/CTAN/dviware/dvipsk/ \
|
|
|
|
ftp://ftp.riken.go.jp/pub/CTAN/dviware/dvipsk/ \
|
|
|
|
ftp://ftp.u-aizu.ac.jp/pub/tex/CTAN/dviware/dvipsk/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}-jpatch-p1.4d.tar.gz
|
1998-05-02 22:35:09 +00:00
|
|
|
|
|
|
|
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
|
|
|
|
|
1999-11-29 06:37:30 +00:00
|
|
|
RUN_DEPENDS= ptex-common:${PORTSDIR}/japanese/ptex-common
|
1998-05-02 22:35:09 +00:00
|
|
|
|
1998-07-20 02:55:36 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with other versions of dvipsk-*
|
|
|
|
|
2000-04-01 22:10:16 +00:00
|
|
|
DIST_SUBDIR= ptex
|
1998-05-02 22:35:09 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= ac_cv_path_install="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}"
|
1999-10-23 21:48:10 +00:00
|
|
|
SCRIPTS_ENV= MV=${MV} SED=${SED}
|
1998-05-02 22:35:09 +00:00
|
|
|
MAN1= dvips.1 afm2tfm.1
|
|
|
|
|
|
|
|
TEXMF= ${PREFIX}/share/texmf
|
|
|
|
DVIPSDIR= ${TEXMF}/dvips
|
|
|
|
TEXDIR= ${TEXMF}/tex
|
|
|
|
BINARIES= dvips afm2tfm
|
1999-10-23 21:48:10 +00:00
|
|
|
BASE_FILES= config.ps cmfonts.map cyrfonts.map eufonts.map lafonts.map
|
1998-07-20 02:55:36 +00:00
|
|
|
CONTRIB_DIRS= afm-extra bbfig configs psfig volker
|
|
|
|
CONTRIB_FILES= MakeTeXPK.pl PSTricks colorsep.pro config.proto crop.lpr \
|
|
|
|
timesmat.sty whichinpath afm-extra/*.ed bbfig/bb* \
|
|
|
|
configs/*[^g] psfig/README psfig/lprep* volker/*
|
|
|
|
PLAIN_MACROS= psfig/psfig.tex psfntmac/ps_plain.tex
|
|
|
|
LATEX209_MACROS=latex209/*.sty psfntmac/ps_lfonts.tex pspic/*
|
1998-05-02 22:35:09 +00:00
|
|
|
DOCS= ../README.jpatch dvipsk/README \
|
1998-07-20 02:55:36 +00:00
|
|
|
dvipsk/dvips.texi dvipsk/dvips.help
|
1998-05-02 22:35:09 +00:00
|
|
|
|
|
|
|
pre-patch:
|
1998-07-20 02:55:36 +00:00
|
|
|
@${PATCH} -p -s -d ${WRKSRC} < ${WRKDIR}/dvipsk.patch
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@(\
|
|
|
|
cd ${WRKSRC}/dvipsk/contrib ; \
|
|
|
|
../squeeze < colorsep.lpro > colorsep.pro \
|
|
|
|
)
|
1998-05-02 22:35:09 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@for i in ${BINARIES} ; do \
|
|
|
|
strip ${PREFIX}/bin/$$i ; \
|
|
|
|
done
|
1998-07-20 02:55:36 +00:00
|
|
|
@for i in ${CONTRIB_DIRS} ; do \
|
|
|
|
${MKDIR} ${DVIPSDIR}/contrib/$$i ; \
|
|
|
|
done
|
1998-05-02 22:35:09 +00:00
|
|
|
@${MKDIR} ${TEXDIR}/latex209/dvips
|
|
|
|
@(\
|
1998-07-20 02:55:36 +00:00
|
|
|
cd ${WRKSRC}/dvipsk ; \
|
|
|
|
for i in ${BASE_FILES} ; do \
|
|
|
|
${INSTALL_DATA} $$i ${DVIPSDIR}/base ; \
|
|
|
|
done ; \
|
1998-05-02 22:35:09 +00:00
|
|
|
cd ${WRKSRC}/dvipsk/contrib ; \
|
1998-07-20 02:55:36 +00:00
|
|
|
for i in ${CONTRIB_FILES} ; do \
|
1998-05-02 22:35:09 +00:00
|
|
|
${INSTALL_DATA} $$i ${DVIPSDIR}/contrib/$$i ; \
|
|
|
|
done ; \
|
1998-07-20 02:55:36 +00:00
|
|
|
for i in ${PLAIN_MACROS} ; do \
|
|
|
|
${INSTALL_DATA} $$i ${TEXDIR}/plain/dvips ; \
|
|
|
|
done ; \
|
|
|
|
for i in ${LATEX209_MACROS} ; do \
|
|
|
|
${INSTALL_DATA} $$i ${TEXDIR}/latex209/dvips ; \
|
1998-05-02 22:35:09 +00:00
|
|
|
done \
|
|
|
|
)
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/dvips
|
|
|
|
@for i in ${DOCS} ; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/dvips ; \
|
|
|
|
done
|
1998-07-20 02:55:36 +00:00
|
|
|
@${LN} -fs ${DVIPSDIR}/contrib ${PREFIX}/share/doc/dvips/contrib
|
|
|
|
.endif
|
1999-11-29 06:37:30 +00:00
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
1998-05-02 22:35:09 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|