Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2016 20:36:46 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412785 - in head/audio/snack: . files
Message-ID:  <201604082036.u38KakLv059736@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <string.h>
  #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 <math.h>
  



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