source: trunk/dports/archivers/makeself/Portfile @ 28979

Last change on this file since 28979 was 28979, checked in by nox@…, 13 years ago

makeself:

  • Now uses the versioned distfile provided on the homepage.
  • Added sha1 and rmd160 checksums.
  • Removed cd.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 28979 2007-09-12 21:32:51Z nox@macports.org $
2
3PortSystem      1.0
4
5name            makeself
6version         2.1.4
7categories      archivers
8platforms       darwin
9maintainers     nomaintainer
10description     A small shell script that generates a self-extractable archives
11
12long_description \
13    makeself.sh is a small shell script that generates a \
14    self-extractable tar.gz archive  from a directory. The \
15    resulting file appears as a shell script (many of those have \
16    a .run suffix), and can be launched as is.
17
18homepage        http://www.megastep.org/makeself/
19master_sites    ${homepage}
20extract.suffix  .run
21
22checksums       md5 43289565b68c3490a6904c4aed004d51 \
23                sha1 dbdd0b879c28ffba2dd5fb0ca20d3998edd3c8ea \
24                rmd160 ae8557d939de63b6767c4890d5761a62e4013a2a
25
26patchfiles      patch-makeself.sh
27
28extract {
29    system "sh ${distpath}/${distfiles} --nox11 --target ${worksrcpath}"
30}
31
32post-patch {
33    reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/makeself.sh
34}
35
36use_configure   no
37
38build {}
39
40destroot {
41    xinstall -d ${destroot}${prefix}/libexec/makeself
42    xinstall ${worksrcpath}/makeself-header.sh ${destroot}${prefix}/libexec/makeself
43    xinstall ${worksrcpath}/makeself.sh ${destroot}${prefix}/bin/makeself
44
45    xinstall ${worksrcpath}/makeself.1 ${destroot}${prefix}/share/man/man1
46
47    set docdir ${prefix}/share/doc/${name}-${version}
48    xinstall -d ${destroot}${docdir}
49    xinstall -m 0644 -W ${worksrcpath} COPYING README TODO ${destroot}${docdir}
50}
51
52universal_variant   no
53
Note: See TracBrowser for help on using the repository browser.