aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-08-25 21:14:45 +0800
committerkevlo <kevlo@FreeBSD.org>2000-08-25 21:14:45 +0800
commite8cc3d24cb5c4732774697d768c9cfe0defe2068 (patch)
tree53b3b9146b76dc646af3872de3507f2772cf4370 /emulators
parente11c28d3787c73e2783eeeb2d88d40fcdd3fcc2c (diff)
downloadfreebsd-ports-gnome-e8cc3d24cb5c4732774697d768c9cfe0defe2068.tar.gz
freebsd-ports-gnome-e8cc3d24cb5c4732774697d768c9cfe0defe2068.tar.zst
freebsd-ports-gnome-e8cc3d24cb5c4732774697d768c9cfe0defe2068.zip
- Fix MASTER_SITES
- Change location of data files from libdata/ to share/ PR: 20839 Submitted by: Ports Fury
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xgs/Makefile27
-rw-r--r--emulators/xgs/distinfo2
-rw-r--r--emulators/xgs/pkg-plist10
3 files changed, 22 insertions, 17 deletions
diff --git a/emulators/xgs/Makefile b/emulators/xgs/Makefile
index cf3180332576..2286962cc064 100644
--- a/emulators/xgs/Makefile
+++ b/emulators/xgs/Makefile
@@ -11,37 +11,42 @@ PORTNAME= xgs
PORTVERSION= 0.50
CATEGORIES= emulators
MASTER_SITES= http://www.inwards.com/xgs/ \
- ftp://ftp.apple.asimov.net/pub/apple_II/emulators/rom_images/
-DISTFILES= xgs050.tgz xgs.rom
+ http://www.inwards.com/xgs/2mg/
+DISTFILES= xgs050.tgz ROM01.ZIP
+EXTRACT_ONLY= xgs050.tgz
MAINTAINER= ports@FreeBSD.org
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
DIST_SUBDIR= xgs
-EXTRACT_ONLY= xgs050.tgz
RESTRICTED= "xgs.rom copyright is owned by Apple and cannot be distributed"
NO_PACKAGE= ${RESTRICTED}
# Source building
#
-WRKSRC= ${WRKDIR}/xgs
+WRKSRC= ${WRKDIR}/${PORTNAME}
USE_XLIB= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-x --datadir='${PREFIX}/libdata'
+CONFIGURE_ARGS= --with-x
# Directories etc...
#
+XGS_DIR= ${PREFIX}/share/xgs
XGS_DOC= ${PREFIX}/share/doc/xgs
-XGS_LIB= ${PREFIX}/libdata/xgs
-DOC_FILES= CHANGES.TXT COMPAT.TXT INSTALL.TXT TODO.TXT \
- IWM-DOC.TXT XGS-FAQ.TXT
+PORTDOCS= CHANGES.TXT COMPAT.TXT INSTALL.TXT IWM-DOC.TXT TODO.TXT \
+ XGS-FAQ.TXT
+
+post-extract:
+ unzip -L -qq ${_DISTDIR}/ROM01.ZIP -d ${WRKSRC}
post-install:
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/xgs.rom ${XGS_LIB}
- ${INSTALL_DATA} -m 666 /dev/null ${XGS_LIB}/xgs.ram
+ ${INSTALL_DATA} ${WRKSRC}/xgs.rom ${XGS_DIR}
+ ${INSTALL_DATA} -m 666 /dev/null ${XGS_DIR}/xgs.ram
.if !defined(NOPORTDOCS)
@${MKDIR} ${XGS_DOC}
-.for file in ${DOC_FILES}
+.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${file} ${XGS_DOC}
.endfor
${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${XGS_DOC}
diff --git a/emulators/xgs/distinfo b/emulators/xgs/distinfo
index 51c5876642c4..55b6d516552e 100644
--- a/emulators/xgs/distinfo
+++ b/emulators/xgs/distinfo
@@ -1,2 +1,2 @@
MD5 (xgs/xgs050.tgz) = a22f2974fd87253ba39c21a32451a4fb
-MD5 (xgs/xgs.rom) = 20a0334c447cb069a040ae5be1d938df
+MD5 (xgs/ROM01.ZIP) = 62a2309196e70e06fa895a9eee3750e9
diff --git a/emulators/xgs/pkg-plist b/emulators/xgs/pkg-plist
index 3c629285e341..b3bc55363100 100644
--- a/emulators/xgs/pkg-plist
+++ b/emulators/xgs/pkg-plist
@@ -1,10 +1,6 @@
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
@@ -12,5 +8,9 @@ share/doc/xgs/IWM-DOC.TXT
share/doc/xgs/README.FreeBSD
share/doc/xgs/TODO.TXT
share/doc/xgs/XGS-FAQ.TXT
+share/xgs/xgs.ram
+share/xgs/xgs.rom
+share/xgs/xgs40.fnt
+share/xgs/xgs80.fnt
+@dirrm share/xgs
@dirrm share/doc/xgs
-@dirrm libdata/xgs