aboutsummaryrefslogtreecommitdiff
path: root/textproc/foiltex
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2004-10-30 10:53:23 +0000
committerHiroki Sato <hrs@FreeBSD.org>2004-10-30 10:53:23 +0000
commit1f102ebc9941c3540d7cf67975e5c3a54f481075 (patch)
tree9c4f31cfcca166704aa70f0ad9c03dc314fd7baa /textproc/foiltex
parent918fd82ea06d64b045282d81a2d0387d08d8029e (diff)
downloadports-1f102ebc9941c3540d7cf67975e5c3a54f481075.tar.gz
ports-1f102ebc9941c3540d7cf67975e5c3a54f481075.zip
Fix the build breakage when LaTeX2e <2003/12/01> is used.
Approved by: Stefan Walter (sw at gegenunendlich dot de) Noticed by: kris
Notes
Notes: svn path=/head/; revision=120485
Diffstat (limited to 'textproc/foiltex')
-rw-r--r--textproc/foiltex/Makefile13
-rw-r--r--textproc/foiltex/files/patch-foiltex.ins13
2 files changed, 21 insertions, 5 deletions
diff --git a/textproc/foiltex/Makefile b/textproc/foiltex/Makefile
index 0639ba0cc9e0..75881c840db4 100644
--- a/textproc/foiltex/Makefile
+++ b/textproc/foiltex/Makefile
@@ -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 && \
diff --git a/textproc/foiltex/files/patch-foiltex.ins b/textproc/foiltex/files/patch-foiltex.ins
new file mode 100644
index 000000000000..75a30ca91a91
--- /dev/null
+++ b/textproc/foiltex/files/patch-foiltex.ins
@@ -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:}