ports/131246: [NEW PORT] x11-wm/antiwm: A minimalist window manager inspired by Ratpoison
Dennis Herrmann
adox at mcx2.org
Sun Feb 1 10:40:02 UTC 2009
>Number: 131246
>Category: ports
>Synopsis: [NEW PORT] x11-wm/antiwm: A minimalist window manager inspired by Ratpoison
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 01 10:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Dennis Herrmann
>Release: FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD dhn.homeunix.com 7.1-STABLE FreeBSD 7.1-STABLE #4: Sat Jan 10 13:45:30 CET 2009
>Description:
AntiWM is a small and simple window manager with a focus on
productivity and utility. Inspired by ratpoison, AntiWM is
keyboard driven and handles all windows fullscreen.
WWW: http://sourceforge.net/projects/antiwm
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- antiwm-0.0.3.shar begins here ---
# 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:
#
# antiwm
# antiwm/pkg-descr
# antiwm/Makefile
# antiwm/distinfo
# antiwm/files
# antiwm/files/patch-Makefile
#
echo c - antiwm
mkdir -p antiwm > /dev/null 2>&1
echo x - antiwm/pkg-descr
sed 's/^X//' >antiwm/pkg-descr << 'ad9c027b790e8dc11411b32337f89b1f'
XAntiWM is a small and simple window manager with a focus on
Xproductivity and utility. Inspired by ratpoison, AntiWM is
Xkeyboard driven and handles all windows fullscreen.
X
XWWW: http://sourceforge.net/projects/antiwm
ad9c027b790e8dc11411b32337f89b1f
echo x - antiwm/Makefile
sed 's/^X//' >antiwm/Makefile << '48468ba4454cb4b99501ebc422053061'
X# New ports collection makefile for: antiwm
X# Date created: 2009-01-30
X# Whom: Dennis Herrmann <adox at mcx2.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= antiwm
XPORTVERSION= 0.0.3
XCATEGORIES= x11-wm
XMASTER_SITES= SF
X
XMAINTAINER= adox at mcx2.org
XCOMMENT= A minimalist window manager inspired by Ratpoison
X
XUSE_XORG= x11
X
XPLIST_FILES= bin/antiwm
XPORTDOCS= README LICENSE
X
Xpre-everything::
X @${ECHO_MSG} "You can build antiwm with your own conf.h using the ANTIWM_CONF knob:"
X @${ECHO_MSG} "make ANTIWM_CONF=/path/to/antiwm/conf.h install clean"
X
Xpost-extract:
X.if defined(ANTIWM_CONF)
X @${ECHO_MSG} "creating conf.h from ${ANTIWM_CONF}"
X @${CP} ${ANTIWM_CONF} ${WRKSRC}/conf.h
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
X @${MKDIR} ${DOCSDIR}
X @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
X.endif
X
X.include <bsd.port.mk>
48468ba4454cb4b99501ebc422053061
echo x - antiwm/distinfo
sed 's/^X//' >antiwm/distinfo << '7cdf6c2f1d16649fc3484109285d4a05'
XMD5 (antiwm-0.0.3.tar.gz) = 5764f780e1a0004e5f2f16053636ed59
XSHA256 (antiwm-0.0.3.tar.gz) = 5167fbba12dec38f9065ad9a2c2c5dbce0e9c37a593f4ea186cbbf470dc3c7e7
XSIZE (antiwm-0.0.3.tar.gz) = 8373
7cdf6c2f1d16649fc3484109285d4a05
echo c - antiwm/files
mkdir -p antiwm/files > /dev/null 2>&1
echo x - antiwm/files/patch-Makefile
sed 's/^X//' >antiwm/files/patch-Makefile << '612997b060f023628e2f1887282b9dcc'
X--- Makefile.orig 2008-08-01 02:59:17.000000000 +0200
X+++ Makefile 2009-02-01 10:00:20.000000000 +0100
X@@ -1,22 +1,36 @@
X # install directory
X-INSTALL_DIR=/usr/local/bin
X+PREFIX?= /usr/local/
X
X # enable debug messages
X DEBUG = -DDEBUG
X
X-CC = gcc
X-LIBS = -lX11
X-LDFLAGS = -L/usr/lib
X-CFLAGS = -O2 -Wall -I/usr/X11R6/include
X+# compiler and linker
X+CC?= gcc
X+
X+# paths
X+X11INC = $(LOCALBASE)/include
X+X11LIB = $(LOCALBASE)/lib
X+
X+# includes and libs
X+INCS = -I. -I/usr/include -I${X11INC}
X+LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
X+
X+# flags
X+LDFLAGS+= ${LIBS}
X+CFLAGS+= ${INCS}
X
X SRC = main.o events.o manage.o list.o bar.o
X HEADERS = bar.h conf.h data.h events.h list.h manage.h antiwm.h
X
X+all: antiwm
X+
X antiwm: $(SRC)
X- gcc $(SRC) -o $@ $(CFLAGS) $(LDFLAGS) $(LIBS)
X+ gcc $(SRC) -o $@ $(CFLAGS) $(LDFLAGS)
X
X-install: antiwm
X- cp antiwm $(INSTALL_DIR)
X+install: all
X+ @mkdir -p ${DESTDIR}${PREFIX}/bin
X+ @cp -f antiwm ${PREFIX}/bin
X+ @chmod 755 ${DESTDIR}${PREFIX}/bin/antiwm
X
X %.o : %.c $(HEADERS)
X $(CC) -c $(CFLAGS) $(DEBUG) $< -o $@
612997b060f023628e2f1887282b9dcc
exit
--- antiwm-0.0.3.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list