Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 23:02:10 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305619 - in head/net-im/psi: . files
Message-ID:  <201210092302.q99N2AZd004517@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Tue Oct  9 23:02:10 2012
New Revision: 305619
URL: http://svn.freebsd.org/changeset/ports/305619

Log:
  Update to 0.15
  make D-Bus support optional [1]
  Respect CC, CFLAGS via QMAKEFLAGS
  
  PR:		ports/172406 [1]
  Submitted by:	amdmi3

Modified:
  head/net-im/psi/Makefile
  head/net-im/psi/distinfo   (contents, props changed)
  head/net-im/psi/files/patch-configure   (contents, props changed)

Modified: head/net-im/psi/Makefile
==============================================================================
--- head/net-im/psi/Makefile	Tue Oct  9 22:43:05 2012	(r305618)
+++ head/net-im/psi/Makefile	Tue Oct  9 23:02:10 2012	(r305619)
@@ -1,13 +1,8 @@
-# New ports collection makefile for:	psi
-# Date created:		Wed May  1 20:27:23 NZST 2002
-# Whom:			jonc@chen.org.nz
-#
+# Created by: Jonathan Chen <jonc@chen.org.nz>
 # $FreeBSD$
-#
 
 PORTNAME=	psi
-PORTVERSION=	0.14
-PORTREVISION=	3
+PORTVERSION=	0.15
 CATEGORIES=	net-im
 MASTER_SITES=	SF/${PORTNAME}/Psi/${PORTVERSION}
 
@@ -19,19 +14,20 @@ RUN_DEPENDS=	qca-ossl>=2.0.0.b3:${PORTSD
 		qca-gnupg>=2.0.0.b3:${PORTSDIR}/security/qca-gnupg
 
 HAS_CONFIGURE=	yes
+QT_NONSTANDARD=	yes
 USE_BZIP2=	yes
-USE_QT4=	corelib dbus gui iconengines imageformats qt3support \
-		inputmethods network script svg xml \
+USE_PKGCONFIG=	build
+USE_QT4=	gui network xml imageformats_run \
 		qmake_build moc_build rcc_build uic_build
+USE_XORG=	xscrnsaver
 
 CONFIGURE_ARGS=	--prefix=${PREFIX} --qtdir=${LOCALBASE} \
-		--disable-growl --disable-bundled-qca \
-		--verbose
+		--disable-growl --verbose
+CONFIGURE_ENV=	QMAKEFLAGS='${QMAKEFLAGS}'
+MAKE_JOBS_SAFE=	yes
 
-MAKE_JOBS_UNSAFE=	yes
-
-OPTIONS_DEFINE=	ASPELL ENCHANT
-OPTIONS_DEFAULT=	ASPELL
+OPTIONS_DEFINE=	ASPELL ENCHANT DBUS
+OPTIONS_DEFAULT=	ASPELL DBUS
 
 ASPELL_DESC=	Use aspell for spell checking
 ENCHANT_DESC=	Use Enchant for spell checking
@@ -46,6 +42,12 @@ CONFIGURE_ARGS+=	--release  --no-separat
 PLIST_SUB+=	DEBUG="@comment "
 .endif
 
+.if ${PORT_OPTIONS:MDBUS}
+USE_QT4+=	dbus
+.else
+CONFIGURE_ARGS+=	--disable-qdbus
+.endif
+
 .if ${PORT_OPTIONS:MASPELL}
 LIB_DEPENDS+=	aspell.16:${PORTSDIR}/textproc/aspell
 CONFIGURE_ARGS+=	--with-aspell-inc=${LOCALBASE}/include \

Modified: head/net-im/psi/distinfo
==============================================================================
--- head/net-im/psi/distinfo	Tue Oct  9 22:43:05 2012	(r305618)
+++ head/net-im/psi/distinfo	Tue Oct  9 23:02:10 2012	(r305619)
@@ -1,2 +1,2 @@
-SHA256 (psi-0.14.tar.bz2) = aa014a20d59beb23ce2e853fac3d1d70b4b029591627ae0f0a6a3b9f7150a4c0
-SIZE (psi-0.14.tar.bz2) = 2168801
+SHA256 (psi-0.15.tar.bz2) = 593b5ddd7934af69c245afb0e7290047fd7dedcfd8765baca5a3a024c569c7e6
+SIZE (psi-0.15.tar.bz2) = 1984777

Modified: head/net-im/psi/files/patch-configure
==============================================================================
--- head/net-im/psi/files/patch-configure	Tue Oct  9 22:43:05 2012	(r305618)
+++ head/net-im/psi/files/patch-configure	Tue Oct  9 23:02:10 2012	(r305619)
@@ -1,11 +1,28 @@
---- configure.orig	Sun Jan  8 05:19:01 2006
-+++ configure	Sat Feb  4 14:06:18 2006
-@@ -192,6 +192,8 @@
- 			shift
- 			;;
- 		--help) show_usage; exit ;;
-+		--with-*)
-+			shift ;;
- 		*) show_usage; exit ;;
- 	esac
- done
+--- ./configure.orig	2012-10-04 00:53:03.000000000 +0000
++++ ./configure	2012-10-06 22:30:21.900714143 +0000
+@@ -100,7 +100,7 @@
+ # find a make command
+ if [ -z "$MAKE" ]; then
+ 	MAKE=
+-	for mk in gmake make; do
++	for mk in make gmake; do
+ 		if $WHICH $mk >/dev/null 2>&1; then
+ 			MAKE=`$WHICH $mk`
+ 			break
+@@ -2186,7 +2186,7 @@
+ 	QDir::setCurrent(dir.path());
+ 
+ 	bool ok = false;
+-	int r = doCommand(qmake_path, QStringList() << "atest.pro");
++	int r = doCommand(qmake_path, QStringList() << qc_getenv("QMAKEFLAGS") << "atest.pro");
+ 	if(r == 0)
+ 	{
+ 		r = doCommand(maketool, QStringList());
+@@ -2587,6 +2587,7 @@
+ 		args += "-spec";
+ 		args += qmakespec;
+ 	}
++	args += qc_getenv("QMAKEFLAGS");
+ 	args += proPath;
+ 	int ret = qc_runprogram(qmake_path, args, 0, true);
+ 	if(ret != 0)



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