freebsd-ports/editors/uhex/Makefile
Alexey Dokuchaev 13681d540b editors/uhex: new port had been added (+)
uHex is small and fast multiplatform hexadecimal editor with support
for large files (up to 2 GB) while using minimal amounts of memory.

WWW: https://uhex.sourceforge.net/
2023-03-16 05:40:54 +00:00

22 lines
518 B
Makefile

PORTNAME= uhex
PORTVERSION= 1.0.4
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= Simple and fast console hexadecimal editor
WWW= https://uhex.sourceforge.net/
LICENSE= BSD2CLAUSE
PLIST_FILES= bin/${PORTNAME}
do-build:
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -DSWITCHCHAR=\'-\' \
-DSWITCHSTR=\"-\" file.c io-curse.c uhex.c \
-o ${PORTNAME} -lncurses
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>