# $Id: Portfile 28973 2007-09-12 21:15:33Z nox@macports.org $ PortSystem 1.0 name makeself version 2.1.4 categories archivers 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/ platforms darwin master_sites ${homepage} distname ${name} extract.suffix .run checksums md5 43289565b68c3490a6904c4aed004d51 patchfiles patch-makeself.sh worksrcdir ${name} extract { system "sh ${distpath}/${distfiles} --nox11 --target ${worksrcpath}" } post-patch { reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/makeself.sh } use_configure no build {} destroot { cd ${worksrcpath} xinstall -d ${destroot}${prefix}/libexec/makeself xinstall makeself-header.sh ${destroot}${prefix}/libexec/makeself xinstall makeself.sh ${destroot}${prefix}/bin/makeself xinstall makeself.1 ${destroot}${prefix}/share/man/man1 set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 COPYING README TODO ${destroot}${docdir} } universal_variant no