summaryrefslogtreecommitdiffstats
path: root/mail/liamail/Makefile
blob: 379b98fd4b273c8633762cb120923d29773a62ed (plain)
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
# ex:ts=8
# Ports collection makefile for:	liamail
# Date created:			Mar 4, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	liamail
PORTVERSION=	0.4
CATEGORIES=	mail
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

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

USE_QT_VER=	2
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib -lgnugetopt" \
		QTDIR="${X11BASE}"
USE_GMAKE=	yes

post-patch:
	@${PERL} -pi -e "s/qt.so/qt2.so/g" ${WRKSRC}/configure
	@${PERL} -pi -e "s/-lqt/-lqt2/g" ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>
OpenPOWER on IntegriCloud