ports/125770: New port: x11/sselp : Simple SELection Printer for x11
Julien Laffaye
kimelto at gmail.com
Sat Jul 19 13:20:02 UTC 2008
>Number: 125770
>Category: ports
>Synopsis: New port: x11/sselp : Simple SELection Printer for x11
>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: Sat Jul 19 13:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Julien Laffaye
>Release: 7.0-RELEASE-p3
>Organization:
>Environment:
FreeBSD laptop.kimelto.eu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
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
>How-To-Repeat:
>Fix:
# 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:
#
# x11/sselp
# x11/sselp/Makefile
# x11/sselp/distinfo
# x11/sselp/files
# x11/sselp/files/patch-config.mk
# x11/sselp/pkg-descr
#
echo c - x11/sselp
mkdir -p x11/sselp > /dev/null 2>&1
echo x - x11/sselp/Makefile
sed 's/^X//' >x11/sselp/Makefile << 'END-of-x11/sselp/Makefile'
X# New ports collection makefile for: sselp
X# Date created: July 19, 2008
X# Whom: Julien Laffaye <kimelto at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= sselp
XPORTVERSION= 0.1
XCATEGORIES= x11
XMASTER_SITES= http://code.suckless.org/dl/tools/ \
X http://laffaye.free.fr/distfiles/
X
XMAINTAINER= kimelto at gmail.com
XCOMMENT= Simple SELection Printer for X11
X
XUSE_XORG= x11
X
XPLIST_FILES= bin/sselp
X
X.include <bsd.port.mk>
END-of-x11/sselp/Makefile
echo x - x11/sselp/distinfo
sed 's/^X//' >x11/sselp/distinfo << 'END-of-x11/sselp/distinfo'
XMD5 (sselp-0.1.tar.gz) = 5c0c98469fbf21649eb13e5ff878dafb
XSHA256 (sselp-0.1.tar.gz) = 8f25b8d5cd62929618b8ba56d36f6d6556e4de1d1952f77aa160e087d3d79899
XSIZE (sselp-0.1.tar.gz) = 2694
END-of-x11/sselp/distinfo
echo c - x11/sselp/files
mkdir -p x11/sselp/files > /dev/null 2>&1
echo x - x11/sselp/files/patch-config.mk
sed 's/^X//' >x11/sselp/files/patch-config.mk << 'END-of-x11/sselp/files/patch-config.mk'
X--- config.mk.orig 2008-07-19 13:20:31.000000000 +0200
X+++ config.mk 2008-07-19 14:18:14.000000000 +0200
X@@ -4,22 +4,22 @@
X # Customize below to fit your system
X
X # paths
X-PREFIX = /usr/local
X-MANPREFIX = ${PREFIX}/share/man
X+PREFIX ?= /usr/local
X+MANPREFIX = ${PREFIX}/man
X
X-X11INC = /usr/X11R6/include
X-X11LIB = /usr/X11R6/lib
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-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
X-LDFLAGS = ${LIBS}
X+CFLAGS += -Os ${INCS} -DVERSION=\"${VERSION}\"
X+LDFLAGS += ${LIBS}
X #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
X #LDFLAGS = -g ${LIBS}
X
X # compiler and linker
X-CC = cc
X+CC ?= cc
X LD = ${CC}
END-of-x11/sselp/files/patch-config.mk
echo x - x11/sselp/pkg-descr
sed 's/^X//' >x11/sselp/pkg-descr << 'END-of-x11/sselp/pkg-descr'
XSimple X selection printer. Prints the X selection to stdout.
XIf there is no X client owning the selection it just exits.
XUseful for scripts where you can query the X selection
Xwithout pressing mouse Button2 in cumbersome ways.
X
XWWW: http://www.suckless.org/programs/sselp.html
END-of-x11/sselp/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list