aboutsummaryrefslogtreecommitdiff
path: root/x11/alltray
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-10-28 12:24:07 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-10-28 12:24:07 +0000
commitbf3036157d7863ec9b4ba0a0409e068ed0f9384f (patch)
tree373d087c7bdb268ea51762c9b8918924ae32d5b1 /x11/alltray
parent2f9199d5db1858f0b4275fab06d8bb76797962cc (diff)
downloadports-bf3036157d7863ec9b4ba0a0409e068ed0f9384f.tar.gz
ports-bf3036157d7863ec9b4ba0a0409e068ed0f9384f.zip
Notes
Diffstat (limited to 'x11/alltray')
-rw-r--r--x11/alltray/Makefile43
-rw-r--r--x11/alltray/distinfo2
-rw-r--r--x11/alltray/pkg-descr6
-rw-r--r--x11/alltray/pkg-plist6
4 files changed, 57 insertions, 0 deletions
diff --git a/x11/alltray/Makefile b/x11/alltray/Makefile
new file mode 100644
index 000000000000..6394a483c5f3
--- /dev/null
+++ b/x11/alltray/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: alltray
+# Date created: 2005-10-15
+# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
+#
+# $FreeBSD$
+#
+
+PORTNAME= alltray
+PORTVERSION= 0.62
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= alltray
+
+MAINTAINER= acardenas@bsd.org.pe
+COMMENT= Dock any application with no native tray icon
+
+USE_X_PREFIX= yes
+USE_GNOME= gtk20
+USE_LIBTOOL_VER=15
+USE_REINPLACE= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" LDFLAGS="-L${X11BASE}/lib"
+USE_GCC= 3.4+
+
+MAN1= alltray.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/lib/Makefile.in
+ @${REINPLACE_CMD} -e 's|-L/usr/X11R6/lib||' ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|/etc/gconf|${X11BASE}/etc/gconf|; \
+ /THEME_DIR1/ s|/usr/share/|${X11BASE}/share/gnome/themes/|' \
+ ${WRKSRC}/src/gnome_theme.c
+ @${REINPLACE_CMD} -e 's|liballtray\.so\.0\.0\.0|liballtray.so.0|; \
+ s|/usr/lib|${PREFIX}/lib|' ${WRKSRC}/src/child.c
+
+patch-autotools:
+ @for file in ${LIBTOOLFILES}; do \
+ ${REINPLACE_CMD} -e \
+ '/^ltmain=/ s|$$ac_aux_dir/ltmain\.sh|${LTMAIN}|g' \
+ ${PATCH_WRKSRC}/$$file; \
+ done
+
+.include <bsd.port.mk>
diff --git a/x11/alltray/distinfo b/x11/alltray/distinfo
new file mode 100644
index 000000000000..feb93c1ac574
--- /dev/null
+++ b/x11/alltray/distinfo
@@ -0,0 +1,2 @@
+MD5 (alltray-0.62.tar.gz) = f063900b552831376a59cf7cd313c252
+SIZE (alltray-0.62.tar.gz) = 372087
diff --git a/x11/alltray/pkg-descr b/x11/alltray/pkg-descr
new file mode 100644
index 000000000000..5acfcccc1e59
--- /dev/null
+++ b/x11/alltray/pkg-descr
@@ -0,0 +1,6 @@
+With AllTray you can dock any application with no native tray icon (like
+Evolution, Thunderbird, terminals) into the system tray. A high-light feature
+is that a click on the "close" button will minimize back to system tray. It
+works well with GNOME, KDE, XFCE 4*, Fluxbox* and WindowMaker*.
+
+WWW: http://alltray.sourceforge.net/
diff --git a/x11/alltray/pkg-plist b/x11/alltray/pkg-plist
new file mode 100644
index 000000000000..66a57580bb93
--- /dev/null
+++ b/x11/alltray/pkg-plist
@@ -0,0 +1,6 @@
+bin/alltray
+lib/liballtray.so
+lib/liballtray.so.0
+share/applications/alltray.desktop
+share/pixmaps/alltray.png
+@unexec rmdir %D/share/applications 2>/dev/null || true