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

PORTNAME=	ksamba
PORTVERSION=	0.3.4
CATEGORIES=	net kde
MASTER_SITES=	${MASTER_SITE_KDE} \
		http://www.kneschke.de/projekte/ksamba/download/
MASTER_SITE_SUBDIR=	unstable/apps/network

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}" \
		MOC="${X11BASE}/bin/moc"
CONFIGURE_ARGS=	--with-qt-includes=${X11BASE}/include/X11/qt

post-extract:
	@${RM} -f ${WRKSRC}/config.cache
	@${RM} -f ${WRKSRC}/ksamba/*.moc

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

.include <bsd.port.mk>