From owner-svn-ports-head@freebsd.org Fri Apr 8 20:36:48 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38C4FB09D13; Fri, 8 Apr 2016 20:36:48 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF6291D5C; Fri, 8 Apr 2016 20:36:47 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u38KalQE059739; Fri, 8 Apr 2016 20:36:47 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u38KakLv059736; Fri, 8 Apr 2016 20:36:46 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201604082036.u38KakLv059736@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 8 Apr 2016 20:36:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412785 - in head/audio/snack: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 20:36:48 -0000 Author: amdmi3 Date: Fri Apr 8 20:36:46 2016 New Revision: 412785 URL: https://svnweb.freebsd.org/changeset/ports/412785 Log: - Add LICENSE - Switch to options helpers - Regenerate patches with `make makepatch` Modified: head/audio/snack/Makefile head/audio/snack/files/patch-configure head/audio/snack/files/patch-generic-jkFormatMP3.c Modified: head/audio/snack/Makefile ============================================================================== --- head/audio/snack/Makefile Fri Apr 8 20:12:52 2016 (r412784) +++ head/audio/snack/Makefile Fri Apr 8 20:36:46 2016 (r412785) @@ -11,6 +11,9 @@ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Sound toolkit for scripting languages +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/../COPYING + USES= tk USE_LDCONFIG= ${PREFIX}/lib/snack${PORTVERSION:R} GNU_CONFIGURE= yes @@ -32,7 +35,9 @@ VORBIS_CONFIGURE_ON= --with-ogg-include= VORBIS_ALL_TARGET= all libsnackogg.so post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/snack${PORTVERSION:R}/*.so + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/snack${PORTVERSION:R}/*.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR} Modified: head/audio/snack/files/patch-configure ============================================================================== --- head/audio/snack/files/patch-configure Fri Apr 8 20:12:52 2016 (r412784) +++ head/audio/snack/files/patch-configure Fri Apr 8 20:36:46 2016 (r412785) @@ -1,6 +1,6 @@ ---- configure.orig Tue Feb 10 20:10:42 2004 -+++ configure Sun Feb 15 13:56:28 2004 -@@ -1418,7 +1418,7 @@ +--- configure.orig 2005-12-14 11:29:39 UTC ++++ configure +@@ -1487,7 +1487,7 @@ if test "$TCL_SHARED_BUILD" = 0; then echo "$as_me: error: Tcl and Tk must be configured with the --enable-shared flag" >&2;} { (exit 1); exit 1; }; } fi Modified: head/audio/snack/files/patch-generic-jkFormatMP3.c ============================================================================== --- head/audio/snack/files/patch-generic-jkFormatMP3.c Fri Apr 8 20:12:52 2016 (r412784) +++ head/audio/snack/files/patch-generic-jkFormatMP3.c Fri Apr 8 20:36:46 2016 (r412785) @@ -1,6 +1,6 @@ ---- ../generic/jkFormatMP3.c.orig Mon Jul 10 22:17:06 2006 -+++ ../generic/jkFormatMP3.c Mon Jul 10 22:17:17 2006 -@@ -31,7 +31,6 @@ +--- ../generic/jkFormatMP3.c.orig 2005-12-14 11:29:38 UTC ++++ ../generic/jkFormatMP3.c +@@ -31,7 +31,6 @@ must retain this copyright notice. #include #define FRAS2(is,a) ((is) > 0 ? t_43[(is)]*(a):-t_43[-(is)]*(a)) #define MAXFRAMESIZE 2106 /* frame size starting at header */ @@ -8,7 +8,7 @@ static char *gblOutputbuf; static char *gblReadbuf; static int gblBufind = 0; -@@ -1311,6 +1310,7 @@ +@@ -1311,6 +1310,7 @@ huffman_decode(int tbl,int *x,int *y) #include