aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/wmfs
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-12-14 18:35:10 +0800
committermiwi <miwi@FreeBSD.org>2008-12-14 18:35:10 +0800
commit53091a8802da62faf25d6673deed0ad0ecd4f987 (patch)
treeb93766bf34f639554e9b74a7f27784e354603703 /x11-wm/wmfs
parentecae4cb5f143ac8568ea6832410a4a6f60bd8588 (diff)
downloadfreebsd-ports-gnome-53091a8802da62faf25d6673deed0ad0ecd4f987.tar.gz
freebsd-ports-gnome-53091a8802da62faf25d6673deed0ad0ecd4f987.tar.zst
freebsd-ports-gnome-53091a8802da62faf25d6673deed0ad0ecd4f987.zip
WMFS, as known as Window Manager From Scratch, is a very very
lightweight window manager for X. The goal of this project is to make a very basic, lightweight and dynamic WM. The result is for now a little WM usable for daily use. WWW: http://wmfs.sangor.net/ PR: ports/129507 Submitted by: Dennis Herrmann <adox at mcx2.org>
Diffstat (limited to 'x11-wm/wmfs')
-rw-r--r--x11-wm/wmfs/Makefile57
-rw-r--r--x11-wm/wmfs/distinfo3
-rw-r--r--x11-wm/wmfs/pkg-descr6
-rw-r--r--x11-wm/wmfs/pkg-message8
4 files changed, 74 insertions, 0 deletions
diff --git a/x11-wm/wmfs/Makefile b/x11-wm/wmfs/Makefile
new file mode 100644
index 000000000000..d00c149bb9ab
--- /dev/null
+++ b/x11-wm/wmfs/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: wmfs
+# Date created: 08 December 2008
+# Whom: Dennis Herrmann <adox@mcx2.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmfs
+DISTVERSION= 0.1rc3
+CATEGORIES= x11-wm
+MASTER_SITES=http://wmfs.sangor.net/ \
+ http://mirror.mcx2.org/
+
+MAINTAINER= adox@mcx2.org
+COMMENT= A floating and tiling Window Manager From Scratch
+
+BUILD_DEPENDS+= asciidoc:${PORTSDIR}/textproc/asciidoc \
+ xmlto:${PORTSDIR}/textproc/xmlto
+LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 \
+ confuse.0:${PORTSDIR}/devel/libconfuse
+
+USE_GNOME= pkgconfig
+USE_CMAKE= yes
+USE_XORG= x11 xft xpm
+
+MAN1= ${PORTNAME}.1
+MANCOMPRESSED= yes
+
+PLIST_FILES= bin/wmfs \
+ etc/xdg/wmfs/wmfsrc \
+ %%DOCSDIR%%/TODO \
+ %%DOCSDIR%%/README \
+ %%DOCSDIR%%/CHANGELOG \
+ %%DOCSDIR%%/wmfsrc
+PLIST_DIRS= %%DOCSDIR%% etc/xdg/wmfs etc/xdg
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|share/$${PROJECT_NAME})|${DOCSDIR})|g' \
+ -e 's|$${PREFIX}/share/man|/$${PREFIX}/man|g' \
+ -e 's|$${SYSCONFDIR}/xdg|${PREFIX}/etc/xdg|g' ${WRKSRC}/CMakeLists.txt
+
+post-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/wmfs ${PREFIX}/bin/
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}/TODO
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
+ ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}/CHANGELOG
+ ${INSTALL_DATA} ${WRKSRC}/wmfsrc ${DOCSDIR}/wmfsrc
+.endif
+
+ @${CAT} ${PKGMESSAGE} | ${SED} "s|PREFIX|${PREFIX}|g" \
+ ${PKGDIR}/pkg-message
+
+.include <bsd.port.post.mk>
diff --git a/x11-wm/wmfs/distinfo b/x11-wm/wmfs/distinfo
new file mode 100644
index 000000000000..4726bbbbe616
--- /dev/null
+++ b/x11-wm/wmfs/distinfo
@@ -0,0 +1,3 @@
+MD5 (wmfs-0.1rc3.tar.gz) = 23ac5ea9d21c1d8653c13ba2f25c3591
+SHA256 (wmfs-0.1rc3.tar.gz) = 0a0cd24d84613da6de410c572745589632e8529015a1dfe15a221c6b2d48d306
+SIZE (wmfs-0.1rc3.tar.gz) = 42640
diff --git a/x11-wm/wmfs/pkg-descr b/x11-wm/wmfs/pkg-descr
new file mode 100644
index 000000000000..7f036e6df99a
--- /dev/null
+++ b/x11-wm/wmfs/pkg-descr
@@ -0,0 +1,6 @@
+WMFS, as known as Window Manager From Scratch, is a very very
+lightweight window manager for X. The goal of this project is
+to make a very basic, lightweight and dynamic WM. The result
+is for now a little WM usable for daily use.
+
+WWW: http://wmfs.sangor.net/
diff --git a/x11-wm/wmfs/pkg-message b/x11-wm/wmfs/pkg-message
new file mode 100644
index 000000000000..c469e93eb8fb
--- /dev/null
+++ b/x11-wm/wmfs/pkg-message
@@ -0,0 +1,8 @@
+##########################################
+wmfs has been installed.
+
+A default wmfsrc has been installed to:
+ PREFIX/share/doc/wmfs/wmfsrc
+Copy it to ~/ and modify it.
+
+##########################################