opnsense-ports/editors/hexedit/Makefile
Franco Fichtner 192db882b5 */*: sync with upstream
Taken from: HardenedBSD
2017-09-19 07:53:31 +02:00

31 lines
653 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= hexedit
PORTVERSION= 1.4.2
CATEGORIES= editors
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= View and edit files in hexadecimal or ASCII
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= autoreconf ncurses
USE_HARDENING= safestack
PLIST_FILES= bin/hexedit man/man1/hexedit.1.gz
GH_ACCOUNT= pixel
USE_GITHUB= yes
post-build:
m4 -DVERSION=${PORTVERSION} ${WRKSRC}/hexedit.1.in > ${WRKSRC}/hexedit.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
.include <bsd.port.mk>