# -*- 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 # $Id: Portfile 109423 2013-08-15 10:18:57Z ryandesign@macports.org $ PortSystem 1.0 PortGroup github 1.0 github.setup megastep makeself 2.2.0 release- categories archivers platforms darwin maintainers nomaintainer license GPL-2+ supported_archs noarch description A small shell script that generates a self-extractable archives long_description \ makeself.sh is a small shell script that generates a \ self-extractable tar.gz archive from a directory. The \ resulting file appears as a shell script (many of those have \ a .run suffix), and can be launched as is. homepage http://www.megastep.org/makeself/ checksums rmd160 5f3e10a6a1a5c855e3fd2f2f43210ae5635ff5d5 \ sha256 b3c844e424887f930bdca7bddd961f67dcbcfc2e43ad4306444370a1358888b2 patchfiles patch-makeself.sh post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/makeself.sh } use_configure no build {} destroot { xinstall -d ${destroot}${prefix}/libexec/makeself xinstall ${worksrcpath}/makeself-header.sh ${destroot}${prefix}/libexec/makeself xinstall ${worksrcpath}/makeself.sh ${destroot}${prefix}/bin/makeself xinstall ${worksrcpath}/makeself.1 ${destroot}${prefix}/share/man/man1 set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} COPYING README.md ${destroot}${docdir} }