freebsd-ports/editors/lfhex/Makefile
Alexey Dokuchaev 856105bda2 - Fix four cases of an obvious typo: LICENSE_FILES -> LICENSE_FILE
- While here: move knobs to their expected location, remove useless check
  for ${PORT_OPTIONS:MDOCS} when installing documentation, standardize
  Makefile headers
2015-07-25 15:06:48 +00:00

37 lines
816 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= lfhex
PORTVERSION= 0.42
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= http://stoopidsimple.com/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Large file hex editor
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/../COPYING
USES= bison qmake
USE_QT4= corelib gui moc_build rcc_build
WRKSRC= ${WRKDIR}/${DISTNAME}/src
PORTDOCS= README
PLIST_FILES= bin/lfhex
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|^DEFINES|# DEFINES|g' ${WRKSRC}/lfhex.pro
@${REINPLACE_CMD} -e 's| abs| llabs|g' ${WRKSRC}/reader.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lfhex ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>