openbsd-ports/emulators/frodo/Makefile

66 lines
1.6 KiB
Makefile
Raw Normal View History

2013-03-11 07:02:49 -04:00
# $OpenBSD: Makefile,v 1.25 2013/03/11 11:06:04 espie Exp $
COMMENT= Commodore 64 emulator
2000-07-07 10:29:51 -04:00
DISTNAME= FrodoV4_1b.Src
2010-10-23 18:01:29 -04:00
PKGNAME= frodo-4.1b
REVISION= 7
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
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
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
WISH= ${MODTK_BIN}
FRODOLIBDIR= ${PREFIX}/lib/frodo
2000-07-07 10:29:51 -04:00
CONFIGURE_ENV= CFLAGS='${CFLAGS} -D__unix -DX_USE_SHM -DUSE_SNDIO -fno-exceptions' \
LIBS='-lsndio'
2000-07-07 10:29:51 -04:00
MAKE_ENV=WISH=${WISH} FRODOLIBDIR=${FRODOLIBDIR}
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/
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_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>