From owner-svn-ports-head@freebsd.org Sun Apr 3 00:27:20 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 885C3ADE01C; Sun, 3 Apr 2016 00:27:20 +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 3E7B71350; Sun, 3 Apr 2016 00:27:20 +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 u330RJuF097686; Sun, 3 Apr 2016 00:27:19 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u330RJA6097684; Sun, 3 Apr 2016 00:27:19 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201604030027.u330RJA6097684@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 3 Apr 2016 00:27:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412438 - in head/audio/sbagen: . 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: Sun, 03 Apr 2016 00:27:20 -0000 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 #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; }