aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/krusader2/Makefile
blob: 620b27b03efc362b339011445b425f92b1a0a22c (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
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:	krusader
# Date created:		21-04-2003
# Whom:			Heiner <h.eichmann@gmx.de>
#
# $FreeBSD$
#

PORTNAME=	krusader
PORTVERSION=	1.70.1
CATEGORIES=	x11-fm kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=krusader

MAINTAINER=	h.eichmann@gmx.de
COMMENT=	A two window file-manager for KDE, like midnight or norton commander

USE_KDELIBS_VER=3
USE_AUTOTOOLS=	libtool:15
USE_GMAKE=	yes
USE_GETTEXT=	yes

QTDIR?=${QT_PREFIX}/bin
KDEDIR?=${LOCALBASE}/bin
CONFIGURE_TARGET=
CONFIGURE_ENV+=QTDIR=${QTDIR} KDEDIR=${KDEDIR}
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
LD_CONFIG=	yes

MAN1=	krusader.1

pre-everything::
	@${ECHO_MSG}
	@${ECHO_MSG} "The following settings are assumed:"
	@${ECHO_MSG} "Installation directory of qt3: QTDIR=${QTDIR}"
	@${ECHO_MSG} "Installation directory of KDE3: KDEDIR=${KDEDIR}"
	@${ECHO_MSG} "If these assumptions are wrong, stop the build NOW and set the variables correspondingly!"
	@${ECHO_MSG}
	@sleep 3

pre-configure:
	${RM} ${WRKSRC}/admin/cvs.sh
	${TOUCH} ${WRKSRC}/admin/cvs.sh

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		Does not compile on FreeBSD 4.x
.endif

.include <bsd.port.post.mk>