1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Fix the build breakage when LaTeX2e <2003/12/01> is used.

Approved by:	Stefan Walter (sw at gegenunendlich dot de)
Noticed by:	kris
This commit is contained in:
Hiroki Sato 2004-10-30 10:53:23 +00:00
parent 918fd82ea0
commit 1f102ebc99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120485
2 changed files with 21 additions and 5 deletions

View File

@ -7,17 +7,17 @@
PORTNAME= foiltex
PORTVERSION= 2.1.4a
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= nonfree/macros/latex/contrib/${PORTNAME}
DISTFILES= foiltex.dtx foiltex.ins
EXTRACT_ONLY= # empty
MAINTAINER= sw@gegenunendlich.de
COMMENT= A collection of LaTeX files for making foils
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base
NO_CDROM= redistribution on a not-for-profit basis only
@ -34,9 +34,12 @@ FOIL_FILES= ${WRKDIR}/foil17.clo ${WRKDIR}/foil20.clo \
${WRKDIR}/foilshrt.clo ${WRKDIR}/fltfonts.def
PLIST_SUB= FOIL_DIR="${FOIL_DIR:S,^${PREFIX}/,,}"
do-extract:
${MKDIR} ${WRKDIR}
${CP} ${DISTDIR}/foiltex.ins ${WRKDIR}/foiltex.ins
${CP} ${DISTDIR}/foiltex.dtx ${WRKDIR}/foiltex.dtx
do-build:
@${CP} ${DISTDIR}/foiltex.ins ${WRKDIR}/foiltex.ins
@${CP} ${DISTDIR}/foiltex.dtx ${WRKDIR}/foiltex.dtx
@cd ${WRKDIR} && ${LATEX_CMD} foiltex.ins && \
${LATEX_CMD} foiltex.dtx && \
${LATEX_CMD} foiltex.dtx && \

View File

@ -0,0 +1,13 @@
--- foiltex.ins.orig Thu Oct 28 14:17:12 2004
+++ foiltex.ins Thu Oct 28 14:17:27 2004
@@ -117,8 +117,8 @@
\generateFile{sampfoil.tex}{t}{\from{foiltex.dtx}{sample}}
-\newcommand{\iispc}{\space\space}
-\newcommand{\vspc}{\iispc\iispc\space}
+\def\iispc{\space\space}
+\def\vspc{\iispc\iispc\space}
\Msg{**********************************************************************}
\Msg{*}
\Msg{* To finish the installation, do the following:}