Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2011 02:58:08 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161620: Update port: games/tksol
Message-ID:  <20111015025808.64d46cb8.tkato432@yahoo.com>
Resent-Message-ID: <201110141850.p9EIoJ9r051549@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161620
>Category:       ports
>Synopsis:       Update port: games/tksol
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 18:50:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Add LICENSE
- Support USE_TK_WRAPPER

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/tksol/Makefile games/tksol/Makefile
--- /usr/ports/games/tksol/Makefile	2008-04-09 23:36:01.000000000 +0900
+++ games/tksol/Makefile	2011-09-24 14:17:37.000000000 +0900
@@ -9,24 +9,25 @@
 PORTVERSION=	1.8.4
 PORTREVISION=	1
 CATEGORIES=	games tk
-MASTER_SITES=	${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR=	games/solitaires
+MASTER_SITES=	SUNSITE/games/solitaires
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A version of the card game solitaire
 
-RUN_DEPENDS=	wish8.4:${PORTSDIR}/x11-toolkits/tk84
+LICENSE=	GPLv2
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
-
 NO_BUILD=	yes
 
+USE_TK_WRAPPER=	yes
+
 MAN6=		tksol.6
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|exec wish|exec ${PREFIX}/bin/wish8.4|g ; \
-		 s|/usr/local/lib/tksol|${DATADIR}|g' ${WRKSRC}/tksol
+	@${REINPLACE_CMD} -e \
+		's|^#/bin/sh|#!/bin/sh| ; \
+		 s|/usr/local/lib/tksol|${DATADIR}|' ${WRKSRC}/tksol
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/tksol ${PREFIX}/bin
>Release-Note:
>Audit-Trail:
>Unformatted:



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