diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-02 03:54:59 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-02 03:54:59 +0000 |
commit | 27d4bf81121a3da5af90914796392ee0170915c1 (patch) | |
tree | 7ab44e8cc0845b124714b7c22709e07af00fc573 /emulators/quasi88 | |
parent | Fix a newly found security flaw. (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=52481
Diffstat (limited to 'emulators/quasi88')
-rw-r--r-- | emulators/quasi88/Makefile | 13 | ||||
-rw-r--r-- | emulators/quasi88/distinfo | 2 | ||||
-rw-r--r-- | emulators/quasi88/files/extra-patch-ab | 13 | ||||
-rw-r--r-- | emulators/quasi88/files/patch-aa | 20 |
4 files changed, 44 insertions, 4 deletions
diff --git a/emulators/quasi88/Makefile b/emulators/quasi88/Makefile index 86a5cc03002c..a648b06abfc0 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 23b7658d0d83..3636c0c7f0c7 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 000000000000..1ec981f9c6f4 --- /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 000000000000..101c7b7076ce --- /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/ + + + # リトルエンディアンの場合の指定 |