1999-03-04 23:24:29 +00:00
|
|
|
# New ports collection makefile for: stella-1.1
|
|
|
|
# Version required: 1.1
|
|
|
|
# Date created: March 4, 1999
|
|
|
|
# Whom: Jacques Vidrine <nectar@FreeBSD.ORG>
|
1997-07-31 07:19:46 +00:00
|
|
|
#
|
1999-04-07 15:52:58 +00:00
|
|
|
# $Id: Makefile,v 1.5 1999/03/04 23:24:27 nectar Exp $
|
1997-07-31 07:19:46 +00:00
|
|
|
#
|
|
|
|
|
1999-03-04 23:24:29 +00:00
|
|
|
DISTNAME= stella-1.1-src
|
|
|
|
PKGNAME= stella-1.1
|
1997-07-31 07:19:46 +00:00
|
|
|
CATEGORIES= emulators
|
1999-03-04 23:24:29 +00:00
|
|
|
MASTER_SITES= ftp://ftp.eos.ncsu.edu/pub/bsvc/stella/1.1/ \
|
|
|
|
http://www.nectar.com/distfiles/
|
1997-07-31 07:19:46 +00:00
|
|
|
|
1999-03-04 23:24:29 +00:00
|
|
|
MAINTAINER= nectar@FreeBSD.ORG
|
1997-07-31 07:19:46 +00:00
|
|
|
|
1999-04-07 15:52:58 +00:00
|
|
|
USE_XLIB= yes
|
|
|
|
|
1999-03-04 23:24:29 +00:00
|
|
|
PORTTOP= ${WRKDIR}/${PKGNAME}
|
|
|
|
WRKSRC= ${PORTTOP}/src/build
|
1997-07-31 07:19:46 +00:00
|
|
|
MAKEFILE= makefile
|
1999-03-04 23:24:29 +00:00
|
|
|
ALL_TARGET= freebsd-x
|
1997-07-31 07:19:46 +00:00
|
|
|
|
1999-03-04 23:24:29 +00:00
|
|
|
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
|
1997-07-31 07:19:46 +00:00
|
|
|
|
1999-03-04 23:24:29 +00:00
|
|
|
post-build:
|
|
|
|
@(cd ${PORTTOP}/src/ui/sound && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
|
|
|
|
${MAKE_ARGS} oss)
|
1997-07-31 07:19:46 +00:00
|
|
|
|
|
|
|
do-install:
|
1999-03-04 23:24:29 +00:00
|
|
|
.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/
|
1997-07-31 07:19:46 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-03-04 23:24:29 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for doc in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${PORTTOP}/${doc} ${DOCSDIR}/
|
|
|
|
.endfor
|
1997-07-31 07:19:46 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|