From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 14 18:50:25 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F5131065694 for ; Fri, 14 Oct 2011 18:50:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DCB4E8FC2B for ; Fri, 14 Oct 2011 18:50:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9EIoOiU051999 for ; Fri, 14 Oct 2011 18:50:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9EIoOQm051993; Fri, 14 Oct 2011 18:50:24 GMT (envelope-from gnats) Resent-Date: Fri, 14 Oct 2011 18:50:24 GMT Resent-Message-Id: <201110141850.p9EIoOQm051993@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BFA41065692 for ; Fri, 14 Oct 2011 18:44:12 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from msa104lp.auone-net.jp (msa104lp.auone-net.jp [222.3.140.167]) by mx1.freebsd.org (Postfix) with ESMTP id 32E908FC19 for ; Fri, 14 Oct 2011 18:44:11 +0000 (UTC) Received: from msa104lp.auone-net.jp (MSA104lp [172.27.12.182]) by msa104lp.auone-net.jp (au one net msa) with ESMTP id 2EAD758C249 for ; Sat, 15 Oct 2011 03:31:17 +0900 (JST) Received: from localhost.localdomain (ZT046175.ppp.dion.ne.jp [59.128.46.175]) by msa104lp.auone-net.jp (au one net msa) with ESMTP id 915972BC03B for ; Sat, 15 Oct 2011 03:31:14 +0900 (JST) Message-Id: <20111015025649.132392cf.tkato432@yahoo.com> Date: Sat, 15 Oct 2011 02:56:49 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/161632: Update port: audio/splaytk X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2011 18:50:25 -0000 >Number: 161632 >Category: ports >Synopsis: Update port: audio/splaytk >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:24 UTC 2011 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p3 i386 >Organization: >Environment: >Description: - Support USE_TK_WRAPPER - Add LICENSE - Support PLIST_FILES Remove file: pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/splaytk/Makefile audio/splaytk/Makefile --- /usr/ports/audio/splaytk/Makefile 2009-03-15 04:14:00.000000000 +0900 +++ audio/splaytk/Makefile 2011-09-04 19:42:29.000000000 +0900 @@ -5,27 +5,41 @@ # $FreeBSD: ports/audio/splaytk/Makefile,v 1.12 2009/03/14 18:29:14 dinoex Exp $ # -PORTNAME= splaytk -PORTVERSION= 2.0 -PORTREVISION= 1 -CATEGORIES= audio -MASTER_SITES= ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR= apps/sound/players +PORTNAME= splaytk +PORTVERSION= 2.0 +PORTREVISION= 2 +CATEGORIES= audio +MASTER_SITES= SUNSITE/apps/sound/players -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= A tk based interface for splay -RUN_DEPENDS= splay:${PORTSDIR}/audio/splay \ - wish8.2:${PORTSDIR}/x11-toolkits/tk82 +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING -WRKSRC= ${WRKDIR}/splay-tk-2.0 +RUN_DEPENDS= splay:${PORTSDIR}/audio/splay NO_BUILD= yes +WRKSRC= ${WRKDIR}/splay-tk-${PORTVERSION} + +USE_TK_WRAPPER= yes + +DATADIR= ${PREFIX}/share/splay-tk + +PLIST_FILES= bin/splay-tk %%DATADIR%%/dirs.xbm \ + %%DATADIR%%/files.xbm %%DATADIR%%/pause.xbm \ + %%DATADIR%%/play.xbm %%DATADIR%%/quit.xbm \ + %%DATADIR%%/splay-tk.gif %%DATADIR%%/stop.xbm +PLIST_DIRS= %%DATADIR%% + +post-patch: + @${REINPLACE_CMD} -e \ + 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/splay-tk.tcl do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/splay-tk.tcl ${PREFIX}/bin/splay-tk - @${MKDIR} ${PREFIX}/lib/splay-tk - @${INSTALL_DATA} ${WRKSRC}/*.xbm ${PREFIX}/lib/splay-tk - @${INSTALL_DATA} ${WRKSRC}/splay-tk.gif ${PREFIX}/lib/splay-tk + ${INSTALL_SCRIPT} ${WRKSRC}/splay-tk.tcl ${PREFIX}/bin/splay-tk + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.xbm ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/splay-tk.gif ${DATADIR} .include diff -urN /usr/ports/audio/splaytk/files/patch-aa audio/splaytk/files/patch-aa --- /usr/ports/audio/splaytk/files/patch-aa 1999-11-29 03:31:54.000000000 +0900 +++ audio/splaytk/files/patch-aa 2011-08-28 13:17:16.000000000 +0900 @@ -5,9 +5,9 @@ --- 1,9 ---- + #!/bin/sh + # start up wish \ -+ exec wish8.2 "$0" "$@" ++ exec wish "$0" "$@" + -+ set libdir /usr/local/lib/splay-tk ++ set libdir %%DATADIR%% + set images ${libdir} ##################################################################### # SPlaY-Tk v2.0p1, (C) Andrew Hobgood # diff -urN /usr/ports/audio/splaytk/pkg-plist audio/splaytk/pkg-plist --- /usr/ports/audio/splaytk/pkg-plist 1998-04-24 11:33:35.000000000 +0900 +++ audio/splaytk/pkg-plist 1970-01-01 09:00:00.000000000 +0900 @@ -1,9 +0,0 @@ -bin/splay-tk -lib/splay-tk/dirs.xbm -lib/splay-tk/files.xbm -lib/splay-tk/pause.xbm -lib/splay-tk/play.xbm -lib/splay-tk/quit.xbm -lib/splay-tk/splay-tk.gif -lib/splay-tk/stop.xbm -@dirrm lib/splay-tk >Release-Note: >Audit-Trail: >Unformatted: