2013-03-11 07:02:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2013/03/11 11:06:04 espie Exp $
|
2001-05-05 20:34:40 -04:00
|
|
|
|
2007-09-15 20:45:13 -04:00
|
|
|
COMMENT= Commodore 64 emulator
|
2000-07-07 10:29:51 -04:00
|
|
|
|
2002-03-21 19:23:24 -05:00
|
|
|
DISTNAME= FrodoV4_1b.Src
|
2010-10-23 18:01:29 -04:00
|
|
|
PKGNAME= frodo-4.1b
|
2013-01-16 11:39:10 -05:00
|
|
|
REVISION= 7
|
2002-03-21 19:23:24 -05:00
|
|
|
DISTFILES= FrodoV4_1b.Src${EXTRACT_SUFX}
|
2000-07-07 10:29:51 -04:00
|
|
|
|
|
|
|
CATEGORIES= emulators games
|
|
|
|
|
2000-10-09 20:40:20 -04:00
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
2000-07-07 10:29:51 -04:00
|
|
|
|
2006-02-04 05:12:53 -05:00
|
|
|
HOMEPAGE= http://frodo.cebix.net/
|
2000-07-07 10:29:51 -04:00
|
|
|
|
|
|
|
# FreeWare
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2010-10-23 18:01:29 -04:00
|
|
|
|
|
|
|
WANTLIB= SDL c m pthread sndio stdc++
|
2000-07-07 10:29:51 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
|
2012-08-17 10:48:34 -04:00
|
|
|
MODULES= x11/tk
|
|
|
|
RUN_DEPENDS= ${MODTK_RUN_DEPENDS}
|
2010-11-15 18:22:07 -05:00
|
|
|
LIB_DEPENDS= sdl-*-!no_x11:devel/sdl
|
2000-07-07 10:29:51 -04:00
|
|
|
|
2013-01-16 11:39:10 -05:00
|
|
|
WISH= ${MODTK_BIN}
|
|
|
|
FRODOLIBDIR= ${PREFIX}/lib/frodo
|
2000-07-07 10:29:51 -04:00
|
|
|
|
2013-01-16 11:39:10 -05:00
|
|
|
CONFIGURE_ENV= CFLAGS='${CFLAGS} -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions' \
|
2010-06-30 18:25:57 -04:00
|
|
|
LIBS='-lsndio'
|
2000-07-07 10:29:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
MAKE_ENV=WISH=${WISH} FRODOLIBDIR=${FRODOLIBDIR}
|
|
|
|
|
2006-02-04 05:12:53 -05:00
|
|
|
MASTER_SITES= http://frodo.cebix.net/downloads/ \
|
2000-07-07 10:29:51 -04:00
|
|
|
ftp://sunsite.unc.edu/pub/micro/commodore/crossplatform/emulators/unix/
|
|
|
|
|
2002-03-21 19:23:24 -05:00
|
|
|
WRKDIST=${WRKDIR}/Frodo-4.1b
|
2000-07-07 10:29:51 -04:00
|
|
|
WRKSRC=${WRKDIST}/Src
|
|
|
|
|
2000-07-10 13:08:14 -04:00
|
|
|
post-patch:
|
2010-06-30 18:25:57 -04:00
|
|
|
cp ${FILESDIR}/SID_sndio.i ${WRKSRC}
|
2002-10-26 08:52:48 -04:00
|
|
|
|
2013-03-11 07:02:49 -04:00
|
|
|
NO_TEST= Yes
|
2002-10-26 08:52:48 -04:00
|
|
|
|
2000-07-07 10:29:51 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIST}/Frodo ${PREFIX}/bin/frodo
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIST}/FrodoSC ${PREFIX}/bin/frodoSC
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIST}/FrodoPC ${PREFIX}/bin/frodoPC
|
|
|
|
${INSTALL_DATA_DIR} ${FRODOLIBDIR}/64prgs
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/{1541,Basic,Char,Kernal}\ ROM \
|
|
|
|
${FRODOLIBDIR}
|
|
|
|
${INSTALL_DATA} "${WRKDIST}/Frodo Logo" ${FRODOLIBDIR}
|
|
|
|
${INSTALL_SCRIPT} "${WRKDIST}/TkGui.tcl" ${FRODOLIBDIR}
|
|
|
|
@cd ${WRKDIST}/64prgs; tar cf - . | \
|
|
|
|
(cd ${FRODOLIBDIR}/64prgs; tar xf -)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/frodo
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/CHANGES ${PREFIX}/share/doc/frodo
|
|
|
|
cd ${WRKDIST}/Docs; tar cf - . | \
|
|
|
|
(cd ${PREFIX}/share/doc/frodo; tar xf -)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|