openbsd-ports/emulators/frodo/Makefile

66 lines
1.6 KiB
Makefile
Raw Normal View History

2008-06-12 16:36:34 -04:00
# $OpenBSD: Makefile,v 1.18 2008/06/12 20:36:34 sthen Exp $
COMMENT= Commodore 64 emulator
2000-07-07 10:29:51 -04:00
DISTNAME= FrodoV4_1b.Src
2008-06-12 16:36:34 -04:00
PKGNAME= frodo-4.1bp4
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_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
2008-06-12 16:36:34 -04:00
WANTLIB= c m pthread stdc++
2000-07-07 10:29:51 -04:00
CONFIGURE_STYLE= gnu
USE_X11= Yes
2003-12-27 18:34:42 -05:00
RUN_DEPENDS= ::x11/tk/8.4
LIB_DEPENDS= SDL:sdl-*-!no_x11:devel/sdl
2000-07-07 10:29:51 -04:00
2003-12-27 18:34:42 -05:00
WISH=wish8.4
2000-07-07 10:29:51 -04:00
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://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_openbsd.i ${WRKSRC}
2002-10-26 08:52:48 -04:00
NO_REGRESS= Yes
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>