aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2007-12-11 19:25:27 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2007-12-11 19:25:27 +0000
commit828b78e68668be3be3347581b29fe5a0b2ba2ac4 (patch)
treec42d564c1c40d213e149b045b0df4c87c20c8582 /deskutils
parent2c42e822cce8004e4e65c62da1d479dae1038c90 (diff)
downloadports-828b78e68668be3be3347581b29fe5a0b2ba2ac4.tar.gz
ports-828b78e68668be3be3347581b29fe5a0b2ba2ac4.zip
Notes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/xfce4-notification-daemon/Makefile74
-rw-r--r--deskutils/xfce4-notification-daemon/distinfo3
-rw-r--r--deskutils/xfce4-notification-daemon/pkg-descr3
-rw-r--r--deskutils/xfce4-notification-daemon/pkg-plist21
5 files changed, 102 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 31136f482256..b3b2aa57078d 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -214,6 +214,7 @@
SUBDIR += xcalendar
SUBDIR += xchm
SUBDIR += xfce4-notes-plugin
+ SUBDIR += xfce4-notification-daemon
SUBDIR += xfce4-xkb-plugin
SUBDIR += xmaddressbook
SUBDIR += xmdiary
diff --git a/deskutils/xfce4-notification-daemon/Makefile b/deskutils/xfce4-notification-daemon/Makefile
new file mode 100644
index 000000000000..b113eab8d210
--- /dev/null
+++ b/deskutils/xfce4-notification-daemon/Makefile
@@ -0,0 +1,74 @@
+# New ports collection makefile for: notification-daemon
+# Date created: 16 Nov 2007
+# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= notification-daemon
+PORTVERSION= 0.3.7
+CATEGORIES= deskutils xfce
+MASTER_SITES= http://goodies.xfce.org/releases/notification-daemon-xfce/ \
+ http://critical.ch/distfiles/ \
+ http://energy.critical.ch/distfiles/
+PKGNAMEPREFIX= xfce4-
+DISTNAME= ${PORTNAME}-xfce-${PORTVERSION}
+DIST_SUBDIR= xfce4
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Port of Gnome's notification-daemon for the Xfce desktop
+
+LIB_DEPENDS= sexy.2:${PORTSDIR}/x11-toolkits/libsexy \
+ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+RUN_DEPENDS= dbus-daemon:${PORTSDIR}/devel/dbus
+
+GNU_CONFIGURE= yes
+INSTALLS_ICONS= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+USE_XLIB= yes
+USE_XFCE= configenv libutil libgui
+
+CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/xfce4 \
+ --libexecdir=${PREFIX}/libexec/xfce4 \
+ --with-dbus-services=${PREFIX}/share/dbus-1/services
+
+MAKE_ENV+= CFLAGS="${CFLAGS}"
+
+CONFLICTS= ^notification-daemon-[0-9]*
+
+OPTIONS= GRADIENT "Show a gradient look in the default theme" off \
+ CLOSE "Show the close button in the default theme" on \
+ NLS "Enable Native Language Support" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+PLIST_SUB+= NLS="@comment "
+.endif
+
+.if defined(WITH_GRADIENT)
+CONFIGURE_ARGS+= --enable-gradient-look
+.endif
+
+.if defined(WITHOUT_CLOSE)
+CONFIGURE_ARGS+= --disable-close-button
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|\(notification-daemon-xfce\)-1.0|\1|' \
+ ${WRKSRC}/src/daemon/Makefile.am \
+ ${WRKSRC}/src/daemon/Makefile.in \
+ ${WRKSRC}/src/themes/bubble/Makefile.am \
+ ${WRKSRC}/src/themes/bubble/Makefile.in \
+ ${WRKSRC}/src/themes/standard/Makefile.am \
+ ${WRKSRC}/src/themes/standard/Makefile.in
+.if defined(WITHOUT_NLS)
+ @${REINPLACE_CMD} -e 's|\(USE_NLS=\)yes|\1no|' ${WRKSRC}/configure
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/xfce4-notification-daemon/distinfo b/deskutils/xfce4-notification-daemon/distinfo
new file mode 100644
index 000000000000..7289c2b96307
--- /dev/null
+++ b/deskutils/xfce4-notification-daemon/distinfo
@@ -0,0 +1,3 @@
+MD5 (xfce4/notification-daemon-xfce-0.3.7.tar.bz2) = ef4a4977875d97a5237b316d5d592176
+SHA256 (xfce4/notification-daemon-xfce-0.3.7.tar.bz2) = c0dc4100a9fc6cbc45ce8741fd360f4d80ad57ced6905e42a70a92855d09a38a
+SIZE (xfce4/notification-daemon-xfce-0.3.7.tar.bz2) = 329496
diff --git a/deskutils/xfce4-notification-daemon/pkg-descr b/deskutils/xfce4-notification-daemon/pkg-descr
new file mode 100644
index 000000000000..73405fd4a9e9
--- /dev/null
+++ b/deskutils/xfce4-notification-daemon/pkg-descr
@@ -0,0 +1,3 @@
+Port of notification daemon for Xfce Desktop Environment.
+
+WWW: http://goodies.xfce.org/projects/applications/notification-daemon-xfce
diff --git a/deskutils/xfce4-notification-daemon/pkg-plist b/deskutils/xfce4-notification-daemon/pkg-plist
new file mode 100644
index 000000000000..b343189a3bb3
--- /dev/null
+++ b/deskutils/xfce4-notification-daemon/pkg-plist
@@ -0,0 +1,21 @@
+bin/notification-settings
+lib/xfce4/notification-daemon-xfce/engines/libstandard.a
+lib/xfce4/notification-daemon-xfce/engines/libstandard.la
+lib/xfce4/notification-daemon-xfce/engines/libstandard.so
+libexec/xfce4/notification-daemon-xfce
+share/applications/notification-settings.desktop
+share/dbus-1/services/org.freedesktop.Notifications.service
+share/icons/hicolor/22x22/apps/notification-settings.png
+share/icons/hicolor/48x48/apps/notification-settings.png
+%%NLS%%share/locale/be/LC_MESSAGES/notification-daemon-xfce.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/notification-daemon-xfce.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/notification-daemon-xfce.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/notification-daemon-xfce.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/notification-daemon-xfce.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/notification-daemon-xfce.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/notification-daemon-xfce.mo
+@dirrm lib/xfce4/notification-daemon-xfce/engines
+@dirrm lib/xfce4/notification-daemon-xfce
+@dirrmtry share/applications
+@dirrmtry libexec/xfce4
+@dirrmtry lib/xfce4