Bug 3467 - Update of port xgs
Summary: Update of port xgs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1997-05-02 04:20 UTC by sutton
Modified: 1997-06-09 21:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sutton 1997-05-02 04:20:01 UTC
Here is a diff to update the xgs port to version 0.50. Version 0.40
source is no longer available so the un-patched port will probably be
broken.

My email address has changed also and I've included that change in the
diff.

Fix: Steps:

1) remove patches directory. Patch files are not currently necessary
for this release.
2) apply diff

[snip]


If there are any problems, or errors, please email me. Thanks, Joel...--ob23ukvLvZSEgJ2wpywG13pIeE27ijaSM8WkA7dmW7JA9J01
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ru xgs-old/Makefile xgs/Makefile
--- xgs-old/Makefile	Tue Feb 25 22:14:14 1997
+++ xgs/Makefile	Fri May  2 12:19:22 1997
@@ -1,40 +1,55 @@
-# New ports collection makefile for:   xgs-0.40
-# Version required:	0.40
-# Date created:		17th January 1996
-# Whom:			Joel Sutton <suttonj@interconnect.com.au>
+# New ports collection makefile for:   xgs-0.50
+# Version required:	0.50
+# Date created:		2nd May, 1997
+# Whom:			Joel Sutton <sutton@aardvark.apana.org.au>
+# FreeBSD Version:	2.1.5-RELEASE
 #
-# $Id: Makefile,v 1.2 1997/02/25 07:58:32 asami Exp $
+# $Id$
 #
-      
-DISTNAME=	xgs-0.40
+
+# This is the stable release of the xgs emulator. Sound support is
+# currently broken.
+
+# Distfile collection and extraction stuff
+#      
+DISTNAME=	xgs-0.50-src
+PKGNAME=	xgs-0.50
+EXTRACT_SUFX=	.tar.gz
 CATEGORIES=	emulators
-MASTER_SITES=	http://www.optera.com/~invid/emulators/XGS/ \
+MASTER_SITES=	ftp://ftp.optera.com/pub/xgs/ \
 		ftp://ftp.apple.asimov.net/pub/apple_II/emulators/rom_images/
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${ROMFILE}
 
-MAINTAINER=	suttonj@interconnect.com.au
+MAINTAINER=	sutton@aardvark.apana.org.au
 
+DIST_SUBDIR=	xgs
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DIST_SUBDIR}/xgs.rom
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
-NO_PACKAGE=	${RESTRICTED}
 RESTRICTED=	"xgs.rom copyright is owned by Apple and cannot be distributed"
+NO_PACKAGE=	${RESTRICTED}
+
+# Source building
+#
 WRKSRC=		${WRKDIR}/xgs
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-oss-sound
+CONFIGURE_ARGS=	--with-x --datadir="${PREFIX}/lib"
 
-#INSTALL_DATA?=	install -c -o bin -g bin
-ROMFILE=	xgs.rom
-XGS=		/share/xgs
-      
-post-patch:
-	cp ${DISTDIR}/${ROMFILE} ${WRKSRC}
+# Directories etc...
+#
+XGS_DOC=	${PREFIX}/share/doc/xgs
+XGS_LIB=	${PREFIX}/lib/xgs
+DOC_FILES= 	CHANGES.TXT COMPAT.TXT INSTALL.TXT TODO.TXT \
+		IWM-DOC.TXT XGS-FAQ.TXT
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${INSTALL_DATA} -m 644 ${WRKSRC}/CHANGES ${WRKSRC}/COMPATIBILITY \
-		${WRKSRC}/README ${WRKSRC}/TO-DO ${PREFIX}${XGS}/
-	${INSTALL_DATA} -m 644 ${PKGDIR}/DESCR ${PREFIX}${XGS}/README.FreeBSD
+	-${MKDIR} ${XGS_DOC}
+	for file in ${DOC_FILES} ; do \
+		${INSTALL_DATA} ${WRKSRC}/docs/$$file ${XGS_DOC}/ ;\
+	done
+	${INSTALL_DATA} ${PKGDIR}/DESCR ${XGS_DOC}/README.FreeBSD
 .endif
-	${INSTALL_DATA} -m 666 /dev/null ${PREFIX}${XGS}/xgs.ram
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/xgs.rom ${XGS_LIB}/
+	${INSTALL_DATA} -m 666 /dev/null ${XGS_LIB}/xgs.ram
 
 .include <bsd.port.mk>
