pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

spectrwm-git: built from git-master branch



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Mon Jun 22 15:21:58 2020 +0200
Changeset:	2278c4804d74729e3d0e20cc4be7d7c446545e78

Modified Files:
	Makefile
Added Files:
	spectrwm-git/DESCR
	spectrwm-git/Makefile
	spectrwm-git/PLIST

Log Message:
spectrwm-git: built from git-master branch

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2278c4804d74729e3d0e20cc4be7d7c446545e78

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 spectrwm-git/DESCR    | 24 ++++++++++++++++++++
 spectrwm-git/Makefile | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++
 spectrwm-git/PLIST    | 17 ++++++++++++++
 4 files changed, 104 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c4b53d496b..f94f4420fe 100644
--- a/Makefile
+++ b/Makefile
@@ -4522,6 +4522,7 @@ SUBDIR+=	spatt
 SUBDIR+=	spcm
 SUBDIR+=	spe
 SUBDIR+=	spectra
+SUBDIR+=	spectrwm-git
 SUBDIR+=	speedx
 SUBDIR+=	spfmilter
 SUBDIR+=	spice-gtk
diff --git a/spectrwm-git/DESCR b/spectrwm-git/DESCR
new file mode 100644
index 0000000000..98c2a2ea0e
--- /dev/null
+++ b/spectrwm-git/DESCR
@@ -0,0 +1,24 @@
+Spectrwm is a small dynamic tiling window manager for X11. It tries
+to stay out of the way so that valuable screen real estate can be
+used for much more important stuff. It has sane defaults and does
+not require one to learn a language to do any configuration. It
+was written by hackers for hackers and it strives to be small,
+compact and fast.
+
+It was largely inspired by xmonad and dwm. Both are fine products
+but suffer from things like: crazy-unportable-language-syndrome,
+silly defaults, asymmetrical window layout, "how hard can it be?"
+and good old NIH. Nevertheless dwm was a phenomenal resource and
+many good ideas and code was borrowed from it. On the other hand
+xmonad has great defaults, key bindings and xinerama support but
+is crippled by not being written in C.
+
+Spectrwm is a beautiful pearl! For it too, was created by grinding
+irritation. Nothing is a bigger waste of time than moving windows
+around until they are the right size-ish or having just about any
+relevant key combination being eaten for some task one never needs.
+The path of agony is too long to quote and in classical OpenBSD
+fashion (put up, or hack up) a brand new window manager was whooped
+up to serve no other purpose than to obey its masters. It was
+written by Marco Peereboom & Ryan Thomas McBride and it is released
+under the ISC license.
diff --git a/spectrwm-git/Makefile b/spectrwm-git/Makefile
new file mode 100644
index 0000000000..b81cbfb577
--- /dev/null
+++ b/spectrwm-git/Makefile
@@ -0,0 +1,62 @@
+# $NetBSD$
+
+DISTNAME=	spectrwm-3.4
+CATEGORIES=	wm
+GIT_REPO=	https://github.com/conformal/spectrwm.git
+
+MAINTAINER=	pin%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/conformal/spectrwm
+COMMENT=	Small dynamic tiling window manager for X11
+LICENSE=	isc
+
+DEPENDS+=	dmenu-[0-9]*:../../x11/dmenu
+
+BUILDLINK_TRANSFORM+=	rm:-Werror
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "OpenBSD"
+USE_BSD_MAKEFILE=	yes
+INSTALLATION_DIRS+=	bin lib ${PKGMANDIR}/man1
+MAKE_FLAGS+=		MANDIR=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=		MANINSTALL=maninstall
+# sync with major.minor from ${WRKSRC}/lib/shlib_version.
+CFLAGS+=		-DSWM_LIB=\"${PREFIX}/lib/libswmhack.so.0.0\"
+.else
+CFLAGS+=		-I${PREFIX}/include
+LDFLAGS+=		-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib
+MAKE_FLAGS+=		MANDIR=${PREFIX}/${PKGMANDIR}
+.  if ${OPSYS} == "Darwin"
+USE_TOOLS+=		gmake
+BUILD_DIRS=		osx
+.  elif ${OPSYS} == "FreeBSD"
+BUILD_DIRS=		freebsd
+.  elif ${OPSYS} == "NetBSD"
+BUILD_DIRS=		netbsd
+.  else
+USE_TOOLS+=		gmake
+BUILD_DIRS=		linux
+.  endif
+.endif
+
+INSTALLATION_DIRS+=	share/examples/spectrwm
+
+post-extract:
+	${RUN} cd ${WRKSRC} && ${CP} -R freebsd netbsd
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/*.conf ${DESTDIR}${PREFIX}/share/examples/spectrwm
+	${INSTALL_DATA} ${WRKSRC}/*.sh ${DESTDIR}${PREFIX}/share/examples/spectrwm
+
+.include "../../wip/mk/git-package.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+BUILDLINK_DEPMETHOD.libXt=	build
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/xorgproto/buildlink3.mk"
+.include "../../x11/xcb-util/buildlink3.mk"
+.include "../../x11/xcb-util-keysyms/buildlink3.mk"
+.include "../../x11/xcb-util-wm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/spectrwm-git/PLIST b/spectrwm-git/PLIST
new file mode 100644
index 0000000000..c32e7d743e
--- /dev/null
+++ b/spectrwm-git/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD$
+bin/scrotwm
+bin/spectrwm
+lib/libswmhack.so.0.0
+man/man1/spectrwm.1
+share/examples/spectrwm/baraction.sh
+share/examples/spectrwm/buildver.sh
+share/examples/spectrwm/initscreen.sh
+share/examples/spectrwm/release.sh
+share/examples/spectrwm/screenshot.sh
+share/examples/spectrwm/spectrwm.conf
+share/examples/spectrwm/spectrwm_cz.conf
+share/examples/spectrwm/spectrwm_es.conf
+share/examples/spectrwm/spectrwm_fr.conf
+share/examples/spectrwm/spectrwm_fr_ch.conf
+share/examples/spectrwm/spectrwm_se.conf
+share/examples/spectrwm/spectrwm_us.conf


Home | Main Index | Thread Index | Old Index