blob: b102d163d19cf159ac229d7e9f83ada9bed2f366 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# New ports collection makefile for: Window Manager Improved 2
# Date created: 02 Jun 2005
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wmii
DISTVERSION= 3.1
PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://www.suckless.org/download/ CENKES
MAINTAINER= danfe@FreeBSD.org
COMMENT= A dynamic, minimalist window manager for X11
USE_X_PREFIX= yes
CONFLICTS= wmii-3.[2-9]*
MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${X11BASE}/lib" \
X11INC="${X11BASE}/include" CC="${CC}" \
MANPREFIX="${MANPREFIX}/man"
MAN1= wmii.1 wmiimenu.1 wmiir.1 wmiiwm.1
post-patch:
@${REINPLACE_CMD} -E 's|-O3|${CFLAGS}|; \
s|(-[LI])\$${PREFIX}|\1${LOCALBASE}|' \
${WRKSRC}/config.mk
@${REINPLACE_CMD} -e 's|cp -f $${M|${INSTALL_MAN} $${M|' \
${WRKSRC}/Makefile
pre-install:
.for b in wm/wmiiwm wmiimenu wmiipsel wmiir wmiisetsid wmiiwarp
@${STRIP_CMD} ${WRKSRC}/cmd/${b}
.endfor
.include <bsd.port.mk>
|