freebsd-ports/x11-wm/wmii-devel/Makefile
Alexey Dokuchaev 90c52dadd5 - Update to version 3.1
- Provide better COMMENT and port description
2006-06-28 13:17:16 +00:00

37 lines
873 B
Makefile

# 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>