On Sun, Jun 07, 2015 at 11:19:39PM +0200, Dmitrij D. Czarkoff wrote:
> Hi!
>
> I noticed that peg-e places its manual to ${PREFIX}/share/man instead of
> ${PREFIX}/man. Patch below fixes it.
OK
> Dmitrij D. Czarkoff
>
> Index: Makefile
> ===================================================================
> RCS file: /var/cvs/ports/games/gottcode/peg-e/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- Makefile 28 May 2015 10:17:23 -0000 1.5
> +++ Makefile 7 Jun 2015 21:10:30 -0000
> @@ -4,6 +4,6 @@ GAME = peg-e
> COMMENT = basic peg solitaire game
> DISTNAME = ${GAME}-1.2.1-src
> QT5=Yes
> -REVISION = 0
> +REVISION = 1
>
> .include <bsd.port.mk>
> Index: patches/patch-peg-e_pro
> ===================================================================
> RCS file: patches/patch-peg-e_pro
> diff -N patches/patch-peg-e_pro
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-peg-e_pro 7 Jun 2015 21:02:12 -0000
> @@ -0,0 +1,12 @@
> +$OpenBSD$
> +--- peg-e.pro.orig Sun Jun 7 23:01:55 2015
> ++++ peg-e.pro Sun Jun 7 23:02:05 2015
> +@@ -86,7 +86,7 @@ macx {
> + qm.path = $$PREFIX/share/peg-e/translations
> +
> + man.files = doc/peg-e.6
> +- man.path = $$PREFIX/share/man/man6
> ++ man.path = $$PREFIX/man/man6
> +
> + INSTALLS += target icon pixmap desktop appdata icons qm man
> + }
> Index: pkg/PLIST
> ===================================================================
> RCS file: /var/cvs/ports/games/gottcode/peg-e/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -p -r1.3 PLIST
> --- pkg/PLIST 6 Apr 2015 15:00:54 -0000 1.3
> +++ pkg/PLIST 7 Jun 2015 21:04:16 -0000
> @@ -1,5 +1,6 @@
> @comment $OpenBSD: PLIST,v 1.3 2015/04/06 15:00:54 landry Exp $
> @bin bin/peg-e
> +@man man/man6/peg-e.6
> share/appdata/
> share/appdata/peg-e.appdata.xml
> share/applications/peg-e.desktop
> @@ -16,9 +17,6 @@ share/icons/hicolor/48x48/apps/peg-e.png
> share/icons/hicolor/512x512/apps/peg-e.png
> share/icons/hicolor/64x64/apps/peg-e.png
> share/icons/hicolor/scalable/apps/peg-e.svg
> -share/man/
> -share/man/man6/
> -@man share/man/man6/peg-e.6
> share/peg-e/
> share/peg-e/icons/
> share/peg-e/icons/hicolor/
--
Antoine