2010-02-25 07:44:52 -05:00
|
|
|
# New ports collection makefile for: Window Manager Improved 2 (beta)
|
2009-09-08 08:39:30 -04:00
|
|
|
# Date created: 02 Jun 2005
|
|
|
|
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wmii
|
2010-06-15 17:49:48 -04:00
|
|
|
DISTVERSION= 3.9.2
|
2009-09-08 08:39:30 -04:00
|
|
|
CATEGORIES= x11-wm
|
|
|
|
MASTER_SITES= http://dl.suckless.org/wmii/
|
|
|
|
DISTNAME= wmii+ixp-${DISTVERSION}
|
2010-02-25 07:44:52 -05:00
|
|
|
EXTRACT_SUFX= .tbz
|
2009-09-08 08:39:30 -04:00
|
|
|
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
|
|
COMMENT= A dynamic, minimalist window manager for X11
|
|
|
|
|
|
|
|
LIB_DEPENDS= ixp.1:${PORTSDIR}/devel/libixp
|
|
|
|
|
2010-02-25 07:44:52 -05:00
|
|
|
CONFLICTS= wmii-3.6*
|
|
|
|
LATEST_LINK= ${PORTNAME}-devel
|
2009-09-08 08:39:30 -04:00
|
|
|
|
2010-02-25 07:44:52 -05:00
|
|
|
USE_BZIP2= yes
|
2009-09-19 13:52:14 -04:00
|
|
|
USE_XORG= x11 xext xrandr xrender xinerama xft
|
2009-09-08 08:39:30 -04:00
|
|
|
|
|
|
|
MAKE_ARGS= PREFIX="${PREFIX}" INCLUDE="${LOCALBASE}/include" \
|
|
|
|
CC="${CC} -c" LD="${CC}" LIBIXP="-lixp" STATIC="" \
|
2010-06-15 17:49:48 -04:00
|
|
|
MAN="${MANPREFIX}/man" DOC="${DOCSDIR}"
|
2010-02-25 07:44:52 -05:00
|
|
|
MAKE_ENV= noisycc=1 # unmute build commands, useful for logs
|
2009-09-08 08:39:30 -04:00
|
|
|
|
2010-02-25 07:44:52 -05:00
|
|
|
MAN1= wimenu.1 wmii9menu.1 wmii.1 wmiir.1
|
2009-09-08 08:39:30 -04:00
|
|
|
|
|
|
|
post-patch: .SILENT
|
2010-05-24 10:40:15 -04:00
|
|
|
# Link against `devel/libixp' from ports and drop extraneous build options
|
2009-09-08 08:39:30 -04:00
|
|
|
${REINPLACE_CMD} -e '/libixp/d' ${WRKSRC}/Makefile
|
2010-05-24 10:40:15 -04:00
|
|
|
${REINPLACE_CMD} -e 's,/usr/lib,${LOCALBASE}/lib, ; /^CFLAGS +=/d' \
|
2009-09-08 08:39:30 -04:00
|
|
|
${WRKSRC}/config.mk
|
2010-02-25 07:44:52 -05:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
${REINPLACE_CMD} -e '/doc/d' ${WRKSRC}/Makefile
|
|
|
|
${REINPLACE_CMD} -e '/DOCDIR/s,$$(INSTALL),:,' ${WRKSRC}/mk/common.mk
|
|
|
|
.endif
|
2009-09-08 08:39:30 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|