Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2006 01:00:12 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101190: Update port: deskutils/kdissert to 1.0.6
Message-ID:  <20060802010012.90915044.tkato432@yahoo.com>
Resent-Message-ID: <200608011610.k71GAOQn024679@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101190
>Category:       ports
>Synopsis:       Update port: deskutils/kdissert to 1.0.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 01 16:10:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p19 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.6

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/deskutils/kdissert/Makefile deskutils/kdissert/Makefile
--- /usr/ports/deskutils/kdissert/Makefile	Fri May  5 11:06:58 2006
+++ deskutils/kdissert/Makefile	Tue Jul 25 02:29:10 2006
@@ -6,21 +6,20 @@
 #
 
 PORTNAME=	kdissert
-PORTVERSION=	1.0.5
-PORTREVISION=	1
+PORTVERSION=	1.0.6
 CATEGORIES=	deskutils kde
 MASTER_SITES=	http://www.kde-apps.org/content/files/
-DISTNAME=	12725-${PORTNAME}-${PORTVERSION}
+DISTNAME=	12725-${PORTNAME}-${PORTVERSION}-waf-b
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	KDE mindmapping tool
 
-BUILD_DEPENDS=	scons:${PORTSDIR}/devel/scons
-
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC=		${WRKDIR}/${DISTNAME:S/^12725-//}
 
 USE_BZIP2=	yes
 USE_KDELIBS_VER=	3
+USE_PYTHON_BUILD=	yes
+MAKE_ENV=	QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}" 
 
 .include <bsd.port.pre.mk>
 
@@ -28,21 +27,23 @@
 CXXFLAGS+=	-fpermissive
 .endif
 
+post-extract:
+	@cd ${WRKSRC} && ${TAR} yxf miniwaf.tar.bz2
+
 post-patch:
 	@${REINPLACE_CMD} -e \
-		's:%%CXX%%:${CXX}:g ; \
-		 s:%%CXXFLAGS%%:${CXXFLAGS} ${PTHREAD_CFLAGS}:g ; \
-		 s:%%LINKFLAGS%%:${PTHREAD_LIBS}:g' ${WRKSRC}/SConstruct
+		's|%%LINKFLAGS%%|${PTHREAD_LIBS}|g ; \
+		 s|%%CPPFLAGS%%|${PTHREAD_CFLAGS}|g' \
+			${WRKSRC}/src/kdissert/wscript_build
 
 do-configure:
-	@cd ${WRKSRC} && ${SETENV} PREFIX="${PREFIX}" \
-		QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}" scons configure
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf.py configure
 
 do-build:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} scons
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf.py
 
 do-install:
