aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/platex-common
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1996-09-26 12:46:07 +0800
committermax <max@FreeBSD.org>1996-09-26 12:46:07 +0800
commitc14dabfcf14edd6097afb63f7f30b5ccb2bd308c (patch)
tree13c76e88bde4846968e91a2fa5a2ac4d4a6770cc /japanese/platex-common
parenta09c672cffdb0c98175862ce3b6dfebec9547159 (diff)
downloadfreebsd-ports-gnome-c14dabfcf14edd6097afb63f7f30b5ccb2bd308c.tar.gz
freebsd-ports-gnome-c14dabfcf14edd6097afb63f7f30b5ccb2bd308c.tar.zst
freebsd-ports-gnome-c14dabfcf14edd6097afb63f7f30b5ccb2bd308c.zip
Use ${INSTALL_DATA} instead of cp to install files.
Also some minor changes in do-install:. (Result of make install doesn't change, though.)
Diffstat (limited to 'japanese/platex-common')
-rw-r--r--japanese/platex-common/Makefile46
1 files changed, 25 insertions, 21 deletions
diff --git a/japanese/platex-common/Makefile b/japanese/platex-common/Makefile
index 6a1580c746a5..d56c01da547a 100644
--- a/japanese/platex-common/Makefile
+++ b/japanese/platex-common/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 Nov 1995
# Whom: Hideaki Ohmon <ohmon@sfc.keio.ac.jp>
#
-# $Id: Makefile,v 1.6 1996/09/17 15:07:47 max Exp $
+# $Id: Makefile,v 1.7 1996/09/21 07:50:17 max Exp $
#
DISTNAME= platex2e
@@ -68,30 +68,34 @@ post-extract:
do-build:
@(cd ${WRKDIR}/base ; yes | initex unpack.ins ; initex latex.ltx)
@(cd ${WRKSRC} ; TEXINPUTS=".:${WRKDIR}/base" ; export TEXINPUTS ; \
- yes | iniptex plcore.ins ; iniptex platex.ltx)
+ yes | iniptex plcore.ins ; iniptex platex.ltx)
do-install:
@rm -rf ${PREFIX}/lib/texmf/tex/latex2e/base/*
- @(if [ ! -d ${PREFIX}/lib/texmf/tex/latex2e ]; then \
- mkdir ${PREFIX}/lib/texmf/tex/latex2e ;\
- fi)
- @(if [ ! -d ${PREFIX}/lib/texmf/tex/latex2e/base ]; then \
- mkdir ${PREFIX}/lib/texmf/tex/latex2e/base; \
- fi)
- @(cd ${WRKDIR}/base ; cp -f *.cls *.clo *.sty *.fd *.def *.ltx \
- ${PREFIX}/lib/texmf/tex/latex2e/base ; \
- cp latex.fmt ${PREFIX}/lib/texmf/ini)
- @rm -f ${PREFIX}/bin/latex
+ @(if [ ! -d ${PREFIX}/lib/texmf/tex/latex2e ]; then \
+ mkdir ${PREFIX}/lib/texmf/tex/latex2e ; \
+ fi)
+ @(if [ ! -d ${PREFIX}/lib/texmf/tex/latex2e/base ]; then \
+ mkdir ${PREFIX}/lib/texmf/tex/latex2e/base; \
+ fi)
+ (cd ${WRKDIR}/base ; \
+ for f in *.cls *.clo *.sty *.fd *.def *.ltx ; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/lib/texmf/tex/latex2e/base ; \
+ done ; \
+ ${INSTALL_DATA} latex.fmt ${PREFIX}/lib/texmf/ini)
+ @rm -f ${PREFIX}/bin/latex
@ln -s ${PREFIX}/bin/virtex ${PREFIX}/bin/latex
- @(if [ ! -d ${PREFIX}/lib/texmf/tex/platex2e ] ; then \
- mkdir ${PREFIX}/lib/texmf/tex/platex2e ;\
- fi)
- @(if [ ! -d ${PREFIX}/lib/texmf/tex/platex2e/base ]; then \
- mkdir ${PREFIX}/lib/texmf/tex/platex2e/base ;\
- fi)
- @(cd ${WRKSRC} ; cp -f *.cls *.clo *.sty *.fd *.def *.ltx *.cfg \
- ${PREFIX}/lib/texmf/tex/platex2e/base ; \
- cp -f platex.fmt ${PREFIX}/lib/texmf/ini)
+ @(if [ ! -d ${PREFIX}/lib/texmf/tex/platex2e ] ; then \
+ mkdir ${PREFIX}/lib/texmf/tex/platex2e ; \
+ fi)
+ @(if [ ! -d ${PREFIX}/lib/texmf/tex/platex2e/base ]; then \
+ mkdir ${PREFIX}/lib/texmf/tex/platex2e/base ; \
+ fi)
+ (cd ${WRKSRC} ; \
+ for f in *.cls *.clo *.sty *.fd *.def *.ltx *.cfg ; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/lib/texmf/tex/platex2e/base ; \
+ done ; \
+ ${INSTALL_DATA} platex.fmt ${PREFIX}/lib/texmf/ini)
@rm -f ${PREFIX}/bin/platex
@ln -s ${PREFIX}/bin/virptex ${PREFIX}/bin/platex