mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Update to 0.9.22
PR: ports/145680 Submitted by: Aragon Gouveia <aragon@igor.geek.sh> (maintainer)
This commit is contained in:
parent
2519d402af
commit
704825b296
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253674
@ -6,11 +6,10 @@
|
||||
#
|
||||
|
||||
PORTNAME= scrotwm
|
||||
PORTVERSION= 0.9.19
|
||||
PORTVERSION= 0.9.22
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= http://www.peereboom.us/scrotwm/snapshot/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= dhn
|
||||
MASTER_SITES= http://scrotwm.org/snapshot/ \
|
||||
http://www.peereboom.us/scrotwm/snapshot/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= aragon@phat.za.net
|
||||
@ -26,10 +25,10 @@ USE_XORG= x11 xproto xrandr
|
||||
USE_XLIB= yes
|
||||
|
||||
MAN1= scrotwm.1
|
||||
PLIST_FILES= bin/scrotwm lib/libswmhack.so etc/scrotwm.conf
|
||||
PLIST_FILES= bin/scrotwm bin/startscrotwm lib/libswmhack.so etc/scrotwm.conf
|
||||
|
||||
.if defined(WITH_DMENU)
|
||||
RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu
|
||||
RUN_DEPENDS+= dmenu:${PORTSDIR}/x11/dmenu
|
||||
.endif
|
||||
.if defined(WITH_DMENU_BOTTOM)
|
||||
EXTRA_PATCHES+= ${FILESDIR}/spawn_menu_atbottom.patch
|
||||
@ -39,7 +38,7 @@ EXTRA_PATCHES+= ${FILESDIR}/clock_format.patch
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
${CC} ${CFLAGS} -I${X11BASE}/include -DSWM_DEBUG \
|
||||
${CC} ${CFLAGS} -I${X11BASE}/include \
|
||||
-I${WRKSRC}/linux -lutil -L${X11BASE}/lib -lX11 -lXrandr \
|
||||
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
|
||||
${CC} ${CFLAGS} -I${X11BASE}/include -shared -fPIC \
|
||||
@ -47,6 +46,7 @@ do-build:
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/startscrotwm ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/libswmhack.so ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/etc
|
||||
${INSTALL_MAN} ${WRKSRC}/scrotwm.1 ${PREFIX}/man/man1
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (scrotwm-0.9.19.tgz) = a7af5038fac7e42e8d8cf5ed2d4a6da2
|
||||
SHA256 (scrotwm-0.9.19.tgz) = ea150eac5fe71f6e5c6284bfb9b96d94f0c1e05b3998d124218de84f1c49aee1
|
||||
SIZE (scrotwm-0.9.19.tgz) = 48706
|
||||
MD5 (scrotwm-0.9.22.tgz) = bc66c66d300b3176c119bfdae43b6a42
|
||||
SHA256 (scrotwm-0.9.22.tgz) = a3952d6a27f0c08dac05cb28226d70e611a8051cdc2735f04e7d64f122fb2943
|
||||
SIZE (scrotwm-0.9.22.tgz) = 54396
|
||||
|
10
x11-wm/scrotwm/files/startscrotwm
Normal file
10
x11-wm/scrotwm/files/startscrotwm
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z "${DISPLAY}" ]
|
||||
then
|
||||
echo "$0: Starting X server"
|
||||
exec xinit $( which scrotwm )
|
||||
else
|
||||
echo "$0: X server already running on display ${DISPLAY}"
|
||||
$( which scrotwm )
|
||||
fi
|
@ -6,11 +6,10 @@
|
||||
#
|
||||
|
||||
PORTNAME= scrotwm
|
||||
PORTVERSION= 0.9.19
|
||||
PORTVERSION= 0.9.22
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= http://www.peereboom.us/scrotwm/snapshot/ \
|
||||
${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= dhn
|
||||
MASTER_SITES= http://scrotwm.org/snapshot/ \
|
||||
http://www.peereboom.us/scrotwm/snapshot/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= aragon@phat.za.net
|
||||
@ -26,10 +25,10 @@ USE_XORG= x11 xproto xrandr
|
||||
USE_XLIB= yes
|
||||
|
||||
MAN1= scrotwm.1
|
||||
PLIST_FILES= bin/scrotwm lib/libswmhack.so etc/scrotwm.conf
|
||||
PLIST_FILES= bin/scrotwm bin/startscrotwm lib/libswmhack.so etc/scrotwm.conf
|
||||
|
||||
.if defined(WITH_DMENU)
|
||||
RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu
|
||||
RUN_DEPENDS+= dmenu:${PORTSDIR}/x11/dmenu
|
||||
.endif
|
||||
.if defined(WITH_DMENU_BOTTOM)
|
||||
EXTRA_PATCHES+= ${FILESDIR}/spawn_menu_atbottom.patch
|
||||
@ -39,7 +38,7 @@ EXTRA_PATCHES+= ${FILESDIR}/clock_format.patch
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
${CC} ${CFLAGS} -I${X11BASE}/include -DSWM_DEBUG \
|
||||
${CC} ${CFLAGS} -I${X11BASE}/include \
|
||||
-I${WRKSRC}/linux -lutil -L${X11BASE}/lib -lX11 -lXrandr \
|
||||
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
|
||||
${CC} ${CFLAGS} -I${X11BASE}/include -shared -fPIC \
|
||||
@ -47,6 +46,7 @@ do-build:
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/startscrotwm ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/libswmhack.so ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/scrotwm.conf ${PREFIX}/etc
|
||||
${INSTALL_MAN} ${WRKSRC}/scrotwm.1 ${PREFIX}/man/man1
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (scrotwm-0.9.19.tgz) = a7af5038fac7e42e8d8cf5ed2d4a6da2
|
||||
SHA256 (scrotwm-0.9.19.tgz) = ea150eac5fe71f6e5c6284bfb9b96d94f0c1e05b3998d124218de84f1c49aee1
|
||||
SIZE (scrotwm-0.9.19.tgz) = 48706
|
||||
MD5 (scrotwm-0.9.22.tgz) = bc66c66d300b3176c119bfdae43b6a42
|
||||
SHA256 (scrotwm-0.9.22.tgz) = a3952d6a27f0c08dac05cb28226d70e611a8051cdc2735f04e7d64f122fb2943
|
||||
SIZE (scrotwm-0.9.22.tgz) = 54396
|
||||
|
10
x11-wm/spectrwm/files/startscrotwm
Normal file
10
x11-wm/spectrwm/files/startscrotwm
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z "${DISPLAY}" ]
|
||||
then
|
||||
echo "$0: Starting X server"
|
||||
exec xinit $( which scrotwm )
|
||||
else
|
||||
echo "$0: X server already running on display ${DISPLAY}"
|
||||
$( which scrotwm )
|
||||
fi
|
Loading…
Reference in New Issue
Block a user