From owner-svn-ports-head@FreeBSD.ORG Mon Feb 10 13:33:10 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 57E2619C; Mon, 10 Feb 2014 13:33:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 360641D55; Mon, 10 Feb 2014 13:33:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1ADXAIC029349; Mon, 10 Feb 2014 13:33:10 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1ADXAuL029348; Mon, 10 Feb 2014 13:33:10 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201402101333.s1ADXAuL029348@svn.freebsd.org> From: Rene Ladan Date: Mon, 10 Feb 2014 13:33:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343631 - head/www/bigbluebutton X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 13:33:10 -0000 Author: rene Date: Mon Feb 10 13:33:09 2014 New Revision: 343631 URL: http://svnweb.freebsd.org/changeset/ports/343631 QAT: https://qat.redports.org/buildarchive/r343631/ Log: www/bigblueblutton: general cleanups: - Stage support - USE_DOS2UNIX -> USES=dos2unix - Bump Openoffice dependency to 4.0.1 - Remove broken FREESWITCH option - Update IGNORE message about asterisk PR: ports/186628 Submitted by: myself Approved by: maintainer Modified: head/www/bigbluebutton/Makefile Modified: head/www/bigbluebutton/Makefile ============================================================================== --- head/www/bigbluebutton/Makefile Mon Feb 10 13:27:09 2014 (r343630) +++ head/www/bigbluebutton/Makefile Mon Feb 10 13:33:09 2014 (r343631) @@ -27,7 +27,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} MANUAL_PACKAGE_BUILD= requires non-default configuration of dependency -USE_DOS2UNIX= yes +USES= dos2unix DOS2UNIX_REGEX= .+\.(conf|jsp|properties|xml)$ USE_JAVA= yes @@ -36,7 +36,7 @@ NO_BUILD= yes NO_WRKSUBDIR= yes DIST_SUBDIR= ${PORTNAME} USE_RC_SUBR= openoffice -SOFFICEBIN?= ${PREFIX}/openoffice.org-3.2.1/openoffice.org3/program/soffice.bin +SOFFICEBIN?= ${PREFIX}/bin/openoffice-4.0.1 RED5_HOME?= ${PREFIX}/red5 RED5_LOGS?= ${RED5_HOME}/log RED5_USER?= www @@ -49,11 +49,10 @@ FS_USER?= freeswitch FS_GROUP?= ${FS_USER} WWWROOT?= ${WWWDIR:S|/${PORTNAME}$||} -OPTIONS_DEFINE= MEETME KONFERENCE FREESWITCH OPENOFFICE +OPTIONS_DEFINE= MEETME KONFERENCE OPENOFFICE OPTIONS_DEFAULT= KONFERENCE MEETME_DESC= meetme Asterisk module KONFERENCE_DESC= konference Asterisk module -FREESWITCH_DESC= mod_conference FreeSWITCH module OPENOFFICE_DESC= Include OpenOffice support PLIST_SUB+= RED5_HOME=${RED5_HOME:S,^${PREFIX}/,,} \ @@ -77,14 +76,13 @@ SUB_LIST+= PORTNAME=${PORTNAME} \ SUB_FILES= pkg-message openoffice nginx.conf-dist bbb-conf -NO_STAGE= yes .include .if ${PORT_OPTIONS:MMEETME} || ${PORT_OPTIONS:MKONFERENCE} BUILD_DEPENDS+=${LOCALBASE}/sbin/asterisk:${PORTSDIR}/net/asterisk .if ${PORT_OPTIONS:MMEETME} .if !exists(${LOCALBASE}/lib/asterisk/modules/app_meetme.so) -IGNORE=Option meetme requires app_meetme.so from asterisk port. Rebuild net/asterisk with WITH_DAHDI=yes +IGNORE=Option meetme requires app_meetme.so from asterisk port. Rebuild net/asterisk with DAHDI option selected .endif .endif .if ${PORT_OPTIONS:MKONFERENCE} @@ -92,13 +90,8 @@ BUILD_DEPENDS+=${LOCALBASE}/lib/asterisk .endif .endif -.if ${PORT_OPTIONS:MFREESWITCH} -BROKEN=freeswitch 1.0.6 does not work with BigBlueButton -BUILD_DEPENDS+=${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch -.endif - .if ${PORT_OPTIONS:MOPENOFFICE} -BUILD_DEPENDS+= ${LOCALBASE}/bin/openoffice.org-3.2.1:${PORTSDIR}/editors/openoffice.org-3 +BUILD_DEPENDS+= ${LOCALBASE}/bin/openoffice-4.0.1:${PORTSDIR}/editors/openoffice-4 .endif post-extract: @@ -138,38 +131,35 @@ pre-install: fi do-install: - @${MKDIR} ${DATADIR} ${WWWDIR} - @${INSTALL_SCRIPT} ${WRKDIR}/bbb-conf ${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${WWWDIR} + @${INSTALL_SCRIPT} ${WRKDIR}/bbb-conf ${STAGEDIR}${PREFIX}/bin .for d in asterisk blank freeswitch nginx - @${MKDIR} ${DATADIR}/${d} + @${MKDIR} ${STAGEDIR}${DATADIR}/${d} .endfor - @${INSTALL_DATA} ${FILESDIR}/nopdfmark.ps ${DATADIR}/blank + @${INSTALL_DATA} ${FILESDIR}/nopdfmark.ps ${STAGEDIR}${DATADIR}/blank .for f in blank-slide.swf blank-thumb.png - @${INSTALL_DATA} ${_DISTDIR}/${f} ${DATADIR}/blank + @${INSTALL_DATA} ${_DISTDIR}/${f} ${STAGEDIR}${DATADIR}/blank .endfor .for f in bbb_extensions.conf bbb_sip.conf - @${INSTALL_DATA} ${WRKDIR}/${f}-dist ${DATADIR}/asterisk + @${INSTALL_DATA} ${WRKDIR}/${f}-dist ${STAGEDIR}${DATADIR}/asterisk .endfor .for f in nginx.conf nginx-bigbluebutton.conf - @${INSTALL_DATA} ${WRKDIR}/${f}-dist ${DATADIR}/nginx + @${INSTALL_DATA} ${WRKDIR}/${f}-dist ${STAGEDIR}${DATADIR}/nginx .endfor - @cd ${WRKDIR} && ${COPYTREE_SHARE} conf ${DATADIR}/freeswitch - @${MKDIR} ${TOMCAT_HOME}/webapps/bigbluebutton + @cd ${WRKDIR} && ${COPYTREE_SHARE} conf ${STAGEDIR}${DATADIR}/freeswitch + @${MKDIR} ${STAGEDIR}${TOMCAT_HOME}/webapps/bigbluebutton @cd ${WRKDIR}/bigbluebutton-tomcat && \ - ${COPYTREE_SHARE} . ${TOMCAT_HOME}/webapps/bigbluebutton + ${COPYTREE_SHARE} . ${STAGEDIR}${TOMCAT_HOME}/webapps/bigbluebutton @${CHOWN} ${TOMCAT_USER}:${TOMCAT_GROUP} \ - ${TOMCAT_HOME}/webapps/bigbluebutton - @cd ${WRKDIR} && ${COPYTREE_SHARE} bigbluebutton-default ${WWWROOT} - @cd ${WRKDIR} && ${COPYTREE_SHARE} client ${WWWDIR} + ${STAGEDIR}${TOMCAT_HOME}/webapps/bigbluebutton + @cd ${WRKDIR} && ${COPYTREE_SHARE} bigbluebutton-default ${STAGEDIR}${WWWROOT} + @cd ${WRKDIR} && ${COPYTREE_SHARE} client ${STAGEDIR}${WWWDIR} @cd ${WRKDIR} && ${COPYTREE_SHARE} 'bigbluebutton deskshare sip video' \ - ${RED5_HOME}/webapps + ${STAGEDIR}${RED5_HOME}/webapps @cd ${RED5_HOME} && ${CHOWN} -R ${RED5_USER}:${RED5_GROUP} \ webapps .for f in aopalliance-1.0.jar spring-aop-3.0.0.jar - @${INSTALL_DATA} ${WRKDIR}/red5-0.9.1/lib/${f} ${RED5_HOME}/lib + @${INSTALL_DATA} ${WRKDIR}/red5-0.9.1/lib/${f} ${STAGEDIR}${RED5_HOME}/lib .endfor -post-install: - @${CAT} ${PKGMESSAGE} - .include