summaryrefslogtreecommitdiffstats
path: root/emulators/quasi88
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-01-02 03:54:59 +0000
committerijliao <ijliao@FreeBSD.org>2002-01-02 03:54:59 +0000
commite14aab3c1c36a15c1f30e7bdda043c0b3ab152b4 (patch)
treedfd08ae134d72f122b753ee6b6452468bcbf6693 /emulators/quasi88
parentf4b12aff781b0b9ec10645078d8aab84be1a8a06 (diff)
downloadFreeBSD-ports-e14aab3c1c36a15c1f30e7bdda043c0b3ab152b4.zip
FreeBSD-ports-e14aab3c1c36a15c1f30e7bdda043c0b3ab152b4.tar.gz
- PORTVERSION 0.4.3 => 0.4.4.
- Support XFree86 DGA extension switch by defining WITH_DGA. - Use ECHO_MSG in Makefile, instead of ECHO. (from bsd.port.mk) - Change default ROMDIR/DISKDIR in ${WRKSRC}/Makefile. (from hier) PR: 33458 Submitted by: maintainer
Diffstat (limited to 'emulators/quasi88')
-rw-r--r--emulators/quasi88/Makefile13
-rw-r--r--emulators/quasi88/distinfo2
-rw-r--r--emulators/quasi88/files/extra-patch-ab13
-rw-r--r--emulators/quasi88/files/patch-aa20
4 files changed, 44 insertions, 4 deletions
diff --git a/emulators/quasi88/Makefile b/emulators/quasi88/Makefile
index 86a5cc0..a648b06 100644
--- a/emulators/quasi88/Makefile
+++ b/emulators/quasi88/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= quasi88
-PORTVERSION= 0.4.3
+PORTVERSION= 0.4.4
CATEGORIES= emulators
MASTER_SITES= http://www.117.ne.jp/~show/pc8801/
EXTRACT_SUFX= .tgz
@@ -20,9 +20,16 @@ DATAFILES= FAQ FORMAT GET-IMAGE HISTORY MANUAL QUASI88 _quasi88rc
.if !defined(WITH_SOUND)
pre-everything::
- @ ${ECHO} "You can make quasi88 use sound by defining WITH_SOUND"
+ @ ${ECHO_MSG} "===> If you want to enable sound, use \"make WITH_SOUND=yes\"."
.else
-EXTRA_PATCHES= ${FILESDIR}/extra-patch-aa
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-aa
+.endif
+
+.if !defined(WITH_DGA)
+pre-everything::
+ @ ${ECHO_MSG} "===> If you want to enable sound, use \"make WITH_DGA=yes\"."
+.else
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ab
.endif
do-install:
diff --git a/emulators/quasi88/distinfo b/emulators/quasi88/distinfo
index 23b7658..3636c0c 100644
--- a/emulators/quasi88/distinfo
+++ b/emulators/quasi88/distinfo
@@ -1 +1 @@
-MD5 (quasi88-0.4.3.tgz) = 69c3e5c7662393bbd1915d2e89774f30
+MD5 (quasi88-0.4.4.tgz) = 5cdae5e2f600138e247161feee0b587d
diff --git a/emulators/quasi88/files/extra-patch-ab b/emulators/quasi88/files/extra-patch-ab
new file mode 100644
index 0000000..1ec981f
--- /dev/null
+++ b/emulators/quasi88/files/extra-patch-ab
@@ -0,0 +1,13 @@
+--- Makefile.orig Wed Dec 26 13:08:55 2001
++++ Makefile Wed Jan 2 08:52:58 2002
+@@ -82,8 +82,8 @@
+ # DGA の設定です。興味のある方はどうぞ・・・
+ # DGAを有効にするには、root権限が必要なので、ご注意下さい。
+
+-# MDGA = -DUSE_DGA
+-# DGA_LIB = -lXxf86dga
++MDGA = -DUSE_DGA
++DGA_LIB = -lXxf86dga
+
+
+
diff --git a/emulators/quasi88/files/patch-aa b/emulators/quasi88/files/patch-aa
new file mode 100644
index 0000000..101c7b7
--- /dev/null
+++ b/emulators/quasi88/files/patch-aa
@@ -0,0 +1,20 @@
+--- Makefile.orig Wed Dec 26 13:08:55 2001
++++ Makefile Wed Jan 2 09:06:21 2002
+@@ -16,7 +16,7 @@
+ # 通常は環境変数 $(QUASI88_ROM_DIR) で設定したディレクトリを検索
+ # しますが、その環境変数が設定されていない時は、ここを検索します。
+
+-ROMDIR = /local/quasi88/rom/
++ROMDIR = ${PREFIX}/share/quasi88/rom/
+
+
+ # DISK のありかを設定します
+@@ -26,7 +26,7 @@
+ # しますが、その環境変数が設定されていない時は、ここを検索します。
+ # ( なお、ここで見つからなければカレントディレクトリを検索します )
+
+-DISKDIR = /local/quasi88/disk/
++DISKDIR = ${PREFIX}/share/quasi88/disk/
+
+
+ # リトルエンディアンの場合の指定
OpenPOWER on IntegriCloud