Index: head/x11-wm/echinus/Makefile =================================================================== --- head/x11-wm/echinus/Makefile (revision 518205) +++ head/x11-wm/echinus/Makefile (revision 518206) @@ -1,41 +1,44 @@ # Created by: hrkfrd@gmail.com # $FreeBSD$ PORTNAME= echinus PORTVERSION= 0.4.9 PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= http://plhk.ru/static/echinus/ MAINTAINER= hrkfdn@gmail.com COMMENT= Dynamic window manager for X11 based on dwm +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs LIB_DEPENDS= libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig USES= pkgconfig xorg USE_XORG= x11 xau xcb xdmcp xext xft xrender xrandr FILES= echinusrc close.xbm iconify.xbm max.xbm PLIST_FILES= bin/echinus \ etc/echinus/close.xbm \ etc/echinus/iconify.xbm \ etc/echinus/max.xbm \ etc/echinus/echinusrc \ man/man1/echinus.1.gz SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} 's|-Os|${CFLAGS}|' ${WRKSRC}/config.mk do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${ETCDIR}/ .include Index: head/x11-wm/echinus/files/patch-config.mk =================================================================== --- head/x11-wm/echinus/files/patch-config.mk (revision 518205) +++ head/x11-wm/echinus/files/patch-config.mk (revision 518206) @@ -1,24 +1,24 @@ ---- ./config.mk.orig 2011-08-19 18:19:22.000000000 +0200 -+++ ./config.mk 2011-09-03 13:08:44.000000000 +0200 -@@ -7,12 +7,12 @@ +--- config.mk.orig 2011-09-19 21:42:25 UTC ++++ config.mk +@@ -7,12 +7,12 @@ VERSION = 0.4.9 PREFIX?= /usr/local BINPREFIX?= ${PREFIX}/bin MANPREFIX?= ${PREFIX}/share/man -CONFPREFIX?= ${PREFIX}/share/examples +CONFPREFIX?= ${PREFIX}/etc/echinus/ DOCPREFIX?= ${PREFIX}/share/doc CONF?= ${CONFPREFIX} -X11INC?= /usr/X11R6/include -X11LIB?= /usr/X11R6/lib +X11INC = /usr/local/include +X11LIB = /usr/local/lib # includes and libs INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags xft` -@@ -44,4 +44,4 @@ +@@ -44,4 +44,4 @@ LIBS += -lXrandr #CFLAGS += -xtarget=ultra # compiler and linker -#CC = cc +CC?= cc Index: head/x11-wm/echinus/files/patch-ewmh.c =================================================================== --- head/x11-wm/echinus/files/patch-ewmh.c (revision 518205) +++ head/x11-wm/echinus/files/patch-ewmh.c (revision 518206) @@ -1,11 +1,11 @@ ---- ./ewmh.c.orig 2011-09-03 13:09:18.000000000 +0200 -+++ ./ewmh.c 2011-09-03 13:09:46.000000000 +0200 -@@ -218,7 +218,7 @@ +--- ewmh.c.orig 2011-09-19 21:42:25 UTC ++++ ewmh.c +@@ -222,7 +222,7 @@ ewmh_process_state_atom(Client *c, Atom state, int set CARD32 data[2]; data[1] = None; - if ((state == atom[WindowStateFs])) { + if ((state = atom[WindowStateFs])) { focus(c); if (set && !c->ismax) { c->wasfloating = c->isfloating; Index: head/x11-wm/echinus/pkg-descr =================================================================== --- head/x11-wm/echinus/pkg-descr (revision 518205) +++ head/x11-wm/echinus/pkg-descr (revision 518206) @@ -1,9 +1,9 @@ echinus wm is a window manager for X11 supporting managing windows in floating, tiled and maximized layouts. All the configuration is made via config file in Xresources format. So you don't need to recompile echinus every time you change something. Echinus supports a small subset of EWMH to be compatible with external panels and pagers. It draws a border around windows and also an optional titlebar. -WWW: http://plhk.ru/ +WWW: https://plhk.ru/