aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/alltray/Makefile19
-rw-r--r--x11/alltray/distinfo6
-rw-r--r--x11/alltray/pkg-plist1
3 files changed, 18 insertions, 8 deletions
diff --git a/x11/alltray/Makefile b/x11/alltray/Makefile
index befe9b0156dc..e4450141f2f4 100644
--- a/x11/alltray/Makefile
+++ b/x11/alltray/Makefile
@@ -6,16 +6,15 @@
#
PORTNAME= alltray
-PORTVERSION= 0.66
+PORTVERSION= 0.69
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= alltray
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= Dock any application with no native tray icon
-USE_X_PREFIX= yes
-USE_GNOME= gtk20 gconf2
+USE_GNOME= gtk20
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" LDFLAGS="-L${X11BASE}/lib"
@@ -23,6 +22,16 @@ 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
@@ -32,4 +41,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|liballtray\.so\.0\.0\.0|liballtray.so.0|; \
s|/usr/lib|${PREFIX}/lib|' ${WRKSRC}/src/child.c
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11/alltray/distinfo b/x11/alltray/distinfo
index a443c266b62e..be8eba94c117 100644
--- a/x11/alltray/distinfo
+++ b/x11/alltray/distinfo
@@ -1,3 +1,3 @@
-MD5 (alltray-0.66.tar.gz) = 78b43bd2e19258b0518af99e21123561
-SHA256 (alltray-0.66.tar.gz) = ba7514668dc191b5d2f066c905a6df6d2e493baa0185cf7e1ea609b527b94ced
-SIZE (alltray-0.66.tar.gz) = 377209
+MD5 (alltray-0.69.tar.gz) = ebc1c8eea945aff703d758e296b76cc9
+SHA256 (alltray-0.69.tar.gz) = b20d4759e770c6cfd7ea4e2aeb2d5856d3ee28fb7171c62067595e18cdc5d0ec
+SIZE (alltray-0.69.tar.gz) = 380752
diff --git a/x11/alltray/pkg-plist b/x11/alltray/pkg-plist
index c17fd0f3e0f9..7c01a3423e78 100644
--- a/x11/alltray/pkg-plist
+++ b/x11/alltray/pkg-plist
@@ -5,3 +5,4 @@ lib/liballtray.so.0
share/applications/alltray.desktop
share/pixmaps/alltray.png
@dirrmtry share/applications
+@dirrmtry share/pixmaps