On Sat, December 14, 2013 18:36, Vadim Zhukov wrote:
> 2013/12/14 Kirill Bychkov <ki...@linklevel.net>:
>> ping
>>
>> On Thu, September 5, 2013 20:24, Kirill Bychkov wrote:
>>> Hi.
>>> This patch adds an example file for qiv-command and instructions how to
> use
>>> it.
>>> Regen distinfo while here.
>>>
>>> OK?
>>>
>
> Maybe it'll be better to patch the manual page of qiv instead of adding a
> readme?
>
> --
> WBR,
Version with patched manual:

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/qiv/Makefile,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 Makefile
--- Makefile    11 Mar 2013 11:10:55 -0000      1.26
+++ Makefile    20 Dec 2013 13:35:02 -0000
@@ -3,13 +3,14 @@
 COMMENT=               very small and pretty fast gdk/Imlib image viewer

 DISTNAME=              qiv-2.2.4
+REVISION =             0
 CATEGORIES=            graphics

 EXTRACT_SUFX=          .tgz

 HOMEPAGE=              http://spiegl.de/qiv/

-MASTER_SITES=          ${HOMEPAGE}/download/
+MASTER_SITES=          http://spiegl.de/qiv/download/

 LIB_DEPENDS=           devel/libmagic \
                        graphics/imlib2 \
@@ -29,5 +30,13 @@ MODULES=             devel/gettext

 USE_GMAKE=             Yes
 NO_TEST=               Yes
+
+post-configure:
+       ${SUBST_CMD} ${WRKSRC}/qiv.1
+
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qiv/
+       ${INSTALL_DATA} ${WRKSRC}/qiv-command.example \
+       ${PREFIX}/share/examples/qiv/

 .include <bsd.port.mk>
cvs server: Diffing patches
Index: patches/patch-qiv_1
===================================================================
RCS file: patches/patch-qiv_1
diff -N patches/patch-qiv_1
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-qiv_1 20 Dec 2013 13:35:02 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- qiv.1.orig Fri Dec 20 16:11:57 2013
++++ qiv.1      Fri Dec 20 16:15:36 2013
+@@ -287,7 +287,7 @@ thinks that the filename of the currently displayed im
+ changed to this new name and updates its internal filelist.
+ This is very useful when using qiv-command to rename files.
+ .P
+-Please also see the example that came together with qiv.
++You can copy example script from
${PREFIX}/share/examples/qiv/qiv-command.example.
+ .EE
+ .SH AUTHORS
+ .EX

> Vadim Zhukov
>



Reply via email to