1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Revive the port; version 3.6 is getting utterly old. This port allows to

build recent available snapshot.
This commit is contained in:
Alexey Dokuchaev 2009-09-08 12:39:30 +00:00
parent 64f2f2465b
commit 82ddc9e57c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241037
4 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,51 @@
# New ports collection makefile for: Window Manager Improved 2 (snapshot)
# Date created: 02 Jun 2005
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= wmii
DISTVERSION= snap${SNAPDATE}
CATEGORIES= x11-wm
MASTER_SITES= http://dl.suckless.org/wmii/
DISTNAME= wmii+ixp-${DISTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= danfe@FreeBSD.org
COMMENT= A dynamic, minimalist window manager for X11
LIB_DEPENDS= ixp.1:${PORTSDIR}/devel/libixp
RUN_DEPENDS= dmenu:${PORTSDIR}/x11/dmenu \
${LOCALBASE}/9/bin/rc:${PORTSDIR}/devel/9base
SNAPDATE= 20090703
CONFLICTS= wmii-3.*
USE_ICONV= yes
USE_XORG= x11 xextproto xt xext xft
MAKE_ARGS= PREFIX="${PREFIX}" INCLUDE="${LOCALBASE}/include" \
INCX11="-I${LOCALBASE}/include" LIBX11="-L${LOCALBASE}/lib" \
CC="${CC} -c" LD="${CC}" LIBIXP="-lixp" STATIC="" \
LIBICONV="-liconv" MAN="${MANPREFIX}/man" \
VERS="3.6.${SNAPDATE}"
MAN1= wmii.1 wmiir.1 wimenu.1
post-patch: .SILENT
# Link against system libixp and strip debug build options
${REINPLACE_CMD} -e '/libixp/d' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's,-g,-L${LOCALBASE}/lib, ; /^CFLAGS +=/d' \
${WRKSRC}/config.mk
# Mute "hg: not found" messages
${REINPLACE_CMD} -e '/^VERS =/d' ${WRKSRC}/mk/wmii.mk
# Allow it to find freetype2 headers
${ECHO_CMD} CFLAGS+= \$$$$\(pkg-config --cflags freetype2\) \
>> ${WRKSRC}/cmd/Makefile
# Make actual compile/link commands appear in the build log; do not try to
# regenerate manpages
${REINPLACE_CMD} -E -e 's|^COMPILE=|& noisycc=yes | ; \
s|^LINK=|& noisycc=yes | ; s|\.man1 ||' ${WRKSRC}/mk/hdr.mk
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (wmii+ixp-snap20090703.tgz) = 2444c742d8f152d79e22750f48eccd38
SHA256 (wmii+ixp-snap20090703.tgz) = 56617952f62ed0a5e572fdfcfbb820205e316f8d973cfdea8a6b2032161a30d0
SIZE (wmii+ixp-snap20090703.tgz) = 429366

View File

@ -0,0 +1,11 @@
WMII is a small, dynamic window manager for X11. It supports both classic
and tiling (acme-like) window management with extended keyboard, mouse, and
9p filesystem based remote control. It replaces the workspace paradigm with
a new tagging approach and is highly scriptable (with plain shell or Python
and even Chicken).
Its minimalist philosophy attempts to not exceed 10.000 lines of code
(including all shipped utilities and libraries), to enforce simplicity and
clarity (read: it is hackable and beautiful).
WWW: http://wmii.suckless.org/

View File

@ -0,0 +1,14 @@
bin/wihack
bin/wimenu
bin/wmii
bin/wmii.rc
bin/wmii.sh
bin/wmii9menu
bin/wmii9rc
bin/wmiir
bin/wmiistartrc
etc/wmii-hg/rc.wmii
etc/wmii-hg/welcome
etc/wmii-hg/wmiirc
@dirrm etc/wmii-hg
lib/libwmii_hack.so