update Sun Jan 17 06:37:00 PST 2010
[pkgsrc.git] / misc / taskjuggler / Makefile
1 # $NetBSD: Makefile,v 1.14 2010/01/17 12:02:29 wiz Exp $
2 #
3
4 DISTNAME=       taskjuggler-2.4.3
5 PKGREVISION=    1
6 CATEGORIES=     misc
7 MASTER_SITES=   http://www.taskjuggler.org/download/
8 EXTRACT_SUFX=   .tar.bz2
9
10 MAINTAINER=     pkgsrc-users@NetBSD.org
11 HOMEPAGE=       http://www.taskjuggler.org/
12 COMMENT=        Project management tool
13
14 PKG_DESTDIR_SUPPORT=    user-destdir
15
16 GNU_CONFIGURE=  yes
17 CONFIGURE_ARGS+=--with-docdir=${PREFIX}/share/doc/taskjuggler/
18 USE_LANGUAGES=  c c++
19 USE_LIBTOOL=    yes
20 USE_TOOLS+=     perl msgfmt
21
22 REPLACE_SH=     TestSuite/runtests
23
24 SUBST_CLASSES+=         tz
25 SUBST_STAGE.tz=         post-patch
26 SUBST_FILES.tz=         TestSuite/Misc/export/project_a.tjp \
27                         TestSuite/Misc/export/project_b1.tjp \
28                         TestSuite/Misc/export/project_b2.tjp \
29                         TestSuite/Misc/export/project_b3.tjp \
30                         TestSuite/Misc/export/projectReference_a_1.tjp
31 SUBST_MESSAGE.tz=       Fixing old timezone names.
32 SUBST_SED.tz=           -e "s|timezone \"US/Mountain\"|timezone \"America/Denver\"|"
33
34 pre-build:
35         # I have no idea why this test fails, and it is undocumented.
36         # The log file also doesn't provide any useful information.
37         rm -f ${WRKSRC}/TestSuite/Syntax/Errors/Timezone.tjp
38
39 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
40 .include "../../meta-pkgs/kde3/kde3.mk"
41 .include "../../misc/kdepim3/buildlink3.mk" # for libkcal
42 .include "../../x11/qt3/application.mk"
43 .include "../../mk/bsd.pkg.mk"