2005-06-02 11:27:59 +00:00
|
|
|
# New ports collection makefile for: Window Manager Improved 2
|
|
|
|
# Date created: 02 Jun 2005
|
|
|
|
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmii
|
2006-06-28 13:17:16 +00:00
|
|
|
DISTVERSION= 3.1
|
2005-06-02 11:27:59 +00:00
|
|
|
CATEGORIES= x11-wm
|
2005-11-16 14:36:48 +00:00
|
|
|
MASTER_SITES= http://wmii.de/download/
|
2005-06-02 11:27:59 +00:00
|
|
|
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2006-06-28 13:17:16 +00:00
|
|
|
COMMENT= A dynamic, minimalist window manager for X11
|
2005-06-02 11:27:59 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
2006-06-28 13:17:16 +00:00
|
|
|
MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${X11BASE}/lib" \
|
|
|
|
X11INC="${X11BASE}/include" CC="${CC}" \
|
|
|
|
MANPREFIX="${MANPREFIX}/man"
|
2005-06-02 11:27:59 +00:00
|
|
|
|
2006-06-28 13:17:16 +00:00
|
|
|
MAN1= wmii.1 wmiimenu.1 wmiir.1 wmiiwm.1
|
2005-06-02 11:27:59 +00:00
|
|
|
|
|
|
|
post-patch:
|
2006-06-28 13:17:16 +00:00
|
|
|
@${REINPLACE_CMD} -E 's|-O3|${CFLAGS}|; \
|
|
|
|
s|(-[LI])\$${PREFIX}|\1${LOCALBASE}|' \
|
2005-06-02 11:27:59 +00:00
|
|
|
${WRKSRC}/config.mk
|
2006-06-28 13:17:16 +00:00
|
|
|
@${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
|
2005-06-02 11:27:59 +00:00
|
|
|
|
2006-06-28 13:17:16 +00:00
|
|
|
.include <bsd.port.mk>
|