summaryrefslogtreecommitdiff
path: root/emulators/xm7
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-01-24 12:16:14 +0000
committerwiz <wiz@pkgsrc.org>2002-01-24 12:16:14 +0000
commita3dee6c40d0892dc405120b1a804293e44816e13 (patch)
tree5acec350cadc62ead9916efba754be136aca77fa /emulators/xm7
parent82a5690679de2c3225290c1357421cbe651fc474 (diff)
downloadpkgsrc-a3dee6c40d0892dc405120b1a804293e44816e13.tar.gz
Fix extraction (newer lha seems to support different commands), and
make it compile again.
Diffstat (limited to 'emulators/xm7')
-rw-r--r--emulators/xm7/Makefile10
-rw-r--r--emulators/xm7/distinfo6
-rw-r--r--emulators/xm7/patches/patch-aa6
-rw-r--r--emulators/xm7/patches/patch-ab16
4 files changed, 17 insertions, 21 deletions
diff --git a/emulators/xm7/Makefile b/emulators/xm7/Makefile
index fc8363941b7..e35ca897ad8 100644
--- a/emulators/xm7/Makefile
+++ b/emulators/xm7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/12/30 21:44:25 agc Exp $
+# $NetBSD: Makefile,v 1.6 2002/01/24 12:16:14 wiz Exp $
#
DISTNAME= xm71010s
@@ -19,9 +19,8 @@ RESTRICTED+= no-commercial-use
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
-LHA= lha
-# convert CRLF to LF and sjis encoding to EUC-JP in text files.
-EXTRACT_CMD= ${LHA} xqte ${DOWNLOADED_DISTFILE}
+# convert CRLF to LF
+EXTRACT_CMD= lha xqt ${DOWNLOADED_DISTFILE}
NO_CONFIGURE= yes
MAKEFILE= makefile.x11
@@ -29,9 +28,6 @@ MAKEFILE= makefile.x11
post-extract:
@cd ${WRKDIR}; ${MV} linux/* vm
-pre-build:
- cd ${WRKSRC}; ${MV} cpu.c cpu.c-msdos && ${SED} -e 's|.$$||g' cpu.c-msdos > cpu.c
-
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/vm/xm7 ${PREFIX}/bin
diff --git a/emulators/xm7/distinfo b/emulators/xm7/distinfo
index 815ae4ec8e1..14376c154db 100644
--- a/emulators/xm7/distinfo
+++ b/emulators/xm7/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2002/01/02 09:28:02 hubertf Exp $
+$NetBSD: distinfo,v 1.5 2002/01/24 12:16:14 wiz Exp $
SHA1 (xm71010s.lzh) = 1afad6f530e05545505582d47bb0aa92965e6f71
Size (xm71010s.lzh) = 273065 bytes
-SHA1 (patch-aa) = 99c4a1714d5e8a6ea684d47a2163d6cf1d6e0968
-SHA1 (patch-ab) = 412dfa3bd2ff9227a58c7bb183ca683d66e27435
+SHA1 (patch-aa) = 599288e3e3d1598b1f3371f1bfc3705a61a39e39
+SHA1 (patch-ab) = 09529a433f5ae6ebf2dedee1d4c29bee27819f75
SHA1 (patch-ac) = f35662d6c8b794b5a1c052cebd53a9b96ad32c37
SHA1 (patch-ad) = dfeb6e5f824b99f5464c719e8a658a7c501ff8fc
diff --git a/emulators/xm7/patches/patch-aa b/emulators/xm7/patches/patch-aa
index 8947afc8d3f..b0418355622 100644
--- a/emulators/xm7/patches/patch-aa
+++ b/emulators/xm7/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.3 2002/01/02 09:28:02 hubertf Exp $
+$NetBSD: patch-aa,v 1.4 2002/01/24 12:16:15 wiz Exp $
---- Makefile.X11.orig Thu Mar 23 01:01:00 2000
-+++ Makefile.X11 Sat Aug 12 12:54:54 2000
+--- makefile.x11.orig Thu Mar 23 01:01:00 2000
++++ makefile.x11 Sat Aug 12 12:54:54 2000
@@ -6,21 +6,29 @@
COMMONSRC = \
diff --git a/emulators/xm7/patches/patch-ab b/emulators/xm7/patches/patch-ab
index 2c2aa45b39c..b83b86e557a 100644
--- a/emulators/xm7/patches/patch-ab
+++ b/emulators/xm7/patches/patch-ab
@@ -1,12 +1,12 @@
-$NetBSD: patch-ab,v 1.2 2001/12/30 21:44:26 agc Exp $
+$NetBSD: patch-ab,v 1.3 2002/01/24 12:16:15 wiz Exp $
--- convert.sh.orig Wed Mar 22 16:01:00 2000
+++ convert.sh Sun Dec 30 21:34:03 2001
@@ -7,3 +7,7 @@
- rm t t.lzh
- done
-
-+for X in *.cpp;do
-+nkf -e < $X > t
-+mv t $X
-+done
+ rm t t.lzh
+ done
+
++for X in *.cpp;do
++nkf -e < $X > t
++mv t $X
++done