summaryrefslogtreecommitdiffstats
path: root/net/skype
diff options
context:
space:
mode:
Diffstat (limited to 'net/skype')
-rw-r--r--net/skype/Makefile59
-rw-r--r--net/skype/distinfo3
-rw-r--r--net/skype/pkg-descr5
-rw-r--r--net/skype/pkg-plist40
4 files changed, 107 insertions, 0 deletions
diff --git a/net/skype/Makefile b/net/skype/Makefile
new file mode 100644
index 000000000..bab998753
--- /dev/null
+++ b/net/skype/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: skype
+# Date created: Jun 21. 2004
+# Whom: netchild@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= skype
+PORTVERSION= 1.2.0.18
+PORTREVISION= 2
+CATEGORIES= net
+MASTER_SITES= http://download.skype.com/linux/
+DISTNAME= skype_staticQT-${PORTVERSION}
+
+MAINTAINER= itetcu@FreeBSD.org
+COMMENT= P2P VoIP software
+
+CONFLICTS+= skype-devel-[0-9]*
+
+RUN_DEPENDS= ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \
+ ${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat
+
+.ifdef WITH_NVIDIA_GL
+RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+.else
+RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
+.endif
+
+USE_BZIP2= yes
+USE_LINUX= yes
+USE_X_PREFIX= yes
+ONLY_FOR_ARCHS= i386 amd64
+
+RESTRICTED= Redistribution not allowed yet.
+
+.include <bsd.port.pre.mk>
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+do-build:
+ ${BRANDELF} -t Linux ${WRKSRC}/skype
+
+do-install:
+ ${INSTALL} ${WRKSRC}/skype ${PREFIX}/bin/skype_bin
+# ${INSTALL} ${WRKSRC}/skype-callto-handler ${PREFIX}/bin/
+ ${ECHO_CMD} -e "#!/bin/sh\n\nSKYPE_RESOURCES_PATH='${DATADIR}' skype_bin \"\$$@\" 2>&1 | grep -v 'SOUND_MIXER_WRITE_IGAIN failed'" >${PREFIX}/bin/skype
+ ${CHMOD} a+rx ${PREFIX}/bin/skype
+ ${INSTALL_DATA} ${WRKSRC}/skype.desktop ${PREFIX}/share/applications/
+ ${INSTALL_DATA} ${WRKSRC}/icons/skype_48_32.png ${PREFIX}/share/pixmaps/skype.png
+ ${MKDIR} ${DATADIR}/icons ${DATADIR}/lang ${DATADIR}/sound
+ ${INSTALL_DATA} ${WRKSRC}/icons/* ${DATADIR}/icons/
+ ${INSTALL_DATA} ${WRKSRC}/lang/*.qm ${DATADIR}/lang/
+ ${INSTALL_DATA} ${WRKSRC}/sound/*.wav ${DATADIR}/sound/
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DATADIR}/
+
+post-install:
+ @${ECHO} "There are known problems with some soundcards in 5.x. This is due to a bug in the kernel. It is fixed in 6.x. Additionally there is some further work in the sound subsystem going on which fixes some related problems. This work will not be available in 6.0-RELEASE. If you experience problems update to the most recent 6.x-RELEASE, if this does not fix your problems ask on multimedia@FreeBSD.org." | fmt
+
+.include <bsd.port.post.mk>
diff --git a/net/skype/distinfo b/net/skype/distinfo
new file mode 100644
index 000000000..45a776b79
--- /dev/null
+++ b/net/skype/distinfo
@@ -0,0 +1,3 @@
+MD5 (skype_staticQT-1.2.0.18.tar.bz2) = bc05f6883e8c0350186e1a376940d5c8
+SHA256 (skype_staticQT-1.2.0.18.tar.bz2) = fa825ff455b7c6fb53bd4090e7fb99038ce426b4078b4f1dda0307fc4fa216b3
+SIZE (skype_staticQT-1.2.0.18.tar.bz2) = 10678284
diff --git a/net/skype/pkg-descr b/net/skype/pkg-descr
new file mode 100644
index 000000000..5d92fde2e
--- /dev/null
+++ b/net/skype/pkg-descr
@@ -0,0 +1,5 @@
+Skype is a free program that uses the latest P2P technology to bring
+affordable and high-quality voice communications to people all over
+the world.
+
+WWW: http://www.skype.net/
diff --git a/net/skype/pkg-plist b/net/skype/pkg-plist
new file mode 100644
index 000000000..b7763d3ec
--- /dev/null
+++ b/net/skype/pkg-plist
@@ -0,0 +1,40 @@
+bin/skype
+bin/skype_bin
+%%DATADIR%%/icons/skype_16_32.png
+%%DATADIR%%/icons/skype_32_32.png
+%%DATADIR%%/icons/skype_48_32.png
+@dirrm %%DATADIR%%/icons
+%%DATADIR%%/lang/skype_da.qm
+%%DATADIR%%/lang/skype_de.qm
+%%DATADIR%%/lang/skype_el.qm
+%%DATADIR%%/lang/skype_en.qm
+%%DATADIR%%/lang/skype_es.qm
+%%DATADIR%%/lang/skype_es_AR.qm
+%%DATADIR%%/lang/skype_et.qm
+%%DATADIR%%/lang/skype_fi.qm
+%%DATADIR%%/lang/skype_fr.qm
+%%DATADIR%%/lang/skype_it.qm
+%%DATADIR%%/lang/skype_iw.qm
+%%DATADIR%%/lang/skype_ja.qm
+%%DATADIR%%/lang/skype_ko.qm
+%%DATADIR%%/lang/skype_nl.qm
+%%DATADIR%%/lang/skype_no.qm
+%%DATADIR%%/lang/skype_pl.qm
+%%DATADIR%%/lang/skype_pt_BR.qm
+%%DATADIR%%/lang/skype_ro.qm
+%%DATADIR%%/lang/skype_ru.qm
+%%DATADIR%%/lang/skype_sv.qm
+%%DATADIR%%/lang/skype_zh_CN.qm
+%%DATADIR%%/lang/skype_zh_TW.qm
+@dirrm %%DATADIR%%/lang
+%%DATADIR%%/sound/busy4.wav
+%%DATADIR%%/sound/call_in.wav
+%%DATADIR%%/sound/call_out.wav
+%%DATADIR%%/sound/hangup.wav
+%%DATADIR%%/sound/im.wav
+@dirrm %%DATADIR%%/sound
+%%DATADIR%%/LICENSE
+@dirrm %%DATADIR%%
+share/applications/skype.desktop
+share/pixmaps/skype.png
+@dirrmtry share/applications