aboutsummaryrefslogtreecommitdiff
path: root/japanese/latex2html/Makefile
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>1999-07-05 16:32:44 +0000
committerSADA Kenji <sada@FreeBSD.org>1999-07-05 16:32:44 +0000
commita872404403ce88119f6e8900c3bbd0f0e89ca6fd (patch)
tree05698440912988e8f00ff4dd593f0c138029c728 /japanese/latex2html/Makefile
parente7be8c8bed658b242ab44d2e4bfd4d1313bc68b2 (diff)
downloadports-a872404403ce88119f6e8900c3bbd0f0e89ca6fd.tar.gz
ports-a872404403ce88119f6e8900c3bbd0f0e89ca6fd.zip
Notes
Diffstat (limited to 'japanese/latex2html/Makefile')
-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 \