summaryrefslogtreecommitdiff
path: root/net/kdetelnet/Makefile
blob: 296c560ee2ef457d8d443ae7345d61ed34008a16 (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
# New ports collection makefile for:	ktelnet
# Date created:		14 May 1998
# Whom:			Hans Petter Bieker <hanspb@persbraten.vgs.no>
#
# $FreeBSD$
#

PORTNAME=	ktelnet
PORTVERSION=	0.63
CATEGORIES=	net kde
MASTER_SITES=	http://www.spaghetti-code.de/download/ktelnet/
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org

BUILD_DEPENDS=	msgfmt:${PORTSDIR}/devel/gettext
LIB_DEPENDS=	kdecore.3:${PORTSDIR}/x11/kdelibs11

USE_QT=		yes
USE_GMAKE=	yes
USE_AUTOMAKE=	yes
CONFIGURE_ENV=	QTDIR="${X11BASE}" KDEDIR="${LOCALBASE}"
CONFIGURE_ARGS=	--with-qt-includes=${X11BASE}/include/X11/qt \
		--with-extra-includes=${X11BASE}/include \
		--with-extra-libs=${LOCALBASE}/lib \
		--program-transform-name='s,k,kde,'

post-extract:
	@find ${WRKSRC} -name '*\.deps*' | xargs ${RM} -rf

post-patch:
	@cd ${WRKSRC} && aclocal

.include <bsd.port.mk>