Files
2026-05-24 21:26:19 +10:00

34 lines
1.2 KiB
Plaintext

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup makefile 1.0
PortGroup github 1.0
github.setup julman99 eatmemory 1.1.0 v
github.tarball_from archive
revision 0
categories sysutils
maintainers {i0ntempest @i0ntempest} openmaintainer
license MIT
description Simple utility to allocate memory on a computer
long_description \
Simple C program to allocate memory from the command-line. Useful to test programs or systems under \
high memory usage conditions.
checksums rmd160 9737d1297e23d682e3087d44555092e4acd24539 \
sha256 1cbd585adcf014beaecd442454f15eeac8364eab12dde39593acc0a503b41223 \
size 33071
makefile.override-append \
PREFIX
post-patch {
reinplace "s|INSTALL_DIR := \$(PREFIX)/bin|INSTALL_DIR := \$(DESTDIR)\$(PREFIX)/bin|" ${worksrcpath}/Makefile
}
post-destroot {
file mkdir ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} README.md LICENSE ${destroot}${prefix}/share/doc/${name}
}