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?
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/qiv/Makefile,v
> retrieving revision 1.26
> diff -u -p -r1.26 Makefile
> --- Makefile 11 Mar 2013 11:10:55 -0000 1.26
> +++ Makefile 5 Sep 2013 16:21:52 -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,10 @@ MODULES= devel/gettext
>
> USE_GMAKE= Yes
> NO_TEST= Yes
> +
> +post-install:
> + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qiv/
> + ${INSTALL_DATA} ${WRKSRC}/qiv-command.example \
> + ${PREFIX}/share/examples/qiv/
>
> .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/graphics/qiv/distinfo,v
> retrieving revision 1.7
> diff -u -p -r1.7 distinfo
> --- distinfo 29 Mar 2012 06:05:14 -0000 1.7
> +++ distinfo 5 Sep 2013 16:21:52 -0000
> @@ -1,5 +1,2 @@
> -MD5 (qiv-2.2.4.tgz) = FCX4nJD5wEWFj8zyTYlMlw==
> -RMD160 (qiv-2.2.4.tgz) = 7I+Z9+3rb2gdjHbl+5bhb2R2FnY=
> -SHA1 (qiv-2.2.4.tgz) = ZQBSy3KCBwEwCyv+sJuWZiXuPbo=
> SHA256 (qiv-2.2.4.tgz) = 7WB43FUMHcL+NcHg9GRjwTWJokuD1PcQG3GnSF5Rq7c=
> SIZE (qiv-2.2.4.tgz) = 98874
> cvs server: Diffing patches
> cvs server: Diffing pkg
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/graphics/qiv/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -p -r1.3 PLIST
> --- pkg/PLIST 20 Aug 2009 18:58:39 -0000 1.3
> +++ pkg/PLIST 5 Sep 2013 16:21:52 -0000
> @@ -1,3 +1,6 @@
> @comment $OpenBSD: PLIST,v 1.3 2009/08/20 18:58:39 kili Exp $
> @bin bin/qiv
> @man man/man1/qiv.1
> +share/doc/pkg-readmes/${FULLPKGNAME}
> +share/examples/qiv/
> +share/examples/qiv/qiv-command.example
> Index: pkg/README
> ===================================================================
> RCS file: pkg/README
> diff -N pkg/README
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ pkg/README 5 Sep 2013 16:21:52 -0000
> @@ -0,0 +1,15 @@
> +$OpenBSD: README,v 1.2 2012/12/09 22:05:25 rpe Exp $
> +
> ++-----------------------------------------------------------------------
> +| Running ${FULLPKGNAME} on OpenBSD
> ++-----------------------------------------------------------------------
> +
> +If you want to use qiv-command and launch other programs within qiv, put
> +${PREFIX}/share/examples/qiv/qiv-command.example somewhere in the command
> +search path (for example, in the user's ~/bin directory):
> +mkdir ~/bin
> +cp ${PREFIX}/share/examples/qiv/qiv-command.example ~/bin/qiv-command
> +
> +Edit qiv-command script for your needs.
> +This is very nice for launching stuff like "metacam", "jhead", "exiftool"
> +etc.
>
>