blob: e1df23121ecf02d0272bac8ebb77b6de9cb6ef83 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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>
|