# Created by: Alexey Dokuchaev # $FreeBSD: head/editors/heme/Makefile 407644 2016-01-31 14:40:55Z marino $ PORTNAME= heme PORTVERSION= 0.4.2 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Small and fast console hex editor for Unix-like systems LICENSE= GPLv2 USES= ncurses ALL_TARGET= ${PORTNAME} MAKE_ARGS= CFLAGS="${CFLAGS} -Wall -DHAVE_MMAP" \ LDFLAGS="${LDFLAGS} -lncurses" \ INSTALL_PREFIX="${STAGEDIR}${PREFIX}" PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz PORTDOCS= README OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include