blob: cf3180332576941a5f58242c2049884803075bd3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# New ports collection makefile for: xgs
# Date created: 2nd May, 1997
# Whom: Joel Sutton <sutton@aardvark.apana.org.au>
#
# $FreeBSD$
#
# This is the stable release of the xgs emulator. Sound support is
# currently broken.
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
MAINTAINER= ports@FreeBSD.org
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
USE_XLIB= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-x --datadir='${PREFIX}/libdata'
# Directories etc...
#
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
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}
${INSTALL_DATA} ${WRKSRC}/docs/${file} ${XGS_DOC}
.endfor
${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${XGS_DOC}
.endif
.include <bsd.port.mk>
|