Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Apr 2016 00:27:19 +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: r412438 - in head/audio/sbagen: . files
Message-ID:  <201604030027.u330RJA6097684@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Apr  3 00:27:19 2016
New Revision: 412438
URL: https://svnweb.freebsd.org/changeset/ports/412438

Log:
  - Add LICENSE_FILE
  - Switch to USES=tar:tgz
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/audio/sbagen/Makefile
  head/audio/sbagen/files/patch-sbagen.c

Modified: head/audio/sbagen/Makefile
==============================================================================
--- head/audio/sbagen/Makefile	Sun Apr  3 00:02:48 2016	(r412437)
+++ head/audio/sbagen/Makefile	Sun Apr  3 00:27:19 2016	(r412438)
@@ -5,12 +5,14 @@ PORTNAME=	sbagen
 PORTVERSION=	1.4.5
 CATEGORIES=	audio
 MASTER_SITES=	SF
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Sequenced binaural wave generator
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING.txt
+
+USES=		tar:tgz
 
 PORTDOCS=	ChangeLog.txt README.txt SBAGEN.txt TODO.txt focus.txt \
 		focus2.txt holosync.txt theory.txt theory2.txt wave.txt
@@ -23,8 +25,12 @@ do-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/sbagen ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 

Modified: head/audio/sbagen/files/patch-sbagen.c
==============================================================================
--- head/audio/sbagen/files/patch-sbagen.c	Sun Apr  3 00:02:48 2016	(r412437)
+++ head/audio/sbagen/files/patch-sbagen.c	Sun Apr  3 00:27:19 2016	(r412438)
@@ -1,5 +1,5 @@
---- sbagen.c.orig	2013-03-18 12:02:21.000000000 +0100
-+++ sbagen.c	2013-03-18 12:02:43.000000000 +0100
+--- sbagen.c.orig	2011-08-08 00:12:21 UTC
++++ sbagen.c
 @@ -141,7 +141,7 @@
  #endif
  
@@ -9,7 +9,7 @@
   //WAS: #include <sys/soundcard.h>
  #endif
  #ifdef WIN_AUDIO
-@@ -181,7 +181,7 @@
+@@ -181,7 +181,7 @@ void debug(char *fmt, ...) ;
  void warn(char *fmt, ...) ;
  void * Alloc(size_t len) ;
  char * StrDup(char *str) ;
@@ -18,7 +18,7 @@
  void loop() ;
  void outChunk() ;
  void corrVal(int ) ;
-@@ -1207,7 +1207,7 @@
+@@ -1207,7 +1207,7 @@ setupRefTime() {
    time_ref_ms= 1000*tt->tm_sec + 60000*tt->tm_min + 3600000*tt->tm_hour;
  }  
  



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