Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2018 05:46:21 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466197 - head/textproc/loook
Message-ID:  <201804020546.w325kL1N029576@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Mon Apr  2 05:46:20 2018
New Revision: 466197
URL: https://svnweb.freebsd.org/changeset/ports/466197

Log:
  - update to 0.8.5
  - added manpages, desktop file, icon, and NLS files.
  - reset maintainer
  PR:		208530

Modified:
  head/textproc/loook/Makefile
  head/textproc/loook/distinfo
  head/textproc/loook/pkg-descr

Modified: head/textproc/loook/Makefile
==============================================================================
--- head/textproc/loook/Makefile	Mon Apr  2 03:23:53 2018	(r466196)
+++ head/textproc/loook/Makefile	Mon Apr  2 05:46:20 2018	(r466197)
@@ -2,34 +2,56 @@
 # $FreeBSD$
 
 PORTNAME=	loook
-PORTVERSION=	0.6.5
-PORTREVISION=	2
+PORTVERSION=	0.8.5
 CATEGORIES=	textproc
-MASTER_SITES=	http://www.danielnaber.de/loook/
-DISTNAME=	${PORTNAME}
+MASTER_SITES=	http://mechtilde.de/Loook/Downloads/
 DIST_SUBDIR=	python
 
-MAINTAINER=	koalative@gmail.com
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple Python tool that search in LibreOffice/OpenOffice files
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR}
 
-WRKSRC=		${WRKDIR}
-
-USES=		python:2.7 zip
+USES=		python:3.4+
 NO_BUILD=	yes
 
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} \
+		man/man1/loook.1.gz \
+		man/de/man1/loook.1.gz \
+		share/applications/loook.desktop \
+		share/locale/cs/LC_MESSAGES/loook-0.8.5.mo \
+		share/locale/de/LC_MESSAGES/loook-0.8.5.mo \
+		share/locale/en/LC_MESSAGES/loook-0.8.5.mo \
+		share/locale/es/LC_MESSAGES/loook-0.8.5.mo \
+		share/locale/fr/LC_MESSAGES/loook-0.8.5.mo \
+		share/locale/it/LC_MESSAGES/loook-0.8.5.mo \
+		share/locale/nl/LC_MESSAGES/loook-0.8.5.mo \
+		share/pixmaps/loook.png \
 
+LCMESSAGES=	cs de en es fr it nl
+
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' \
+	@${REINPLACE_CMD} -e 's|/usr/bin/python3|${PYTHON_CMD}|' \
+		-e 's|/usr/share/locale/|${PREFIX}/share/locale/|' \
 		${WRKSRC}/${PORTNAME}.py
-	@(cd ${WRKSRC} ; ${RM} *.py.bak)
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py \
 		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	-${MKDIR} ${STAGEDIR}${PREFIX}/man/de/man1
+	${INSTALL_MAN} ${WRKSRC}/man/loook.1 \
+		${STAGEDIR}${PREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/man/de/loook.1 \
+		${STAGEDIR}${PREFIX}/man/de/man1/
+	${INSTALL_DATA} ${WRKSRC}/loook.desktop \
+		${STAGEDIR}${PREFIX}/share/applications/
+	${INSTALL_DATA} ${WRKSRC}/loook.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
+.for i in ${LCMESSAGES}
+	${INSTALL_DATA} ${WRKSRC}/locale/${i}/LC_MESSAGES/loook-0.8.5.mo \
+		${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES/
+.endfor
 
 .include <bsd.port.mk>

Modified: head/textproc/loook/distinfo
==============================================================================
--- head/textproc/loook/distinfo	Mon Apr  2 03:23:53 2018	(r466196)
+++ head/textproc/loook/distinfo	Mon Apr  2 05:46:20 2018	(r466197)
@@ -1,2 +1,3 @@
-SHA256 (python/loook.zip) = 65cb98991b9e6322af60a7ef1b47c429ad12ec50774375e46a5c733995eccfd4
-SIZE (python/loook.zip) = 11860
+TIMESTAMP = 1516014548
+SHA256 (python/loook-0.8.5.tar.gz) = 92d9fa736e1eee793e82e6b9586a1ce3fb8e30361e8fc3cd860029304ba2821b
+SIZE (python/loook-0.8.5.tar.gz) = 22263

Modified: head/textproc/loook/pkg-descr
==============================================================================
--- head/textproc/loook/pkg-descr	Mon Apr  2 03:23:53 2018	(r466196)
+++ head/textproc/loook/pkg-descr	Mon Apr  2 05:46:20 2018	(r466197)
@@ -4,4 +4,4 @@ LibreOffice and OpenOffice.org files.
 AND, OR and phrase searches are supported. It doesn't create an index,
 but searching should be fast enough unless you have really many files.
 
-WWW: http://www.danielnaber.de/loook/
+WWW: http://mechtilde.de/Loook/



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