summaryrefslogtreecommitdiffstats
path: root/x11/alltray/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-02 10:11:13 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-08-02 10:11:13 +0800
commit789ddf22ad0afbd24fc35d36819fa48495e3ce4c (patch)
tree84a86d84a226865d6483838d7ad65dc330d6e39d /x11/alltray/Makefile
parentb95b9f514e08f912f2024397a3898a74986f0e96 (diff)
downloadmarcuscom-ports-789ddf22ad0afbd24fc35d36819fa48495e3ce4c.tar
marcuscom-ports-789ddf22ad0afbd24fc35d36819fa48495e3ce4c.tar.gz
marcuscom-ports-789ddf22ad0afbd24fc35d36819fa48495e3ce4c.tar.bz2
marcuscom-ports-789ddf22ad0afbd24fc35d36819fa48495e3ce4c.tar.lz
marcuscom-ports-789ddf22ad0afbd24fc35d36819fa48495e3ce4c.tar.xz
marcuscom-ports-789ddf22ad0afbd24fc35d36819fa48495e3ce4c.tar.zst
marcuscom-ports-789ddf22ad0afbd24fc35d36819fa48495e3ce4c.zip
X11BASE -> LOCALBASE, gconf and gnome theme live in LOCALBASE. Bump the
PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6925 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/alltray/Makefile')
-rw-r--r--x11/alltray/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/x11/alltray/Makefile b/x11/alltray/Makefile
new file mode 100644
index 000000000..5c8603b8e
--- /dev/null
+++ b/x11/alltray/Makefile
@@ -0,0 +1,45 @@
+# 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.69
+PORTREVISION= 1
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Dock any application with no native tray icon
+
+USE_GNOME= gtk20
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" LDFLAGS="-L${X11BASE}/lib"
+USE_GCC= 3.4+
+
+MAN1= alltray.1
+
+OPTIONS= KDE "Support only KDE desktop" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_KDE)
+CONFIGURE_ARGS= --disable-gconf
+.else
+USE_GNOME+= gconf2
+.endif
+
+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|${LOCALBASE}/etc/gconf|; \
+ /THEME_DIR1/ s|/usr/share/|${LOCALBASE}/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
+
+.include <bsd.port.post.mk>