summaryrefslogtreecommitdiff
path: root/misc/taskjuggler/Makefile
blob: 8a32b9d40223ff6308bff7bd5c2705d9948ce01c (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
31
32
33
34
35
36
37
38
39
40
41
42
43
# $NetBSD: Makefile,v 1.45 2014/08/22 11:24:39 wiz Exp $
#

DISTNAME=	taskjuggler-2.4.3
PKGREVISION=	30
CATEGORIES=	misc
MASTER_SITES=	http://www.taskjuggler.org/download/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.taskjuggler.org/
COMMENT=	Project management tool

GNU_CONFIGURE=	yes
SET_LIBDIR=	yes
CONFIGURE_ARGS+=--with-docdir=${PREFIX}/share/doc/taskjuggler/
USE_LANGUAGES=	c c++
USE_LIBTOOL=	yes
USE_TOOLS+=	perl msgfmt

REPLACE_SH=	TestSuite/runtests

SUBST_CLASSES+=		tz
SUBST_STAGE.tz=		post-patch
SUBST_FILES.tz=		TestSuite/Misc/export/project_a.tjp \
			TestSuite/Misc/export/project_b1.tjp \
			TestSuite/Misc/export/project_b2.tjp \
			TestSuite/Misc/export/project_b3.tjp \
			TestSuite/Misc/export/projectReference_a_1.tjp
SUBST_MESSAGE.tz=	Fixing old timezone names.
SUBST_SED.tz=		-e "s|timezone \"US/Mountain\"|timezone \"America/Denver\"|"

pre-build:
	# I have no idea why this test fails, and it is undocumented.
	# The log file also doesn't provide any useful information.
	rm -f ${WRKSRC}/TestSuite/Syntax/Errors/Timezone.tjp

.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../misc/kdepim3/buildlink3.mk" # for libkcal
.include "../../x11/qt3/application.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"