2000-01-22 13:03:16 +00:00
|
|
|
# New ports collection makefile for: xgs
|
1997-06-09 20:21:38 +00:00
|
|
|
# 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.
|
|
|
|
|
2000-04-12 04:56:17 +00:00
|
|
|
PORTNAME= xgs
|
|
|
|
PORTVERSION= 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/ \
|
2000-08-25 13:14:45 +00:00
|
|
|
http://www.inwards.com/xgs/2mg/
|
|
|
|
DISTFILES= xgs050.tgz ROM01.ZIP
|
|
|
|
EXTRACT_ONLY= xgs050.tgz
|
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
|
|
|
|
2000-08-25 13:14:45 +00:00
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
|
1997-06-09 20:21:38 +00:00
|
|
|
DIST_SUBDIR= xgs
|
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
|
|
|
|
#
|
2000-08-25 13:14:45 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
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-08-25 13:14:45 +00:00
|
|
|
CONFIGURE_ARGS= --with-x
|
1997-02-24 13:50:07 +00:00
|
|
|
|
1997-06-09 20:21:38 +00:00
|
|
|
# Directories etc...
|
|
|
|
#
|
2000-08-25 13:14:45 +00:00
|
|
|
XGS_DIR= ${PREFIX}/share/xgs
|
1997-06-09 20:21:38 +00:00
|
|
|
XGS_DOC= ${PREFIX}/share/doc/xgs
|
2000-08-25 13:14:45 +00:00
|
|
|
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}
|
1997-02-24 13:50:07 +00:00
|
|
|
|
|
|
|
post-install:
|
2000-08-25 13:14:45 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/xgs.rom ${XGS_DIR}
|
|
|
|
${INSTALL_DATA} -m 666 /dev/null ${XGS_DIR}/xgs.ram
|
1997-02-24 13:50:07 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-01-22 13:03:16 +00:00
|
|
|
@${MKDIR} ${XGS_DOC}
|
2000-08-25 13:14:45 +00:00
|
|
|
.for file in ${PORTDOCS}
|
2000-01-22 13:03:16 +00:00
|
|
|
${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>
|