Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 12:55:27 +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: r334590 - in head/net-im: qwit qwit-devel
Message-ID:  <201311221255.rAMCtRpu085200@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Fri Nov 22 12:55:26 2013
New Revision: 334590
URL: http://svnweb.freebsd.org/changeset/ports/334590

Log:
  - Convert to USES=qmake
  - Add state support
  - Remove superfluous custom do-install target, convert to pkg-plist
  
  Approved by:	portmgr (blanket approval)

Added:
  head/net-im/qwit-devel/pkg-plist   (contents, props changed)
  head/net-im/qwit/pkg-plist   (contents, props changed)
Modified:
  head/net-im/qwit-devel/Makefile   (contents, props changed)
  head/net-im/qwit/Makefile   (contents, props changed)

Modified: head/net-im/qwit-devel/Makefile
==============================================================================
--- head/net-im/qwit-devel/Makefile	Fri Nov 22 12:55:22 2013	(r334589)
+++ head/net-im/qwit-devel/Makefile	Fri Nov 22 12:55:26 2013	(r334590)
@@ -3,26 +3,22 @@
 
 PORTNAME=	qwit
 DISTVERSION=	r215
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-im
 MASTER_SITES=	GOOGLE_CODE
 DISTNAME=	qwit-ng-${PORTVERSION}-src
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	sokolov@TrueBSD.org
-COMMENT=	A Qt4-based lightweight Twitter client
+COMMENT=	Qt4-based lightweight Twitter client
 
+USES=		qmake
 USE_BZIP2=	yes
-USE_QT4=	gui network xml qmake_build moc_build rcc_build \
-		uic
+USE_QT4=	gui network xml moc_build rcc_build \
+		uic_build
 
-PLIST_FILES=	bin/qwit-devel
-
-NO_STAGE=	yes
-pre-build:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o Makefile qwit2.pro
-
-do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/qwit2 ${PREFIX}/bin/qwit-devel
+post-patch:
+	${REINPLACE_CMD} '/icon.path/s,share/icons,share/pixmaps,' \
+		${WRKSRC}/qwit2.pro
 
 .include <bsd.port.mk>

Added: head/net-im/qwit-devel/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/qwit-devel/pkg-plist	Fri Nov 22 12:55:26 2013	(r334590)
@@ -0,0 +1,3 @@
+bin/qwit2
+share/applications/qwit.desktop
+share/pixmaps/qwit.png

Modified: head/net-im/qwit/Makefile
==============================================================================
--- head/net-im/qwit/Makefile	Fri Nov 22 12:55:22 2013	(r334589)
+++ head/net-im/qwit/Makefile	Fri Nov 22 12:55:26 2013	(r334590)
@@ -3,25 +3,20 @@
 
 PORTNAME=	qwit
 DISTVERSION=	r154
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-im
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 DISTNAME=	qwit-${PORTVERSION}-src
 
 MAINTAINER=	sokolov@TrueBSD.org
-COMMENT=	A Qt4-based lightweight Twitter client
+COMMENT=	Qt4-based lightweight Twitter client
 
+USES=		qmake
 USE_BZIP2=	yes
-USE_QT4=	gui network xml qmake_build moc_build rcc_build \
-		uic
-
-PLIST_FILES=	bin/qwit
-
-NO_STAGE=	yes
-pre-build:
-	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o Makefile qwit.pro
-
-do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/qwit ${PREFIX}/bin
+USE_QT4=	gui network xml moc_build rcc_build \
+		uic_build
+post-patch:
+	${REINPLACE_CMD} '/icon.path/s,share/icons,share/pixmaps,' \
+		${WRKSRC}/qwit.pro
 
 .include <bsd.port.mk>

Added: head/net-im/qwit/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/qwit/pkg-plist	Fri Nov 22 12:55:26 2013	(r334590)
@@ -0,0 +1,3 @@
+bin/qwit
+share/applications/qwit.desktop
+share/pixmaps/qwit.png



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