diff -ru xgs-old/files/md5 xgs/files/md5
--- xgs-old/files/md5	Tue Feb 25 00:50:07 1997
+++ xgs/files/md5	Fri May  2 12:05:45 1997
@@ -1,2 +1,2 @@
-MD5 (xgs-0.40.tar.gz) = fdd04ddfe2f188c301be7fd11be61ae8
-MD5 (xgs.rom) = 20a0334c447cb069a040ae5be1d938df
+MD5 (xgs/xgs-0.50-src.tar.gz) = a22f2974fd87253ba39c21a32451a4fb
+MD5 (xgs/xgs.rom) = 20a0334c447cb069a040ae5be1d938df
Only in xgs-old: patches
diff -ru xgs-old/pkg/COMMENT xgs/pkg/COMMENT
--- xgs-old/pkg/COMMENT	Tue Feb 25 00:50:07 1997
+++ xgs/pkg/COMMENT	Fri May  2 12:12:09 1997
@@ -1,2 +1,2 @@
-An Apple IIGS emulator.
+Apple IIGS emulator stable release 0.50
 
diff -ru xgs-old/pkg/DESCR xgs/pkg/DESCR
--- xgs-old/pkg/DESCR	Tue Feb 25 00:50:07 1997
+++ xgs/pkg/DESCR	Fri May  2 13:04:31 1997
@@ -1,26 +1,43 @@
-This emulator does a good job of emulating an Apple IIGS. Various IIGS
-hardware devices are also emulated (see README file) but this version
-is still an alpha so you might find a few things missing.
+General Notes
+=============
+
+This emulator does a great job of emulating an Apple IIGS. Various
+IIGS hardware devices are also emulated but this version is still an
+alpha quality release so you might find a few things missing.
 
 XGS requires a copy of the IIGS ROM to boot up and this port should
 attempt to FTP a copy of it from the Asimov archives (if it is still
 available). If you have to obtain a copy of it manually then all you
-should need to do is drop it in the distfiles directory to allow the
-port to build. The md5 checksum file is specifically for the version 1
-ROM so you may have to alter it should you decide to use a version 3
-ROM. Also, this ROM cannot be distributed due to copyright reasons.
-
-Please check out the README file in either the working directory or
-/usr/local/share/xgs/ (or equivalent on your system). As this package
-has no man pages you will need to pick up the basics from there. All
-author credits can be found in these files also.
-
-When loading disk images be sure to use the full path of the
-file you're loading.  
+should need to do is drop it in the xgs subdirectory of the distfiles
+directory to allow the port to build. This ROM cannot be distributed
+due to copyright reasons.
+
+Version Specific Notes
+======================
+
+Disk emulation has improved considerably. Many images available on the
+net will now load. 
+
+A new disk image format has been adopted and further support for other
+image types have been added. Also most of the utilities have been
+consolidated into one program. Be sure to check the docs on this one. 
+
+Sound emulation is currently broken and I'm looking for help in this
+area as I lack experience with sound programming. If you are able to
+assist, or even better, have some patches you can send me please
+contact me on the email address below.
+
+Finally
+=======
+
+Please check out the files in /usr/local/share/doc/xgs (or equivalent
+on your system). As this package has no man pages you will need to
+pick up the basics from there. All author credits can be found in
+these files also.
 
 Check out the following for all sorts of Apple II goodies:
 
-	http://www.asimov.net/
+	ftp://ftp.apple.asimov.net/pub/apple_II/
 	http://www.optera.com/~invid/emulators/XGS/
 	comp.emulators.apple2
 
@@ -28,4 +45,5 @@
 
 Joel...
 :->
-suttonj@interconnect.com.au
+sutton@aardvark.apana.org.au
+
Only in xgs/pkg: DESCR~
diff -ru xgs-old/pkg/PLIST xgs/pkg/PLIST
--- xgs-old/pkg/PLIST	Tue Feb 25 00:50:07 1997
+++ xgs/pkg/PLIST	Fri May  2 12:23:50 1997
@@ -1,21 +1,14 @@
 bin/xgs
-bin/build40 
-bin/build80 
-bin/dc2img 
-bin/dsk2img 
-bin/imginfo 
-bin/lockimg 
-bin/newimg 
-bin/raw2img 
-bin/show40 
-bin/show80 
-bin/unlockimg
-share/xgs/xgs40.fnt
-share/xgs/xgs80.fnt
-share/xgs/xgs.rom
-share/xgs/xgs.ram
-share/xgs/CHANGES 
-share/xgs/COMPATIBILITY 
-share/xgs/README 
-share/xgs/TO-DO
-share/xgs/README.FreeBSD
+bin/imgutil
+share/doc/xgs/CHANGES.TXT 
+share/doc/xgs/COMPAT.TXT 
+share/doc/xgs/INSTALL.TXT 
+share/doc/xgs/TODO.TXT
+share/doc/xgs/IWM-DOC.TXT
+share/doc/xgs/XGS-FAQ.TXT
+share/doc/xgs/README.FreeBSD
+lib/xgs/xgs40.fnt
+lib/xgs/xgs80.fnt
+lib/xgs/xgs.rom
+lib/xgs/xgs.ram
+
[snip]
Comment 1 chuckr freebsd_committer freebsd_triage 1997-06-09 21:22:01 UTC
State Changed
From-To: open->closed

Patch committed, with small modifications.