Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2017 06:07:06 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453337 - in head/emulators/frodo: . files
Message-ID:  <201711020607.vA2676FB046120@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Thu Nov  2 06:07:06 2017
New Revision: 453337
URL: https://svnweb.freebsd.org/changeset/ports/453337

Log:
  - migration to tk86

Deleted:
  head/emulators/frodo/files/patch-C64_x.i
  head/emulators/frodo/files/patch-TkGui.tcl
Modified:
  head/emulators/frodo/Makefile

Modified: head/emulators/frodo/Makefile
==============================================================================
--- head/emulators/frodo/Makefile	Thu Nov  2 05:29:33 2017	(r453336)
+++ head/emulators/frodo/Makefile	Thu Nov  2 06:07:06 2017	(r453337)
@@ -2,7 +2,7 @@
 
 PORTNAME=	frodo
 PORTVERSION=	4.1b
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	emulators tk
 MASTER_SITES=	http://frodo.cebix.net/downloads/
 DISTNAME=	FrodoV4_1b.Src
@@ -10,16 +10,13 @@ DISTNAME=	FrodoV4_1b.Src
 MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	Emulates a Commodore 64
 
-DEPRECATED=		Tcl/Tk 8.4 is no longer maintained, please use 8.5+
-EXPIRATION_DATE=	2017-11-20
-
-RUN_DEPENDS=	wish8.4:x11-toolkits/tk84
-
+USES=		shebangfix tk:run
 USE_XORG=	x11 xt xext sm ice
 ALL_TARGET=	Frodo
 INSTALL_WRKSRC=	${WRKDIR}/Frodo-4.1b
 WRKSRC=		${INSTALL_WRKSRC}/Src
 GNU_CONFIGURE=	yes
+SHEBANG_FILES=	../TkGui.tcl
 
 ROM=		1541 Basic Char Kernal
 
@@ -32,9 +29,9 @@ OPTIONS_DEFAULT=SDL
 USE_SDL=	sdl
 .endif
 
-post-patch:
-	${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
-		${INSTALL_WRKSRC}/TkGui.tcl
+pre-configure:
+	${REINPLACE_CMD} -e 's|wish|wish${TK_VER}|' \
+		${WRKSRC}/C64_x.i
 
 do-install:
 	${SED} -e 's=\$${PREFIX}=${PREFIX}=g' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711020607.vA2676FB046120>