summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2007-01-17 13:00:48 +0000
committerNicola Vitale <nivit@FreeBSD.org>2007-01-17 13:00:48 +0000
commitbab5e8e80482003e332c767be85204459c8d0cd6 (patch)
treead64bbf519a7047faee44c2907a71b3af05db212 /x11
parentThis is GtkAda version 3.1.3. This package is an Ada2005 graphical library (diff)
wbar is a quick launch bar. Its fast, light and cool eye-candy.
Initially developed for Fluxbox, then tested on WindowMaker, Xfce, Gnome, etc. It can run on top of desktops such as xfdesktop or nautilus with the -above-desk switch. Approved by: alexbl (mentor, implicit)
Notes
Notes: svn path=/head/; revision=182628
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/wbar/Makefile35
-rw-r--r--x11/wbar/distinfo3
-rw-r--r--x11/wbar/files/patch-Makefile50
-rw-r--r--x11/wbar/files/pkg-message.in12
-rw-r--r--x11/wbar/pkg-descr7
-rw-r--r--x11/wbar/pkg-plist21
7 files changed, 129 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index e0d18a2334b7..62b85c82f585 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -222,6 +222,7 @@
SUBDIR += trayer
SUBDIR += tycoon
SUBDIR += vdesk
+ SUBDIR += wbar
SUBDIR += wdm
SUBDIR += widgetfactory
SUBDIR += wmappl
diff --git a/x11/wbar/Makefile b/x11/wbar/Makefile
new file mode 100644
index 000000000000..50d7f2b9175a
--- /dev/null
+++ b/x11/wbar/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: wbar
+# Date created: 2007-01-16
+# Whom: Nicola Vitale <nivit@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wbar
+PORTVERSION= 1.3
+CATEGORIES= x11
+MASTER_SITES= http://www.tecapli.com.ar/rodolfo/ \
+ http://nivi.interfree.it/distfiles/${PORTNAME}/
+EXTRACT_SUFX= .tbz2
+
+MAINTAINER= nivit@FreeBSD.org
+COMMENT= A quick launch bar for fluxbox, WindowMaker, Xfce, etc
+
+BUILD_DEPENDS= imlib2-config:${PORTSDIR}/graphics/imlib2
+
+SUB_FILES= pkg-message
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_XLIB= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Makefile
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR} && ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/x11/wbar/distinfo b/x11/wbar/distinfo
new file mode 100644
index 000000000000..e5e06d49faaa
--- /dev/null
+++ b/x11/wbar/distinfo
@@ -0,0 +1,3 @@
+MD5 (wbar-1.3.tbz2) = 6d086e13d8fdc09e288d22dbb4b11562
+SHA256 (wbar-1.3.tbz2) = e140553dc740b16d370134277a9597d0a0f5cc33c8ff75e9f57f55ec4936a05e
+SIZE (wbar-1.3.tbz2) = 176599
diff --git a/x11/wbar/files/patch-Makefile b/x11/wbar/files/patch-Makefile
new file mode 100644
index 000000000000..9240352eeceb
--- /dev/null
+++ b/x11/wbar/files/patch-Makefile
@@ -0,0 +1,50 @@
+--- Makefile Sun Jan 14 18:31:11 2007
++++ Makefile.port Wed Jan 17 00:16:41 2007
+@@ -1,7 +1,7 @@
+ TARGET=wbar
+-CXXFLAGS=`imlib2-config --cflags` -Wall -O2 -DCOOLMACHINE_N_SHITCODE -DAVGFILTER #-DDOCKWIN
+-LDFLAGS=`imlib2-config --libs` -Wl,-O2
+-PREFIX=/usr/share/wbar
++CXXFLAGS+=`imlib2-config --cflags` -Wall -DCOOLMACHINE_N_SHITCODE -DAVGFILTER #-DDOCKWIN
++LDFLAGS+=`imlib2-config --libs` -Wl
++DATADIR=%%DATADIR%%
+
+
+ sources= XWin.cc Icon.cc Bar.cc IconLoader.cc \
+@@ -29,11 +29,11 @@
+ exit 1; \
+ fi
+
+- install -d $(PREFIX)
+- awk '{if($$1 ~ /i:/ || ($$1 ~ /t:/ && NR<4)) print $$1" $(PREFIX)/"$$2; else print $$0;}' \
+- ./dot.wbar > $(PREFIX)/dot.wbar
+- cp -a ./wbar.icons $(PREFIX)/wbar.icons
+- install ./wbar /usr/bin
++ install -d %%DATADIR%%
++ awk '{if($$1 ~ /i:/ || ($$1 ~ /t:/ && NR<4)) print $$1" %%DATADIR%%/"$$2; else print $$0;}' \
++ ./dot.wbar > %%DATADIR%%/dot.wbar
++ cp -pLR ./wbar.icons %%DATADIR%%/wbar.icons
++ install ./wbar %%PREFIX%%/bin
+
+ config:
+ if [ -f "$(HOME)/.wbar" -o -d "$(HOME)/.wbar.icons" ]; then \
+@@ -42,7 +42,7 @@
+ if [ "$$recfg" = "y" -o "$$recfg" = "Y" ]; then \
+ awk '{if($$1 ~ /i:/ || ($$1 ~ /t:/ && NR<4)) print $$1" $(HOME)/"$$2; else print $$0;}' \
+ ./dot.wbar > $(HOME)/dot.wbar; \
+- cp -a ./wbar.icons $(HOME)/.wbar.icons; \
++ cp -pLR ./wbar.icons $(HOME)/.wbar.icons; \
+ fi \
+ fi
+
+@@ -52,8 +52,8 @@
+ exit 1; \
+ fi
+
+- rm -rf $(PREFIX)
+- rm -f /usr/bin/wbar
++ rm -rf %%DATADIR%%
++ rm -f %%PREFIX%%/bin/wbar
+
+
+ clean:
diff --git a/x11/wbar/files/pkg-message.in b/x11/wbar/files/pkg-message.in
new file mode 100644
index 000000000000..1dafbed7aec5
--- /dev/null
+++ b/x11/wbar/files/pkg-message.in
@@ -0,0 +1,12 @@
+
+*************************************************
+
+ Copy
+
+ %%DATADIR%%/dot.wbar to ${HOME}/.wbar
+
+ or run the program with
+
+ wbar -config %%DATADIR%%/dot.wbar
+
+*************************************************
diff --git a/x11/wbar/pkg-descr b/x11/wbar/pkg-descr
new file mode 100644
index 000000000000..1ea218402cf5
--- /dev/null
+++ b/x11/wbar/pkg-descr
@@ -0,0 +1,7 @@
+wbar is a quick launch bar. Its fast, light and cool eye-candy.
+
+Initially developed for Fluxbox, then tested on WindowMaker, Xfce,
+Gnome, etc.
+
+It can run on top of desktops such as xfdesktop or nautilus with
+the -above-desk switch.
diff --git a/x11/wbar/pkg-plist b/x11/wbar/pkg-plist
new file mode 100644
index 000000000000..a08ec5be2a56
--- /dev/null
+++ b/x11/wbar/pkg-plist
@@ -0,0 +1,21 @@
+@comment $FreeBSD$
+bin/wbar
+%%DATADIR%%/dot.wbar
+%%DATADIR%%/wbar.icons/VeraBd.ttf
+%%DATADIR%%/wbar.icons/acroread.png
+%%DATADIR%%/wbar.icons/firefox.png
+%%DATADIR%%/wbar.icons/gimp.png
+%%DATADIR%%/wbar.icons/gnutella.png
+%%DATADIR%%/wbar.icons/gulls.png
+%%DATADIR%%/wbar.icons/license
+%%DATADIR%%/wbar.icons/osxbarback.png
+%%DATADIR%%/wbar.icons/osxbarback.xcf
+%%DATADIR%%/wbar.icons/power.png
+%%DATADIR%%/wbar.icons/psi.png
+%%DATADIR%%/wbar.icons/term.png
+%%DATADIR%%/wbar.icons/xcalc.png
+%%DATADIR%%/wbar.icons/xmms.png
+%%PORTDOCS%%%%DOCSDIR%%/README
+@dirrm %%DATADIR%%/wbar.icons
+@dirrm %%DATADIR%%/
+%%PORTDOCS%%@dirrm %%DOCSDIR%%