View | Details | Raw Unified | Return to bug 101190
Collapse All | Expand All

(-)deskutils/kdissert/Makefile (-13 / +14 lines)
Lines 6-26 Link Here
6
#
6
#
7
7
8
PORTNAME=	kdissert
8
PORTNAME=	kdissert
9
PORTVERSION=	1.0.5
9
PORTVERSION=	1.0.6
10
PORTREVISION=	1
11
CATEGORIES=	deskutils kde
10
CATEGORIES=	deskutils kde
12
MASTER_SITES=	http://www.kde-apps.org/content/files/
11
MASTER_SITES=	http://www.kde-apps.org/content/files/
13
DISTNAME=	12725-${PORTNAME}-${PORTVERSION}
12
DISTNAME=	12725-${PORTNAME}-${PORTVERSION}-waf-b
14
13
15
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	KDE mindmapping tool
15
COMMENT=	KDE mindmapping tool
17
16
18
BUILD_DEPENDS=	scons:${PORTSDIR}/devel/scons
17
WRKSRC=		${WRKDIR}/${DISTNAME:S/^12725-//}
19
20
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
21
18
22
USE_BZIP2=	yes
19
USE_BZIP2=	yes
23
USE_KDELIBS_VER=	3
20
USE_KDELIBS_VER=	3
21
USE_PYTHON_BUILD=	yes
22
MAKE_ENV=	QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}" 
24
23
25
.include <bsd.port.pre.mk>
24
.include <bsd.port.pre.mk>
26
25
Lines 28-48 Link Here
28
CXXFLAGS+=	-fpermissive
27
CXXFLAGS+=	-fpermissive
29
.endif
28
.endif
30
29
30
post-extract:
31
	@cd ${WRKSRC} && ${TAR} yxf miniwaf.tar.bz2
32
31
post-patch:
33
post-patch:
32
	@${REINPLACE_CMD} -e \
34
	@${REINPLACE_CMD} -e \
33
		's:%%CXX%%:${CXX}:g ; \
35
		's|%%LINKFLAGS%%|${PTHREAD_LIBS}|g ; \
34
		 s:%%CXXFLAGS%%:${CXXFLAGS} ${PTHREAD_CFLAGS}:g ; \
36
		 s|%%CPPFLAGS%%|${PTHREAD_CFLAGS}|g' \
35
		 s:%%LINKFLAGS%%:${PTHREAD_LIBS}:g' ${WRKSRC}/SConstruct
37
			${WRKSRC}/src/kdissert/wscript_build
36
38
37
do-configure:
39
do-configure:
38
	@cd ${WRKSRC} && ${SETENV} PREFIX="${PREFIX}" \
40
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf.py configure
39
		QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}" scons configure
40
41
41
do-build:
42
do-build:
42
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} scons
43
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf.py
43
44
44
do-install:
45
do-install:
45
	@cd ${WRKSRC} && scons install
46
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf.py install
46
	@${STRIP_CMD} ${PREFIX}/bin/kdissert
47
	@${STRIP_CMD} ${PREFIX}/bin/kdissert
47
48
48
.include <bsd.port.post.mk>
49
.include <bsd.port.post.mk>
(-)deskutils/kdissert/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (12725-kdissert-1.0.5.tar.bz2) = 18ff5d04d633cf3b4e3fbf869c18dd2f
1
MD5 (12725-kdissert-1.0.6-waf-b.tar.bz2) = abeb507a79aed0cc4ef6d1a4ee58ea94
2
SHA256 (12725-kdissert-1.0.5.tar.bz2) = b3485d1bc2a5363a94d261f04a4633f30b39d334c3b638f360f7b0d029a83300
2
SHA256 (12725-kdissert-1.0.6-waf-b.tar.bz2) = 91e4aba8cf10c1a5eb7ce1776afca65aed0611c1ca95e199a7dd3b3edd4450d9
3
SIZE (12725-kdissert-1.0.5.tar.bz2) = 489281
3
SIZE (12725-kdissert-1.0.6-waf-b.tar.bz2) = 501346
(-)deskutils/kdissert/files/patch-SConstruct (-13 lines)
Lines 1-13 Link Here
1
--- SConstruct.orig	Mon Jul 11 00:47:41 2005
2
+++ SConstruct	Sun Jul 24 02:59:09 2005
3
@@ -21,6 +21,10 @@
4
 
5
 env.KDEuse("environ rpath")
6
 
7
+env['CXX'] = "%%CXX%%"
8
+env['CPPFLAGS'] = "%%CXXFLAGS%%"
9
+env.AppendUnique(LINKFLAGS = ['%%LINKFLAGS%%'])
10
+
11
 ###################################################################
12
 # SCRIPTS FOR BUILDING THE TARGETS
13
 ###################################################################
