aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>1999-07-06 00:32:44 +0800
committersada <sada@FreeBSD.org>1999-07-06 00:32:44 +0800
commitd46d2cdc6504b92f6c246d3ab08017c4c14b0c69 (patch)
tree572936ad64aa6d0fbb2446c6573697e19ba0f5ba
parente415840e2b77f93503a844c2d2db5da3dbc023b0 (diff)
downloadfreebsd-ports-gnome-d46d2cdc6504b92f6c246d3ab08017c4c14b0c69.tar.gz
freebsd-ports-gnome-d46d2cdc6504b92f6c246d3ab08017c4c14b0c69.tar.zst
freebsd-ports-gnome-d46d2cdc6504b92f6c246d3ab08017c4c14b0c69.zip
Unbreak about a problem of patchfile which includes ``$Id'' lines.
Pointed out by: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
-rw-r--r--japanese/latex2html/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/japanese/latex2html/Makefile b/japanese/latex2html/Makefile
index 2dccbb24eadb..9585058d3d2f 100644
--- a/japanese/latex2html/Makefile
+++ b/japanese/latex2html/Makefile
@@ -3,7 +3,7 @@
# Date created: 3 Apr 1999
# Whom: Sugimoto Sadahiro <ixtl@utmc.or.jp>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1999/05/03 04:04:18 steve Exp $
#
# Default image format is GIF.
# If you prefer PNG to GIF, define USE_PNG (`make -DUSE_PNG`).
@@ -30,9 +30,16 @@ RUN_DEPENDS += ${X11BASE}/bin/pnmtopng:${PORTSDIR}/graphics/pnmtopng
WRKSRC= ${WRKDIR}/latex2html
USE_PERL5= yes
NO_BUILD= yes
+PATCHDIR= ${WRKDIR}/patches
L2HDIR= ${PREFIX}/share/jlatex2html
+pre-patch:
+ @${MKDIR} ${PATCHDIR}
+ @for p in ${MASTERDIR}/patches/patch-*; do \
+ ${SED} -e "s:@Id@:Id:" $$p > ${PATCHDIR}/$${p##*/}; \
+ done
+
post-patch:
@${PATCH} ${PATCH_ARGS} -o ${WRKDIR}/jlatex2html < ${WRKDIR}/jlatex2html.dif
@${PATCH} ${PATCH_ARGS} -o ${WRKDIR}/jlatex2html.config \