freebsd-ports/editors/heme/Makefile

32 lines
684 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= heme
PORTVERSION= 0.4.2
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Small and fast console hex editor for Unix-like systems
LICENSE= GPLv2
ALL_TARGET= ${PORTNAME}
MAKE_ARGS= CFLAGS="${CFLAGS} -Wall -DHAVE_MMAP" INSTALL_PREFIX="${PREFIX}"
PLIST_FILES= bin/${PORTNAME}
MAN1= ${PORTNAME}.1
PORTDOCS= README
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>