[65985] trunk/dports/audio

singingwolfboy at macports.org singingwolfboy at macports.org
Sun Apr 4 08:07:25 PDT 2010


Revision: 65985
          http://trac.macports.org/changeset/65985
Author:   singingwolfboy at macports.org
Date:     2010-04-04 08:07:21 -0700 (Sun, 04 Apr 2010)
Log Message:
-----------
New port: SCTK

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

Added: trunk/dports/audio/sctk/Portfile
===================================================================
--- trunk/dports/audio/sctk/Portfile	                        (rev 0)
+++ trunk/dports/audio/sctk/Portfile	2010-04-04 15:07:21 UTC (rev 65985)
@@ -0,0 +1,39 @@
+# $Id$
+
+PortSystem          1.0
+name                sctk
+version             2.4.0
+description         Speech Recognition Scoring Toolkit
+long_description    \
+    NIST ${description}
+maintainers         singingwolfboy openmaintainer
+categories          audio
+platforms           darwin freebsd
+homepage            http://www.itl.nist.gov/iad/mig/
+master_sites        ftp://jaguar.ncsl.nist.gov/pub/
+distname            ${name}-${version}-20091110-0958
+use_bzip2           yes
+checksums           md5     77912e75304098ffcc6850ecf641d1a4 \
+                    sha1    6c0fdc2806cd9d19fe635806517e6f0517d4dba2 \
+                    rmd160  3022f4b49c100f61ca9c818f5f5e3c3ab20a64d5
+
+worksrcdir          ${name}-${version}      
+configure.cmd       make
+configure.args      config
+configure.pre_args  PREFIX=${prefix}
+
+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}
+    
+    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}
+}


