blob: babb845817cd7549c568ec7b907bca62de02bcf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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>
|