aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-07-11 11:56:59 +0800
committerrafan <rafan@FreeBSD.org>2007-07-11 11:56:59 +0800
commit4d403f2398bd32c85eb32dd7a2666c66047e0efc (patch)
tree16d59e703413f655d00a3e70a441c5305c2da831 /deskutils
parent1fffe647adf0ff43963b4e23b6310c3405852c58 (diff)
downloadfreebsd-ports-gnome-4d403f2398bd32c85eb32dd7a2666c66047e0efc.tar.gz
freebsd-ports-gnome-4d403f2398bd32c85eb32dd7a2666c66047e0efc.tar.zst
freebsd-ports-gnome-4d403f2398bd32c85eb32dd7a2666c66047e0efc.zip
- Update to 2.4.0
PR: ports/114411 Submitted by: KATO Tsuguru <tkato432 at yahoo.com>
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/taskjuggler/Makefile50
-rw-r--r--deskutils/taskjuggler/distinfo6
-rw-r--r--deskutils/taskjuggler/files/patch-TestSuite_Misc_export_projectReference_a_1.tjp11
-rw-r--r--deskutils/taskjuggler/files/patch-TestSuite_runtests10
-rw-r--r--deskutils/taskjuggler/pkg-plist17
5 files changed, 41 insertions, 53 deletions
diff --git a/deskutils/taskjuggler/Makefile b/deskutils/taskjuggler/Makefile
index 19d6d4c93735..eba6f7c09174 100644
--- a/deskutils/taskjuggler/Makefile
+++ b/deskutils/taskjuggler/Makefile
@@ -6,33 +6,35 @@
#
PORTNAME= taskjuggler
-PORTVERSION= 2.3.0
-PORTREVISION= 1
+PORTVERSION= 2.4.0
CATEGORIES= deskutils
MASTER_SITES= http://www.taskjuggler.org/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= A project management tool for UNIX based operating systems
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
- ${SITE_PERL}/${PERL_ARCH}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker \
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker \
+ ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
${SITE_PERL}/PostScript/Simple.pm:${PORTSDIR}/print/p5-PostScript-Simple \
- ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
- poster:${PORTSDIR}/print/poster
-RUN_DEPENDS+= ${BUILD_DEPENDS}
+ poster:${PORTSDIR}/print/poster \
+ bash:${PORTSDIR}/shells/bash \
+ ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+RUN_DEPENDS= ${BUILD_DEPENDS}
OPTIONS= DOCS "Build documentation" on \
KDE "Build KDE frontend" on
USE_BZIP2= yes
-USE_GMAKE= yes
USE_QT_VER= 3
+USE_GNOME= gnometarget
USE_PERL5_RUN= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= autoconf:259:env automake:19:env libtool:15:env
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_CFLAGS}"
+CONFIGURE_ARGS= --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
USE_LDCONFIG= yes
-USE_AUTOTOOLS= libtool:15
-CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
@@ -60,17 +62,25 @@ PLIST_SUB+= WITH_KDE="@comment "
BROKEN= please unset SESSION_MANAGER
.endif
-pre-configure:
- @${SETENV} TZ=UTC ${TOUCH} -t 200512041507.49 ${WRKSRC}/Makefile.am.in
- @${SETENV} TZ=UTC ${TOUCH} -t 200512041507.52 ${WRKSRC}/Makefile.am
- @${SETENV} TZ=UTC ${TOUCH} -t 200609051627.51 ${WRKSRC}/subdirs
- ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
- ${WRKSRC}/configure
- ${REINPLACE_CMD} -e 's|exit 1|${ECHO_CMD} "*** Error detected - continue anyway ***"|' \
+post-patch:
+ @cd ${WRKSRC}/admin && ${REINPLACE_CMD} -e \
+ 's|="autoconf"|="${AUTOCONF:T}"|g ; \
+ s|="autoheader"|="${AUTOHEADER:T}"|g ; \
+ s|="autom4te"|="${AUTOM4TE:T}"|g ; \
+ s|="automake"|="${AUTOMAKE:T}"|g ; \
+ s|="aclocal"|="${ACLOCAL:T}"|g' detect-autoconf.sh
+ @${REINPLACE_CMD} -e 's| /bin/bash| ${LOCALBASE}/bin/bash|g ; \
+ s|^exit $$errors|exit 0|g' ${WRKSRC}/TestSuite/runtests
+ @${REINPLACE_CMD} -e 's|exit 1|${ECHO_CMD} "*** Error detected - continue anyway ***"|' \
${WRKSRC}/TestSuite/Misc/export/runtest
- ${FIND} ${WRKSRC}/TestSuite -name testdir | ${XARGS} \
+ @${FIND} ${WRKSRC}/TestSuite -name testdir | ${XARGS} \
${REINPLACE_CMD} -e 's|exit $$errors|exit 0|'
+pre-configure:
+ @cd ${WRKSRC}/admin && ${RM} -f ltmain.sh && ${CP} -f ${LTMAIN} .
+ @cd ${WRKSRC}/admin && ${RM} -f libtool.m4.in && ${CP} -f ${LIBTOOL_M4} libtool.m4.in
+ @cd ${WRKSRC} && ${GMAKE} -f admin/Makefile.common
+
post-build:
@${RMDIR} -p ~/.kde/share/config ~/.qt 2>/dev/null || ${TRUE}
diff --git a/deskutils/taskjuggler/distinfo b/deskutils/taskjuggler/distinfo
index d00d60262104..8fad3ca60d95 100644
--- a/deskutils/taskjuggler/distinfo
+++ b/deskutils/taskjuggler/distinfo
@@ -1,3 +1,3 @@
-MD5 (taskjuggler-2.3.0.tar.bz2) = c45b95507caf96ba39b7f40065c9f34b
-SHA256 (taskjuggler-2.3.0.tar.bz2) = 2c5c0ee8724058b8c1421d889dff23e6b8d0ceb5ccef835303f5a93c4e24da30
-SIZE (taskjuggler-2.3.0.tar.bz2) = 1238644
+MD5 (taskjuggler-2.4.0.tar.bz2) = d9076b5a1d2601f93ea4bc07780b7297
+SHA256 (taskjuggler-2.4.0.tar.bz2) = 5b7f31abecafa9b3a617045303789d7da306fa92ac468e89cf26db624ba4fd16
+SIZE (taskjuggler-2.4.0.tar.bz2) = 1264660
diff --git a/deskutils/taskjuggler/files/patch-TestSuite_Misc_export_projectReference_a_1.tjp b/deskutils/taskjuggler/files/patch-TestSuite_Misc_export_projectReference_a_1.tjp
deleted file mode 100644
index 791d7372ea74..000000000000
--- a/deskutils/taskjuggler/files/patch-TestSuite_Misc_export_projectReference_a_1.tjp
+++ /dev/null
@@ -1,11 +0,0 @@
---- TestSuite/Misc/export/projectReference_a_1.tjp.orig Tue Sep 5 18:27:47 2006
-+++ TestSuite/Misc/export/projectReference_a_1.tjp Mon Sep 18 23:38:32 2006
-@@ -1,7 +1,7 @@
- /*
- * For details about TaskJuggler see http://www.taskjuggler.org
- */
--project test "Test" "$Id" 2000-01-01-00:00:00-MST 2000-03-09-23:59:59-MST {
-+project test "Test" "$Id" 2000-01-01-00:00:00-UTC 2000-03-09-23:59:59-UTC {
- extend task {
- text UserText "User Text"
- reference UserRef "User Reference"
diff --git a/deskutils/taskjuggler/files/patch-TestSuite_runtests b/deskutils/taskjuggler/files/patch-TestSuite_runtests
deleted file mode 100644
index aed0cdd3c230..000000000000
--- a/deskutils/taskjuggler/files/patch-TestSuite_runtests
+++ /dev/null
@@ -1,10 +0,0 @@
---- TestSuite/runtests.orig Tue Sep 5 18:27:48 2006
-+++ TestSuite/runtests Tue Sep 19 22:05:13 2006
-@@ -24,5 +24,6 @@
- done
-
- echo $errors errors detected!
--exit $errors
-+# FreeBSD: don't stop package building when a test fails!
-+exit 0
-
diff --git a/deskutils/taskjuggler/pkg-plist b/deskutils/taskjuggler/pkg-plist
index b6bf51277da4..55b275b51a52 100644
--- a/deskutils/taskjuggler/pkg-plist
+++ b/deskutils/taskjuggler/pkg-plist
@@ -1,6 +1,5 @@
%%WITH_KDE%%bin/TaskJugglerUI
bin/taskjuggler
-lib/libtaskjuggler.a
lib/libtaskjuggler.la
lib/libtaskjuggler.so
lib/libtaskjuggler.so.3
@@ -57,31 +56,31 @@ lib/libtaskjuggler.so.3
%%PORTDOCS%%share/doc/HTML/en/taskjuggler/PropertyReference.xml
%%PORTDOCS%%share/doc/HTML/en/taskjuggler/SyntaxReference.xml
%%PORTDOCS%%share/doc/HTML/en/taskjuggler/UsageGuide.xml
-%%PORTDOCS%%%%WITH_KDE%%share/doc/HTML/en/taskjuggler/index.cache.bz2
+%%PORTDOCS%%share/doc/HTML/en/taskjuggler/index.cache.bz2
%%PORTDOCS%%share/doc/HTML/en/taskjuggler/index.docbook
%%PORTDOCS%%share/doc/HTML/en/taskjuggler/taskjuggler.xml
-%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/FirstProject/Accounting.html
-%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/FirstProject/Calendar.html
-%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/FirstProject/Status-Report.html
-%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/FirstProject/AccountingSoftware.tjp
-%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/BigProject/README
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/BigProject/Common/Resources.tji
+%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/BigProject/Project1/Project1-Interface.tji
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/BigProject/Project1/Project1.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/BigProject/Project1/Project1.tjp
-%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/BigProject/Project1/Project1-Interface.tji
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/BigProject/Project2/AccountingReport.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/BigProject/Project2/Project2.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/BigProject/Project2/Project2.tjp
+%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/BigProject/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/FirstProject/Accounting.html
+%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/FirstProject/AccountingSoftware.tjp
+%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/FirstProject/Calendar.html
+%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/FirstProject/Status-Report.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/Calendar-anders.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/Calendar-joe.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/Calendar-khaled.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/Calendar-paul.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/Calendar-sally.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/ResourceUsage-Jun.html
+%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/ShiftSchedule.tjp
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/ShiftTimes-06-03.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/ShiftTimes-06-10.html
%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/TaskCoverage-Jun.html
-%%PORTDOCS%%%%EXAMPLESDIR%%/Examples/ShiftSchedule/ShiftSchedule.tjp
%%WITH_KDE%%share/icons/crystalsvg/32x32/mimetypes/taskjuggler_tji.png
%%WITH_KDE%%share/icons/crystalsvg/32x32/mimetypes/taskjuggler_tjp.png
%%WITH_KDE%%share/icons/crystalsvg/32x32/mimetypes/taskjuggler_tjx.png