Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2000 11:58:37 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/16039: Update port: emulators/xgs (fix ports/16036)
Message-ID:  <20000110195837.C599614A04@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         16039
>Category:       ports
>Synopsis:       Update port: emulators/xgs (fix ports/16036)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 10 12:00:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Add MAINTAINER line
- Add (probably missing) USE_XLIB line
- Move install path of utility data files from lib/ to libdata/
- Shorten pkg/DESCR and move original file to files/README.FreeBSD
- Sort pkg/PLIST

New file:
files/README.FreeBSD

Note:
This PR is unification of ports/15881 & ports/16036 (with some more 
fixes), thus previous PR should be superseded by this PR.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/emulators/xgs/Makefile emulators/xgs/Makefile
--- /usr/ports/emulators/xgs/Makefile	Sat Jan  8 08:15:03 2000
+++ emulators/xgs/Makefile	Tue Jan 11 04:45:51 2000
@@ -1,8 +1,7 @@
-# New ports collection makefile for:   xgs-0.50
+# New ports collection makefile for:	xgs
 # Version required:	0.50
 # Date created:		2nd May, 1997
 # Whom:			Joel Sutton <sutton@aardvark.apana.org.au>
-# FreeBSD Version:	2.1.5-RELEASE
 #
 # $FreeBSD: ports/emulators/xgs/Makefile,v 1.7 2000/01/07 18:18:25 fenner Exp $
 #
@@ -11,44 +10,44 @@
 # currently broken.
 
 # Distfile collection and extraction stuff
-#      
-DISTNAME=	xgs-0.50-src
-PKGNAME=	xgs-0.50
+#
+DISTNAME=	xgs-0.50
 CATEGORIES=	emulators
-MASTER_SITES=	ftp://ftp.optera.com/pub/xgs/ \
+MASTER_SITES=	http://www.inwards.com/xgs/ \
 		ftp://ftp.apple.asimov.net/pub/apple_II/emulators/rom_images/
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} xgs.rom
+DISTFILES=	xgs050.tgz xgs.rom
 
-BROKEN='fetch'
+MAINTAINER=	ports@FreeBSD.org
 
 DIST_SUBDIR=	xgs
-EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_ONLY=	xgs050.tgz
 RESTRICTED=	"xgs.rom copyright is owned by Apple and cannot be distributed"
 NO_PACKAGE=	${RESTRICTED}
 
 # Source building
 #
 WRKSRC=		${WRKDIR}/xgs
+USE_XLIB=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-x --datadir="${PREFIX}/lib"
+CONFIGURE_ARGS=	--with-x --datadir='${PREFIX}/libdata'
 
 # Directories etc...
 #
 XGS_DOC=	${PREFIX}/share/doc/xgs
-XGS_LIB=	${PREFIX}/lib/xgs
+XGS_LIB=	${PREFIX}/libdata/xgs
 DOC_FILES= 	CHANGES.TXT COMPAT.TXT INSTALL.TXT TODO.TXT \
 		IWM-DOC.TXT XGS-FAQ.TXT
 
 post-install:
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/xgs.rom ${XGS_LIB}
+	${INSTALL_DATA} -m 666 /dev/null ${XGS_LIB}/xgs.ram
 .if !defined(NOPORTDOCS)
-	-${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
+	@${MKDIR} ${XGS_DOC}
+.for file in ${DOC_FILES}
+	${INSTALL_DATA} ${WRKSRC}/docs/${file} ${XGS_DOC}
+.endfor
+	${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${XGS_DOC}
 .endif
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/xgs.rom ${XGS_LIB}/
-	${INSTALL_DATA} -m 666 /dev/null ${XGS_LIB}/xgs.ram
 
 .include <bsd.port.mk>
diff -urN /usr/ports/emulators/xgs/files/README.FreeBSD emulators/xgs/files/README.FreeBSD
--- /usr/ports/emulators/xgs/files/README.FreeBSD	Thu Jan  1 09:00:00 1970
+++ emulators/xgs/files/README.FreeBSD	Tue Jan 11 04:36:13 2000
@@ -0,0 +1,49 @@
+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 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:
+
+	ftp://ftp.apple.asimov.net/pub/apple_II/
+	http://www.inwards.com/xgs/
+	comp.emulators.apple2
+
+Share and enjoy,
+
+Joel...
+:->
+sutton@aardvark.apana.org.au
+
diff -urN /usr/ports/emulators/xgs/files/md5 emulators/xgs/files/md5
--- /usr/ports/emulators/xgs/files/md5	Tue Jun 10 05:21:36 1997
+++ emulators/xgs/files/md5	Tue Jan 11 04:33:27 2000
@@ -1,2 +1,2 @@
-MD5 (xgs/xgs-0.50-src.tar.gz) = a22f2974fd87253ba39c21a32451a4fb
+MD5 (xgs/xgs050.tgz) = a22f2974fd87253ba39c21a32451a4fb
 MD5 (xgs/xgs.rom) = 20a0334c447cb069a040ae5be1d938df
diff -urN /usr/ports/emulators/xgs/pkg/DESCR emulators/xgs/pkg/DESCR
--- /usr/ports/emulators/xgs/pkg/DESCR	Tue Jun 10 05:21:38 1997
+++ emulators/xgs/pkg/DESCR	Tue Jan 11 04:33:50 2000
@@ -1,6 +1,3 @@
-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.
@@ -12,38 +9,15 @@
 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:
-
-	ftp://ftp.apple.asimov.net/pub/apple_II/
-	http://www.optera.com/~invid/emulators/XGS/
-	comp.emulators.apple2
-
 Share and enjoy,
 
 Joel...
 :->
 sutton@aardvark.apana.org.au
 
+WWW: http://www.inwards.com/xgs/
diff -urN /usr/ports/emulators/xgs/pkg/PLIST emulators/xgs/pkg/PLIST
--- /usr/ports/emulators/xgs/pkg/PLIST	Tue Jun 10 05:21:38 1997
+++ emulators/xgs/pkg/PLIST	Mon Jan 10 09:00:00 2000
@@ -1,14 +1,16 @@
-bin/xgs
+bin/imgconv
 bin/imgutil
+bin/xgs
+libdata/xgs/xgs.ram
+libdata/xgs/xgs.rom
+libdata/xgs/xgs40.fnt
+libdata/xgs/xgs80.fnt
 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
-
+share/doc/xgs/TODO.TXT
+share/doc/xgs/XGS-FAQ.TXT
+@dirrm share/doc/xgs
+@dirrm libdata/xgs


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000110195837.C599614A04>