ports/43956: New port: x11-wm/ion-devel

Robert P Ricci ricci at cs.utah.edu
Fri Sep 12 02:35:29 UTC 2003


Okay, I've updated this to the latest version. Below is the shar. I've
tested it on 4.9-PRERELASE and 5.1-RELEASE, run it through portlint, and
made sure it respects PREFIX and LOCALBASE .

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ion-devel
#	ion-devel/files
#	ion-devel/files/patch-system.mk
#	ion-devel/files/patch-rules.mk
#	ion-devel/files/patch-ioncore
#	ion-devel/files/patch-man
#	ion-devel/files/patch-scripts
#	ion-devel/files/patch-share
#	ion-devel/Makefile
#	ion-devel/distinfo
#	ion-devel/pkg-descr
#	ion-devel/pkg-plist
#
echo c - ion-devel
mkdir -p ion-devel > /dev/null 2>&1
echo c - ion-devel/files
mkdir -p ion-devel/files > /dev/null 2>&1
echo x - ion-devel/files/patch-system.mk
sed 's/^X//' >ion-devel/files/patch-system.mk << 'END-of-ion-devel/files/patch-system.mk'
X--- system.mk.orig	Mon Sep  8 20:18:04 2003
X+++ system.mk	Mon Sep  8 20:43:54 2003
X@@ -7,7 +7,7 @@
X ## Installation paths
X ##
X 
X-PREFIX=/usr/local/ion-devel
X+#PREFIX=$(PREFIX)
X 
X # Unless you are creating a package conforming to some OS's standards, you
X # probably do not want to modify the following directories:
X@@ -21,7 +21,7 @@
X # Manual pages
X MANDIR=$(PREFIX)/man
X # Some documents
X-DOCDIR=$(PREFIX)/doc/ion-devel
X+DOCDIR=$(PREFIX)/share/doc/ion-devel
X # Nothing at the moment
X INCDIR=$(PREFIX)/include/ion-devel
X # Nothing at the moment
X@@ -40,11 +40,11 @@
X # libtool because even more-recent-than-libtool-1.4.3 releases of those
X # OSes only have an _ancient_ 1.3.x libtool that _will_ _not_ _work even
X # though a lot of libltdl-using apps require 1.4.3. 
X-LIBTOOL=libtool
X+LIBTOOL=libtool15
X 
X # Settings for compiling and linking to ltdl
X-LTDL_INCLUDES=
X-LTDL_LIBS=-lltdl
X+LTDL_INCLUDES=-I$(LOCALBASE)/include
X+LTDL_LIBS=-L$(LOCALBASE) -lltdl
X 
X # The following should do it if you have manually installed libtool 1.5 in
X # $(LIBTOOLDIR).
X@@ -72,7 +72,7 @@
X 
X # If you have installed Lua 5.0 from the official tarball without changing
X # paths, this so do it.
X-LUA_PATH=/usr/local
X+LUA_PATH=$(LOCALBASE)
X LUA_LIBS = -L$(LUA_PATH)/lib -R$(LUA_PATH)/lib -llua -llualib
X LUA_INCLUDES = -I$(LUA_PATH)/include
X LUA=$(LUA_PATH)/bin/lua
X@@ -144,7 +144,7 @@
X ## C compiler
X ##
X 
X-CC=gcc
X+#CC=gcc
X 
X # The POSIX_SOURCE, XOPEN_SOURCE and WARN options should not be necessary,
X # they're mainly for development use. So, if they cause trouble (not
X@@ -174,8 +174,8 @@
X # following should optimize function calls to Lua a little.
X #C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
X 
X-CFLAGS=-g -Os $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
X-LDFLAGS=-g -Os $(LIBS) $(EXTRA_LIBS)
X+CFLAGS=$(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
X+LDFLAGS=$(LIBS) $(EXTRA_LIBS)
X 
X 
X ##
X@@ -200,9 +200,9 @@
X ##
X 
X # Should work almost everywhere
X-INSTALL=install
X+#INSTALL=$(INSTALL_PROGRAM)
X # On a system with pure BSD install, -c might be preferred
X-#INSTALL=install -c
X+INSTALL=install -c
X 
X INSTALLDIR=mkdir -p
X 
END-of-ion-devel/files/patch-system.mk
echo x - ion-devel/files/patch-rules.mk
sed 's/^X//' >ion-devel/files/patch-rules.mk << 'END-of-ion-devel/files/patch-rules.mk'
X--- rules.mk.orig	Wed Jun 18 06:12:19 2003
X+++ rules.mk	Tue Sep  9 20:06:32 2003
X@@ -84,6 +84,7 @@
X module_install:
X 	$(INSTALLDIR) $(MODULEDIR)
X 	$(LIBTOOL) --mode=install $(INSTALL) -m $(BIN_MODE) $(MODULE).la $(MODULEDIR)
X+	$(INSTALL) -m $(BIN_MODE) $(MODULE).la $(MODULEDIR)
X 	# $(STRIP) $(MODULEDIR)/$(MODULE).so
X 
X clean_objs:
END-of-ion-devel/files/patch-rules.mk
echo x - ion-devel/files/patch-ioncore
sed 's/^X//' >ion-devel/files/patch-ioncore << 'END-of-ion-devel/files/patch-ioncore'
X--- ioncore/Makefile.orig	Thu Aug 14 00:15:35 2003
X+++ ioncore/Makefile	Tue Sep  9 20:31:51 2003
X@@ -43,7 +43,7 @@
X 
X MAKE_EXPORTS=ioncore
X 
X-TARGETS=ioncore
X+TARGETS=ioncore-devel
X 
X ######################################
X 
X@@ -51,11 +51,11 @@
X 
X ######################################
X 
X-ioncore: $(OBJS) $(EXT_OBJS)
X+ioncore-devel: $(OBJS) $(EXT_OBJS)
X 	$(LIBTOOL) --mode=link $(CC) $(LINKOPTS) $(OBJS) $(EXT_OBJS) $(LDFLAGS) -o $@
X 
X _install:
X 	$(INSTALLDIR) $(BINDIR)
X-	$(INSTALL) -m $(BIN_MODE) ioncore $(BINDIR)
X+	$(INSTALL) -m $(BIN_MODE) ioncore-devel $(BINDIR)
X 	# $(STRIP) $(BINDIR)/ioncore
X 
END-of-ion-devel/files/patch-ioncore
echo x - ion-devel/files/patch-man
sed 's/^X//' >ion-devel/files/patch-man << 'END-of-ion-devel/files/patch-man'
X--- man/Makefile.orig	Tue Sep  9 20:12:50 2003
X+++ man/Makefile	Tue Sep  9 20:13:17 2003
X@@ -8,7 +8,7 @@
X 
X ######################################
X 
X-TARGETS=ion.1x
X+TARGETS=ion-devel.1x
X 
X ######################################
X 
X@@ -16,10 +16,10 @@
X 
X ######################################
X 
X-ion.1x: ion.1x.in
X+ion-devel.1x: ion.1x.in
X 	sed 's#ETCDIR#$(ETCDIR)#g; \
X 	     s#DOCDIR#$(DOCDIR)#g;' $< > $@
X 
X _install:
X 	$(INSTALLDIR) $(MANDIR)/man1
X-	$(INSTALL) -m $(DATA_MODE) ion.1x $(MANDIR)/man1
X+	$(INSTALL) -m $(DATA_MODE) ion-devel.1x $(MANDIR)/man1
END-of-ion-devel/files/patch-man
echo x - ion-devel/files/patch-scripts
sed 's/^X//' >ion-devel/files/patch-scripts << 'END-of-ion-devel/files/patch-scripts'
X--- scripts/Makefile.orig	Tue Sep  9 20:16:04 2003
X+++ scripts/Makefile	Tue Sep  9 20:16:27 2003
X@@ -8,9 +8,9 @@
X 
X ######################################
X 
X-TARGETS=ion pwm
X+TARGETS=ion-devel pwm
X 
X-SCRIPTS=ion
X+SCRIPTS=ion-devel
X 
X ######################################
X 
X@@ -24,7 +24,7 @@
X 		$(INSTALL) -m $(BIN_MODE) $$i $(BINDIR); \
X 	done
X 
X-ion: ion.in
X+ion-devel: ion.in
X 	sed 's#ETCDIR#$(ETCDIR)#g; \
X 	     s#LIBDIR#$(LIBDIR)#g; \
X 	     s#BINDIR#$(BINDIR)#g;' $< > $@
X
X--- scripts/ion.in.orig	Tue Sep  9 20:21:31 2003
X+++ scripts/ion.in	Tue Sep  9 20:21:39 2003
X@@ -1,3 +1,3 @@
X #!/bin/sh
X 
X-exec BINDIR/ioncore "$@"
X+exec BINDIR/ioncore-devel "$@"
END-of-ion-devel/files/patch-scripts
echo x - ion-devel/files/patch-share
sed 's/^X//' >ion-devel/files/patch-share << 'END-of-ion-devel/files/patch-share'
X--- share/Makefile.orig	Thu Sep 11 19:54:54 2003
X+++ share/Makefile	Thu Sep 11 19:55:21 2003
X@@ -13,7 +13,7 @@
X 
X SHELLSCRIPTS = ion-edit ion-man ion-runinxterm ion-ssh ion-view
X 
X-TARGETS=ion-ssh ion-man
X+TARGETS=ion-ssh ion-man ion-edit ion-view
X 
X ######################################
X
X--- share/ion-edit.orig	Thu Sep 11 19:52:01 2003
X+++ share/ion-edit	Thu Sep 11 19:53:35 2003
X@@ -1,2 +1,2 @@
X #!/bin/sh
X-exec run-mailcap --action=edit "$1" > /dev/null
X+exec SHAREDIR/ion-runinxterm -T "$1" $EDITOR "$1" > /dev/null
X
X--- share/ion-man.in.orig	Tue Sep  9 20:42:21 2003
X+++ share/ion-man.in	Tue Sep  9 20:42:28 2003
X@@ -1,4 +1,4 @@
X #!/bin/sh
X-topic=ion
X+topic=ion-devel
X test $# -ge 1 && topic=$*
X exec SHAREDIR/ion-runinxterm -T "$topic manual" man $topic
X
X--- share/ion-view.orig	Thu Sep 11 19:53:52 2003
X+++ share/ion-view	Thu Sep 11 19:54:36 2003
X@@ -1,3 +1,3 @@
X #!/bin/sh
X-exec run-mailcap --action=view "$1" > /dev/null
X+exec SHAREDIR/ion-runinxterm -T "$1" $EDITOR "$1" > /dev/null
X 
END-of-ion-devel/files/patch-share
echo x - ion-devel/Makefile
sed 's/^X//' >ion-devel/Makefile << 'END-of-ion-devel/Makefile'
X# New ports collection makefile for:   ion
X# Date created:        09 September 2003
X# Whom:                ricci at cs.utah.edu
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ion-devel
XPORTVERSION=	20030814
XCATEGORIES=	x11-wm
XMASTER_SITES=	http://modeemi.cs.tut.fi/~tuomov/dl/
X
XMAINTAINER=	ricci at cs.utah.edu
XCOMMENT=	A window manager with a text-editorish, keyboard friendly interface
X
XBUILD_DEPENDS=	libtool15:${PORTSDIR}/devel/libtool15 \
X		lua:${PORTSDIR}/lang/lua
XLIB_DEPENDS=	ltdl.4:${PORTSDIR}/devel/libltdl
X
XMAN1=		ion-devel.1x
X
XUSE_X_PREFIX=	yes
XUSE_GMAKE=	yes
XUSE_GCC=	yes
X
X# We have to process some files that the normal ion build process does not
Xpost-patch:
X	${MV} ${WRKSRC}/share/ion-edit ${WRKSRC}/share/ion-edit.in
X	${MV} ${WRKSRC}/share/ion-view ${WRKSRC}/share/ion-view.in
X
X.include <bsd.port.mk>
END-of-ion-devel/Makefile
echo x - ion-devel/distinfo
sed 's/^X//' >ion-devel/distinfo << 'END-of-ion-devel/distinfo'
XMD5 (ion-devel-20030814.tar.gz) = f5c779ff79ef982d76dec2f1e57d4034
END-of-ion-devel/distinfo
echo x - ion-devel/pkg-descr
sed 's/^X//' >ion-devel/pkg-descr << 'END-of-ion-devel/pkg-descr'
XIon (based on PWM) is a new kind of window manager that brings a
Xtext-editorish, keyboard friendly user interface to window management. 
XThis is the development branch of ion.
X
XModern GUIs are unusable. Overlapping windows are hard to manage, especially
Xfrom the keyboard, and the user often ends up in a jungle. Not to mention the
Xapplication programs, which are even worse. Mouse-based search-and-click
Xinterfaces are slow - keyboard is fast having learnt the commands. Ion (the
Xlast three letters of vision =-) was written as an example and an experiment of
Xsomething presumably better (just the window manager, though). 
X
XIon simply divides the screen into frames that take the whole screen. Big
Xdisplays have so much space that this is convenient and smaller displays
Xcouldn't show more than one window at a time anyway. The frames can be split
Xand growing the size of one will shrink others. Alike in PWM, clients can be
Xmoved between frames and multiple clients can be attached to one frame. 
X
XWith Ion you will hardly ever have to touch the mouse again for navigation
Xbetween windows and the windows are always in order. 
X
XWWW: http://modeemi.cs.tut.fi/~tuomov/ion/
X
X-- Robert Ricci
X   ricci at cs.utah.edu
END-of-ion-devel/pkg-descr
echo x - ion-devel/pkg-plist
sed 's/^X//' >ion-devel/pkg-plist << 'END-of-ion-devel/pkg-plist'
Xbin/ion-devel
Xbin/ioncore-devel
Xetc/ion-devel/draw.lua
Xetc/ion-devel/floatws.lua
Xetc/ion-devel/ioncore-bindings.lua
X at unexec if cmp -s %D/etc/ion-devel/ioncore.lua %D/etc/ion-devel/ioncore-example.lua; then rm -f %B/ioncore.lua; fi
Xetc/ion-devel/ioncore-example.lua
X at exec [ -f %B/ioncore.lua ] || cp %B/%f %B/ioncore.lua
Xetc/ion-devel/ionws.lua
Xetc/ion-devel/kludges.lua
Xetc/ion-devel/look-blackwheat.lua
Xetc/ion-devel/look-brownsteel.lua
Xetc/ion-devel/look-clean.lua
Xetc/ion-devel/look-cleanviolet.lua
Xetc/ion-devel/look-dusky.lua
Xetc/ion-devel/look-greyviolet.lua
Xetc/ion-devel/look-ios.lua
Xetc/ion-devel/look-simpleblue.lua
Xetc/ion-devel/look-wheat.lua
Xetc/ion-devel/query.lua
Xlib/ion-devel/de.so
Xlib/ion-devel/de.la
Xlib/ion-devel/floatws.so
Xlib/ion-devel/floatws.la
Xlib/ion-devel/ion-completefile
Xlib/ion-devel/ionws.so
Xlib/ion-devel/ionws.la
Xlib/ion-devel/query.so
Xlib/ion-devel/query.la
X%%PORTDOCS%%share/doc/ion-devel/ChangeLog
X%%PORTDOCS%%share/doc/ion-devel/LICENSE
X%%PORTDOCS%%share/doc/ion-devel/README
X%%PORTDOCS%%@dirrm share/doc/ion-devel
Xshare/ion-devel/compat.lua
Xshare/ion-devel/delib.lua
Xshare/ion-devel/ion-edit
Xshare/ion-devel/ion-man
Xshare/ion-devel/ion-runinxterm
Xshare/ion-devel/ion-ssh
Xshare/ion-devel/ion-view
Xshare/ion-devel/ioncore-mplexfns.lua
Xshare/ion-devel/ioncore-startup.lua
Xshare/ion-devel/ioncorelib.lua
Xshare/ion-devel/querylib.lua
X at dirrm share/ion-devel
X at dirrm lib/ion-devel
X at unexec rmdir %D/etc/ion-devel 2>/dev/null || true
END-of-ion-devel/pkg-plist
exit



More information about the freebsd-ports-bugs mailing list