aboutsummaryrefslogtreecommitdiffstats
path: root/net/kiax
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-11-12 22:25:14 +0800
committerlawrance <lawrance@FreeBSD.org>2005-11-12 22:25:14 +0800
commitbbf875af02454932f5652399c2d472d732d42604 (patch)
tree1820866798a2f4e4df5336008e16e7ad70dfcfbb /net/kiax
parent260897a95671d78e211dcb597ed5093fcd4c6010 (diff)
downloadfreebsd-ports-gnome-bbf875af02454932f5652399c2d472d732d42604.tar.gz
freebsd-ports-gnome-bbf875af02454932f5652399c2d472d732d42604.tar.zst
freebsd-ports-gnome-bbf875af02454932f5652399c2d472d732d42604.zip
Add kiax 0.8.4, an Asterisk (IAX) client written in QT for KDE.
PR: ports/88681 Submitted by: Eric Kjeldergaard <kjelderg@gmail.com>
Diffstat (limited to 'net/kiax')
-rw-r--r--net/kiax/Makefile32
-rw-r--r--net/kiax/distinfo2
-rw-r--r--net/kiax/files/patch-lib_libiax2_src_iax.c14
-rw-r--r--net/kiax/files/patch-lib_libiax2_src_md5.c11
-rw-r--r--net/kiax/files/patch-lib_portmixer_px_unix_oss_px_unix_oss.c14
-rw-r--r--net/kiax/pkg-descr14
-rw-r--r--net/kiax/pkg-plist20
7 files changed, 107 insertions, 0 deletions
diff --git a/net/kiax/Makefile b/net/kiax/Makefile
new file mode 100644
index 000000000000..4c91ef3d6f6d
--- /dev/null
+++ b/net/kiax/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: kiax
+# Date created: Sat Jun 25 16:31:30 UTC 2005
+# Whom: Eric Kjeldergaard <kjelderg@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kiax
+PORTVERSION= 0.8.4
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= kjelderg@gmail.com
+COMMENT= An Asterisk (IAX) client written in QT for KDE
+
+BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake \
+ lrelease:${PORTSDIR}/x11-toolkits/qt33
+
+USE_GMAKE= yes
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_PERL5_BUILD= yes
+USE_QT_VER= 3
+
+CONFIGURE_ENV+= QTDIR=${X11BASE} \
+ QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
+ EXPR_COMPAT=yes
+MAKE_ARGS+= QTDIR=${X11BASE} \
+ QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
+
+.include <bsd.port.mk>
diff --git a/net/kiax/distinfo b/net/kiax/distinfo
new file mode 100644
index 000000000000..2076381a3f75
--- /dev/null
+++ b/net/kiax/distinfo
@@ -0,0 +1,2 @@
+MD5 (kiax-0.8.4.tar.bz2) = 508f65e79f23155e50e6ca5684697221
+SIZE (kiax-0.8.4.tar.bz2) = 606213
diff --git a/net/kiax/files/patch-lib_libiax2_src_iax.c b/net/kiax/files/patch-lib_libiax2_src_iax.c
new file mode 100644
index 000000000000..a40fca37b952
--- /dev/null
+++ b/net/kiax/files/patch-lib_libiax2_src_iax.c
@@ -0,0 +1,14 @@
+--- lib/libiax2/src/iax.c.orig Sat Nov 12 17:29:58 2005
++++ lib/libiax2/src/iax.c Sat Nov 12 17:31:06 2005
+@@ -53,9 +53,11 @@
+ #include <time.h>
+
+ #ifndef MACOSX
++#ifndef __FreeBSD__
+ #include <malloc.h>
+ #ifndef SOLARIS
+ #include <error.h>
++#endif
+ #endif
+ #endif
+
diff --git a/net/kiax/files/patch-lib_libiax2_src_md5.c b/net/kiax/files/patch-lib_libiax2_src_md5.c
new file mode 100644
index 000000000000..6dc1fb04ca6c
--- /dev/null
+++ b/net/kiax/files/patch-lib_libiax2_src_md5.c
@@ -0,0 +1,11 @@
+--- lib/libiax2/src/md5.c.orig Sat Nov 12 17:34:12 2005
++++ lib/libiax2/src/md5.c Sat Nov 12 17:35:18 2005
+@@ -1,7 +1,7 @@
+ /* MD5 checksum routines used for authentication. Not covered by GPL, but
+ in the public domain as per the copyright below */
+
+-#ifdef FREEBSD
++#ifdef __FreeBSD__
+ # include <machine/endian.h>
+ #elif defined(LINUX)
+ # include <endian.h>
diff --git a/net/kiax/files/patch-lib_portmixer_px_unix_oss_px_unix_oss.c b/net/kiax/files/patch-lib_portmixer_px_unix_oss_px_unix_oss.c
new file mode 100644
index 000000000000..e2df308dbf91
--- /dev/null
+++ b/net/kiax/files/patch-lib_portmixer_px_unix_oss_px_unix_oss.c
@@ -0,0 +1,14 @@
+--- lib/portmixer/px_unix_oss/px_unix_oss.c.orig Sat Nov 12 17:36:03 2005
++++ lib/portmixer/px_unix_oss/px_unix_oss.c Sat Nov 12 17:38:29 2005
+@@ -38,7 +38,11 @@
+ #ifdef __linux__
+ #include <linux/soundcard.h>
+ #else
++#ifdef __FreeBSD__
++#include <sys/soundcard.h>
++#else
+ #include <machine/soundcard.h> /* JH20010905 */
++#endif
+ #endif
+
+ #include <stdio.h>
diff --git a/net/kiax/pkg-descr b/net/kiax/pkg-descr
new file mode 100644
index 000000000000..a98ac7df6f0f
--- /dev/null
+++ b/net/kiax/pkg-descr
@@ -0,0 +1,14 @@
+This is a port of kiax. kiax is an asterisk (IAX) client written for the
+K desktop environment. From the website:
+
+What is Kiax? - Kiax is an IAX client application (a so called Softphone)
+which allows PC users to make ordinary VoIP calls to Asterisk servers, the
+same way as they do it with their hardware telephone. It aims to provide a
+simple and user-friendly graphical interface and desktop integration for
+calling, contact list, call register management and easy configuration.
+That is - a simple to use IAX Client.
+
+WWW: http://kiax.sourceforge.net/
+
+- Eric Kjeldergaard
+kjelderg@gmail.com
diff --git a/net/kiax/pkg-plist b/net/kiax/pkg-plist
new file mode 100644
index 000000000000..5c811bc21504
--- /dev/null
+++ b/net/kiax/pkg-plist
@@ -0,0 +1,20 @@
+bin/kiax
+%%DATADIR%%/i18n/kiax_bg.qm
+%%DATADIR%%/i18n/kiax_de.qm
+%%DATADIR%%/i18n/kiax_en.qm
+%%DATADIR%%/i18n/kiax_fr.qm
+%%DATADIR%%/i18n/kiax_mk.qm
+%%DATADIR%%/i18n/kiax_pl.qm
+%%DATADIR%%/i18n/kiax_pt.qm
+%%DATADIR%%/icons/contact.png
+%%DATADIR%%/icons/dial.png
+%%DATADIR%%/icons/failed.png
+%%DATADIR%%/icons/hangup.png
+%%DATADIR%%/icons/hold.png
+%%DATADIR%%/icons/incoming.png
+%%DATADIR%%/icons/missed.png
+%%DATADIR%%/icons/outgoing.png
+%%DATADIR%%/icons/resume.png
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%/i18n
+@dirrm %%DATADIR%%