Files
2022-07-21 14:43:27 -04:00

43 lines
1.9 KiB
Tcl

# -*- 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
name dhex
version 0.69
license GPL-2+
categories editors
platforms darwin
maintainers nomaintainer
description Themeable hex editor with diff mode.
long_description DHEX is a more than just another hex editor: It includes a diff \
mode, which can be used to easily and conveniently compare two \
binary files. Since it is based on ncurses and is themeable, \
it can run on any number of systems and scenarios. With its \
utilization of search logs, it is possible to track changes in \
different iterations of files easily.
homepage http://www.dettus.net
master_sites ${homepage}/${name}/
distname ${name}_${version}
checksums rmd160 e963140362f661bb415ae0519dcd62192ab4fa70 \
sha256 52730bcd1cf16bd4dae0de42531be9a4057535ec61ca38c0804eb8246ea6c41b \
size 57362
depends_lib-append port:ncurses
patchfiles patch-dhex-makefile.diff
use_configure no
build.env CXX=${configure.cxx} \
"CXXFLAGS=${configure.cxxflags} [get_canonical_archflags cxx]" \
CC=${configure.cc} \
CFLAGS=${configure.cflags} \
"LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]" \
PREFIX=${prefix}
destroot.destdir DESTDIR=${destroot}${prefix}
livecheck.type regex
livecheck.regex "href=\"${name}_(\\d+(?:\\.\\d+)*)"
livecheck.url [lindex ${master_sites} 0]