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

(-)wmii/Makefile (-12 / +22 lines)
Lines 6-38 Link Here
6
#
6
#
7
7
8
PORTNAME=	wmii
8
PORTNAME=	wmii
9
DISTVERSION=	3.5.1
9
DISTVERSION=	3.6
10
CATEGORIES=	x11-wm
10
CATEGORIES=	x11-wm
11
MASTER_SITES=	http://www.suckless.org/download/ CENKES
11
MASTER_SITES=	http://www.suckless.org/download/ CENKES
12
12
13
MAINTAINER=	danfe@FreeBSD.org
13
MAINTAINER=	danfe@FreeBSD.org
14
COMMENT=	A dynamic, minimalist window manager for X11
14
COMMENT=	A dynamic, minimalist window manager for X11
15
15
16
LIB_DEPENDS=	ixp.0:${PORTSDIR}/devel/libixp
16
LIB_DEPENDS=	ixp.1:${PORTSDIR}/devel/libixp
17
RUN_DEPENDS=	dmenu:${PORTSDIR}/x11/dmenu \
17
RUN_DEPENDS=	dmenu:${PORTSDIR}/x11/dmenu \
18
		${LOCALBASE}/9/bin/rc:${PORTSDIR}/devel/9base
18
		${LOCALBASE}/9/bin/rc:${PORTSDIR}/devel/9base
19
19
20
CONFLICTS=	wmii-3.5.[2-9]*
20
CONFLICTS=	wmii-3.5.*
21
21
22
USE_XLIB=	yes
22
USE_XLIB=	yes
23
USE_ICONV=	yes
23
24
24
MAKE_ARGS=	PREFIX="${PREFIX}" X11LIB="${X11BASE}/lib" \
25
CFLAGS+=	-I${LOCALBASE}/include -I${WRKSRC}/include -DIXPlint
25
		X11INC="${X11BASE}/include" CC="${CC}" \
26
LDFLAGS+=	-L${LOCALBASE}/lib -L${WRKSRC}/lib
26
		MANPREFIX="${MANPREFIX}/man"
27
MAKE_ARGS=	PREFIX="${PREFIX}" LIBX11="-L${X11BASE}/lib -lX11" \
28
		INCX11="-I${X11BASE}/include" LIBIXP="-lixp" STATIC="" \
29
		CC="${CC} -c" LD="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
30
		MAN="${MANPREFIX}/man"
27
31
28
MAN1=		wmii.1 wmiir.1 wmiiwm.1
32
MAN1=		wmii.1 wmiiloop.1 wmiir.1
29
33
30
post-patch: .SILENT
34
post-patch: .SILENT
31
	${REINPLACE_CMD} -E 's|-Os|${CFLAGS}|; \
35
	${REINPLACE_CMD} -E 's|-Os|${CFLAGS}|g; \
32
		s|(-[LI])\$${PREFIX}|\1${LOCALBASE}|' \
36
		s|(-[LI])\$${PREFIX}|\1${LOCALBASE}|g' \
33
		${WRKSRC}/config.mk
37
		${WRKSRC}/config.mk
34
	# Catch up with recent libixp
38
	${REINPLACE_CMD} -E 's|\$${LINK} \$$@|$${LINK} $$@ -lfmt -lutf|g' \
35
	${REINPLACE_CMD} -E 's|\.data\.[[:alpha:]]+||g' \
39
		${WRKSRC}/cmd/Makefile
36
		${WRKSRC}/fs.c
40
	${REINPLACE_CMD} -E 's|^(LIB =.*)$$|\1 -lm -lXext -liconv -lregexp9 -lbio -lfmt -lutf|' \
41
		${WRKSRC}/cmd/wmii/Makefile
42
	${REINPLACE_CMD} -E 's|VERSION|"${DISTVERSION}"|g' \
43
		${WRKSRC}/cmd/*.c ${WRKSRC}/cmd/wmii/main.c
44
#	# Catch up with recent libixp
45
#	${REINPLACE_CMD} -E 's|\.data\.[[:alpha:]]+||g' \
46
#		${WRKSRC}/cmd/wmii/fs.c
37
47
38
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)wmii/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (wmii-3.5.1.tar.gz) = 26705a7b59945b7d269921b45ac15cdf
1
MD5 (wmii-3.6.tar.gz) = 9d17a09871fada998b4d989d9318bbf5
2
SHA256 (wmii-3.5.1.tar.gz) = 6ce10c0805c2ff05952f7566b9af134ae76fdeb518dc7d9c413f0dd58635e6d1
2
SHA256 (wmii-3.6.tar.gz) = 46f39b788c5ef4695040b36cc7d9c539db0306bafc4d8cefdc5980ed4331b216
3
SIZE (wmii-3.5.1.tar.gz) = 41658
3
SIZE (wmii-3.6.tar.gz) = 208249
(-)wmii/pkg-plist (-4 / +6 lines)
Lines 1-8 Link Here
1
bin/wmii
1
bin/wmii
2
bin/wmii9menu
3
bin/wmii9rc
4
bin/wmiiloop
2
bin/wmiir
5
bin/wmiir
3
bin/wmiiwm
6
bin/wmiistartrc
4
etc/wmii-3.5/quit
7
etc/wmii-3.5/rc.wmii
5
etc/wmii-3.5/status
6
etc/wmii-3.5/welcome
7
etc/wmii-3.5/wmiirc
8
etc/wmii-3.5/wmiirc
9
etc/wmii-3.5/welcome
8
@dirrm etc/wmii-3.5
10
@dirrm etc/wmii-3.5

Return to bug 119282