Property changes on: trunk/dports/audio/sctk/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/audio/sctk/files/DESTDIR.patch
===================================================================
--- trunk/dports/audio/sctk/files/DESTDIR.patch	                        (rev 0)
+++ trunk/dports/audio/sctk/files/DESTDIR.patch	2010-04-04 15:07:21 UTC (rev 65985)
@@ -0,0 +1,264 @@
+--- src/acomp/makefile.in	2004-08-30 11:02:07.000000000 -0400
++++ src/acomp/makefile.in	2010-04-03 23:30:06.000000000 -0400
+@@ -19,7 +19,7 @@
+ 	@echo "   No tests defined for acomp.pl"
+ 
+ install: all
+-	cp acomp.pl $(bindir)
++	cp acomp.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -12,8 +12,8 @@
+ 	@echo "No Tests for align2html.pl"
+ 
+ install: all
+-	perl buildInstallVersion.pl > $(bindir)/align2html.pl
+-	chmod +x $(bindir)/align2html.pl
++	perl buildInstallVersion.pl > $(DESTDIR)$(bindir)/align2html.pl
++	chmod +x $(DESTDIR)$(bindir)/align2html.pl
+ 
+ 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
+@@ -74,7 +74,7 @@
+ 
+ install: all
+ 	for p in $(PROGRAMS); do \
+-		$(INSTALL) $$p $(bindir)/$$p; \
++		$(INSTALL) $$p $(DESTDIR)$(bindir)/$$p; \
+ 	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
+@@ -32,7 +32,7 @@
+ 	@echo "   chfilt.pl tests successfully completed"
+ 
+ install: all
+-	cp chfilt.pl $(bindir)
++	cp chfilt.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -20,7 +20,7 @@
+ 	@echo "   csrfilt.sh successfully completed"
+ 
+ install: all
+-	cp csrfilt.sh $(bindir)
++	cp csrfilt.sh $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -11,7 +11,7 @@
+ 	(cd test_suite; $(SHELL) RunTest.sh ../ctmValidator.pl)
+ 
+ install: all
+-	cp ctmValidator.pl $(bindir)
++	cp ctmValidator.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -19,7 +19,7 @@
+ 	@echo "   def_art.pl passed without tests"
+ 
+ install: all
+-	cp def_art.pl $(bindir)
++	cp def_art.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -25,7 +25,7 @@
+ 	@echo "   hamzaNorm.pl tests successfully completed"
+ 
+ install: all
+-	cp hamzaNorm.pl $(bindir)
++	cp hamzaNorm.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -21,7 +21,7 @@
+ 	@echo "   hubscr.pl tests successfully completed"
+ 
+ install: all
+-	cp hubscr.pl $(bindir)
++	cp hubscr.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -15,7 +15,7 @@
+ 	@echo "No Tests for md-eval.pl"
+ 
+ install: all
+-	cp md-eval.pl $(bindir)
++	cp md-eval.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -15,7 +15,7 @@
+ 	@echo "No Tests for mergectm2rttm.pl"
+ 
+ install: all
+-	cp mergectm2rttm.pl $(bindir)
++	cp mergectm2rttm.pl $(DESTDIR)$(bindir)
+ 
+ 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 @@
+ 	@echo "   rfilter1 tests successfully completed"
+ 
+ install: all
+-	install rfilter1 $(bindir)
++	install rfilter1 $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -15,7 +15,7 @@
+ 	@echo "No Tests for rttmSmooth.pl"
+ 
+ install: all
+-	cp rttmSmooth.pl $(bindir)
++	cp rttmSmooth.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -15,7 +15,7 @@
+ 	@echo "No Tests for rttmSort.pl"
+ 
+ install: all
+-	cp rttmSort.pl $(bindir)
++	cp rttmSort.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -11,7 +11,7 @@
+ 	(cd test_suite; $(SHELL) RunTest.sh ../rttmValidator.pl)
+ 
+ install: all
+-	cp rttmValidator.pl $(bindir)
++	cp rttmValidator.pl $(DESTDIR)$(bindir)
+ 
+ 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 @@
+ 
+ install: all testinstalldirs
+ 	for p in $(PROGRAMS); do \
+-	  $(INSTALL) $$p $(bindir)/$$p; \
++	  $(INSTALL) $$p $(DESTDIR)$(bindir)/$$p; \
+ 	done
+ #REenable this later
+ #	for p in `(cd ../doc ; ls *.1)`; do \
+-#	  $(INSTALL) ../doc/$$p $(man1dir)/$$p; \
++#	  $(INSTALL) ../doc/$$p $(DESTDIR)$(man1dir)/$$p; \
+ #	done
+ #	@echo "!!!!  If 'man sclite' does not work, run 'catman -M $(mandir)'"
+ #	@echo "!!!!  to make manual pages accessible."
+ 
+ testinstalldirs:
+-	@-for p in $(bindir) $(man1dir) $(man5dir); do \
++	@-for p in $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir); do \
+ 	   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
+@@ -24,7 +24,7 @@
+ 	@echo "   slatreport.pl tests successfully completed"
+ 
+ install: all
+-	cp slatreport.pl $(bindir)
++	cp slatreport.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -15,7 +15,7 @@
+ 	@echo "No Tests for spkr2sad.pl"
+ 
+ install: all
+-	cp spkr2sad.pl $(bindir)
++	cp spkr2sad.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -15,7 +15,7 @@
+ 	@echo "No Tests for stm2rttm.pl"
+ 
+ install: all
+-	cp stm2rttm.pl $(bindir)
++	cp stm2rttm.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -13,8 +13,8 @@
+ 	(cd test_suite; $(SHELL) RunTest.sh ../stmValidator.pl)
+ 
+ install: all
+-	perl buildInstallVersion.pl > $(bindir)/stmValidator.pl
+-	chmod +x $(bindir)/stmValidator.pl
++	perl buildInstallVersion.pl > $(DESTDIR)$(bindir)/stmValidator.pl
++	chmod +x $(DESTDIR)$(bindir)/stmValidator.pl
+ 
+ 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
+@@ -31,7 +31,7 @@
+ 	@echo "   tanweenFilt.pl tests successfully completed"
+ 
+ install: all
+-	cp tanweenFilt.pl $(bindir)
++	cp tanweenFilt.pl $(DESTDIR)$(bindir)
+ 
+ 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
+@@ -26,8 +26,8 @@
+ 	fi	
+ 
+ install: all
+-	@sed 's:"nsgmls":"'$(NSGMLS)'":' < utf_filt.pl > $(bindir)/utf_filt.pl
+-	@chmod +x $(bindir)/utf_filt.pl
++	@sed 's:"nsgmls":"'$(NSGMLS)'":' < utf_filt.pl > $(DESTDIR)$(bindir)/utf_filt.pl
++	@chmod +x $(DESTDIR)$(bindir)/utf_filt.pl
+ 
+ config.sh: config.in
+ 	autoconf config.in | sed 's/Makefile/makefile/g' > config.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100404/86deb020/attachment.html>


More information about the macports-changes mailing list