-	@cd ${WRKSRC} && scons install
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf.py install
 	@${STRIP_CMD} ${PREFIX}/bin/kdissert
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/deskutils/kdissert/distinfo deskutils/kdissert/distinfo
--- /usr/ports/deskutils/kdissert/distinfo	Thu Nov 24 16:02:56 2005
+++ deskutils/kdissert/distinfo	Sat Jul 22 04:38:44 2006
@@ -1,3 +1,3 @@
-MD5 (12725-kdissert-1.0.5.tar.bz2) = 18ff5d04d633cf3b4e3fbf869c18dd2f
-SHA256 (12725-kdissert-1.0.5.tar.bz2) = b3485d1bc2a5363a94d261f04a4633f30b39d334c3b638f360f7b0d029a83300
-SIZE (12725-kdissert-1.0.5.tar.bz2) = 489281
+MD5 (12725-kdissert-1.0.6-waf-b.tar.bz2) = abeb507a79aed0cc4ef6d1a4ee58ea94
+SHA256 (12725-kdissert-1.0.6-waf-b.tar.bz2) = 91e4aba8cf10c1a5eb7ce1776afca65aed0611c1ca95e199a7dd3b3edd4450d9
+SIZE (12725-kdissert-1.0.6-waf-b.tar.bz2) = 501346
diff -urN /usr/ports/deskutils/kdissert/files/patch-SConstruct deskutils/kdissert/files/patch-SConstruct
--- /usr/ports/deskutils/kdissert/files/patch-SConstruct	Thu Jul 28 13:52:03 2005
+++ deskutils/kdissert/files/patch-SConstruct	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- SConstruct.orig	Mon Jul 11 00:47:41 2005
-+++ SConstruct	Sun Jul 24 02:59:09 2005
-@@ -21,6 +21,10 @@
- 
- env.KDEuse("environ rpath")
- 
-+env['CXX'] = "%%CXX%%"
-+env['CPPFLAGS'] = "%%CXXFLAGS%%"
-+env.AppendUnique(LINKFLAGS = ['%%LINKFLAGS%%'])
-+
- ###################################################################
- # SCRIPTS FOR BUILDING THE TARGETS
- ###################################################################
diff -urN /usr/ports/deskutils/kdissert/files/patch-src__kdissert__wscript_build deskutils/kdissert/files/patch-src__kdissert__wscript_build
--- /usr/ports/deskutils/kdissert/files/patch-src__kdissert__wscript_build	Thu Jan  1 09:00:00 1970
+++ deskutils/kdissert/files/patch-src__kdissert__wscript_build	Sat Jul 22 17:54:51 2006
@@ -0,0 +1,11 @@
+--- src/kdissert/wscript_build.orig	Tue May 23 05:47:16 2006
++++ src/kdissert/wscript_build	Sat Jul 22 14:24:30 2006
+@@ -8,6 +8,8 @@
+ obj.uselib = 'QT KDECORE KIO KPARTS KMDI KDEPRINT'
+ obj.target = 'kdissert'
+ obj.env.appendValue('LINKFLAGS', ['-export-dynamic'])
++obj.env.appendValue('LINKFLAGS', ['%%LINKFLAGS%%'])
+ obj.env.appendValue('CPPFLAGS',  ['-trigraphs'])
++obj.env.appendValue('CPPFLAGS',  ['%%CPPFLAGS%%'])
+ obj.includes = '. datastruct canvasview gui shell treelistview'
+ 
diff -urN /usr/ports/deskutils/kdissert/pkg-plist deskutils/kdissert/pkg-plist
--- /usr/ports/deskutils/kdissert/pkg-plist	Sat Oct 29 13:22:21 2005
+++ deskutils/kdissert/pkg-plist	Sat Jul 22 15:44:53 2006
@@ -36,11 +36,9 @@
 share/apps/kdissert/tips
 share/apps/kdissertpart/kdissertpart.rc
 share/config.kcfg/kdissert.kcfg
-share/doc/HTML/en/kdissert/common
 share/doc/HTML/en/kdissert/index.cache.bz2
 share/doc/HTML/en/kdissert/index.docbook
 share/doc/HTML/en/kdissert/screenshot.jpg
-share/doc/HTML/fr/kdissert/common
 share/doc/HTML/fr/kdissert/index.cache.bz2
 share/doc/HTML/fr/kdissert/index.docbook
 share/icons/hicolor/128x128/actions/kdissert_sort.png
@@ -59,12 +57,25 @@
 share/icons/hicolor/32x32/apps/kdissert.png
 share/icons/hicolor/64x64/actions/kdissert_sort.png
 share/icons/hicolor/64x64/apps/kdissert.png
+share/locale/bg/LC_MESSAGES/kdissert.mo
+share/locale/br/LC_MESSAGES/kdissert.mo
+share/locale/cs/LC_MESSAGES/kdissert.mo
+share/locale/da/LC_MESSAGES/kdissert.mo
 share/locale/de/LC_MESSAGES/kdissert.mo
+share/locale/el/LC_MESSAGES/kdissert.mo
 share/locale/es/LC_MESSAGES/kdissert.mo
 share/locale/fr/LC_MESSAGES/kdissert.mo
+share/locale/ga/LC_MESSAGES/kdissert.mo
+share/locale/gl/LC_MESSAGES/kdissert.mo
 share/locale/it/LC_MESSAGES/kdissert.mo
+share/locale/ka/LC_MESSAGES/kdissert.mo
 share/locale/nl/LC_MESSAGES/kdissert.mo
 share/locale/pl/LC_MESSAGES/kdissert.mo
+share/locale/pt/LC_MESSAGES/kdissert.mo
+share/locale/pt_BR/LC_MESSAGES/kdissert.mo
+share/locale/ru/LC_MESSAGES/kdissert.mo
+share/locale/sv/LC_MESSAGES/kdissert.mo
+share/locale/tr/LC_MESSAGES/kdissert.mo
 share/mimelnk/application/x-kdissert.desktop
 share/services/kdissertpart.desktop
 @dirrm share/doc/HTML/fr/kdissert
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060802010012.90915044.tkato432>