aboutsummaryrefslogtreecommitdiff
path: root/x11/bgs
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-07-19 10:14:47 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-07-19 10:14:47 +0000
commite7dea32aace76e4c7a051af9c99915600abc45f4 (patch)
treefc015094f327ede8d82987bf55f2d3b379e1380c /x11/bgs
parent1358313cbbe9bc28a68ad82d36168b24816862a3 (diff)
downloadports-e7dea32aace76e4c7a051af9c99915600abc45f4.tar.gz
ports-e7dea32aace76e4c7a051af9c99915600abc45f4.zip
Notes
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.