diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2000-08-25 13:14:45 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2000-08-25 13:14:45 +0000 |
commit | 1ef3cec1d63dd47440d029314d87511066de9b0c (patch) | |
tree | 8d7cfe68628c639c12b46b91226ef10eae0509c6 /emulators | |
parent | a7c3e76c483a06f1f3ee46a96b00dff7d0540301 (diff) | |
download | ports-1ef3cec1d63dd47440d029314d87511066de9b0c.tar.gz ports-1ef3cec1d63dd47440d029314d87511066de9b0c.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/xgs/Makefile | 27 | ||||
-rw-r--r-- | emulators/xgs/distinfo | 2 | ||||
-rw-r--r-- | emulators/xgs/pkg-plist | 10 |
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 |