freebsd-ports/editors/lfhex/Makefile
Rene Ladan 99d6d12a38 Mark QT4 ports/functionality for removal on 2019-03-15
While here, chase some KDE4 ports and functionality, these are scheduled for
removal on 2018-12-31. Change the default option/flavor to QT5 where applicable
or use alternative toolkits like GTK.

Submitted by:	tcberner
Reviewed by:	adridg, jhale, rene, tcberner
Approved by:	portmgr (implicit, flavor hook)
Differential Revision:	https://reviews.freebsd.org/D17741
2018-12-02 15:41:47 +00:00

40 lines
880 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 # only
LICENSE_FILE= ${WRKSRC}/../COPYING
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2019-03-15
USES= bison qmake qt:4
USE_QT= corelib gui moc_build rcc_build
WRKSRC_SUBDIR= src
PORTDOCS= README
PLIST_FILES= bin/lfhex
OPTIONS_DEFINE= DOCS
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
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>