diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/sselp/Makefile | 21 | ||||
-rw-r--r-- | x11/sselp/distinfo | 3 | ||||
-rw-r--r-- | x11/sselp/files/patch-config.mk | 32 | ||||
-rw-r--r-- | x11/sselp/pkg-descr | 6 |
5 files changed, 63 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index c5f4c8058f48..5322a8686d6c 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -263,6 +263,7 @@ SUBDIR += slim SUBDIR += slock SUBDIR += smproxy + SUBDIR += sselp SUBDIR += stalonetray SUBDIR += startup-notification SUBDIR += swarp diff --git a/x11/sselp/Makefile b/x11/sselp/Makefile new file mode 100644 index 000000000000..4ea16fec73a6 --- /dev/null +++ b/x11/sselp/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: sselp +# Date created: July 19, 2008 +# Whom: Julien Laffaye <kimelto@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= sselp +PORTVERSION= 0.1 +CATEGORIES= x11 +MASTER_SITES= http://code.suckless.org/dl/tools/ \ + http://laffaye.free.fr/distfiles/ + +MAINTAINER= kimelto@gmail.com +COMMENT= Simple SELection Printer for X11 + +USE_XORG= x11 + +PLIST_FILES= bin/sselp + +.include <bsd.port.mk> diff --git a/x11/sselp/distinfo b/x11/sselp/distinfo new file mode 100644 index 000000000000..9a5b6fb27b9f --- /dev/null +++ b/x11/sselp/distinfo @@ -0,0 +1,3 @@ +MD5 (sselp-0.1.tar.gz) = 5c0c98469fbf21649eb13e5ff878dafb +SHA256 (sselp-0.1.tar.gz) = 8f25b8d5cd62929618b8ba56d36f6d6556e4de1d1952f77aa160e087d3d79899 +SIZE (sselp-0.1.tar.gz) = 2694 diff --git a/x11/sselp/files/patch-config.mk b/x11/sselp/files/patch-config.mk new file mode 100644 index 000000000000..296254590221 --- /dev/null +++ b/x11/sselp/files/patch-config.mk @@ -0,0 +1,32 @@ +--- config.mk.orig 2008-07-19 13:20:31.000000000 +0200 ++++ config.mk 2008-07-19 14:18:14.000000000 +0200 +@@ -4,22 +4,22 @@ + # Customize below to fit your system + + # paths +-PREFIX = /usr/local +-MANPREFIX = ${PREFIX}/share/man ++PREFIX ?= /usr/local ++MANPREFIX = ${PREFIX}/man + +-X11INC = /usr/X11R6/include +-X11LIB = /usr/X11R6/lib ++X11INC = $(LOCALBASE)/include ++X11LIB = $(LOCALBASE)/lib + + # includes and libs + INCS = -I. -I/usr/include -I${X11INC} + LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 + + # flags +-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +-LDFLAGS = ${LIBS} ++CFLAGS += -Os ${INCS} -DVERSION=\"${VERSION}\" ++LDFLAGS += ${LIBS} + #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" + #LDFLAGS = -g ${LIBS} + + # compiler and linker +-CC = cc ++CC ?= cc + LD = ${CC} diff --git a/x11/sselp/pkg-descr b/x11/sselp/pkg-descr new file mode 100644 index 000000000000..e3b74b00b4db --- /dev/null +++ b/x11/sselp/pkg-descr @@ -0,0 +1,6 @@ +Simple X selection printer. Prints the X selection to stdout. +If there is no X client owning the selection it just exits. +Useful for scripts where you can query the X selection +without pressing mouse Button2 in cumbersome ways. + +WWW: http://www.suckless.org/programs/sselp.html |