[136565] trunk/dports/audio/sctk

ryandesign at macports.org ryandesign at macports.org
Thu May 21 14:36:56 PDT 2015


Revision: 136565
          https://trac.macports.org/changeset/136565
Author:   ryandesign at macports.org
Date:     2015-05-21 14:36:56 -0700 (Thu, 21 May 2015)
Log Message:
-----------
sctk: update to 2.4.9; update homepage; simplify and modernize destroot; add modeline; take over as maintainer

Modified Paths:
--------------
    trunk/dports/audio/sctk/Portfile
    trunk/dports/audio/sctk/files/DESTDIR.patch

Modified: trunk/dports/audio/sctk/Portfile
===================================================================
--- trunk/dports/audio/sctk/Portfile	2015-05-21 21:36:35 UTC (rev 136564)
+++ trunk/dports/audio/sctk/Portfile	2015-05-21 21:36:56 UTC (rev 136565)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
@@ -3,20 +4,21 @@
 
 name                sctk
-version             2.4.0
+version             2.4.9
 description         Speech Recognition Scoring Toolkit
 long_description    \
     NIST ${description}
-maintainers         nomaintainer
+maintainers         ryandesign openmaintainer
 categories          audio
 license             public-domain
 platforms           darwin freebsd
-homepage            http://www.itl.nist.gov/iad/mig/
+
+homepage            http://nist.gov/itl/iad/mig/tools.cfm
 master_sites        ftp://jaguar.ncsl.nist.gov/pub/
-distname            ${name}-${version}-20091110-0958
+distname            ${name}-${version}-20141015-1634Z
 use_bzip2           yes
-checksums           md5     77912e75304098ffcc6850ecf641d1a4 \
-                    sha1    6c0fdc2806cd9d19fe635806517e6f0517d4dba2 \
-                    rmd160  3022f4b49c100f61ca9c818f5f5e3c3ab20a64d5
 
+checksums           rmd160  92d0376f62b806ff3954c38ab223c09a6836d80e \
+                    sha256  262c92cca47755539dfa28add6120aa3ec4983b44b51f053f601e601c064617c
+
 worksrcdir          ${name}-${version}
 configure.cmd       make
