aboutsummaryrefslogtreecommitdiffstats
path: root/x11/bgs
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-07-19 18:14:47 +0800
committermiwi <miwi@FreeBSD.org>2008-07-19 18:14:47 +0800
commitc99dddf4f33182b4146c2f7d70aa9003a542bb4b (patch)
tree38ce6cfdf3bdc5e42251ede79b7ee3a9868e5cb3 /x11/bgs
parentd456dab1391b067d4869aa28a9822f1db9a0d5fb (diff)
downloadfreebsd-ports-gnome-c99dddf4f33182b4146c2f7d70aa9003a542bb4b.tar.gz
freebsd-ports-gnome-c99dddf4f33182b4146c2f7d70aa9003a542bb4b.tar.zst
freebsd-ports-gnome-c99dddf4f33182b4146c2f7d70aa9003a542bb4b.zip
The bgs program allows you to tailor the appearance of the background
("root") window on a workstation display running X. bgs uses imlib2 for image rendering and rotates the images automaticly. It is made for dynamic Xinerama/Xrandr setups such as used with notebooks, but it works very fine in any setup. PR: ports/125601 Submitted by: Julien Laffaye <kimelto at gmail.com>
Diffstat (limited to 'x11/bgs')
-rw-r--r--x11/bgs/Makefile23
-rw-r--r--x11/bgs/distinfo3
-rw-r--r--x11/bgs/files/patch-config.mk41
-rw-r--r--x11/bgs/pkg-descr5
4 files changed, 72 insertions, 0 deletions
diff --git a/x11/bgs/Makefile b/x11/bgs/Makefile
new file mode 100644
index 000000000000..521987ba94b3
--- /dev/null
+++ b/x11/bgs/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: bgs
+# Date created: July 14, 2008
+# Whom: Julien Laffaye <kimelto@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bgs
+PORTVERSION= 0.3
+CATEGORIES= x11
+MASTER_SITES= http://s01.de/~gottox/files/bgs/ \
+ http://laffaye.free.fr/distfiles/
+
+MAINTAINER= kimelto@gmail.com
+COMMENT= Simple X11 BackGround Setter using Imlib2
+
+USE_XORG= x11 xinerama
+USE_EFL= imlib2
+
+MAN1= bgs.1
+PLIST_FILES= bin/bgs
+
+.include <bsd.port.mk>
diff --git a/x11/bgs/distinfo b/x11/bgs/distinfo
new file mode 100644
index 000000000000..a17681a203f4
--- /dev/null
+++ b/x11/bgs/distinfo
@@ -0,0 +1,3 @@
+MD5 (bgs-0.3.tar.gz) = b48808dc641ed6d536e4d1bd34d316e9
+SHA256 (bgs-0.3.tar.gz) = ac859f15b7174cd5d744e90c0b571feecb7a9137e62f3f5158c8e23ab48efdb6
+SIZE (bgs-0.3.tar.gz) = 4395
diff --git a/x11/bgs/files/patch-config.mk b/x11/bgs/files/patch-config.mk
new file mode 100644
index 000000000000..a42e74b5ffc3
--- /dev/null
+++ b/x11/bgs/files/patch-config.mk
@@ -0,0 +1,41 @@
+--- config.mk.orig 2008-07-13 17:31:26.000000000 +0200
++++ config.mk 2008-07-14 15:01:43.000000000 +0200
+@@ -4,14 +4,14 @@
+ # 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
+
+-IMLIB2INC = /usr/include/imlib2
+-IMLIB2LIB = /usr/lib/imlib2/
++IMLIB2INC = $(LOCALBASE)/imlib2
++IMLIB2LIB = $(LOCALBASE)/lib/imlib2/
+
+ # Xinerama, comment if you don't want it
+ XINERAMALIBS = -L${X11LIB} -lXinerama
+@@ -22,13 +22,13 @@
+ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} -L ${IMLIB2LIB} -lImlib2
+
+ # flags
+-CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+-LDFLAGS = -s ${LIBS}
++CPPFLAGS += -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
++CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
++LDFLAGS += ${LIBS}
+
+ # Solaris
+ #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
+ #LDFLAGS = ${LIBS}
+
+ # compiler and linker
+-CC = cc
++CC ?= cc
diff --git a/x11/bgs/pkg-descr b/x11/bgs/pkg-descr
new file mode 100644
index 000000000000..c7e894d1459b
--- /dev/null
+++ b/x11/bgs/pkg-descr
@@ -0,0 +1,5 @@
+The bgs program allows you to tailor the appearance of the background
+("root") window on a workstation display running X.
+bgs uses imlib2 for image rendering and rotates the images automaticly.
+It is made for dynamic Xinerama/Xrandr setups such as used with notebooks,
+but it works very fine in any setup.