aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/xgs/Makefile
blob: 1515150e9638a78742e35d300a0f09b9ffb98a45 (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
# New ports collection makefile for:   xgs-0.40
# Version required: 0.40
# Date created:     17th January 1996
# Whom:         Joel Sutton <suttonj@interconnect.com.au>
#
# $Id: Makefile,v 1.1.1.1 1997/02/24 13:50:06 tg Exp $
#
      
DISTNAME=   xgs-0.40
CATEGORIES= emulators
MASTER_SITES=   http://www.optera.com/~invid/emulators/XGS/ \
        ftp://ftp.apple.asimov.net/pub/apple_II/emulators/rom_images/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} ${ROMFILE}

MAINTAINER= suttonj@interconnect.com.au

EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}
NO_PACKAGE= ${RESTRICTED}
RESTRICTED= "xgs.rom copyright is owned by Apple and cannot be distributed"
WRKSRC=     ${WRKDIR}/xgs
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-oss-sound

#INSTALL_DATA?= install -c -o bin -g bin
ROMFILE=    xgs.rom
XGS=        /share/xgs
      
post-patch:
    cp ${DISTDIR}/${ROMFILE} ${WRKSRC}

post-install:
.if !defined(NOPORTDOCS)
    ${INSTALL_DATA} -m 644 ${WRKSRC}/CHANGES ${WRKSRC}/COMPATIBILITY \
        ${WRKSRC}/README ${WRKSRC}/TO-DO ${PREFIX}${XGS}/
    ${INSTALL_DATA} -m 644 ${PKGDIR}/DESCR ${PREFIX}${XGS}/README.FreeBSD
.endif
    ${INSTALL_DATA} -m 666 /dev/null ${PREFIX}${XGS}/xgs.ram

.include <bsd.port.mk>