@@ -28,15 +30,12 @@
 patchfiles          DESTDIR.patch
 
 post-destroot {
-    system "cd ${worksrcpath}/doc && make all"
-    set docdir ${destroot}${prefix}/share/doc/${name}
-    set mandir ${destroot}${prefix}/share/man/man1
-    xinstall -d ${docdir} ${mandir}
+    system -W ${worksrcpath}/doc "make all"
 
-    eval xinstall [glob ${worksrcpath}/doc/*.htm] ${docdir}
-    eval xinstall [glob ${worksrcpath}/doc/*.html] ${docdir}
-    eval xinstall [glob ${worksrcpath}/doc/*.gif] ${docdir}
-    eval xinstall [glob ${worksrcpath}/doc/*.txt] ${docdir}
-    file copy ${worksrcpath}/doc/rover ${docdir}
-    eval xinstall [glob ${worksrcpath}/doc/*.1] ${mandir}
+    set docdir ${prefix}/share/doc/${subport}
+    xinstall -d ${destroot}${docdir}
+
+    xinstall -m 644 {*}[glob -directory ${worksrcpath}/doc/ *.gif *.htm *.html *.txt] ${destroot}${docdir}
+    copy ${worksrcpath}/doc/rover ${destroot}${docdir}
+    xinstall -m 644 {*}[glob ${worksrcpath}/doc/*.1] ${destroot}${prefix}/share/man/man1
 }

Modified: trunk/dports/audio/sctk/files/DESTDIR.patch
===================================================================
--- trunk/dports/audio/sctk/files/DESTDIR.patch	2015-05-21 21:36:35 UTC (rev 136564)
+++ trunk/dports/audio/sctk/files/DESTDIR.patch	2015-05-21 21:36:56 UTC (rev 136565)
@@ -1,5 +1,5 @@
---- src/acomp/makefile.in	2004-08-30 11:02:07.000000000 -0400
-+++ src/acomp/makefile.in	2010-04-03 23:30:06.000000000 -0400
+--- src/acomp/makefile.in.orig	2004-08-30 10:02:07.000000000 -0500
++++ src/acomp/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -19,7 +19,7 @@
  	@echo "   No tests defined for acomp.pl"
  
@@ -9,9 +9,8 @@
  
  clean:
  
- 
---- src/align2html/makefile.in	2009-05-12 10:33:21.000000000 -0400
-+++ src/align2html/makefile.in	2010-04-03 23:30:06.000000000 -0400
+--- src/align2html/makefile.in.orig	2009-05-12 09:33:21.000000000 -0500
++++ src/align2html/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -12,8 +12,8 @@
  	@echo "No Tests for align2html.pl"
  
@@ -23,9 +22,8 @@
  
  buildPackFile:
  	buildPack.pl > packImageTarFile
-
---- src/asclite/core/makefile.in	2009-01-12 17:08:35.000000000 -0500
-+++ src/asclite/core/makefile.in	2010-04-03 23:30:06.000000000 -0400
+--- src/asclite/core/makefile.in.orig	2009-01-12 16:08:35.000000000 -0600
++++ src/asclite/core/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -74,7 +74,7 @@
  
  install: all
@@ -35,10 +33,8 @@
  	done
  
  check:
-
-diff -r -u sctk-2.4.0/src/chfilt/makefile.in sckt-c2/src/chfilt/makefile.in
---- src/chfilt/makefile.in	2004-10-22 11:49:58.000000000 -0400
-+++ src/chfilt/makefile.in	2010-04-03 23:30:06.000000000 -0400
+--- src/chfilt/makefile.in.orig	2004-10-22 10:49:58.000000000 -0500
++++ src/chfilt/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -32,7 +32,7 @@
  	@echo "   chfilt.pl tests successfully completed"
  
@@ -48,8 +44,8 @@
  
  clean:
  
---- src/csrfilt/makefile.in	2004-09-01 10:19:59.000000000 -0400
-+++ src/csrfilt/makefile.in	2010-04-03 23:30:06.000000000 -0400
+--- src/csrfilt/makefile.in.orig	2004-09-01 09:19:59.000000000 -0500
++++ src/csrfilt/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -20,7 +20,7 @@
  	@echo "   csrfilt.sh successfully completed"
  
@@ -59,8 +55,8 @@
  
  clean:
  
---- src/ctmValidator/makefile.in	2007-06-06 15:32:55.000000000 -0400
-+++ src/ctmValidator/makefile.in	2010-04-03 23:30:07.000000000 -0400
+--- src/ctmValidator/makefile.in.orig	2007-06-06 14:32:55.000000000 -0500
++++ src/ctmValidator/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -11,7 +11,7 @@
  	(cd test_suite; $(SHELL) RunTest.sh ../ctmValidator.pl)
  
@@ -70,8 +66,8 @@
  
  clean:
  
---- src/def_art/makefile.in	2004-08-30 11:06:21.000000000 -0400
-+++ src/def_art/makefile.in	2010-04-03 23:30:07.000000000 -0400
+--- src/def_art/makefile.in.orig	2004-08-30 10:06:21.000000000 -0500
++++ src/def_art/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -19,7 +19,7 @@
  	@echo "   def_art.pl passed without tests"
  
@@ -81,8 +77,8 @@
  
  clean:
  
---- src/hamzaNorm/makefile.in	2004-09-07 10:29:47.000000000 -0400
-+++ src/hamzaNorm/makefile.in	2010-04-03 23:30:07.000000000 -0400
+--- src/hamzaNorm/makefile.in.orig	2004-09-07 09:29:47.000000000 -0500
++++ src/hamzaNorm/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -25,7 +25,7 @@
  	@echo "   hamzaNorm.pl tests successfully completed"
  
@@ -92,8 +88,8 @@
  
  clean:
  
---- src/hubscr/makefile.in	2004-08-30 11:03:33.000000000 -0400
-+++ src/hubscr/makefile.in	2010-04-03 23:30:07.000000000 -0400
+--- src/hubscr/makefile.in.orig	2004-08-30 10:03:33.000000000 -0500
++++ src/hubscr/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -21,7 +21,7 @@
  	@echo "   hubscr.pl tests successfully completed"
  
@@ -103,8 +99,8 @@
  
  clean:
  
---- src/md-eval/makefile.in	2007-03-13 10:55:57.000000000 -0400
-+++ src/md-eval/makefile.in	2010-04-03 23:30:07.000000000 -0400
+--- src/md-eval/makefile.in.orig	2007-03-13 09:55:57.000000000 -0500
++++ src/md-eval/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -15,7 +15,7 @@
  	@echo "No Tests for md-eval.pl"
  
@@ -114,8 +110,8 @@
  
  clean:
  
---- src/mergectm2rttm/makefile.in	2007-03-13 10:56:00.000000000 -0400
-+++ src/mergectm2rttm/makefile.in	2010-04-03 23:30:07.000000000 -0400
+--- src/mergectm2rttm/makefile.in.orig	2007-03-13 09:56:00.000000000 -0500
++++ src/mergectm2rttm/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -15,7 +15,7 @@
  	@echo "No Tests for mergectm2rttm.pl"
  
@@ -125,9 +121,9 @@
  
  clean:
  
---- src/rfilter1/makefile.in	2004-10-22 11:49:58.000000000 -0400
-+++ src/rfilter1/makefile.in	2010-04-03 23:30:07.000000000 -0400
-@@ -29,7 +29,7 @@
+--- src/rfilter1/makefile.in.orig	2012-03-12 14:31:17.000000000 -0500
++++ src/rfilter1/makefile.in	2015-05-21 15:23:28.000000000 -0500
+@@ -31,7 +31,7 @@
  	@echo "   rfilter1 tests successfully completed"
  
  install: all
@@ -136,9 +132,20 @@
  
  clean:
  	rm -f rfilter1
---- src/rttmSmooth/makefile.in	2007-03-13 10:56:00.000000000 -0400
-+++ src/rttmSmooth/makefile.in	2010-04-03 23:30:07.000000000 -0400
+--- src/rttm2ctm/makefile.in.orig	2012-09-10 08:45:10.000000000 -0500
++++ src/rttm2ctm/makefile.in	2015-05-21 15:25:07.000000000 -0500
 @@ -15,7 +15,7 @@
+ 	@echo "No Tests for rttm2ctm.pl"
+ 
+ install: all
+-	cp rttm2ctm.pl $(bindir)
++	cp rttm2ctm.pl $(DESTDIR)$(bindir)
+ 
+ clean:
+ 
+--- src/rttmSmooth/makefile.in.orig	2007-03-13 09:56:00.000000000 -0500
++++ src/rttmSmooth/makefile.in	2015-05-21 15:23:28.000000000 -0500
+@@ -15,7 +15,7 @@
  	@echo "No Tests for rttmSmooth.pl"
  
  install: all
@@ -147,8 +154,8 @@
  
  clean:
  
---- src/rttmSort/makefile.in	2007-03-13 10:56:00.000000000 -0400
-+++ src/rttmSort/makefile.in	2010-04-03 23:30:07.000000000 -0400
+--- src/rttmSort/makefile.in.orig	2007-03-13 09:56:00.000000000 -0500
++++ src/rttmSort/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -15,7 +15,7 @@
  	@echo "No Tests for rttmSort.pl"
  
@@ -158,8 +165,8 @@
  
  clean:
  
---- src/rttmValidator/makefile.in	2007-06-05 14:38:57.000000000 -0400
-+++ src/rttmValidator/makefile.in	2010-04-03 23:30:07.000000000 -0400
+--- src/rttmValidator/makefile.in.orig	2007-06-05 13:38:57.000000000 -0500
++++ src/rttmValidator/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -11,7 +11,7 @@
  	(cd test_suite; $(SHELL) RunTest.sh ../rttmValidator.pl)
  
@@ -169,9 +176,9 @@
  
  clean:
  
---- src/sclite/makefile.in	2007-09-21 10:15:19.000000000 -0400
-+++ src/sclite/makefile.in	2010-04-03 23:30:07.000000000 -0400
-@@ -154,17 +154,17 @@
+--- src/sclite/makefile.in.orig	2014-06-30 20:02:03.000000000 -0500
++++ src/sclite/makefile.in	2015-05-21 15:23:28.000000000 -0500
+@@ -158,17 +158,17 @@
  
  install: all testinstalldirs
  	for p in $(PROGRAMS); do \
@@ -192,8 +199,8 @@
  	   if test ! -d $$p ; then \
  		echo "Error: directory $$p doesn't exist"; \
  	   fi ; \
---- src/slatreport/makefile.in	2009-03-03 14:55:25.000000000 -0500
-+++ src/slatreport/makefile.in	2010-04-03 23:30:08.000000000 -0400
+--- src/slatreport/makefile.in.orig	2009-03-03 13:55:25.000000000 -0600
++++ src/slatreport/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -24,7 +24,7 @@
  	@echo "   slatreport.pl tests successfully completed"
  
@@ -203,8 +210,8 @@
  
  clean:
  
---- src/spkr2sad/makefile.in	2007-03-13 10:56:00.000000000 -0400
-+++ src/spkr2sad/makefile.in	2010-04-03 23:30:08.000000000 -0400
+--- src/spkr2sad/makefile.in.orig	2007-03-13 09:56:00.000000000 -0500
++++ src/spkr2sad/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -15,7 +15,7 @@
  	@echo "No Tests for spkr2sad.pl"
  
@@ -214,8 +221,8 @@
  
  clean:
  
---- src/stm2rttm/makefile.in	2007-03-13 10:56:00.000000000 -0400
-+++ src/stm2rttm/makefile.in	2010-04-03 23:30:08.000000000 -0400
+--- src/stm2rttm/makefile.in.orig	2007-03-13 09:56:00.000000000 -0500
++++ src/stm2rttm/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -15,7 +15,7 @@
  	@echo "No Tests for stm2rttm.pl"
  
@@ -225,8 +232,8 @@
  
  clean:
  
---- src/stmValidator/makefile.in	2009-04-30 15:10:09.000000000 -0400
-+++ src/stmValidator/makefile.in	2010-04-03 23:30:08.000000000 -0400
+--- src/stmValidator/makefile.in.orig	2009-04-30 14:10:09.000000000 -0500
++++ src/stmValidator/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -13,8 +13,8 @@
  	(cd test_suite; $(SHELL) RunTest.sh ../stmValidator.pl)
  
@@ -238,8 +245,8 @@
  
  STMList.pl:
  
---- src/tanweenFilt/makefile.in	2004-10-12 10:52:06.000000000 -0400
-+++ src/tanweenFilt/makefile.in	2010-04-03 23:30:08.000000000 -0400
+--- src/tanweenFilt/makefile.in.orig	2004-10-12 09:52:06.000000000 -0500
++++ src/tanweenFilt/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -31,7 +31,7 @@
  	@echo "   tanweenFilt.pl tests successfully completed"
  
@@ -249,8 +256,8 @@
  
  clean:
  
---- src/utf_filt/makefile.in	2007-03-13 10:56:01.000000000 -0400
-+++ src/utf_filt/makefile.in	2010-04-03 23:30:08.000000000 -0400
+--- src/utf_filt/makefile.in.orig	2007-03-13 09:56:01.000000000 -0500
++++ src/utf_filt/makefile.in	2015-05-21 15:23:28.000000000 -0500
 @@ -26,8 +26,8 @@
  	fi	
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150521/2256870a/attachment-0001.html>


More information about the macports-changes mailing list