svn commit: r412785 - in head/audio/snack: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Apr 8 20:36:48 UTC 2016
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 at 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>
More information about the svn-ports-all
mailing list