2000-01-22 13:03:16 +00:00
|
|
|
# New ports collection makefile for: xgs
|
1997-06-09 20:21:38 +00:00
|
|
|
# Version required: 0.50
|
|
|
|
# Date created: 2nd May, 1997
|
|
|
|
# Whom: Joel Sutton <sutton@aardvark.apana.org.au>
|
1997-02-24 13:50:07 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1997-02-24 13:50:07 +00:00
|
|
|
#
|
1997-06-09 20:21:38 +00:00
|
|
|
|
|
|
|
# This is the stable release of the xgs emulator. Sound support is
|
|
|
|
# currently broken.
|
|
|
|
|
|
|
|
# Distfile collection and extraction stuff
|
2000-01-22 13:03:16 +00:00
|
|
|
#
|
|
|
|
DISTNAME= xgs-0.50
|
1997-02-24 13:50:07 +00:00
|
|
|
CATEGORIES= emulators
|
2000-01-22 13:03:16 +00:00
|
|
|
MASTER_SITES= http://www.inwards.com/xgs/ \
|
1997-02-24 13:50:07 +00:00
|
|
|
ftp://ftp.apple.asimov.net/pub/apple_II/emulators/rom_images/
|
2000-01-22 13:03:16 +00:00
|
|
|
DISTFILES= xgs050.tgz xgs.rom
|
1997-02-24 13:50:07 +00:00
|
|
|
|
2000-01-22 13:03:16 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-12-01 09:36:34 +00:00
|
|
|
|
1997-06-09 20:21:38 +00:00
|
|
|
DIST_SUBDIR= xgs
|
2000-01-22 13:03:16 +00:00
|
|
|
EXTRACT_ONLY= xgs050.tgz
|
1997-02-25 07:58:32 +00:00
|
|
|
RESTRICTED= "xgs.rom copyright is owned by Apple and cannot be distributed"
|
1997-06-09 20:21:38 +00:00
|
|
|
NO_PACKAGE= ${RESTRICTED}
|
|
|
|
|
|
|
|
# Source building
|
|
|
|
#
|
1997-02-24 13:50:07 +00:00
|
|
|
WRKSRC= ${WRKDIR}/xgs
|
2000-01-22 13:03:16 +00:00
|
|
|
USE_XLIB= yes
|
1997-02-24 13:50:07 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2000-01-22 13:03:16 +00:00
|
|
|
CONFIGURE_ARGS= --with-x --datadir='${PREFIX}/libdata'
|
1997-02-24 13:50:07 +00:00
|
|
|
|
1997-06-09 20:21:38 +00:00
|
|
|
# Directories etc...
|
|
|
|
#
|
|
|
|
XGS_DOC= ${PREFIX}/share/doc/xgs
|
2000-01-22 13:03:16 +00:00
|
|
|
XGS_LIB= ${PREFIX}/libdata/xgs
|
1997-06-09 20:21:38 +00:00
|
|
|
DOC_FILES= CHANGES.TXT COMPAT.TXT INSTALL.TXT TODO.TXT \
|
|
|
|
IWM-DOC.TXT XGS-FAQ.TXT
|
1997-02-24 13:50:07 +00:00
|
|
|
|
|
|
|
post-install:
|
2000-01-22 13:03:16 +00:00
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/xgs.rom ${XGS_LIB}
|
|
|
|
${INSTALL_DATA} -m 666 /dev/null ${XGS_LIB}/xgs.ram
|
1997-02-24 13:50:07 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-01-22 13:03:16 +00:00
|
|
|
@${MKDIR} ${XGS_DOC}
|
|
|
|
.for file in ${DOC_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${file} ${XGS_DOC}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${XGS_DOC}
|
1997-02-24 13:50:07 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|