diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-04-08 20:36:46 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-04-08 20:36:46 +0000 |
commit | 86bd10fce5d175cbf02484a23ba9bad32d92c7f6 (patch) | |
tree | e8e21d3fdb98b1b619d12ee58b1d1cd539f592f7 | |
parent | 2152aa23546483dd9e12581eee9096b56287f4c7 (diff) | |
download | ports-86bd10fce5d175cbf02484a23ba9bad32d92c7f6.tar.gz ports-86bd10fce5d175cbf02484a23ba9bad32d92c7f6.zip |
Notes
-rw-r--r-- | audio/snack/Makefile | 7 | ||||
-rw-r--r-- | audio/snack/files/patch-configure | 6 | ||||
-rw-r--r-- | audio/snack/files/patch-generic-jkFormatMP3.c | 8 |
3 files changed, 13 insertions, 8 deletions
diff --git a/audio/snack/Makefile b/audio/snack/Makefile index 3fbcef9fb586..1f6673add091 100644 --- a/audio/snack/Makefile +++ b/audio/snack/Makefile @@ -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=${LOCALBASE}/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} diff --git a/audio/snack/files/patch-configure b/audio/snack/files/patch-configure index d29a71853b65..153d3c0c30a6 100644 --- a/audio/snack/files/patch-configure +++ b/audio/snack/files/patch-configure @@ -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 diff --git a/audio/snack/files/patch-generic-jkFormatMP3.c b/audio/snack/files/patch-generic-jkFormatMP3.c index 70044cb6dfea..7f509dac31c7 100644 --- a/audio/snack/files/patch-generic-jkFormatMP3.c +++ b/audio/snack/files/patch-generic-jkFormatMP3.c @@ -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> |