# -*- 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 PortSystem 1.0 PortGroup makefile 1.0 PortGroup github 1.0 PortGroup muniversal 1.1 github.setup pts pts-tiny-7z-sfx 9.22+pts7 v github.tarball_from archive revision 0 categories archivers maintainers {i0ntempest @i0ntempest} openmaintainer license GPL-2 description size-optimized tiny .7z extractor and SFX long_description ${name} is a tiny 7-Zip (.7z archive) extractor and self-extractor\ (SFX) written in standard C checksums rmd160 c9e9c408f553759759b51dc7a6db60c3d4bc1beb \ sha256 9bc7be2f54e0ef789825ac520e3d4a5c53cd208e4c362a915ef4644cb928e9f1 \ size 1404094 post-patch { reinplace "s|CFLAGS = -s|CFLAGS =|g" Makefile reinplace "s|tiny7zx.dynamic|tiny7zx|g" Makefile reinplace "s|lseek64(|lseek(|g" 7zStream.c } destroot { xinstall -m 0755 ${worksrcpath}/tiny7zx ${destroot}${prefix}/bin }