View | Details | Raw Unified | Return to bug 222423
Collapse All | Expand All

(-)UPDATING (+8 lines)
Lines 5-10 Link Here
5
You should get into the habit of checking this file for changes each time
5
You should get into the habit of checking this file for changes each time
6
you update your ports collection, before attempting any port upgrades.
6
you update your ports collection, before attempting any port upgrades.
7
7
8
20170913
9
  AFFECTS: users of x11-wm/cwm
10
  AUTHOR: tobik@FreeBSD.org
11
12
  Configuration options were renamed and you need to update your ~/.cwmrc
13
  accordingly.  Make sure to check cwmrc(5) for the new option names.
14
  cwm-migrate-config.pl can help in migrating your ~/.cwmrc.
15
8
20170904
16
20170904
9
  AFFECTS: users of net-mgmt/seafile-server
17
  AFFECTS: users of net-mgmt/seafile-server
10
  AUTHOR: ultima@FreeBSD.org
18
  AUTHOR: ultima@FreeBSD.org
(-)x11-wm/cwm/Makefile (-6 / +21 lines)
Lines 1-29 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	cwm
3
PORTNAME=	cwm
4
PORTVERSION=	5.6
5
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	5.6-201
6
DISTVERSIONSUFFIX=	-g5a46349
6
CATEGORIES=	x11-wm
7
CATEGORIES=	x11-wm
7
MASTER_SITES=	http://chneukirchen.org/releases/ \
8
8
9
MAINTAINER=	braakvaak@aol.com
9
MAINTAINER=	braakvaak@aol.com
10
COMMENT=	Minimalistic window manager for X11 based on evilwm
10
COMMENT=	Minimalistic window manager for X11 based on evilwm
11
11
12
LICENSE=	BSD2CLAUSE
12
LICENSE=	ISCL
13
13
14
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig
14
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
15
		libfreetype.so:print/freetype2
15
16
16
USES=		pkgconfig:build
17
USES=		pkgconfig shebangfix
17
USE_XORG=	x11 xft xinerama xrandr
18
USE_GITHUB=	yes
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	chneukirchen
19
GH_ACCOUNT=	chneukirchen
20
USE_XORG=	x11 xft xinerama xrandr
20
21
21
PLIST_FILES=	bin/cwm \
22
PLIST_FILES=	bin/cwm \
23
		bin/cwm-migrate-config.pl \
22
		man/man1/cwm.1.gz \
24
		man/man1/cwm.1.gz \
23
		man/man5/cwmrc.5.gz
25
		man/man5/cwmrc.5.gz
26
SHEBANG_FILES=	migrate-config.pl
24
27
28
.include <bsd.port.options.mk>
29
30
post-patch:
31
	@${REINPLACE_CMD} 's@/usr/X11R6@${LOCALBASE}@' ${WRKSRC}/cwmrc.5
32
	@${REINPLACE_CMD} -e 's@strlcpy.o strlcat.o@@' \
33
		-e 's@strtonum.o@@' ${WRKSRC}/Makefile
34
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100072
35
	@${REINPLACE_CMD} 's@reallocarray.o@@' ${WRKSRC}/Makefile
36
.endif
37
25
do-install:
38
do-install:
26
	${INSTALL_PROGRAM} ${WRKSRC}/cwm ${STAGEDIR}${PREFIX}/bin
39
	${INSTALL_PROGRAM} ${WRKSRC}/cwm ${STAGEDIR}${PREFIX}/bin
40
	${INSTALL_SCRIPT} ${WRKSRC}/migrate-config.pl \
41
		${STAGEDIR}${PREFIX}/bin/cwm-migrate-config.pl
27
	${INSTALL_MAN} ${WRKSRC}/cwm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
42
	${INSTALL_MAN} ${WRKSRC}/cwm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
28
	${INSTALL_MAN} ${WRKSRC}/cwmrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
43
	${INSTALL_MAN} ${WRKSRC}/cwmrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
29
44
(-)x11-wm/cwm/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (chneukirchen-cwm-v5.6_GH0.tar.gz) = 006320bb1716cc0f93bac5634dcccd01f21d468263b5fc9d1be2dd11078a0625
1
TIMESTAMP = 1505255816
2
SIZE (chneukirchen-cwm-v5.6_GH0.tar.gz) = 50799
2
SHA256 (chneukirchen-cwm-v5.6-201-g5a46349_GH0.tar.gz) = 0ef72de4dcffc5d1ea848d8e1e24884ae6436147c042f56166d996f28d46ebb8
3
SIZE (chneukirchen-cwm-v5.6-201-g5a46349_GH0.tar.gz) = 51003
(-)x11-wm/cwm/files/patch-Makefile (-11 lines)
Lines 1-11 Link Here
1
--- Makefile.orig	2015-03-26 00:34:30 UTC
2
+++ Makefile
3
@@ -16,7 +16,7 @@ OBJS=		calmwm.o screen.o xmalloc.o clien
4
 
5
 CPPFLAGS+=	`pkg-config --cflags fontconfig x11 xft xinerama xrandr`
6
 
7
-CFLAGS?=	-Wall -O2 -g -D_GNU_SOURCE
8
+CFLAGS?=	-Wall -g -pthread
9
 
10
 LDFLAGS+=	`pkg-config --libs fontconfig x11 xft xinerama xrandr`
11
 
(-)x11-wm/cwm/files/patch-kbfunc.c (-11 lines)
Lines 1-11 Link Here
1
--- kbfunc.c.orig	2015-03-26 00:09:51 UTC
2
+++ kbfunc.c
3
@@ -324,7 +324,7 @@ kbfunc_ssh(struct client_ctx *cc, union 
4
 	struct menu_q		 menuq;
5
 	FILE			*fp;
6
 	char			*buf, *lbuf, *p;
7
-	char			 hostbuf[HOST_NAME_MAX+1];
8
+	char			 hostbuf[_POSIX_HOST_NAME_MAX+1];
9
 	char			 path[PATH_MAX];
10
 	int			 l;
11
 	size_t			 len;
(-)x11-wm/cwm/pkg-descr (-4 / +1 lines)
Lines 2-8 Link Here
2
novel features, including the ability to search for windows. it features a
2
novel features, including the ability to search for windows. it features a
3
very simple and attractive aesthetic.
3
very simple and attractive aesthetic.
4
4
5
This port is based on OpenBSD's continued work on cwm, as development on the
5
WWW: https://github.com/chneukirchen/cwm
6
project seems to have halted.
7
8
WWW: http://monkey.org/~marius/pages/?page=cwm

Return to bug 222423