diff --git a/sysutils/knutclient/Makefile b/sysutils/knutclient/Makefile new file mode 100644 index 00000000000..d00f3708636 --- /dev/null +++ b/sysutils/knutclient/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2003/04/17 09:18:56 wilfried Exp $ + +COMMENT= "KDE UPS Monitoring tool" + +RELEASE= 0.6.0 +DISTNAME= knutclient-${RELEASE} +CATEGORIES= sysutils x11 x11/kde + +HOMEPAGE= http://www.alo.cz/knutclient-pop-en.html + +MAINTAINER= Craig Barraclough + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ftp://ftp.buzuluk.cz/pub/alo/knutclient/ +EXTRACT_SUFX= .tar.gz + +# Patch Hack +MODKDE_VERSION= NoPatch +MODULES= kde + +LIB_DEPENDS= DCOP,kdecore.4,kdefx,kdeui::x11/kde/libs3 \ + art_lgpl_2::graphics/libart + +USE_X11= Yes +USE_GMAKE= Yes + +CONFIGURE_STYLE= autoconf +AUTOCONF_NEW= Yes +MODGNU_CONFIG_GUESS_DIRS= ${MODKDE_CONFIG_GUESS_DIRS} +CONFIGURE_ARGS+= ${MODKDE_CONFIGURE_ARGS} +CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV} +MAKE_FLAGS+= ${MODKDE_MAKE_FLAGS} +MAKE_ENV= ${CONFIGURE_ENV} + +.include diff --git a/sysutils/knutclient/distinfo b/sysutils/knutclient/distinfo new file mode 100644 index 00000000000..9f96933b02b --- /dev/null +++ b/sysutils/knutclient/distinfo @@ -0,0 +1,3 @@ +MD5 (knutclient-0.6.0.tar.gz) = 71970a56574c1230bd585be73ff2d86c +RMD160 (knutclient-0.6.0.tar.gz) = 38f4695c348c2c75a63ab64d3ad293ad54a9be81 +SHA1 (knutclient-0.6.0.tar.gz) = 61937baf343ed52ea55cfd00f0c8f9be39afafbd diff --git a/sysutils/knutclient/patches/patch-admin_ltmain_sh b/sysutils/knutclient/patches/patch-admin_ltmain_sh new file mode 100644 index 00000000000..7fe8c9e72ea --- /dev/null +++ b/sysutils/knutclient/patches/patch-admin_ltmain_sh @@ -0,0 +1,42 @@ +$OpenBSD: patch-admin_ltmain_sh,v 1.1.1.1 2003/04/17 09:18:56 wilfried Exp $ +--- admin/ltmain.sh.orig Thu Jul 11 20:16:36 2002 ++++ admin/ltmain.sh Tue Mar 25 15:58:15 2003 +@@ -1229,6 +1229,17 @@ EOF + continue + ;; + ++ -pthread) ++ case $host in ++ *-*-openbsd*) ++ deplibs="$deplibs $arg" ++ ;; ++ *) ++ continue ++ ;; ++ esac ++ ;; ++ + -module) + module=yes + continue +@@ -1804,6 +1815,20 @@ EOF + fi + continue + ;; ++ -pthread) ++ case $linkmode in ++ lib) ++ deplibs="$deplib $deplibs" ++ newdependency_libs="$deplib $newdependency_libs" ++ ;; ++ prog) ++ compile_deplibs="$deplib $compile_deplibs" ++ finalize_deplibs="$deplib $finalize_deplibs" ++ ;; ++ esac ++ continue ++ ;; ++ + %DEPLIBS%) + alldeplibs=yes + continue diff --git a/sysutils/knutclient/patches/patch-configure_in b/sysutils/knutclient/patches/patch-configure_in new file mode 100644 index 00000000000..b2070c132bf --- /dev/null +++ b/sysutils/knutclient/patches/patch-configure_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-configure_in,v 1.1.1.1 2003/04/17 09:18:56 wilfried Exp $ +--- configure.in.orig Tue Mar 25 16:02:47 2003 ++++ configure.in Tue Mar 25 16:02:57 2003 +@@ -53,7 +53,7 @@ dnl for NLS support. Call them in this o + dnl WITH_NLS is for the po files + AM_KDE_WITH_NLS + +-KDE_USE_QT(2.3) ++KDE_USE_QT(3) + AC_PATH_KDE + #MIN_CONFIG(2.3) + diff --git a/sysutils/knutclient/pkg/DESCR b/sysutils/knutclient/pkg/DESCR new file mode 100644 index 00000000000..8e03d479b4b --- /dev/null +++ b/sysutils/knutclient/pkg/DESCR @@ -0,0 +1,14 @@ +KNUTClient is a graphical client for UPS system NUT +NUT is a collection of Network UPS Tools + +KNUTClient allows viewing in realtime such information as: +* Battery Charge +* Battery Voltage +* Input Voltage +* Input Frequency +* Output Voltage +* Output Current +* UPS Load +* UPS Temperature + +WWW: ${HOMEPAGE} diff --git a/sysutils/knutclient/pkg/PLIST b/sysutils/knutclient/pkg/PLIST new file mode 100644 index 00000000000..10577020025 --- /dev/null +++ b/sysutils/knutclient/pkg/PLIST @@ -0,0 +1,51 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2003/04/17 09:18:56 wilfried Exp $ +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 +@comment @dirrm share/locale/it/LC_MESSAGES +@comment @dirrm share/locale/it +@comment @dirrm share/locale/fr/LC_MESSAGES +@comment @dirrm share/locale/fr +@comment @dirrm share/locale/de/LC_MESSAGES +@comment @dirrm share/locale/de +@comment @dirrm share/locale/cs/LC_MESSAGES +@comment @dirrm share/locale/cs +@comment @dirrm share/locale +@comment @dirrm share/icons/hicolor/16x16/apps +@comment @dirrm share/icons/hicolor/16x16 +@dirrm share/doc/HTML/en/knutclient +@dirrm share/doc/HTML/cs/knutclient +@comment @dirrm share/doc/HTML/cs +@comment @dirrm share/doc/HTML +@dirrm share/apps/knutclient +@comment @dirrm share/apps +@comment @dirrm share/applnk/Applications