- Add LICENSE

- Switch to options helpers
- Regenerate patches
This commit is contained in:
Dmitry Marakasov 2016-12-17 09:00:53 +00:00
parent 8bbbe2412d
commit 6f07f4db7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428706
3 changed files with 15 additions and 9 deletions

View file

@ -10,6 +10,8 @@ MASTER_SITES= ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= H323 Video Conferencing Program, compatible with NetMeeting
LICENSE= MPL
LIB_DEPENDS= libh323_r.so:net/openh323
USES= bison gmake
@ -35,9 +37,13 @@ OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/obj_r/ohphone ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ohphone.1 ${STAGEDIR}${PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${DOCSDIR}/${PORTNAME}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${STAGEDIR}${DOCSDIR}/${PORTNAME}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/check_listen.awk ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/regtest ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/stresstest ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}

View file

@ -1,5 +1,5 @@
--- ./main.cxx.orig 2006-04-07 02:21:49.000000000 +0800
+++ ./main.cxx 2008-03-03 23:07:51.000000000 +0800
--- main.cxx.orig 2006-04-06 18:21:49 UTC
+++ main.cxx
@@ -184,6 +184,8 @@
*/
@ -18,7 +18,7 @@
#include <ptclib/vsdl.h>
#endif
@@ -554,7 +556,7 @@
@@ -554,7 +556,7 @@ void OhPhone::Main()
" : svga256 256 colour VGA (Linux only)\n"
" : svga full colour VGA (Linux only)\n"
#endif
@ -27,7 +27,7 @@
" : sdl Use Simple DirectMedia Library\n"
#endif
#ifdef HAS_X11
@@ -855,7 +857,7 @@
@@ -855,7 +857,7 @@ BOOL MyH323EndPoint::Initialise(PConfigA
&& !(videoReceiveDevice *= "svga")
&& !(videoReceiveDevice *= "svga256")
#endif
@ -36,7 +36,7 @@
&& !(videoReceiveDevice *= "sdl")
#endif
#ifdef HAS_X11
@@ -2065,7 +2067,7 @@
@@ -2065,7 +2067,7 @@ BOOL MyH323EndPoint::OpenVideoChannel(H3
if ((!isEncoding) || videoLocal)
PAssert(!videoReceiveDevice.IsEmpty(), "video display created without device type");

View file

@ -1,5 +1,5 @@
--- ./xlibvid.cxx.orig 2008-03-03 23:09:06.000000000 +0800
+++ ./xlibvid.cxx 2008-03-03 23:09:16.000000000 +0800
--- xlibvid.cxx.orig 2006-04-06 18:21:49 UTC
+++ xlibvid.cxx
@@ -88,6 +88,7 @@
#include <sys/time.h>
#include <unistd.h>