Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 18:01:16 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309368 - in head/polish/qnapi: . files
Message-ID:  <201212211801.qBLI1Gm4009076@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Dec 21 18:01:16 2012
New Revision: 309368
URL: http://svnweb.freebsd.org/changeset/ports/309368

Log:
  - Update to version 1.6-rc2
  - Add missing deps
  - Don't install 3 copies of licensing terms
  - Replace patches with REINPLACE_CMD
  - Add port description, new homepage - old one seems dead

Deleted:
  head/polish/qnapi/files/patch-doc-qnapi.desktop
  head/polish/qnapi/files/patch-doc-qnapi_download.desktop
  head/polish/qnapi/files/patch-doc-qnapi_download.schemas
  head/polish/qnapi/files/patch-src-napi.h
Modified:
  head/polish/qnapi/Makefile
  head/polish/qnapi/distinfo
  head/polish/qnapi/pkg-descr

Modified: head/polish/qnapi/Makefile
==============================================================================
--- head/polish/qnapi/Makefile	Fri Dec 21 16:53:28 2012	(r309367)
+++ head/polish/qnapi/Makefile	Fri Dec 21 18:01:16 2012	(r309368)
@@ -1,24 +1,30 @@
-# New ports collection makefile for:	qnapi
-# Date created:		2008-02-15
-# Whom:			Pawel Pekala <c0rn@o2.pl>
-#
+# Created by: Pawel Pekala <c0rn@o2.pl>
 # $FreeBSD$
-#
 
 PORTNAME=	qnapi
-PORTVERSION=	0.1.5
-PORTREVISION=	4
+PORTVERSION=	0.1.6.r2
 CATEGORIES=	polish multimedia
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/
+DISTNAME=	${PORTNAME}-${PORTVERSION:R}-rc2
 
 MAINTAINER=	pawel@FreeBSD.org
-COMMENT=	Unofficial napiprojekt.pl qt4 client
+COMMENT=	Qt4 based subtitle downloader
 
 LICENSE=	GPLv2
 
+LIB_DEPENDS=	pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
+		pcre:${PORTSDIR}/devel/pcre \
+		png15:${PORTSDIR}/graphics/png \
+		freetype:${PORTSDIR}/print/freetype2 \
+		expat:${PORTSDIR}/textproc/expat2 \
+		xcb:${PORTSDIR}/x11/libxcb \
+		fontconfig:${PORTSDIR}/x11-fonts/fontconfig
 RUN_DEPENDS=	7z:${PORTSDIR}/archivers/p7zip
 
-USE_QT4=	corelib gui network qmake_build moc_build uic_build rcc_build
+USE_ICONV=	yes
+USE_GETTEXT=	yes
+USE_XORG=	ice sm x11 xau xdmcp xext xrender
+USE_QT4=	corelib gui network xml qmake_build moc_build uic_build rcc_build
 USE_KDE4=	kdehier
 QMAKE_ARGS=	PREFIX=${PREFIX} KDE4_PREFIX=${KDE4_PREFIX}
 MAKE_JOBS_SAFE=	yes
@@ -26,16 +32,15 @@ INSTALLS_ICONS=	yes
 
 MAN1=		qnapi.1
 MANCOMPRESSED=	yes
-PORTDOCS=	ChangeLog changelog.gz README README.pl LICENSE \
-		LICENSE.pl COPYRIGHT
+PORTDOCS=	ChangeLog README.pl COPYRIGHT
 
 .include <bsd.port.options.mk>
 
 post-patch:
-	@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' \
-		doc/qnapi.desktop doc/qnapi-download.desktop
-	@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@LOCALBASE@|${LOCALBASE}|g' \
-		src/napi.h
+	@${REINPLACE_CMD} 's|/usr/share/icons/||g' \
+		${WRKSRC}/doc/qnapi.desktop \
+		${WRKSRC}/doc/qnapi-download.desktop \
+		${WRKSRC}/doc/qnapi-download.schemas
 
 pre-build:
 	@cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC} ${QMAKEFLAGS} ${QMAKE_ARGS}

Modified: head/polish/qnapi/distinfo
==============================================================================
--- head/polish/qnapi/distinfo	Fri Dec 21 16:53:28 2012	(r309367)
+++ head/polish/qnapi/distinfo	Fri Dec 21 18:01:16 2012	(r309368)
@@ -1,2 +1,2 @@
-SHA256 (qnapi-0.1.5.tar.gz) = 88ef9e4c8a2e830b0b9b231888e0012d10ac5ab3b8df7a18d09f42ee7de7fa5d
-SIZE (qnapi-0.1.5.tar.gz) = 172405
+SHA256 (qnapi-0.1.6-rc2.tar.gz) = a2ae2d0b5d800565493c8840f5f584d480daaee1f01742689d927fdf68c5150a
+SIZE (qnapi-0.1.6-rc2.tar.gz) = 211567

Modified: head/polish/qnapi/pkg-descr
==============================================================================
--- head/polish/qnapi/pkg-descr	Fri Dec 21 16:53:28 2012	(r309367)
+++ head/polish/qnapi/pkg-descr	Fri Dec 21 18:01:16 2012	(r309368)
@@ -1 +1,5 @@
-WWW:	http://krzemin.iglu.cz/?page_id=29
+Free, Qt4-based application designed for automatically downloading and
+matching subtitles for your movie files.
+It uses NapiProjekt and OpenSubtitles databases.
+
+WWW: http://sourceforge.net/projects/qnapi/



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