2002-03-21 19:23:24 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2002/03/22 00:23:24 espie Exp $
|
2001-05-05 20:34:40 -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
|
|
|
|
PKGNAME= frodo-4.1bp1
|
|
|
|
DISTFILES= FrodoV4_1b.Src${EXTRACT_SUFX}
|
2000-07-07 10:29:51 -04:00
|
|
|
|
|
|
|
CATEGORIES= emulators games
|
2001-11-13 17:13:22 -05:00
|
|
|
NEED_VERSION= 1.496
|
2000-07-07 10:29:51 -04:00
|
|
|
|
2000-10-09 20:40:20 -04:00
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
2000-07-07 10:29:51 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.uni-mainz.de/~bauec002/FRMain.html
|
|
|
|
|
|
|
|
# FreeWare
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
USE_X11= Yes
|
|
|
|
|
2001-11-13 17:13:22 -05:00
|
|
|
RUN_DEPENDS= ::x11/tk/8.3
|
2002-03-21 19:23:24 -05:00
|
|
|
LIB_DEPENDS= SDL:sdl-*-!no_x11:devel/sdl
|
2000-07-07 10:29:51 -04:00
|
|
|
|
|
|
|
WISH=wish8.3
|
|
|
|
FRODOLIBDIR=${PREFIX}/lib/frodo
|
|
|
|
|
|
|
|
CONFIGURE_ENV= CFLAGS='${CFLAGS} -O3 -D__unix -DX_USE_SHM -fno-exceptions'
|
|
|
|
|
|
|
|
|
|
|
|
MAKE_ENV=WISH=${WISH} FRODOLIBDIR=${FRODOLIBDIR}
|
|
|
|
|
|
|
|
MASTER_SITES= http://iphcip1.physik.uni-mainz.de/~cbauer/ \
|
|
|
|
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:
|
|
|
|
cp ${FILESDIR}/SID_openbsd.i ${WRKSRC}
|
|
|
|
|
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>
|