[28979] trunk/dports/archivers/makeself/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 12 14:32:51 PDT 2007


Revision: 28979
          http://trac.macosforge.org/projects/macports/changeset/28979
Author:   nox at macports.org
Date:     2007-09-12 14:32:51 -0700 (Wed, 12 Sep 2007)

Log Message:
-----------
makeself:
 * Now uses the versioned distfile provided on the homepage.
 * Added sha1 and rmd160 checksums.
 * Removed {{{cd}}}.

Modified Paths:
--------------
    trunk/dports/archivers/makeself/Portfile

Modified: trunk/dports/archivers/makeself/Portfile
===================================================================
--- trunk/dports/archivers/makeself/Portfile	2007-09-12 21:30:09 UTC (rev 28978)
+++ trunk/dports/archivers/makeself/Portfile	2007-09-12 21:32:51 UTC (rev 28979)
@@ -5,6 +5,7 @@
 name            makeself
 version         2.1.4
 categories      archivers
+platforms       darwin
 maintainers     nomaintainer
 description     A small shell script that generates a self-extractable archives
 
@@ -15,17 +16,15 @@
     a .run suffix), and can be launched as is. 
 
 homepage        http://www.megastep.org/makeself/
-platforms       darwin
 master_sites    ${homepage}
-
-distname        ${name}
 extract.suffix  .run
-checksums       md5 43289565b68c3490a6904c4aed004d51
 
+checksums       md5 43289565b68c3490a6904c4aed004d51 \
+                sha1 dbdd0b879c28ffba2dd5fb0ca20d3998edd3c8ea \
+                rmd160 ae8557d939de63b6767c4890d5761a62e4013a2a
+
 patchfiles      patch-makeself.sh
 
-worksrcdir      ${name}
-
 extract {
     system "sh ${distpath}/${distfiles} --nox11 --target ${worksrcpath}"
 }
@@ -39,17 +38,15 @@
 build {}
 
 destroot {
-    cd ${worksrcpath}
-
     xinstall -d ${destroot}${prefix}/libexec/makeself
-    xinstall makeself-header.sh ${destroot}${prefix}/libexec/makeself
-    xinstall makeself.sh ${destroot}${prefix}/bin/makeself
+    xinstall ${worksrcpath}/makeself-header.sh ${destroot}${prefix}/libexec/makeself
+    xinstall ${worksrcpath}/makeself.sh ${destroot}${prefix}/bin/makeself
 
-    xinstall makeself.1 ${destroot}${prefix}/share/man/man1
+    xinstall ${worksrcpath}/makeself.1 ${destroot}${prefix}/share/man/man1
 
     set docdir ${prefix}/share/doc/${name}-${version}
     xinstall -d ${destroot}${docdir}
-    xinstall -m 0644 COPYING README TODO ${destroot}${docdir}
+    xinstall -m 0644 -W ${worksrcpath} COPYING README TODO ${destroot}${docdir}
 }
 
 universal_variant   no

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070912/f6c221c3/attachment.html


More information about the macports-changes mailing list