# $Id: Portfile 28979 2007-09-12 21:32:51Z nox@macports.org $ PortSystem 1.0 name makeself version 2.1.4 categories archivers platforms darwin maintainers nomaintainer 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/ master_sites ${homepage} extract.suffix .run checksums md5 43289565b68c3490a6904c4aed004d51 \ sha1 dbdd0b879c28ffba2dd5fb0ca20d3998edd3c8ea \ rmd160 ae8557d939de63b6767c4890d5761a62e4013a2a patchfiles patch-makeself.sh extract { system "sh ${distpath}/${distfiles} --nox11 --target ${worksrcpath}" } 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}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} COPYING README TODO ${destroot}${docdir} } universal_variant no