summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-18 05:57:52 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-18 05:57:52 +0800
commita7a343e34fb11f312a7a90d5c79f858d5433130e (patch)
treed4a287102a5f992c6b1ea795d650151c0556be30 /net
parent3af65dd8cb159f90cf84f0b29ecc20252bcfa45d (diff)
downloadmarcuscom-ports-a7a343e34fb11f312a7a90d5c79f858d5433130e.tar.gz
marcuscom-ports-a7a343e34fb11f312a7a90d5c79f858d5433130e.tar.zst
marcuscom-ports-a7a343e34fb11f312a7a90d5c79f858d5433130e.zip
- Install .desktop file in share/applications instead of
share/gnome/.. since skype installs in X11BASE. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7327 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r--net/skype-devel/Makefile61
-rw-r--r--net/skype-devel/distinfo3
-rw-r--r--net/skype-devel/pkg-descr5
-rw-r--r--net/skype-devel/pkg-plist44
-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
8 files changed, 220 insertions, 0 deletions
diff --git a/net/skype-devel/Makefile b/net/skype-devel/Makefile
new file mode 100644
index 000000000..6ab4b47cf
--- /dev/null
+++ b/net/skype-devel/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: skype
+# Date created: Jun 21. 2004
+# Whom: netchild@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= skype
+PORTVERSION= 1.3.0.30
+PORTREVISION= 1
+CATEGORIES= net
+MASTER_SITES= http://download.skype.com/linux/
+PKGNAMESUFFIX= -devel
+DISTNAME= skype-beta_staticQT-${PORTVERSION}
+
+MAINTAINER= itetcu@FreeBSD.org
+COMMENT= P2P VoIP software
+
+CONFLICTS= skype-[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 \
+ ${LINUXBASE}/lib/libasound.so.2:${PORTSDIR}/audio/linux-alsa-lib
+
+.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-devel/distinfo b/net/skype-devel/distinfo
new file mode 100644
index 000000000..1efc77c2a
--- /dev/null
+++ b/net/skype-devel/distinfo
@@ -0,0 +1,3 @@
+MD5 (skype-beta_staticQT-1.3.0.30.tar.bz2) = 2a6155ddc0c9afdfe4a3846ca8276f7b
+SHA256 (skype-beta_staticQT-1.3.0.30.tar.bz2) = 5895f49e7e44ddaeebc4058ecaf3fe6b165dbd7ce6214eea408a952d7e0d5394
+SIZE (skype-beta_staticQT-1.3.0.30.tar.bz2) = 15402445
diff --git a/net/skype-devel/pkg-descr b/net/skype-devel/pkg-descr
new file mode 100644
index 000000000..5d92fde2e
--- /dev/null
+++ b/net/skype-devel/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-devel/pkg-plist b/net/skype-devel/pkg-plist
new file mode 100644
index 000000000..54578dd55
--- /dev/null
+++ b/net/skype-devel/pkg-plist
@@ -0,0 +1,44 @@
+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/call_busy.wav
+%%DATADIR%%/sound/call_hangup.wav
+%%DATADIR%%/sound/call_hold.wav
+%%DATADIR%%/sound/call_initiated.wav
+%%DATADIR%%/sound/call_resume.wav
+%%DATADIR%%/sound/call_ringin.wav
+%%DATADIR%%/sound/call_ringout.wav
+%%DATADIR%%/sound/im2.wav
+%%DATADIR%%/sound/online.wav
+@dirrm %%DATADIR%%/sound
+%%DATADIR%%/LICENSE
+@dirrm %%DATADIR%%
+share/applications/skype.desktop
+share/pixmaps/skype.png
+@dirrmtry share/applications
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