aboutsummaryrefslogtreecommitdiffstats
path: root/net/kpopup
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-04-30 21:20:05 +0800
committerarved <arved@FreeBSD.org>2003-04-30 21:20:05 +0800
commite30ef9672c723de37d99990f858fd96ff592edfe (patch)
tree8109ed261e9b65a02c21a3df76c014c38bfa8b66 /net/kpopup
parent022f7c770056646f31ef6e716fb2ec9e8640e2eb (diff)
downloadfreebsd-ports-gnome-e30ef9672c723de37d99990f858fd96ff592edfe.tar.gz
freebsd-ports-gnome-e30ef9672c723de37d99990f858fd96ff592edfe.tar.zst
freebsd-ports-gnome-e30ef9672c723de37d99990f858fd96ff592edfe.zip
Add kpopup, KDE program for sending and receiving WinPopup messages
PR: 51549 Submitted by: Frerich Raabe <frerich.raabe@gmx.de>
Diffstat (limited to 'net/kpopup')
-rw-r--r--net/kpopup/Makefile30
-rw-r--r--net/kpopup/distinfo1
-rw-r--r--net/kpopup/pkg-descr5
-rw-r--r--net/kpopup/pkg-message5
-rw-r--r--net/kpopup/pkg-plist18
5 files changed, 59 insertions, 0 deletions
diff --git a/net/kpopup/Makefile b/net/kpopup/Makefile
new file mode 100644
index 000000000000..7638f9e8b8ca
--- /dev/null
+++ b/net/kpopup/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: KPopup
+# Date created: Apr 4, 2003
+# Whom: Frerich Raabe <frerich.raabe@gmx.de>
+#
+# $FreeBSD$
+
+PORTNAME= kpopup
+PORTVERSION= 0.9.1
+CATEGORIES= net kde
+MASTER_SITES= http://www.henschelsoft.de/kpopup/
+
+MAINTAINER= frerich.raabe@gmx.de
+COMMENT= KDE program for sending and receiving MS Windows WinPopup messages
+
+RUN_DEPENDS= smbclient:${PORTSDIR}/net/samba
+
+USE_KDELIBS_VER=3
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET=
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/kpopup/misc.cpp \
+ ${WRKSRC}/kpopup/make_popup.cpp ${WRKSRC}/kpopup/main.cpp
+
+post-install:
+ @${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g'
+
+.include <bsd.port.mk>
diff --git a/net/kpopup/distinfo b/net/kpopup/distinfo
new file mode 100644
index 000000000000..a6e91e14668b
--- /dev/null
+++ b/net/kpopup/distinfo
@@ -0,0 +1 @@
+MD5 (kpopup-0.9.1.tar.gz) = 0fe30038ce7785ec533fd90a61a79b91
diff --git a/net/kpopup/pkg-descr b/net/kpopup/pkg-descr
new file mode 100644
index 000000000000..0bdd87ce0ecb
--- /dev/null
+++ b/net/kpopup/pkg-descr
@@ -0,0 +1,5 @@
+KDE program for sending and receiving MS Windows WinPopup messages.
+
+WWW: http://www.henschelsoft.de/kpopup_en.html
+
+- Frerich Raabe frerich.raabe@gmx.de
diff --git a/net/kpopup/pkg-message b/net/kpopup/pkg-message
new file mode 100644
index 000000000000..cd3a5c5237b4
--- /dev/null
+++ b/net/kpopup/pkg-message
@@ -0,0 +1,5 @@
+NOTE: To be able to receive messages with KPopup, you need to change your
+Samba configuration file (smb.conf): locate the [global] section in the
+configuration file, and add the following line:
+
+message command = sh -c 'export DISPLAY:0; %%PREFIX%%/bin/kpopup %s %f;' &
diff --git a/net/kpopup/pkg-plist b/net/kpopup/pkg-plist
new file mode 100644
index 000000000000..b1eb64fb0f80
--- /dev/null
+++ b/net/kpopup/pkg-plist
@@ -0,0 +1,18 @@
+bin/kpopup
+share/applnk/Applications/kpopup.desktop
+share/icons/hicolor/16x16/apps/kpopup.png
+share/icons/hicolor/32x32/apps/kpopup.png
+share/icons/hicolor/48x48/apps/kpopup.png
+share/icons/locolor/16x16/apps/kpopup.png
+share/icons/locolor/32x32/apps/kpopup.png
+share/locale/de/LC_MESSAGES/kpopup.mo
+%%PORTDOCS%%share/doc/HTML/en/kpopup/common
+%%PORTDOCS%%share/doc/HTML/en/kpopup/index-1.html
+%%PORTDOCS%%share/doc/HTML/en/kpopup/index-2.html
+%%PORTDOCS%%share/doc/HTML/en/kpopup/index-3.html
+%%PORTDOCS%%share/doc/HTML/en/kpopup/index-4.html
+%%PORTDOCS%%share/doc/HTML/en/kpopup/index.cache.bz2
+%%PORTDOCS%%share/doc/HTML/en/kpopup/index.docbook
+%%PORTDOCS%%share/doc/HTML/en/kpopup/index.html
+%%PORTDOCS%%share/doc/HTML/en/kpopup/logotp3.png
+@dirrm share/doc/HTML/en/kpopup