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

Last change on this file since 70601 was 70601, checked in by ryandesign@…, 10 years ago

makeself: update to 2.1.5 and use 'supported_archs noarch'

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