summaryrefslogtreecommitdiffstats
path: root/japanese/dvipsk/Makefile
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-07-20 02:55:36 +0000
committersteve <steve@FreeBSD.org>1998-07-20 02:55:36 +0000
commit0afdb980653102011289d45b1648599c6e23a483 (patch)
tree8851edafc35c94b6fd9a77cbba761863e99ee001 /japanese/dvipsk/Makefile
parentac05aaffe56e4ce951af46be21d0391fec837526 (diff)
downloadFreeBSD-ports-0afdb980653102011289d45b1648599c6e23a483.zip
FreeBSD-ports-0afdb980653102011289d45b1648599c6e23a483.tar.gz
Update to version 5.78a.
PR: 7199 Submitted by: maintainer
Diffstat (limited to 'japanese/dvipsk/Makefile')
-rw-r--r--japanese/dvipsk/Makefile79
1 files changed, 56 insertions, 23 deletions
diff --git a/japanese/dvipsk/Makefile b/japanese/dvipsk/Makefile
index bcf72e9..46e276e 100644
--- a/japanese/dvipsk/Makefile
+++ b/japanese/dvipsk/Makefile
@@ -1,23 +1,27 @@
# New ports collection makefile for: dvipsk + jpatch
-# Version required: 5.66a
+# Version required: 5.78a + p1.4
# Date created: 25 Aug 1997
# Whom: Makoto WATANABE <watanabe@zlab.phys.nagoya-u.ac.jp>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1998/05/02 22:35:08 max Exp $
#
-DISTNAME= dvipsk-5.66a
-PKGNAME= ja-dvipsk-5.66a
+DISTNAME= dvipsk-5.78a
+PKGNAME= ja-dvipsk-5.78a
CATEGORIES= japanese print
-MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex215/ \
- ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex215/web2c/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} dvipsk-jpatch-p1.3b.tar.gz
+MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/ \
+ 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/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} dvipsk-jpatch-p1.4.tar.gz
MAINTAINER= watanabe@zlab.phys.nagoya-u.ac.jp
RUN_DEPENDS= ptex-common:${PORTSDIR}/japanese/ptex-common \
${PREFIX}/share/fonts/vf-a2bk:${PORTSDIR}/japanese/vftool
+MANUAL_PACKAGE_BUILD= incompatible with other versions of dvipsk-*
+
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_install="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}"
@@ -27,38 +31,61 @@ TEXMF= ${PREFIX}/share/texmf
DVIPSDIR= ${TEXMF}/dvips
TEXDIR= ${TEXMF}/tex
BINARIES= dvips afm2tfm
-CONTRIB_FILES= 2a4.ps bb.ps bbfig config.fax config.lino config.lj2p \
- config.post3x3 config.proto config.rokicki loop.ps \
- mkdvipspapers oneline.tex papersize.level2 papersize.simple \
- prepipe.ps ptmr.ed ptmro.ed rotsample.tex showpage.ps \
- treen.sh treen2.sh
+BACKUP_FILES= base/asex.enc base/psfonts.map config/config.ps
+BASE_FILES= cmfonts.map cyrfonts.map eufonts.map lafonts.map \
+ reencode/asex.enc
+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/*
DOCS= ../README.jpatch dvipsk/README \
- dvipsk/dvips.texi dvipsk/dvips.help dvipsk/dvips.cps
+ dvipsk/dvips.texi dvipsk/dvips.help
pre-patch:
- @${PATCH} -s -d ${WRKSRC} < ${WRKDIR}/dvipsk.patch
- @( cd ${WRKSRC}/dvipsk/contrib ; ${CP} config.rokicki config.ps )
+ @${PATCH} -p -s -d ${WRKSRC} < ${WRKDIR}/dvipsk.patch
+
+post-build:
+ @(\
+ cd ${WRKSRC}/dvipsk/contrib ; \
+ ../squeeze < colorsep.lpro > colorsep.pro \
+ )
pre-install:
@if [ ! -f ${PREFIX}/info/dir ] ; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir ; \
fi
+ @for i in ${BACKUP_FILES} ; do \
+ if [ -f ${DVIPSDIR}/$$i ] ; then \
+ ${MV} ${DVIPSDIR}/$$i ${DVIPSDIR}/$$i.bak ; \
+ fi ; \
+ done
post-install:
@for i in ${BINARIES} ; do \
strip ${PREFIX}/bin/$$i ; \
done
- @${MKDIR} ${DVIPSDIR}/contrib/volker
+ @${MKDIR} ${DVIPSDIR}/config
+ @for i in ${CONTRIB_DIRS} ; do \
+ ${MKDIR} ${DVIPSDIR}/contrib/$$i ; \
+ done
@${MKDIR} ${TEXDIR}/latex209/dvips
@(\
+ cd ${WRKSRC}/dvipsk ; \
+ for i in ${BASE_FILES} ; do \
+ ${INSTALL_DATA} $$i ${DVIPSDIR}/base ; \
+ done ; \
+ ${INSTALL_DATA} config.ps ${DVIPSDIR}/config ; \
cd ${WRKSRC}/dvipsk/contrib ; \
- ${INSTALL_DATA} config.ps ${DVIPSDIR}/config.ps ; \
- for i in ${CONTRIB_FILES} volker/*; do \
+ for i in ${CONTRIB_FILES} ; do \
${INSTALL_DATA} $$i ${DVIPSDIR}/contrib/$$i ; \
done ; \
- cd ${WRKSRC}/dvipsk/contrib/latex209 ; \
- for i in *.sty ; do \
- ${INSTALL_DATA} $$i ${TEXDIR}/latex209/dvips/$$i ; \
+ 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 ; \
done \
)
.if !defined(NOPORTDOCS)
@@ -66,8 +93,14 @@ post-install:
@for i in ${DOCS} ; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/dvips ; \
done
- @ln -fs ${DVIPSDIR}/contrib ${PREFIX}/share/doc/dvips/contrib
+ @${LN} -fs ${DVIPSDIR}/contrib ${PREFIX}/share/doc/dvips/contrib
+.endif
+.if defined(BATCH)
+ @${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL BATCH
+.else
+ @${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
.endif
- @${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>
OpenPOWER on IntegriCloud