From 0594f570a0f689d79152d370e17d57d517d6638b Mon Sep 17 00:00:00 2001 From: sebastia Date: Fri, 18 Nov 2011 13:16:46 +0000 Subject: [PATCH] update rocview.sh to not clutter configuration and trace files all around put rocview.sh in the -gui SUBPACKAGE where it belongs to OK aja@ --- misc/rocrail/Makefile | 3 ++- misc/rocrail/files/rocview.sh | 3 +++ misc/rocrail/pkg/PLIST-gui | 3 ++- misc/rocrail/pkg/PLIST-main | 5 ++--- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/misc/rocrail/Makefile b/misc/rocrail/Makefile index c05d3cbe54d..0b3b587dd17 100644 --- a/misc/rocrail/Makefile +++ b/misc/rocrail/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2011/11/17 12:33:31 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.3 2011/11/18 13:16:46 sebastia Exp $ SHARED_ONLY = Yes @@ -7,6 +7,7 @@ COMMENT-gui = model railroad control daemon client VERSION = 2.0 REV = 2585 +REVISION = 0 DISTNAME = Rocrail-2585 PKGNAME-main = rocrail-${VERSION}.${REV} PKGNAME-gui = rocview-${VERSION}.${REV} diff --git a/misc/rocrail/files/rocview.sh b/misc/rocrail/files/rocview.sh index bd6fb8ce91e..d7c5886ab69 100644 --- a/misc/rocrail/files/rocview.sh +++ b/misc/rocrail/files/rocview.sh @@ -1,3 +1,6 @@ #!/bin/sh +mkdir -p ~/rocrail +cd ~/rocrail + ${TRUEPREFIX}/bin/rocview -sp /var/rocrail -themespath ${TRUEPREFIX}/share/rocrail $@ diff --git a/misc/rocrail/pkg/PLIST-gui b/misc/rocrail/pkg/PLIST-gui index 53350fcad71..74d042b22f4 100644 --- a/misc/rocrail/pkg/PLIST-gui +++ b/misc/rocrail/pkg/PLIST-gui @@ -1,5 +1,6 @@ -@comment $OpenBSD: PLIST-gui,v 1.1.1.1 2011/11/17 00:43:19 sebastia Exp $ +@comment $OpenBSD: PLIST-gui,v 1.2 2011/11/18 13:16:46 sebastia Exp $ @bin bin/rocview +bin/rocview.sh share/rocrail/svg/ share/rocrail/svg/themes/ share/rocrail/svg/themes/Accessories/ diff --git a/misc/rocrail/pkg/PLIST-main b/misc/rocrail/pkg/PLIST-main index 5520ad70761..b6ca9a03c19 100644 --- a/misc/rocrail/pkg/PLIST-main +++ b/misc/rocrail/pkg/PLIST-main @@ -1,8 +1,7 @@ -@comment $OpenBSD: PLIST-main,v 1.2 2011/11/17 12:33:31 ajacoutot Exp $ +@comment $OpenBSD: PLIST-main,v 1.3 2011/11/18 13:16:46 sebastia Exp $ @newgroup _rocrail:685 @newuser _rocrail:685:_rocrail:daemon:rocrail daemon user:/var/rocrail:/bin/sh @bin bin/rocrail -bin/rocview.sh lib/rocrail/ lib/rocrail/analyser.so lib/rocrail/barjut.so @@ -364,8 +363,8 @@ share/rocrail/symbols/turnout-rt-3.gif share/rocrail/symbols/turnout-rt-3.png share/rocrail/symbols/turnout-rt-4.gif share/rocrail/symbols/turnout-rt-4.png -@group _rocrail @owner _rocrail +@group _rocrail @sample /var/rocrail/ @group @owner