Fixup fromcvs/togit conversion
[pkgsrcv2.git] / misc / taskjuggler / Makefile
1 # $NetBSD: Makefile,v 1.34 2013/02/16 11:23:28 wiz Exp $
2 #
3
4 DISTNAME=       taskjuggler-2.4.3
5 PKGREVISION=    20
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 GNU_CONFIGURE=  yes
15 SET_LIBDIR=     yes
16 CONFIGURE_ARGS+=--with-docdir=${PREFIX}/share/doc/taskjuggler/
17 USE_LANGUAGES=  c c++
18 USE_LIBTOOL=    yes
19 USE_TOOLS+=     perl msgfmt
20
21 REPLACE_SH=     TestSuite/runtests
22
23 SUBST_CLASSES+=         tz
24 SUBST_STAGE.tz=         post-patch
25 SUBST_FILES.tz=         TestSuite/Misc/export/project_a.tjp \
26                         TestSuite/Misc/export/project_b1.tjp \
27                         TestSuite/Misc/export/project_b2.tjp \
28                         TestSuite/Misc/export/project_b3.tjp \
29                         TestSuite/Misc/export/projectReference_a_1.tjp
30 SUBST_MESSAGE.tz=       Fixing old timezone names.
31 SUBST_SED.tz=           -e "s|timezone \"US/Mountain\"|timezone \"America/Denver\"|"
32
33 pre-build:
34         # I have no idea why this test fails, and it is undocumented.
35         # The log file also doesn't provide any useful information.
36         rm -f ${WRKSRC}/TestSuite/Syntax/Errors/Timezone.tjp
37
38 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
39 .include "../../meta-pkgs/kde3/kde3.mk"
40 .include "../../misc/kdepim3/buildlink3.mk" # for libkcal
41 .include "../../x11/qt3/application.mk"
42 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
43 .include "../../mk/bsd.pkg.mk"