freebsd-ports/editors/heme/Makefile
Alexey Dokuchaev 07bf796007 Stagify; while using ${STAGEDIR} in INSTALL_PREFIX looks suspicious, it
is actually okay here, since this value is not referenced in the source
code itself yet simplifies things for us (no patches needed).
2014-01-17 02:56:01 +00:00

27 lines
647 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="${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 <bsd.port.mk>