aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2004-10-30 18:53:23 +0800
committerhrs <hrs@FreeBSD.org>2004-10-30 18:53:23 +0800
commit99c5f46d65af28c1e6728310fcd7a37221a68e2a (patch)
tree10ab9312aea8ab82dc4f9f5e16a0f4ef568b7197
parent5e193b039a0585883d0c8723ff5c4fc656b88655 (diff)
downloadfreebsd-ports-gnome-99c5f46d65af28c1e6728310fcd7a37221a68e2a.tar.gz
freebsd-ports-gnome-99c5f46d65af28c1e6728310fcd7a37221a68e2a.tar.zst
freebsd-ports-gnome-99c5f46d65af28c1e6728310fcd7a37221a68e2a.zip
Fix the build breakage when LaTeX2e <2003/12/01> is used.
Approved by: Stefan Walter (sw at gegenunendlich dot de) Noticed by: kris
-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:}