[117497] trunk/dports/textproc/brown-cluster/Portfile

hum at macports.org hum at macports.org
Sat Mar 1 01:59:52 PST 2014


Revision: 117497
          https://trac.macports.org/changeset/117497
Author:   hum at macports.org
Date:     2014-03-01 01:59:52 -0800 (Sat, 01 Mar 2014)
Log Message:
-----------
brown-cluster: update to 1.3-20140227; install cluster-viewer.

Modified Paths:
--------------
    trunk/dports/textproc/brown-cluster/Portfile

Modified: trunk/dports/textproc/brown-cluster/Portfile
===================================================================
--- trunk/dports/textproc/brown-cluster/Portfile	2014-03-01 09:58:50 UTC (rev 117496)
+++ trunk/dports/textproc/brown-cluster/Portfile	2014-03-01 09:59:52 UTC (rev 117497)
@@ -4,9 +4,9 @@
 PortSystem          1.0
 PortGroup           github 1.0
 
-github.setup        percyliang brown-cluster 56162bb5907c442f9a7b28282bfc67fa8f748942
+github.setup        percyliang brown-cluster a4d98664eea191a83ea8681452bd2bd8996e88a5
 
-version             1.3-20131126
+version             1.3-20140227
 categories          textproc
 maintainers         hum openmaintainer
 
@@ -16,8 +16,8 @@
 platforms           darwin
 license             Permissive
 
-checksums           rmd160  4e25afb8cb7f3a9501f1da151e677e0d45dbed95 \
-                    sha256  b856d5ef13ec96782061890f414533cf3272e92024d0e1696c3eca32426bf8d1
+checksums           rmd160  e049019e83848b89d126f73a34d1fd81ccecd8c5 \
+                    sha256  0c6cb2ad871273bbf9fce27c95b9b5d5f996de5e5b164ab61c8d5402e19c158d
 
 patchfiles          patch-Makefile.diff
 
@@ -40,12 +40,17 @@
                     CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]"
 
 destroot {
+    # install binary.
     xinstall -m 755 ${worksrcpath}/wcluster ${destroot}${prefix}/bin
-
-    set dest_doc ${destroot}${prefix}/share/doc/${name}
-    set dest_ex  ${destroot}${prefix}/share/examples/${name}
-    xinstall -d ${dest_doc}
-    xinstall -d ${dest_ex}
-    xinstall -m 644 -W ${worksrcpath} README               ${dest_doc}
-    xinstall -m 644 -W ${worksrcpath} input.txt output.txt ${dest_ex}
+    # install additional documents and examples.
+    set docdir ${prefix}/share/doc/${name}
+    set exdir ${prefix}/share/examples/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -d ${destroot}${exdir}
+    xinstall -m 644 -W ${worksrcpath} README               ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} input.txt output.txt ${destroot}${exdir}
+    # install cluster-viewer.
+    set libexecdir ${prefix}/libexec/${name}
+    xinstall -d ${destroot}${libexecdir}
+    copy ${worksrcpath}/cluster-viewer ${destroot}${libexecdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140301/25ad38ed/attachment-0001.html>


More information about the macports-changes mailing list