aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-04-28 13:33:26 +0800
committerlioux <lioux@FreeBSD.org>2003-04-28 13:33:26 +0800
commit393e6cce23cb88ac3e125223f5d5cb51f733f805 (patch)
tree67eac4da0684c369a3191e57013d6fd920489cd4 /sysutils
parentb21e643a35d23d94767640240668c869055310df (diff)
downloadfreebsd-ports-gnome-393e6cce23cb88ac3e125223f5d5cb51f733f805.tar.gz
freebsd-ports-gnome-393e6cce23cb88ac3e125223f5d5cb51f733f805.tar.zst
freebsd-ports-gnome-393e6cce23cb88ac3e125223f5d5cb51f733f805.zip
New port knutclient version 0.6.0: A visual client for UPS system
NUT
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/knutclient-kde4/Makefile27
-rw-r--r--sysutils/knutclient-kde4/distinfo1
-rw-r--r--sysutils/knutclient-kde4/files/patch-knutclient::knutnet.h12
-rw-r--r--sysutils/knutclient-kde4/pkg-descr3
-rw-r--r--sysutils/knutclient-kde4/pkg-plist63
-rw-r--r--sysutils/knutclient/Makefile27
-rw-r--r--sysutils/knutclient/distinfo1
-rw-r--r--sysutils/knutclient/files/patch-knutclient::knutnet.h12
-rw-r--r--sysutils/knutclient/pkg-descr3
-rw-r--r--sysutils/knutclient/pkg-plist63
11 files changed, 213 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index e32ec91376dc..1d0267787db5 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -123,6 +123,7 @@
SUBDIR += kcpuload
SUBDIR += kdeadmin3
SUBDIR += kdirstat
+ SUBDIR += knutclient
SUBDIR += lavaps
SUBDIR += lcdproc
SUBDIR += lfm
diff --git a/sysutils/knutclient-kde4/Makefile b/sysutils/knutclient-kde4/Makefile
new file mode 100644
index 000000000000..7da8001bc3a8
--- /dev/null
+++ b/sysutils/knutclient-kde4/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: KDE Nut Client
+# Date created: Mon Apr 28 05:30:59 UTC 2003
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= knutclient
+PORTVERSION= 0.6.0
+CATEGORIES= sysutils kde
+MASTER_SITES= ftp://ftp.buzuluk.cz/pub/alo/knutclient/
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= A visual client for UPS system NUT
+
+USE_KDELIBS_VER=3
+USE_REINPLACE= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-mt
+
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e 's|-O2||' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+
+.include <bsd.port.mk>
diff --git a/sysutils/knutclient-kde4/distinfo b/sysutils/knutclient-kde4/distinfo
new file mode 100644
index 000000000000..101f76df6074
--- /dev/null
+++ b/sysutils/knutclient-kde4/distinfo
@@ -0,0 +1 @@
+MD5 (knutclient-0.6.0.tar.gz) = 71970a56574c1230bd585be73ff2d86c
diff --git a/sysutils/knutclient-kde4/files/patch-knutclient::knutnet.h b/sysutils/knutclient-kde4/files/patch-knutclient::knutnet.h
new file mode 100644
index 000000000000..1a6e39873ae2
--- /dev/null
+++ b/sysutils/knutclient-kde4/files/patch-knutclient::knutnet.h
@@ -0,0 +1,12 @@
+--- knutclient/knutnet.h.orig Mon Apr 28 02:07:21 2003
++++ knutclient/knutnet.h Mon Apr 28 02:07:28 2003
+@@ -28,8 +28,8 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <sys/socket.h>
+ #include <sys/types.h>
++#include <sys/socket.h>
+ #include <sys/time.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
diff --git a/sysutils/knutclient-kde4/pkg-descr b/sysutils/knutclient-kde4/pkg-descr
new file mode 100644
index 000000000000..c7ba44193271
--- /dev/null
+++ b/sysutils/knutclient-kde4/pkg-descr
@@ -0,0 +1,3 @@
+KNUTClient is visual client for UPS system NUT
+
+WWW: http://www.alo.cz/knutclient-pop-en.html
diff --git a/sysutils/knutclient-kde4/pkg-plist b/sysutils/knutclient-kde4/pkg-plist
new file mode 100644
index 000000000000..0fe2be5c883c
--- /dev/null
+++ b/sysutils/knutclient-kde4/pkg-plist
@@ -0,0 +1,63 @@
+bin/knutclient
+share/applnk/Applications/knutclient.desktop
+share/apps/knutclient/knutclientui.rc
+share/doc/HTML/cs/knutclient/asetting-cs.png
+share/doc/HTML/cs/knutclient/common
+share/doc/HTML/cs/knutclient/fsetting-cs.png
+share/doc/HTML/cs/knutclient/index.cache.bz2
+share/doc/HTML/cs/knutclient/index.docbook
+share/doc/HTML/cs/knutclient/knutclient-cs.png
+share/doc/HTML/cs/knutclient/msetting-cs.png
+share/doc/HTML/cs/knutclient/new-cs.png
+share/doc/HTML/cs/knutclient/psetting-cs.png
+share/doc/HTML/cs/knutclient/usetting-cs.png
+share/doc/HTML/en/knutclient/asetting-en.png
+share/doc/HTML/en/knutclient/common
+share/doc/HTML/en/knutclient/fsetting-en.png
+share/doc/HTML/en/knutclient/index.cache.bz2
+share/doc/HTML/en/knutclient/index.docbook
+share/doc/HTML/en/knutclient/knutclient-en.png
+share/doc/HTML/en/knutclient/msetting-en.png
+share/doc/HTML/en/knutclient/new-en.png
+share/doc/HTML/en/knutclient/psetting-en.png
+share/doc/HTML/en/knutclient/usetting-en.png
+share/icons/hicolor/16x16/apps/knutclient.png
+share/icons/hicolor/32x32/apps/knutclient.png
+share/icons/hicolor/48x48/apps/knutclient.png
+share/icons/locolor/16x16/apps/knutclient.png
+share/icons/locolor/32x32/apps/knutclient.png
+share/locale/cs/LC_MESSAGES/knutclient.mo
+share/locale/de/LC_MESSAGES/knutclient.mo
+share/locale/fr/LC_MESSAGES/knutclient.mo
+share/locale/it/LC_MESSAGES/knutclient.mo
+@unexec rmdir %D/share/locale/it/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/it 2>/dev/null || true
+@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/fr 2>/dev/null || true
+@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/de 2>/dev/null || true
+@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/cs 2>/dev/null || true
+@unexec rmdir %D/share/locale 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/32x32/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/32x32 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/16x16/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/16x16 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
+@unexec rmdir %D/share/icons 2>/dev/null || true
+@dirrm share/doc/HTML/en/knutclient
+@unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true
+@dirrm share/doc/HTML/cs/knutclient
+@unexec rmdir %D/share/doc/HTML/cs 2>/dev/null || true
+@unexec rmdir %D/share/doc/HTML 2>/dev/null || true
+@dirrm share/apps/knutclient
+@unexec rmdir %D/share/apps 2>/dev/null || true
+@unexec rmdir %D/share/applnk/Applications 2>/dev/null || true
+@unexec rmdir %D/share/applnk 2>/dev/null || true
diff --git a/sysutils/knutclient/Makefile b/sysutils/knutclient/Makefile
new file mode 100644
index 000000000000..7da8001bc3a8
--- /dev/null
+++ b/sysutils/knutclient/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: KDE Nut Client
+# Date created: Mon Apr 28 05:30:59 UTC 2003
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= knutclient
+PORTVERSION= 0.6.0
+CATEGORIES= sysutils kde
+MASTER_SITES= ftp://ftp.buzuluk.cz/pub/alo/knutclient/
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= A visual client for UPS system NUT
+
+USE_KDELIBS_VER=3
+USE_REINPLACE= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-mt
+
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e 's|-O2||' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+
+.include <bsd.port.mk>
diff --git a/sysutils/knutclient/distinfo b/sysutils/knutclient/distinfo
new file mode 100644
index 000000000000..101f76df6074
--- /dev/null
+++ b/sysutils/knutclient/distinfo
@@ -0,0 +1 @@
+MD5 (knutclient-0.6.0.tar.gz) = 71970a56574c1230bd585be73ff2d86c
diff --git a/sysutils/knutclient/files/patch-knutclient::knutnet.h b/sysutils/knutclient/files/patch-knutclient::knutnet.h
new file mode 100644
index 000000000000..1a6e39873ae2
--- /dev/null
+++ b/sysutils/knutclient/files/patch-knutclient::knutnet.h
@@ -0,0 +1,12 @@
+--- knutclient/knutnet.h.orig Mon Apr 28 02:07:21 2003
++++ knutclient/knutnet.h Mon Apr 28 02:07:28 2003
+@@ -28,8 +28,8 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <sys/socket.h>
+ #include <sys/types.h>
++#include <sys/socket.h>
+ #include <sys/time.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
diff --git a/sysutils/knutclient/pkg-descr b/sysutils/knutclient/pkg-descr
new file mode 100644
index 000000000000..c7ba44193271
--- /dev/null
+++ b/sysutils/knutclient/pkg-descr
@@ -0,0 +1,3 @@
+KNUTClient is visual client for UPS system NUT
+
+WWW: http://www.alo.cz/knutclient-pop-en.html
diff --git a/sysutils/knutclient/pkg-plist b/sysutils/knutclient/pkg-plist
new file mode 100644
index 000000000000..0fe2be5c883c
--- /dev/null
+++ b/sysutils/knutclient/pkg-plist
@@ -0,0 +1,63 @@
+bin/knutclient
+share/applnk/Applications/knutclient.desktop
+share/apps/knutclient/knutclientui.rc
+share/doc/HTML/cs/knutclient/asetting-cs.png
+share/doc/HTML/cs/knutclient/common
+share/doc/HTML/cs/knutclient/fsetting-cs.png
+share/doc/HTML/cs/knutclient/index.cache.bz2
+share/doc/HTML/cs/knutclient/index.docbook
+share/doc/HTML/cs/knutclient/knutclient-cs.png
+share/doc/HTML/cs/knutclient/msetting-cs.png
+share/doc/HTML/cs/knutclient/new-cs.png
+share/doc/HTML/cs/knutclient/psetting-cs.png
+share/doc/HTML/cs/knutclient/usetting-cs.png
+share/doc/HTML/en/knutclient/asetting-en.png
+share/doc/HTML/en/knutclient/common
+share/doc/HTML/en/knutclient/fsetting-en.png
+share/doc/HTML/en/knutclient/index.cache.bz2
+share/doc/HTML/en/knutclient/index.docbook
+share/doc/HTML/en/knutclient/knutclient-en.png
+share/doc/HTML/en/knutclient/msetting-en.png
+share/doc/HTML/en/knutclient/new-en.png
+share/doc/HTML/en/knutclient/psetting-en.png
+share/doc/HTML/en/knutclient/usetting-en.png
+share/icons/hicolor/16x16/apps/knutclient.png
+share/icons/hicolor/32x32/apps/knutclient.png
+share/icons/hicolor/48x48/apps/knutclient.png
+share/icons/locolor/16x16/apps/knutclient.png
+share/icons/locolor/32x32/apps/knutclient.png
+share/locale/cs/LC_MESSAGES/knutclient.mo
+share/locale/de/LC_MESSAGES/knutclient.mo
+share/locale/fr/LC_MESSAGES/knutclient.mo
+share/locale/it/LC_MESSAGES/knutclient.mo
+@unexec rmdir %D/share/locale/it/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/it 2>/dev/null || true
+@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/fr 2>/dev/null || true
+@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/de 2>/dev/null || true
+@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/cs 2>/dev/null || true
+@unexec rmdir %D/share/locale 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/32x32/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/32x32 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/16x16/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor/16x16 2>/dev/null || true
+@unexec rmdir %D/share/icons/locolor 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
+@unexec rmdir %D/share/icons 2>/dev/null || true
+@dirrm share/doc/HTML/en/knutclient
+@unexec rmdir %D/share/doc/HTML/en 2>/dev/null || true
+@dirrm share/doc/HTML/cs/knutclient
+@unexec rmdir %D/share/doc/HTML/cs 2>/dev/null || true
+@unexec rmdir %D/share/doc/HTML 2>/dev/null || true
+@dirrm share/apps/knutclient
+@unexec rmdir %D/share/apps 2>/dev/null || true
+@unexec rmdir %D/share/applnk/Applications 2>/dev/null || true
+@unexec rmdir %D/share/applnk 2>/dev/null || true