# ex:ts=8
# New ports collection makefile for:	lfhex
# Date created:			Jul 6, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	lfhex
PORTVERSION=	0.3.7.2
CATEGORIES=	editors
MASTER_SITES=	http://stoopidsimple.com/files/ \
		http://home.earthlink.net/~eyekode/data/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Large file hex editor

USE_QT_VER=	3
USE_BISON=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	QTDIR="${QT_PREFIX}"
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=	--with-qt-moc=${MOC}

MAKE_ARGS=	CXXFLAGS="${CXXFLAGS}" \
		EXEC_PREFIX="${PREFIX}/bin" \
		IFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
		LFLAGS="${QTCFGLIBS} -lqt-mt ${PTHREAD_LIBS}" \
		INSTALL="${INSTALL_PROGRAM}" \
		VERBOSE=1

PLIST_FILES=	bin/lfhex

.include <bsd.port.mk>