mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
- Pass maintainership to submitter
Approved by: maintainer via email - Update to 0.10.0 - Update WWW PR: ports/164032 Submitted by: Niclas Zeising <zeising@daemonic.se>
This commit is contained in:
parent
3ccdb7589e
commit
7fcba5fea0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289344
@ -6,18 +6,17 @@
|
||||
#
|
||||
|
||||
PORTNAME= scrotwm
|
||||
PORTVERSION= 0.9.34
|
||||
PORTVERSION= 0.10.0
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= https://opensource.conformal.com/snapshots/scrotwm/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= aragon@phat.za.net
|
||||
MAINTAINER= zeising@daemonic.se
|
||||
COMMENT= A small, dynamic tiling window manager for X11
|
||||
|
||||
LICENSE= ISCL
|
||||
|
||||
OPTIONS= DMENU "Depend on x11/dmenu" Off \
|
||||
DMENU_BOTTOM "dmenu at screen bottom (instead of top)" Off
|
||||
OPTIONS= DMENU_BOTTOM "dmenu at screen bottom (instead of top)" Off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -26,9 +25,8 @@ USE_XORG= x11 xproto xrandr xt xtst
|
||||
MAN1= scrotwm.1
|
||||
USE_LDCONFIG=yes
|
||||
|
||||
.if defined(WITH_DMENU)
|
||||
RUN_DEPENDS+= dmenu:${PORTSDIR}/x11/dmenu
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DMENU_BOTTOM)
|
||||
EXTRA_PATCHES+= ${FILESDIR}/spawn_menu_atbottom.patch
|
||||
.endif
|
||||
@ -38,9 +36,10 @@ post-patch:
|
||||
|
||||
do-build:
|
||||
${CC} ${CFLAGS} -I${LOCALBASE}/include \
|
||||
-I${WRKSRC}/linux -lutil -L${LOCALBASE}/lib -lX11 -lXrandr -lXtst \
|
||||
-I${WRKSRC}/freebsd -lutil -L${LOCALBASE}/lib -lX11 -lXrandr \
|
||||
-lXtst -DSWM_LIB=\"${PREFIX}/lib/libwmhack.so\" \
|
||||
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
|
||||
${CC} ${CFLAGS} -I${LOCALBASE}/include -shared -fPIC \
|
||||
${CC} ${CFLAGS} -I${LOCALBASE}/include -shared -fpic -DPIC \
|
||||
-o ${WRKSRC}/libswmhack.so ${WRKSRC}/lib/swm_hack.c
|
||||
|
||||
do-install:
|
||||
@ -53,6 +52,12 @@ do-install:
|
||||
${CP} -p ${PREFIX}/etc/scrotwm.conf.sample ${PREFIX}/etc/scrotwm.conf ; \
|
||||
fi
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/startscrotwm ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${EXAMPLESDIR}/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_cz.conf ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_es.conf ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_fr.conf ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_fr_ch.conf ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_se.conf ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_us.conf ${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (scrotwm-0.9.34.tgz) = 46f055f3c1b7d32bcaaf94193fd01a727422e787e8a7afcf987db2ffdec9ada8
|
||||
SIZE (scrotwm-0.9.34.tgz) = 69755
|
||||
SHA256 (scrotwm-0.10.0.tgz) = 4219beaa2f0dcb6bb8e80180d03bbf3ad58daaff627de189f0b7641b1faf7222
|
||||
SIZE (scrotwm-0.10.0.tgz) = 80960
|
||||
|
@ -1,14 +1,16 @@
|
||||
--- scrotwm.c 13 Aug 2011 20:26:02 -0000
|
||||
+++ scrotwm.c 13 Aug 2011 22:56:08 -0000
|
||||
@@ -3984,14 +3984,16 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- scrotwm.c.orig 2012-01-11 19:42:57.000000000 +0100
|
||||
+++ scrotwm.c 2012-01-11 21:36:07.000000000 +0100
|
||||
@@ -4481,14 +4481,16 @@
|
||||
" -nb $bar_color"
|
||||
" -nf $bar_font_color"
|
||||
" -sb $bar_border"
|
||||
- " -sf $bar_color", 0);
|
||||
+ " -sf $bar_color"
|
||||
+ " -b", 0);
|
||||
setconfspawn("uniconify", "dmenu"
|
||||
" -i"
|
||||
setconfspawn("name_workspace", "dmenu"
|
||||
" -p Workspace"
|
||||
" -fn $bar_font"
|
||||
" -nb $bar_color"
|
||||
" -nf $bar_font_color"
|
||||
|
@ -11,4 +11,4 @@ Nevertheless dwm was a phenomenal resource and many good ideas and code was
|
||||
borrowed from it. On the other hand xmonad has great defaults, key bindings
|
||||
and xinerama support but is crippled by not being written in C.
|
||||
|
||||
WWW: http://www.peereboom.us/scrotwm/html/scrotwm.html
|
||||
WWW: https://opensource.conformal.com/wiki/scrotwm
|
||||
|
@ -2,6 +2,12 @@ bin/scrotwm
|
||||
bin/startscrotwm
|
||||
lib/libswmhack.so
|
||||
%%EXAMPLESDIR%%/screenshot.sh
|
||||
%%EXAMPLESDIR%%/scrotwm_cz.conf
|
||||
%%EXAMPLESDIR%%/scrotwm_es.conf
|
||||
%%EXAMPLESDIR%%/scrotwm_fr.conf
|
||||
%%EXAMPLESDIR%%/scrotwm_fr_ch.conf
|
||||
%%EXAMPLESDIR%%/scrotwm_se.conf
|
||||
%%EXAMPLESDIR%%/scrotwm_us.conf
|
||||
@unexec if [ ! -f %D/etc/scrotwm.conf ] || cmp -s %D/etc/scrotwm.conf.sample %D/etc/scrotwm.conf; then rm -f %D/etc/scrotwm.conf; else echo %%PREFIX%%/etc/scrotwm.conf contains changes, remove it manually to delete this package completely.; fi
|
||||
etc/scrotwm.conf.sample
|
||||
@exec [ -f %D/etc/scrotwm.conf ] || cp -p %D/%F %D/etc/scrotwm.conf
|
||||
|
@ -6,18 +6,17 @@
|
||||
#
|
||||
|
||||
PORTNAME= scrotwm
|
||||
PORTVERSION= 0.9.34
|
||||
PORTVERSION= 0.10.0
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= https://opensource.conformal.com/snapshots/scrotwm/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= aragon@phat.za.net
|
||||
MAINTAINER= zeising@daemonic.se
|
||||
COMMENT= A small, dynamic tiling window manager for X11
|
||||
|
||||
LICENSE= ISCL
|
||||
|
||||
OPTIONS= DMENU "Depend on x11/dmenu" Off \
|
||||
DMENU_BOTTOM "dmenu at screen bottom (instead of top)" Off
|
||||
OPTIONS= DMENU_BOTTOM "dmenu at screen bottom (instead of top)" Off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -26,9 +25,8 @@ USE_XORG= x11 xproto xrandr xt xtst
|
||||
MAN1= scrotwm.1
|
||||
USE_LDCONFIG=yes
|
||||
|
||||
.if defined(WITH_DMENU)
|
||||
RUN_DEPENDS+= dmenu:${PORTSDIR}/x11/dmenu
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DMENU_BOTTOM)
|
||||
EXTRA_PATCHES+= ${FILESDIR}/spawn_menu_atbottom.patch
|
||||
.endif
|
||||
@ -38,9 +36,10 @@ post-patch:
|
||||
|
||||
do-build:
|
||||
${CC} ${CFLAGS} -I${LOCALBASE}/include \
|
||||
-I${WRKSRC}/linux -lutil -L${LOCALBASE}/lib -lX11 -lXrandr -lXtst \
|
||||
-I${WRKSRC}/freebsd -lutil -L${LOCALBASE}/lib -lX11 -lXrandr \
|
||||
-lXtst -DSWM_LIB=\"${PREFIX}/lib/libwmhack.so\" \
|
||||
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
|
||||
${CC} ${CFLAGS} -I${LOCALBASE}/include -shared -fPIC \
|
||||
${CC} ${CFLAGS} -I${LOCALBASE}/include -shared -fpic -DPIC \
|
||||
-o ${WRKSRC}/libswmhack.so ${WRKSRC}/lib/swm_hack.c
|
||||
|
||||
do-install:
|
||||
@ -53,6 +52,12 @@ do-install:
|
||||
${CP} -p ${PREFIX}/etc/scrotwm.conf.sample ${PREFIX}/etc/scrotwm.conf ; \
|
||||
fi
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/startscrotwm ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${EXAMPLESDIR}/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/screenshot.sh ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_cz.conf ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_es.conf ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_fr.conf ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_fr_ch.conf ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_se.conf ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm_us.conf ${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (scrotwm-0.9.34.tgz) = 46f055f3c1b7d32bcaaf94193fd01a727422e787e8a7afcf987db2ffdec9ada8
|
||||
SIZE (scrotwm-0.9.34.tgz) = 69755
|
||||
SHA256 (scrotwm-0.10.0.tgz) = 4219beaa2f0dcb6bb8e80180d03bbf3ad58daaff627de189f0b7641b1faf7222
|
||||
SIZE (scrotwm-0.10.0.tgz) = 80960
|
||||
|
@ -1,14 +1,16 @@
|
||||
--- scrotwm.c 13 Aug 2011 20:26:02 -0000
|
||||
+++ scrotwm.c 13 Aug 2011 22:56:08 -0000
|
||||
@@ -3984,14 +3984,16 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- scrotwm.c.orig 2012-01-11 19:42:57.000000000 +0100
|
||||
+++ scrotwm.c 2012-01-11 21:36:07.000000000 +0100
|
||||
@@ -4481,14 +4481,16 @@
|
||||
" -nb $bar_color"
|
||||
" -nf $bar_font_color"
|
||||
" -sb $bar_border"
|
||||
- " -sf $bar_color", 0);
|
||||
+ " -sf $bar_color"
|
||||
+ " -b", 0);
|
||||
setconfspawn("uniconify", "dmenu"
|
||||
" -i"
|
||||
setconfspawn("name_workspace", "dmenu"
|
||||
" -p Workspace"
|
||||
" -fn $bar_font"
|
||||
" -nb $bar_color"
|
||||
" -nf $bar_font_color"
|
||||
|
@ -11,4 +11,4 @@ Nevertheless dwm was a phenomenal resource and many good ideas and code was
|
||||
borrowed from it. On the other hand xmonad has great defaults, key bindings
|
||||
and xinerama support but is crippled by not being written in C.
|
||||
|
||||
WWW: http://www.peereboom.us/scrotwm/html/scrotwm.html
|
||||
WWW: https://opensource.conformal.com/wiki/scrotwm
|
||||
|
@ -2,6 +2,12 @@ bin/scrotwm
|
||||
bin/startscrotwm
|
||||
lib/libswmhack.so
|
||||
%%EXAMPLESDIR%%/screenshot.sh
|
||||
%%EXAMPLESDIR%%/scrotwm_cz.conf
|
||||
%%EXAMPLESDIR%%/scrotwm_es.conf
|
||||
%%EXAMPLESDIR%%/scrotwm_fr.conf
|
||||
%%EXAMPLESDIR%%/scrotwm_fr_ch.conf
|
||||
%%EXAMPLESDIR%%/scrotwm_se.conf
|
||||
%%EXAMPLESDIR%%/scrotwm_us.conf
|
||||
@unexec if [ ! -f %D/etc/scrotwm.conf ] || cmp -s %D/etc/scrotwm.conf.sample %D/etc/scrotwm.conf; then rm -f %D/etc/scrotwm.conf; else echo %%PREFIX%%/etc/scrotwm.conf contains changes, remove it manually to delete this package completely.; fi
|
||||
etc/scrotwm.conf.sample
|
||||
@exec [ -f %D/etc/scrotwm.conf ] || cp -p %D/%F %D/etc/scrotwm.conf
|
||||
|
Loading…
Reference in New Issue
Block a user