blob: 937fb603e005092a64382dbc3f00a264e027dca8 (
plain) (
blame)
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
|
# 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
CATEGORIES= x11-wm
MASTER_SITES= http://wmii.de/download/
MAINTAINER= danfe@FreeBSD.org
COMMENT= A dynamic, minimalist window manager for X11
USE_X_PREFIX= yes
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>
|