How about this?

diff -ruNp -x CVS /usr/ports/x11/scrotwm/Makefile scrotwm-0.9.12-port/Makefile
--- /usr/ports/x11/scrotwm/Makefile     Sat Oct 10 18:38:23 2009
+++ scrotwm-0.9.12-port/Makefile        Sat Oct 10 18:38:40 2009
@@ -4,7 +4,7 @@ COMMENT=                small tiling window manager
 
 SHARED_LIBS=           swmhack 0.0
 
-DISTNAME=              scrotwm-0.9.8
+DISTNAME=              scrotwm-0.9.12
 EXTRACT_SUFX=          .tgz
 CATEGORIES=            x11
 
@@ -36,6 +36,7 @@ post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/scrotwm
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scrotwm
        ${INSTALL_SCRIPT} ${WRKSRC}/baraction.sh ${PREFIX}/share/scrotwm
+       ${INSTALL_SCRIPT} ${WRKSRC}/initscreen.sh ${PREFIX}/share/scrotwm
        ${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${PREFIX}/share/scrotwm
        ${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/share/examples/scrotwm
 
diff -ruNp -x CVS /usr/ports/x11/scrotwm/distinfo scrotwm-0.9.12-port/distinfo
--- /usr/ports/x11/scrotwm/distinfo     Sat Oct 10 18:38:32 2009
+++ scrotwm-0.9.12-port/distinfo        Sat Oct 10 18:38:40 2009
@@ -1,5 +1,5 @@
-MD5 (scrotwm-0.9.8.tgz) = YGhKg1vwJRZLFyeg2QXdpg==
-RMD160 (scrotwm-0.9.8.tgz) = N/de4GcK6TUb+JlIsyW8j1L9QP8=
-SHA1 (scrotwm-0.9.8.tgz) = dVH++mSLCHXnY128QwNvJYnttTg=
-SHA256 (scrotwm-0.9.8.tgz) = uLI4CktyhZMvKdsdQ+VZ/bpwS+6Eb4bgri+y2od5IEw=
-SIZE (scrotwm-0.9.8.tgz) = 38863
+MD5 (scrotwm-0.9.12.tgz) = l8kcitY9Z1sObtEFARvatg==
+RMD160 (scrotwm-0.9.12.tgz) = gbvvoYkZ1/lyagdTfv3ArIE91AM=
+SHA1 (scrotwm-0.9.12.tgz) = 3yZRoCaDUHc2YOxy6czYmgfegWE=
+SHA256 (scrotwm-0.9.12.tgz) = M8LmEmfJ6fPy2x9E2fL90VCPsGMCr1ttG1yTEgX52UI=
+SIZE (scrotwm-0.9.12.tgz) = 48124
diff -ruNp -x CVS /usr/ports/x11/scrotwm/patches/patch-scrotwm_c 
scrotwm-0.9.12-port/patches/patch-scrotwm_c
--- /usr/ports/x11/scrotwm/patches/patch-scrotwm_c      Tue Sep 29 19:54:06 2009
+++ scrotwm-0.9.12-port/patches/patch-scrotwm_c Sat Oct 10 18:38:40 2009
@@ -1,7 +1,7 @@
 $OpenBSD: patch-scrotwm_c,v 1.7 2009/09/30 00:54:06 sthen Exp $
 --- scrotwm.c.orig     Wed Sep 23 06:04:09 2009
 +++ scrotwm.c  Fri Sep 25 17:28:03 2009
-@@ -146,7 +146,7 @@ u_int32_t          swm_debug = 0
+@@ -150,7 +150,7 @@ u_int32_t          swm_debug = 0
  #define SWM_MAX_FONT_STEPS    (3)
  
  #ifndef SWM_LIB
diff -ruNp -x CVS /usr/ports/x11/scrotwm/patches/patch-scrotwm_conf 
scrotwm-0.9.12-port/patches/patch-scrotwm_conf
--- /usr/ports/x11/scrotwm/patches/patch-scrotwm_conf   Fri Sep 25 14:26:30 2009
+++ scrotwm-0.9.12-port/patches/patch-scrotwm_conf      Sat Oct 10 18:38:40 2009
@@ -1,6 +1,5 @@
-$OpenBSD: patch-scrotwm_conf,v 1.4 2009/09/25 19:26:30 sthen Exp $
---- scrotwm.conf.orig  Wed Sep 23 06:04:09 2009
-+++ scrotwm.conf       Fri Sep 25 17:29:15 2009
+--- scrotwm.conf.orig  Wed Oct  7 10:15:33 2009
++++ scrotwm.conf       Wed Oct  7 10:17:10 2009
 @@ -10,7 +10,7 @@ bar_border[1]                = rgb:00/80/80
  bar_color[1]          = black
  bar_font_color[1]     = rgb:a0/a0/a0
@@ -8,9 +7,9 @@ $OpenBSD: patch-scrotwm_conf,v 1.4 2009/09/25 19:26:30
 -#bar_action           = baraction.sh
 +#bar_action           = ${PREFIX}/share/scrotwm/baraction.sh
  #bar_delay            = 1
+ stack_enabled         = 1
  clock_enabled         = 1
- title_name_enabled    = 0
-@@ -18,8 +18,8 @@ title_class_enabled  = 0
+@@ -19,10 +19,10 @@ title_class_enabled        = 0
  
  # spawn app
  # program[term]               = xterm
@@ -19,5 +18,8 @@ $OpenBSD: patch-scrotwm_conf,v 1.4 2009/09/25 19:26:30
 +# program[screenshot_all]     = ${PREFIX}/share/scrotwm/screenshot.sh full
 +# program[screenshot_wind]    = ${PREFIX}/share/scrotwm/screenshot.sh window
  # program[lock]               = xlock
- # program[initscr]    = initscreen.sh
+-# program[initscr]    = initscreen.sh
++# program[initscr]    = ${PREFIX}/share/scrotwm/initscreen.sh
  # program[menu]               = dmenu_run -fn $bar_font -nb $bar_color -nf 
$bar_font_color -sb $bar_border -sf $bar_color
+ spawn_term            = xterm
+ 
diff -ruNp -x CVS /usr/ports/x11/scrotwm/pkg/PLIST scrotwm-0.9.12-port/pkg/PLIST
--- /usr/ports/x11/scrotwm/pkg/PLIST    Wed Jan 28 07:20:23 2009
+++ scrotwm-0.9.12-port/pkg/PLIST       Sat Oct 10 18:38:40 2009
@@ -2,9 +2,12 @@
 %%SHARED%%
 @bin bin/scrotwm
 @man man/cat1/scrotwm.0
+...@man man/cat1/scrotwm_es.0
+...@man man/cat1/scrotwm_it.0
 share/examples/scrotwm/
 share/examples/scrotwm/scrotwm.conf
 @sample ${SYSCONFDIR}/scrotwm.conf
 share/scrotwm/
 share/scrotwm/baraction.sh
+share/scrotwm/initscreen.sh
 share/scrotwm/screenshot.sh

Reply via email to