ports/161620: Update port: games/tksol
KATO Tsuguru
tkato432 at yahoo.com
Fri Oct 14 18:50:19 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list