diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-01-29 14:24:14 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-01-29 14:24:14 +0000 |
commit | 88ff23198f79132c8b4daa534665fdce0b4919c9 (patch) | |
tree | 10244a097ccd8adcf97480a973de0f808c33cf76 /x11 | |
parent | 65c6806a90ecad02e414416e918dc01dab3e365c (diff) |
tabbed is a simple Xembed container manager based on Xlib. tabbed
was originally designed for surf but also usable with many other
application, i.e. uzbl, urxvt and xterm.
It consists of a single binary, configuration is done at compile-time
by a single config.h file.
WWW: http://tools.suckless.org/tabbed
PR: ports/150266
Submitted by: Winston Weinert <winstonw at lavabit.com>
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=268380
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/tabbed/Makefile | 40 | ||||
-rw-r--r-- | x11/tabbed/distinfo | 2 | ||||
-rw-r--r-- | x11/tabbed/files/patch-config.mk | 25 | ||||
-rw-r--r-- | x11/tabbed/pkg-descr | 8 |
5 files changed, 76 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index 6e8bfe5d43fe..416d3a7e8ba4 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -278,6 +278,7 @@ SUBDIR += startup-notification SUBDIR += swarp SUBDIR += sxpc + SUBDIR += tabbed SUBDIR += temperature.app SUBDIR += terminal.app SUBDIR += terminator diff --git a/x11/tabbed/Makefile b/x11/tabbed/Makefile new file mode 100644 index 000000000000..f9c67c2a8e54 --- /dev/null +++ b/x11/tabbed/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: tabbed +# Date created: September 03, 2010 +# Whom: Winston Weinert <winstonw@lavabit.com> +# +# $FreeBSD$ +# + +PORTNAME= tabbed +PORTVERSION= 0.3 +CATEGORIES= x11 +MASTER_SITES= http://dl.suckless.org/tools/ + +MAINTAINER= winstonw@lavabit.com +COMMENT= Simple generic tabbed fronted to xembed aware applications + +USE_XORG= x11 + +MAN1= tabbed.1 +PLIST_FILES= bin/tabbed +PORTDOCS= LICENSE README + +pre-everything:: + @${ECHO_MSG} "You can build tabbed with your own config.h using the TABBED_CONF knob:" + @${ECHO_MSG} "make TABBED_CONF=/path/to/tabbed/config.h install clean" + +post-extract: +.if defined(TABBED_CONF) + @${ECHO_MSG} "creating config.h from ${TABBED_CONF}" + @${CP} ${TABBED_CONF} ${WRKSRC}/config.h +.endif + +post-install: +.if !defined(NOPORTDOCS) + @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" + @${MKDIR} ${DOCSDIR} + @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR} + @${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/x11/tabbed/distinfo b/x11/tabbed/distinfo new file mode 100644 index 000000000000..0f4d59f3d6fb --- /dev/null +++ b/x11/tabbed/distinfo @@ -0,0 +1,2 @@ +SHA256 (tabbed-0.3.tar.gz) = bb72aa6e4831e0aadee8a6232d8532a548e736236bbaaed970e77fb5d3177ff0 +SIZE (tabbed-0.3.tar.gz) = 9177 diff --git a/x11/tabbed/files/patch-config.mk b/x11/tabbed/files/patch-config.mk new file mode 100644 index 000000000000..a6e5ed4e804e --- /dev/null +++ b/x11/tabbed/files/patch-config.mk @@ -0,0 +1,25 @@ +--- config.mk.orig 2010-09-03 23:40:32.000000000 -0500 ++++ config.mk 2010-09-03 23:42:18.000000000 -0500 +@@ -4,12 +4,12 @@ + # Customize below to fit your system + + # paths +-PREFIX = /usr/local +-MANPREFIX = ${PREFIX}/share/man ++PREFIX?= /usr/local ++MANPREFIX = ${PREFIX}/man + + # includes and libs +-INCS = -I. -I/usr/include +-LIBS = -L/usr/lib -lc -lX11 ++INCS = -I. -I/usr/include -I/usr/local/include ++LIBS = -L/usr/lib -L/usr/local/lib -lc -lX11 + + # flags + CPPFLAGS = -DVERSION=\"${VERSION}\" +@@ -21,4 +21,4 @@ + #LDFLAGS = ${LIBS} + + # compiler and linker +-CC = cc ++CC?= cc diff --git a/x11/tabbed/pkg-descr b/x11/tabbed/pkg-descr new file mode 100644 index 000000000000..72e30475bf5a --- /dev/null +++ b/x11/tabbed/pkg-descr @@ -0,0 +1,8 @@ +tabbed is a simple Xembed container manager based on Xlib. tabbed +was originally designed for surf but also usable with many other +application, i.e. uzbl, urxvt and xterm. + +It consists of a single binary, configuration is done at compile-time +by a single config.h file. + +WWW: http://tools.suckless.org/tabbed |