1998-02-21 22:24:41 +01:00
|
|
|
# New ports collection makefile for: frodo
|
|
|
|
# Date created: 11 Dez 1997
|
|
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1999-11-28 19:32:45 +01:00
|
|
|
#
|
1998-02-21 22:24:41 +01:00
|
|
|
|
2000-04-12 06:56:17 +02:00
|
|
|
PORTNAME= frodo
|
|
|
|
PORTVERSION= 4.1a
|
2001-03-18 08:51:05 +01:00
|
|
|
CATEGORIES= emulators tk83
|
2000-10-12 23:05:36 +02:00
|
|
|
MASTER_SITES= ftp://metalab.unc.edu/pub/micro/commodore/crossplatform/emulators/Frodo/ \
|
2000-10-23 01:08:51 +02:00
|
|
|
ftp://ftp.funet.fi/pub/cbm/crossplatform/emulators/Frodo/
|
2000-04-12 06:56:17 +02:00
|
|
|
DISTNAME= FrodoV4_1a.Src
|
1998-02-21 22:24:41 +01:00
|
|
|
|
|
|
|
MAINTAINER= dirk.meyer@dinoex.sub.org
|
|
|
|
|
2001-03-18 08:51:05 +01:00
|
|
|
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
|
1998-02-21 22:24:41 +01:00
|
|
|
|
1998-08-05 11:31:52 +02:00
|
|
|
USE_X_PREFIX= YES
|
1998-02-21 22:24:41 +01:00
|
|
|
ALL_TARGET= Frodo
|
|
|
|
WRKSRC= ${WRKDIR}/Frodo/Src
|
|
|
|
|
|
|
|
ROM= 1541 Basic Char Kernal
|
|
|
|
|
2000-06-23 15:44:03 +02:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKDIR}/Frodo/TkGui.tcl
|
|
|
|
|
1998-02-21 22:24:41 +01:00
|
|
|
do-configure:
|
|
|
|
@(cd ${WRKSRC}; ${SH} ./configure)
|
|
|
|
|
|
|
|
do-install:
|
2000-01-03 04:33:23 +01:00
|
|
|
${SED} -e 's=\$${PREFIX}=${PREFIX}=g' \
|
1998-02-21 22:24:41 +01: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
|
2000-08-30 07:26:11 +02:00
|
|
|
@(${TAR} -C ${WRKDIR}/Frodo/64prgs -cf - . | ${TAR} -C ${PREFIX}/libexec/frodo/64prgs -xf -)
|
1998-02-21 22:24:41 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/frodo
|
|
|
|
.for i in CHANGES
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/Frodo/${i} ${PREFIX}/share/doc/frodo
|
|
|
|
.endfor
|
2000-06-23 15:44:03 +02:00
|
|
|
@(${TAR} -C ${WRKDIR}/Frodo/Docs -cf - . | ${TAR} -C ${PREFIX}/share/doc/frodo -xf -)
|
1998-02-21 22:24:41 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|