# -*- 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

name                    lxsplit
version                 0.2.4
categories              sysutils
license                 GPL-2
maintainers             {i0ntempest @i0ntempest} openmaintainer

description             simple tool for splitting files and joining the splitted files
long_description        ${name} is a ${description} on unix-like platforms, such as Linux, FreeBSD, OpenBSD, etc.\
                        It is fully compatible with the HJSplit utility which is available for other operating systems.\
                        Splitting is done without compression.

homepage                https://${name}.sourceforge.net/
master_sites            sourceforge:${name}

checksums               rmd160  6a3318f447a64e9b26da799057c2c28a49bf256f \
                        sha256  858fa939803b2eba97ccc5ec57011c4f4b613ff299abbdc51e2f921016845056 \
                        size    14663

# Makefile does not use DESTDIR
post-patch {
    reinplace "s|/usr/local|${destroot}${prefix}|g" Makefile
}
