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

(-)./Makefile (-8 / +20 lines)
Lines 2-13 Link Here
2
# Date created:		Wed May  1 20:27:23 NZST 2002
2
# Date created:		Wed May  1 20:27:23 NZST 2002
3
# Whom:			jonc@chen.org.nz
3
# Whom:			jonc@chen.org.nz
4
#
4
#
5
# $FreeBSD: ports/net-im/psi/Makefile,v 1.56 2012/07/27 11:03:38 makc Exp $
5
# $FreeBSD: head/net-im/psi/Makefile 301600 2012-07-27 11:03:38Z makc $
6
#
6
#
7
7
8
PORTNAME=	psi
8
PORTNAME=	psi
9
PORTVERSION=	0.14
9
PORTVERSION=	0.15
10
PORTREVISION=	3
11
CATEGORIES=	net-im
10
CATEGORIES=	net-im
12
MASTER_SITES=	SF/${PORTNAME}/Psi/${PORTVERSION}
11
MASTER_SITES=	SF/${PORTNAME}/Psi/${PORTVERSION}
13
12
Lines 20-36 Link Here
20
19
21
HAS_CONFIGURE=	yes
20
HAS_CONFIGURE=	yes
22
USE_BZIP2=	yes
21
USE_BZIP2=	yes
23
USE_QT4=	corelib dbus gui iconengines imageformats qt3support \
22
USE_QT4=	corelib gui iconengines imageformats \
24
		inputmethods network script svg xml \
23
		inputmethods network script svg xml \
25
		qmake_build moc_build rcc_build uic_build
24
		qmake_build moc_build rcc_build uic_build
25
QT_NONSTANDARD=	yes
26
USE_GMAKE=	yes
26
27
27
CONFIGURE_ARGS=	--prefix=${PREFIX} --qtdir=${LOCALBASE} \
28
CONFIGURE_ARGS=	--prefix=${PREFIX} --qtdir=${LOCALBASE} \
28
		--disable-growl --disable-bundled-qca \
29
		--disable-growl --verbose
29
		--verbose
30
30
31
MAKE_JOBS_UNSAFE=	yes
31
MAKE_JOBS_SAFE=	yes
32
32
33
OPTIONS_DEFINE=	ASPELL ENCHANT
33
OPTIONS_DEFINE=	ASPELL ENCHANT DBUS
34
OPTIONS_DEFAULT=	ASPELL
34
OPTIONS_DEFAULT=	ASPELL
35
35
36
ASPELL_DESC=	Use aspell for spell checking
36
ASPELL_DESC=	Use aspell for spell checking
Lines 60-65 Link Here
60
CONFIGURE_ARGS+=	--disable-enchant
60
CONFIGURE_ARGS+=	--disable-enchant
61
.endif
61
.endif
62
62
63
.if ${PORT_OPTIONS:MDBUS}
64
USE_QT4+=	dbus
65
.else
66
CONFIGURE_ARGS+=	--disable-qdbus
67
.endif
68
69
post-patch:
70
	@${INSTALL_SCRIPT} ${FILESDIR}/qmake-wrapper.sh ${WRKDIR}
71
	@${REINPLACE_CMD} -e 's|%%QMAKE%%|${QMAKE}|; s|%%QMAKEFLAGS%%|${QMAKEFLAGS}|' \
72
		${WRKDIR}/qmake-wrapper.sh
73
	@${REINPLACE_CMD} -e 's|qm=""|qm="${WRKDIR}/qmake-wrapper.sh"|' ${WRKSRC}/configure
74
63
post-install:
75
post-install:
64
	${STRIP_CMD} ${PREFIX}/bin/psi
76
	${STRIP_CMD} ${PREFIX}/bin/psi
65
77
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (psi-0.14.tar.bz2) = aa014a20d59beb23ce2e853fac3d1d70b4b029591627ae0f0a6a3b9f7150a4c0
1
SHA256 (psi-0.15.tar.bz2) = 593b5ddd7934af69c245afb0e7290047fd7dedcfd8765baca5a3a024c569c7e6
2
SIZE (psi-0.14.tar.bz2) = 2168801
2
SIZE (psi-0.15.tar.bz2) = 1984777
(-)./files/patch-configure (-11 lines)
Lines 1-11 Link Here
1
--- configure.orig	Sun Jan  8 05:19:01 2006
2
+++ configure	Sat Feb  4 14:06:18 2006
3
@@ -192,6 +192,8 @@
4
 			shift
5
 			;;
6
 		--help) show_usage; exit ;;
7
+		--with-*)
8
+			shift ;;
9
 		*) show_usage; exit ;;
10
 	esac
11
 done
(-)./files/patch-iris__src__libbase.pri (-8 lines)
Lines 1-8 Link Here
1
--- ./iris/src/libbase.pri.orig	2009-07-27 01:02:12.000000000 +0400
2
+++ ./iris/src/libbase.pri	2009-08-10 13:57:28.000000000 +0400
3
@@ -5,4 +5,4 @@
4
 
5
 include(../common.pri)
6
 
7
-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.3
8
+#QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.3
(-)./files/qmake-wrapper.sh (+10 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# There seem to be no other (simple) way to make Psi build system
4
# respect QMAKEFLAGS, so inject them via this qmake wrapper script.
5
6
if ! echo "$@" | grep -q -- -prl; then
7
	exec %%QMAKE%% %%QMAKEFLAGS%% "$@"
8
else
9
	exec %%QMAKE%% "$@"
10
fi

Return to bug 172406