Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2014 10:27:49 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350595 - head/net-im/jitsi
Message-ID:  <201404081027.s38ARnXj050740@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Apr  8 10:27:49 2014
New Revision: 350595
URL: http://svnweb.freebsd.org/changeset/ports/350595
QAT: https://qat.redports.org/buildarchive/r350595/

Log:
  Stagify, define LICENSE (LGPL21), and generally cleanup the port while here.

Modified:
  head/net-im/jitsi/Makefile
  head/net-im/jitsi/pkg-descr
  head/net-im/jitsi/pkg-message
  head/net-im/jitsi/pkg-plist

Modified: head/net-im/jitsi/Makefile
==============================================================================
--- head/net-im/jitsi/Makefile	Tue Apr  8 10:22:15 2014	(r350594)
+++ head/net-im/jitsi/Makefile	Tue Apr  8 10:27:49 2014	(r350595)
@@ -11,7 +11,7 @@ DISTNAME=	jitsi-master-084e2b42b5
 MAINTAINER=	tzabal@it.teithe.gr
 COMMENT=	Open source IM and VoIP application
 
-MAN1=		jitsi.1
+LICENSE=	LGPL21
 
 USES=		zip
 USE_JAVA=	yes
@@ -23,59 +23,42 @@ ONLY_FOR_ARCHS=	i386 amd64
 
 DESKTOP_ENTRIES="Jitsi" \
 		"VoIP and Instant Messenger" \
-		${PREFIX}/share/pixmaps/jitsi.png \
-		jitsi \
+		"${PREFIX}/share/pixmaps/jitsi.png" \
+		"${PORTNAME}" \
 		"Network;InstantMessaging;VideoConference;Java;" \
 		true
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 do-install:
 	@${ECHO_CMD} ">> Creating Jitsi directories..."
-	@${MKDIR} ${PREFIX}/lib/jitsi/sc-bundles
-	@${MKDIR} ${PREFIX}/lib/jitsi/lib/bundle
-	@${MKDIR} ${PREFIX}/lib/jitsi/lib/native
-
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/jitsi/sc-bundles
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/jitsi/lib/bundle
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/jitsi/lib/native
 # Bundles (Jitsi modules)
 	@${ECHO_CMD} ">> Installing bundles (Jitsi modules)..."
