Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 12:53:12 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343220 - head/deskutils/qtm
Message-ID:  <201402071253.s17CrCsC014832@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Feb  7 12:53:12 2014
New Revision: 343220
URL: http://svnweb.freebsd.org/changeset/ports/343220
QAT: https://qat.redports.org/buildarchive/r343220/

Log:
  - Update to 1.3.15
  - Stage support
  
  PR:		186422
  Submitted by:	ports fury

Deleted:
  head/deskutils/qtm/pkg-plist
Modified:
  head/deskutils/qtm/Makefile
  head/deskutils/qtm/distinfo

Modified: head/deskutils/qtm/Makefile
==============================================================================
--- head/deskutils/qtm/Makefile	Fri Feb  7 12:52:51 2014	(r343219)
+++ head/deskutils/qtm/Makefile	Fri Feb  7 12:53:12 2014	(r343220)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	qtm
-PORTVERSION=	1.3.13
+PORTVERSION=	1.3.15
 CATEGORIES=	deskutils
-MASTER_SITES=	SF/catkin/${PORTNAME}-1.3 \
-		http://www.c-s.li/ports/
+MASTER_SITES=	SF/catkin/${PORTNAME}-${PORTVERSION:R}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Blog management application based on Qt 4
@@ -13,20 +12,32 @@ COMMENT=	Blog management application bas
 LICENSE=	GPLv2
 
 USE_BZIP2=	yes
+USES=		cmake
 USE_QT4=	corelib dbus gui network xml \
 		moc_build qmake_build rcc_build uic_build
 USE_OPENSSL=	yes
-USES=		cmake desktop-file-utils
 CMAKE_ARGS=	-DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
 		-DMANPAGE_DIRECTORY:STRING="${MANPREFIX}/man/man1" \
 		-DMARKDOWN_LOCATION:STRING="${LOCALBASE}/bin/markdown"
 
-OPTIONS_DEFINE=	DOCS
+PORTDOCS=	Changelog INSTALL README
+PLIST_FILES=	bin/qtm man/man1/qtm.1.gz share/applications/qtm.desktop \
+		share/pixmaps/qtm-logo1.png
+
+OPTIONS_DEFINE=		DOCS
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|icons|pixmaps|' ${WRKSRC}/CMakeLists.txt
+	@${REINPLACE_CMD} -e \
+		's|icons|pixmaps| ; \
+		 /^Categories/s|;X-.*;|;| ; \
+		 /^# /d' ${WRKSRC}/qtm-desktop.sh
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for doc in Changelog INSTALL README
-	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
+.for i in Changelog INSTALL README
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
 .endfor
 
 .include <bsd.port.mk>

Modified: head/deskutils/qtm/distinfo
==============================================================================
--- head/deskutils/qtm/distinfo	Fri Feb  7 12:52:51 2014	(r343219)
+++ head/deskutils/qtm/distinfo	Fri Feb  7 12:53:12 2014	(r343220)
@@ -1,2 +1,2 @@
-SHA256 (qtm-1.3.13.tar.bz2) = 810a3d112b11c37ce03e8811e2efa75d5156fb78e0ac876c17696dda80539b8d
-SIZE (qtm-1.3.13.tar.bz2) = 180591
+SHA256 (qtm-1.3.15.tar.bz2) = 6e26c70588427bf4bae63ee0848d83c25329c3d67892c4e799df40f0bea68560
+SIZE (qtm-1.3.15.tar.bz2) = 184899



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