13681d540b
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/
22 lines
518 B
Makefile
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>
|