-	@cd ${WRKSRC}/sc-bundles && ${COPYTREE_SHARE} \* \
-		${PREFIX}/lib/jitsi/sc-bundles
-	@${RM} ${PREFIX}/lib/jitsi/sc-bundles/*slick*.jar
-	@${RM} -r ${PREFIX}/lib/jitsi/sc-bundles/os-specific
-
-# Library Jars
+	@cd ${WRKSRC}/sc-bundles && ${COPYTREE_SHARE} . \
+		${STAGEDIR}${PREFIX}/lib/jitsi/sc-bundles
+	@${RM} ${STAGEDIR}${PREFIX}/lib/jitsi/sc-bundles/*slick*.jar
+	@${RM} -r ${STAGEDIR}${PREFIX}/lib/jitsi/sc-bundles/os-specific
+# Library JARs
 	@${ECHO_CMD} ">> Installing library jars..."
-	@cd ${WRKSRC}/lib/bundle && ${COPYTREE_SHARE} \* \
-		${PREFIX}/lib/jitsi/lib/bundle "! -name junit.jar"
+	@cd ${WRKSRC}/lib/bundle && ${COPYTREE_SHARE} . \
+		${STAGEDIR}${PREFIX}/lib/jitsi/lib/bundle "! -name junit.jar"
 	@cd ${WRKSRC}/lib && ${COPYTREE_SHARE} "felix.jar jdic-all.jar \
 		felix.client.run.properties logging.properties" \
-			${PREFIX}/lib/jitsi/lib
-
-# Native Libraries
-	@${ECHO_CMD} ">> Installing native libraries..."
-.if ${ARCH} != amd64
-	@cd ${WRKSRC}/lib/native/freebsd && ${COPYTREE_SHARE} \* \
-		${PREFIX}/lib/jitsi/lib/native
-.else
-	@cd ${WRKSRC}/lib/native/freebsd-64 && ${COPYTREE_SHARE} \* \
-		${PREFIX}/lib/jitsi/lib/native
-.endif
-
+			${STAGEDIR}${PREFIX}/lib/jitsi/lib
+# Native libraries
+	@${ECHO_CMD} ">> Installing native (${ARCH}) libraries..."
+	@cd ${WRKSRC}/lib/native/freebsd${ARCH:S/i386//:S/amd/-/} && \
+		${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/jitsi/lib/native
 # Wrapper script to run Jitsi
 	@${ECHO_CMD} ">> Installing wrapper script..."
-	@${INSTALL_SCRIPT} ${FILESDIR}/jitsi.sh ${PREFIX}/bin/jitsi
-
+	${INSTALL_SCRIPT} ${FILESDIR}/jitsi.sh ${STAGEDIR}${PREFIX}/bin/jitsi
 # Manual page
 	@${ECHO_CMD} ">> Installing the manual page..."
-	@${INSTALL_MAN} ${FILESDIR}/jitsi.1 ${MANPREFIX}/man/man1
-
+	${INSTALL_MAN} ${FILESDIR}/jitsi.1 ${STAGEDIR}${MANPREFIX}/man/man1
 # Desktop related
 	@${ECHO_CMD} ">> Installing Jitsi's logo..."
-	@${INSTALL_DATA} ${WRKSRC}/resources/images/logo/sc_logo_128x128.png \
-		${PREFIX}/share/pixmaps/jitsi.png
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_DATA} ${WRKSRC}/resources/images/logo/sc_logo_128x128.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/jitsi.png
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/net-im/jitsi/pkg-descr
==============================================================================
--- head/net-im/jitsi/pkg-descr	Tue Apr  8 10:22:15 2014	(r350594)
+++ head/net-im/jitsi/pkg-descr	Tue Apr  8 10:27:49 2014	(r350595)
@@ -1,6 +1,8 @@
-Jitsi (formerly SIP Communicator) is an audio/video and chat communicator that
-supports protocols such as SIP, XMPP/Jabber, AIM/ICQ, Windows Live, Yahoo! and
-many other useful features. Jitsi is Open Source / Free Software, and is
-available under the terms of the LGPL.
+Jitsi (formerly SIP Communicator) is an audio/video and chat communicator
+that supports protocols such as SIP, XMPP/Jabber, AIM/ICQ, Windows Live,
+Yahoo! and many other useful features.
 
-WWW: https://jitsi.org
+Jitsi is Open Source / Free Software, and is available under the terms of
+the LGPL (version 2.1).
+
+WWW: https://jitsi.org/

Modified: head/net-im/jitsi/pkg-message
==============================================================================
--- head/net-im/jitsi/pkg-message	Tue Apr  8 10:22:15 2014	(r350594)
+++ head/net-im/jitsi/pkg-message	Tue Apr  8 10:27:49 2014	(r350595)
@@ -1,9 +1,10 @@
--- Audio and Video codecs
+From the list of available audio codecs, deselect all except ``opus/48000''.
+From the list of available video codecs, deselect all except ``VP8''.
 
-From the list of available audio codecs, please deselect all except 'opus/48000'.
-From the list of available video codecs, please deselect all except 'VP8'.
-You can make this change via the interface of Jitsi:
--> Jitsi-Tools-Options-Audio-Encodings
--> Jitsi-Tools-Options-Video-Encodings
+You can make these changes via the interface of Jitsi:
 
-It is recommended that all the participants of an audio/video call to use the same codecs. 
+  -> Jitsi-Tools-Options-Audio-Encodings
+  -> Jitsi-Tools-Options-Video-Encodings
+
+It is recommended that all the participants of an audio/video call to use
+the same codecs.

Modified: head/net-im/jitsi/pkg-plist
==============================================================================
--- head/net-im/jitsi/pkg-plist	Tue Apr  8 10:22:15 2014	(r350594)
+++ head/net-im/jitsi/pkg-plist	Tue Apr  8 10:27:49 2014	(r350595)
@@ -141,7 +141,7 @@ lib/jitsi/sc-bundles/util.jar
 lib/jitsi/sc-bundles/version-impl.jar
 lib/jitsi/sc-bundles/yahooaccregwizz.jar
 lib/jitsi/sc-bundles/zrtp4j.jar
-share/applications/jitsi.desktop
+man/man1/jitsi.1.gz
 share/pixmaps/jitsi.png
 @dirrm lib/jitsi/sc-bundles
 @dirrm lib/jitsi/lib/native



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404081027.s38ARnXj050740>