aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/wmii-devel
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2009-09-08 20:39:30 +0800
committerdanfe <danfe@FreeBSD.org>2009-09-08 20:39:30 +0800
commit061126c399f2932caba72e9b6178cdc7fad67b15 (patch)
tree996469e26c3a3424770dcff4744db19606ccf25a /x11-wm/wmii-devel
parente2f36dd0f338a48273713d4c596a2a894eb77d30 (diff)
downloadfreebsd-ports-gnome-061126c399f2932caba72e9b6178cdc7fad67b15.tar.gz
freebsd-ports-gnome-061126c399f2932caba72e9b6178cdc7fad67b15.tar.zst
freebsd-ports-gnome-061126c399f2932caba72e9b6178cdc7fad67b15.zip
Revive the port; version 3.6 is getting utterly old. This port allows to
build recent available snapshot.
Diffstat (limited to 'x11-wm/wmii-devel')
-rw-r--r--x11-wm/wmii-devel/Makefile51
-rw-r--r--x11-wm/wmii-devel/distinfo3
-rw-r--r--x11-wm/wmii-devel/pkg-descr11
-rw-r--r--x11-wm/wmii-devel/pkg-plist14
4 files changed, 79 insertions, 0 deletions
diff --git a/x11-wm/wmii-devel/Makefile b/x11-wm/wmii-devel/Makefile
new file mode 100644
index 000000000000..16c967f969b2
--- /dev/null
+++ b/x11-wm/wmii-devel/Makefile
@@ -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>
diff --git a/x11-wm/wmii-devel/distinfo b/x11-wm/wmii-devel/distinfo
new file mode 100644
index 000000000000..476b6ef83b55
--- /dev/null
+++ b/x11-wm/wmii-devel/distinfo
@@ -0,0 +1,3 @@
+MD5 (wmii+ixp-snap20090703.tgz) = 2444c742d8f152d79e22750f48eccd38
+SHA256 (wmii+ixp-snap20090703.tgz) = 56617952f62ed0a5e572fdfcfbb820205e316f8d973cfdea8a6b2032161a30d0
+SIZE (wmii+ixp-snap20090703.tgz) = 429366
diff --git a/x11-wm/wmii-devel/pkg-descr b/x11-wm/wmii-devel/pkg-descr
new file mode 100644
index 000000000000..f111f07021f1
--- /dev/null
+++ b/x11-wm/wmii-devel/pkg-descr
@@ -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/
diff --git a/x11-wm/wmii-devel/pkg-plist b/x11-wm/wmii-devel/pkg-plist
new file mode 100644
index 000000000000..db8a9cece9b3
--- /dev/null
+++ b/x11-wm/wmii-devel/pkg-plist
@@ -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