freebsd-ports/editors/lfhex/Makefile
Martin Wilke 2bd5751ba3 - Fix build with gcc 4.2
PR:		117801
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav)
2007-11-05 10:16:11 +00:00

43 lines
916 B
Makefile

# ex:ts=8
# New ports collection makefile for: lfhex
# Date created: Jul 6, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= lfhex
PORTVERSION= 0.3.7.2
PORTREVISION= 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= build
USE_GMAKE= yes
GNU_CONFIGURE= yes
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.pre.mk>
post-patch:
.if ${OSVERSION} >= 700042
${REINPLACE_CMD} -e 's|abs|llabs|g' \
${WRKSRC}/src/reader.cpp
.endif
.include <bsd.port.post.mk>