source: trunk/dports/archivers/makeself/Portfile

Last change on this file was 109423, checked in by ryandesign@…, 4 years ago

makeself: update to 2.2.0, now hosted at github; install documentation into unversioned directory; add modeline

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 109423 2013-08-15 10:18:57Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       github 1.0
6
7github.setup    megastep makeself 2.2.0 release-
8categories      archivers
9platforms       darwin
10maintainers     nomaintainer
11license         GPL-2+
12supported_archs noarch
13
14description     A small shell script that generates a self-extractable archives
15
16long_description \
17    makeself.sh is a small shell script that generates a \
18    self-extractable tar.gz archive  from a directory. The \
19    resulting file appears as a shell script (many of those have \
20    a .run suffix), and can be launched as is.
21
22homepage        http://www.megastep.org/makeself/
23
24checksums       rmd160  5f3e10a6a1a5c855e3fd2f2f43210ae5635ff5d5 \
25                sha256  b3c844e424887f930bdca7bddd961f67dcbcfc2e43ad4306444370a1358888b2
26
27patchfiles      patch-makeself.sh
28
29post-patch {
30    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/makeself.sh
31}
32
33use_configure   no
34
35build {}
36
37destroot {
38    xinstall -d ${destroot}${prefix}/libexec/makeself
39    xinstall ${worksrcpath}/makeself-header.sh ${destroot}${prefix}/libexec/makeself
40    xinstall ${worksrcpath}/makeself.sh ${destroot}${prefix}/bin/makeself
41
42    xinstall ${worksrcpath}/makeself.1 ${destroot}${prefix}/share/man/man1
43
44    set docdir ${prefix}/share/doc/${name}
45    xinstall -d ${destroot}${docdir}
46    xinstall -m 0644 -W ${worksrcpath} COPYING README.md ${destroot}${docdir}
47}
Note: See TracBrowser for help on using the repository browser.