blob: 29e457829fd4df92d9b73f0fa56c4219b40de1bc (
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: stella-1.1
# Version required: 1.1
# Date created: March 4, 1999
# Whom: Jacques Vidrine <nectar@FreeBSD.ORG>
#
# $Id: Makefile,v 1.4 1998/12/01 09:36:33 obrien Exp $
#
DISTNAME= stella-1.1-src
PKGNAME= stella-1.1
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.eos.ncsu.edu/pub/bsvc/stella/1.1/ \
http://www.nectar.com/distfiles/
MAINTAINER= nectar@FreeBSD.ORG
PORTTOP= ${WRKDIR}/${PKGNAME}
WRKSRC= ${PORTTOP}/src/build
MAKEFILE= makefile
ALL_TARGET= freebsd-x
ROMSDIR= ${PREFIX}/share/stella/roms
ROMS= ELK.BIN OKIEDOKE.BIN OYSTR29.BIN TEST.BIN TPS.BIN
DOCSDIR= ${PREFIX}/share/doc/stella
DOCS= docs/Stella.pdf games/docs/elk.doc games/docs/okiedoke.doc \
games/docs/oystron.doc games/docs/tps.doc
post-build:
@(cd ${PORTTOP}/src/ui/sound && \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${MAKE_ARGS} oss)
do-install:
.for exe in src/build/xstella src/ui/sound/stella-sound
${INSTALL_PROGRAM} ${PORTTOP}/${exe} ${PREFIX}/bin/
.endfor
${MKDIR} ${ROMSDIR}
.for rom in ${ROMS}
${INSTALL_DATA} ${PORTTOP}/games/ROMS/${rom} ${ROMSDIR}/
.endfor
${INSTALL_DATA} ${PORTTOP}/src/emucore/stella.pro \
${PREFIX}/share/stella/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for doc in ${DOCS}
${INSTALL_DATA} ${PORTTOP}/${doc} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>
|