aboutsummaryrefslogtreecommitdiff
path: root/editors/lfhex/Makefile
blob: 1261a742b0fa5684ac97aba3931bec02af1d06dc (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
# ex:ts=8
# New ports collection makefile for:	lfhex
# Date created:			Jul 6, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	lfhex
PORTVERSION=	0.3.2
PORTREVISION=	1
CATEGORIES=	editors
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	arved

MAINTAINER=	ports@freebsd.org
COMMENT=	"Large file hex editor"

LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt

USE_REINPLACE=	yes
USE_QT_VER=	3
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-qt-moc=${MOC}
USE_GMAKE=	yes
CONFIGURE_ENV=	CXXFLAGS="${PTHREAD_CFLAGS}"

post-patch:
	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \
		s,%%X11BASE%%,${X11BASE},g" ${WRKSRC}/src/Makefile.in

post-configure:
	${REINPLACE_CMD} -e "s,LFLAGS =,LFLAGS = ${PTHREAD_LIBS}," ${WRKSRC}/src/Makefile

.include <bsd.port.mk>