1998-02-21 21:24:41 +00:00
|
|
|
# New ports collection makefile for: frodo
|
|
|
|
# Date created: 11 Dez 1997
|
|
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1999-11-28 18:32:45 +00:00
|
|
|
#
|
1998-02-21 21:24:41 +00:00
|
|
|
|
2000-04-12 04:56:17 +00:00
|
|
|
PORTNAME= frodo
|
|
|
|
PORTVERSION= 4.1a
|
1999-11-28 18:32:45 +00:00
|
|
|
CATEGORIES= emulators tk82
|
1998-02-21 21:24:41 +00:00
|
|
|
MASTER_SITES= ftp://sunsite.unc.edu/pub/micro/commodore/crossplatform/emulators/unix/
|
2000-04-12 04:56:17 +00:00
|
|
|
DISTNAME= FrodoV4_1a.Src
|
1998-02-21 21:24:41 +00:00
|
|
|
|
|
|
|
MAINTAINER= dirk.meyer@dinoex.sub.org
|
|
|
|
|
1999-11-28 18:32:45 +00:00
|
|
|
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
|
1998-02-21 21:24:41 +00:00
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= YES
|
1998-02-21 21:24:41 +00:00
|
|
|
ALL_TARGET= Frodo
|
|
|
|
WRKSRC= ${WRKDIR}/Frodo/Src
|
|
|
|
|
|
|
|
ROM= 1541 Basic Char Kernal
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@(cd ${WRKSRC}; ${SH} ./configure)
|
|
|
|
|
|
|
|
do-install:
|
2000-01-03 03:33:23 +00:00
|
|
|
${SED} -e 's=\$${PREFIX}=${PREFIX}=g' \
|
1998-02-21 21:24:41 +00:00
|
|
|
< ${FILESDIR}/frodo > ${WRKDIR}/frodo
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/frodo ${PREFIX}/bin
|
|
|
|
${MKDIR} ${PREFIX}/libexec/frodo
|
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/Frodo/Frodo ${PREFIX}/libexec/frodo
|
|
|
|
.for i in ${ROM}
|
|
|
|
${INSTALL_DATA} "${WRKDIR}/Frodo/${i} ROM" ${PREFIX}/libexec/frodo
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} "${WRKDIR}/Frodo/Frodo Logo" ${PREFIX}/libexec/frodo
|
|
|
|
${CP} "${WRKDIR}/Frodo/TkGui.tcl" ${PREFIX}/libexec/frodo
|
|
|
|
${MKDIR} ${PREFIX}/libexec/frodo/64prgs
|
|
|
|
@cd ${WRKDIR}/Frodo/64prgs; tar cf - . | (cd ${PREFIX}/libexec/frodo/64prgs; tar xf -)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/frodo
|
|
|
|
.for i in CHANGES
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/Frodo/${i} ${PREFIX}/share/doc/frodo
|
|
|
|
.endfor
|
|
|
|
@cd ${WRKDIR}/Frodo/Docs; tar cf - . | (cd ${PREFIX}/share/doc/frodo; tar xf -)
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|