(-)deskutils/kdissert/files/patch-src__kdissert__wscript_build (+11 lines)
Line 0 Link Here
1
--- src/kdissert/wscript_build.orig	Tue May 23 05:47:16 2006
2
+++ src/kdissert/wscript_build	Sat Jul 22 14:24:30 2006
3
@@ -8,6 +8,8 @@
4
 obj.uselib = 'QT KDECORE KIO KPARTS KMDI KDEPRINT'
5
 obj.target = 'kdissert'
6
 obj.env.appendValue('LINKFLAGS', ['-export-dynamic'])
7
+obj.env.appendValue('LINKFLAGS', ['%%LINKFLAGS%%'])
8
 obj.env.appendValue('CPPFLAGS',  ['-trigraphs'])
9
+obj.env.appendValue('CPPFLAGS',  ['%%CPPFLAGS%%'])
10
 obj.includes = '. datastruct canvasview gui shell treelistview'
11
 
(-)deskutils/kdissert/pkg-plist (-2 / +13 lines)
Lines 36-46 Link Here
36
share/apps/kdissert/tips
36
share/apps/kdissert/tips
37
share/apps/kdissertpart/kdissertpart.rc
37
share/apps/kdissertpart/kdissertpart.rc
38
share/config.kcfg/kdissert.kcfg
38
share/config.kcfg/kdissert.kcfg
39
share/doc/HTML/en/kdissert/common
40
share/doc/HTML/en/kdissert/index.cache.bz2
39
share/doc/HTML/en/kdissert/index.cache.bz2
41
share/doc/HTML/en/kdissert/index.docbook
40
share/doc/HTML/en/kdissert/index.docbook
42
share/doc/HTML/en/kdissert/screenshot.jpg
41
share/doc/HTML/en/kdissert/screenshot.jpg
43
share/doc/HTML/fr/kdissert/common
44
share/doc/HTML/fr/kdissert/index.cache.bz2
42
share/doc/HTML/fr/kdissert/index.cache.bz2
45
share/doc/HTML/fr/kdissert/index.docbook
43
share/doc/HTML/fr/kdissert/index.docbook
46
share/icons/hicolor/128x128/actions/kdissert_sort.png
44
share/icons/hicolor/128x128/actions/kdissert_sort.png
Lines 59-70 Link Here
59
share/icons/hicolor/32x32/apps/kdissert.png
57
share/icons/hicolor/32x32/apps/kdissert.png
60
share/icons/hicolor/64x64/actions/kdissert_sort.png
58
share/icons/hicolor/64x64/actions/kdissert_sort.png
61
share/icons/hicolor/64x64/apps/kdissert.png
59
share/icons/hicolor/64x64/apps/kdissert.png
60
share/locale/bg/LC_MESSAGES/kdissert.mo
61
share/locale/br/LC_MESSAGES/kdissert.mo
62
share/locale/cs/LC_MESSAGES/kdissert.mo
63
share/locale/da/LC_MESSAGES/kdissert.mo
62
share/locale/de/LC_MESSAGES/kdissert.mo
64
share/locale/de/LC_MESSAGES/kdissert.mo
65
share/locale/el/LC_MESSAGES/kdissert.mo
63
share/locale/es/LC_MESSAGES/kdissert.mo
66
share/locale/es/LC_MESSAGES/kdissert.mo
64
share/locale/fr/LC_MESSAGES/kdissert.mo
67
share/locale/fr/LC_MESSAGES/kdissert.mo
68
share/locale/ga/LC_MESSAGES/kdissert.mo
69
share/locale/gl/LC_MESSAGES/kdissert.mo
65
share/locale/it/LC_MESSAGES/kdissert.mo
70
share/locale/it/LC_MESSAGES/kdissert.mo
71
share/locale/ka/LC_MESSAGES/kdissert.mo
66
share/locale/nl/LC_MESSAGES/kdissert.mo
72
share/locale/nl/LC_MESSAGES/kdissert.mo
67
share/locale/pl/LC_MESSAGES/kdissert.mo
73
share/locale/pl/LC_MESSAGES/kdissert.mo
74
share/locale/pt/LC_MESSAGES/kdissert.mo
75
share/locale/pt_BR/LC_MESSAGES/kdissert.mo
76
share/locale/ru/LC_MESSAGES/kdissert.mo
77
share/locale/sv/LC_MESSAGES/kdissert.mo
78
share/locale/tr/LC_MESSAGES/kdissert.mo
68
share/mimelnk/application/x-kdissert.desktop
79
share/mimelnk/application/x-kdissert.desktop
69
share/services/kdissertpart.desktop
80
share/services/kdissertpart.desktop
70
@dirrm share/doc/HTML/fr/kdissert
81
@dirrm share/doc/HTML/fr/kdissert

Return to bug 101190