aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/eijiro-fpw
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-06-13 10:12:19 +0800
committerlawrance <lawrance@FreeBSD.org>2005-06-13 10:12:19 +0800
commit1e746aec6b6f6d187151a457efdcb31ff894d67c (patch)
tree31d21bb986b2429cad1e1a4b5017865cc712b1f9 /japanese/eijiro-fpw
parent1d163e7980d1d97159171fa22416930619a16c53 (diff)
downloadfreebsd-ports-graphics-1e746aec6b6f6d187151a457efdcb31ff894d67c.tar.gz
freebsd-ports-graphics-1e746aec6b6f6d187151a457efdcb31ff894d67c.tar.zst
freebsd-ports-graphics-1e746aec6b6f6d187151a457efdcb31ff894d67c.zip
Fix passing of SRCFILE and PORT_SRCFILE knobs to gmake.
Also fix FPWPARSERFLAGS, which seemed to be broken wrt charset. PR: ports/79711 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Diffstat (limited to 'japanese/eijiro-fpw')
-rw-r--r--japanese/eijiro-fpw/Makefile2
-rw-r--r--japanese/eijiro-fpw/files/patch-aa21
2 files changed, 11 insertions, 12 deletions
diff --git a/japanese/eijiro-fpw/Makefile b/japanese/eijiro-fpw/Makefile
index e320bad8d1d..fb35842a3f4 100644
--- a/japanese/eijiro-fpw/Makefile
+++ b/japanese/eijiro-fpw/Makefile
@@ -39,7 +39,7 @@ DICT_PATH:= ${WRKDIR}
CDROM_PATH= ${NONEXISTENT}
.endif
-MAKE_ARGS:= PORT_SRCFILE=${DICT_PATH}/${SRCFILE}
+MAKE_ARGS:= SRCFILE=${DICT_PATH}/${SRCFILE}
post-extract:
@if [ -f ${CDROM_PATH}/eijiro-original/*.exe ]; then \
diff --git a/japanese/eijiro-fpw/files/patch-aa b/japanese/eijiro-fpw/files/patch-aa
index ff9830eae0d..948fccc9b6c 100644
--- a/japanese/eijiro-fpw/files/patch-aa
+++ b/japanese/eijiro-fpw/files/patch-aa
@@ -1,12 +1,11 @@
---- ../orig/eijiro-fpw1.0b/Makefile Sun Oct 8 23:40:55 2000
-+++ Makefile Thu Dec 21 12:03:11 2000
-@@ -17,7 +17,8 @@
- #
- EIJIROVER = 37
- SRCDIR = .
--SRCFILE := $(wildcard ${SRCDIR}/EIJI${EIJIROVER}??.TXT)
-+#SRCFILE := $(wildcard ${SRCDIR}/EIJI${EIJIROVER}??.TXT)
-+SRCFILE=${PORT_SRCFILE}
- #SRCFILE = test.txt
+--- Makefile.orig Sun Oct 8 14:40:55 2000
++++ Makefile Mon Jun 13 11:55:22 2005
+@@ -47,7 +47,7 @@
+ DIR = eijiro
- #
+ FPWPARSER = eijiro-fpw.pl
+-FPWPARSERFLAGS = -- --charset=${CHARSET} ${SRCFILE}
++FPWPARSERFLAGS = -c "${CHARSET}" "${SRCFILE}"
+
+ # fpwutils.mk must be located in one of the make include directories or
+ # you should user -I option.