diff --git a/telephony/ohphone/Makefile b/telephony/ohphone/Makefile new file mode 100644 index 00000000000..4a264684822 --- /dev/null +++ b/telephony/ohphone/Makefile @@ -0,0 +1,52 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/04/27 13:36:09 ajacoutot Exp $ + +SHARED_ONLY= Yes + +COMMENT= "H.323 IP telephony endpoint" + +DISTNAME= ohphone-v1_14_4 +PKGNAME= ohphone-1.14.4 +CATEGORIES= telephony net + +EXTRACT_SUFX= -src-tar.gz + +HOMEPAGE= http://www.voxgratia.org/ + +MAINTAINER= Antoine Jacoutot + +# MPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${HOMEPAGE}/releases/ + +WANTLIB= X11 Xext avutil c crypto expat m ossaudio pt pthread \ + ssl stdc++ + +LIB_DEPENDS= h323.>=1::net/openh323 + +WRKDIST= ${WRKDIR}/${DISTNAME:S/-/_/} + +USE_X11= Yes +USE_GMAKE= Yes +ALL_TARGET= optshared +NO_REGRESS= Yes + +MAKE_ENV+= CC=${CC} CPLUS=${CXX} \ + OPENH323DIR=${LOCALBASE}/share/openh323/ \ + OH323_LIBDIR=${LOCALBASE}/lib \ + PWLIBDIR=${LOCALBASE}/share/pwlib/ \ + SYSLIBDIR=`ptlib-config --libdir` \ + PTLIB_FILE=libpt.`ptlib-config --sharedlibext`.`ptlib-config --version` \ + STDCCFLAGS="${STDCCFLAGS} -I${LOCALBASE}/include/openh323" + +do-extract: + @tar xzf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKDIR} + +post-install: + ${INSTALL_MAN_DIR} ${PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/ohphone.1 ${PREFIX}/man/man1/ + +.include diff --git a/telephony/ohphone/distinfo b/telephony/ohphone/distinfo new file mode 100644 index 00000000000..3167746781d --- /dev/null +++ b/telephony/ohphone/distinfo @@ -0,0 +1,5 @@ +MD5 (ohphone-v1_14_4-src-tar.gz) = bvqfDRcB2dEO9fLMR8hwsQ== +RMD160 (ohphone-v1_14_4-src-tar.gz) = dlM3LjSrJTZZolmQuB13IsWKBiM= +SHA1 (ohphone-v1_14_4-src-tar.gz) = fBml/mKNWzTt28yG9ZUjhTD/XIY= +SHA256 (ohphone-v1_14_4-src-tar.gz) = HBYm+PWcitOz6jgfnn8x7lN805Q2vfHWadvw2EQF2HI= +SIZE (ohphone-v1_14_4-src-tar.gz) = 97890 diff --git a/telephony/ohphone/patches/patch-main_cxx b/telephony/ohphone/patches/patch-main_cxx new file mode 100644 index 00000000000..d463f3d07ac --- /dev/null +++ b/telephony/ohphone/patches/patch-main_cxx @@ -0,0 +1,12 @@ +$OpenBSD: patch-main_cxx,v 1.1.1.1 2007/04/27 13:36:09 ajacoutot Exp $ +--- main.cxx.orig Tue Jul 13 03:57:20 2004 ++++ main.cxx Sat Apr 14 21:14:51 2007 +@@ -570,6 +570,8 @@ + //#include "t120proto.h" + + ++#undef P_SDL ++ + #ifdef DEPRECATED_CU30 + #include "cu30codec.h" + #endif diff --git a/telephony/ohphone/patches/patch-ohphone_1 b/telephony/ohphone/patches/patch-ohphone_1 new file mode 100644 index 00000000000..4cf577d1562 --- /dev/null +++ b/telephony/ohphone/patches/patch-ohphone_1 @@ -0,0 +1,12 @@ +$OpenBSD: patch-ohphone_1,v 1.1.1.1 2007/04/27 13:36:09 ajacoutot Exp $ +--- ohphone.1.orig Mon Apr 16 21:14:57 2007 ++++ ohphone.1 Mon Apr 16 21:15:19 2007 +@@ -172,7 +172,7 @@ If the \-\-ringfile option is specified, this option d + + .TP + \fB\-s\fR, \fB\-\-sound\fR device\fR +-Select the sound input and output device. The default value is /dev/dsp0. ++Select the sound input and output device. The default value is /dev/audio0. + + .TP + \fB\-\-sound-mixer\fR device\fR diff --git a/telephony/ohphone/pkg/DESCR b/telephony/ohphone/pkg/DESCR new file mode 100644 index 00000000000..f7a224296f3 --- /dev/null +++ b/telephony/ohphone/pkg/DESCR @@ -0,0 +1,5 @@ +Ohphone is a fully functional H.323 endpoint command line application +that can be used to listen for incoming H.323 calls, or to initiate a +call to a remote host. It includes a simple menu that allows +interactive control of functions, as well as allowing control of most +dialing and answer functions via a phone handset. diff --git a/telephony/ohphone/pkg/PLIST b/telephony/ohphone/pkg/PLIST new file mode 100644 index 00000000000..5ba9bba9974 --- /dev/null +++ b/telephony/ohphone/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/04/27 13:36:09 ajacoutot Exp $ +bin/ohphone +@man man/man1/ohphone.1