aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-03-19 03:48:13 +0800
committerbeech <beech@FreeBSD.org>2008-03-19 03:48:13 +0800
commite2b141a1fdd30108186930880967b3986b566f6b (patch)
tree20fc999a25571632b4ea25a8d17f25fbe40f87f3 /net-im
parenta6c26ef917bae85720eaef489d049baf8d896c47 (diff)
downloadfreebsd-ports-gnome-e2b141a1fdd30108186930880967b3986b566f6b.tar.gz
freebsd-ports-gnome-e2b141a1fdd30108186930880967b3986b566f6b.tar.zst
freebsd-ports-gnome-e2b141a1fdd30108186930880967b3986b566f6b.zip
- Add legacy version for users of 5.x and 6.x
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.
Diffstat (limited to 'net-im')
-rw-r--r--net-im/skype12/Makefile66
-rw-r--r--net-im/skype12/distinfo3
-rw-r--r--net-im/skype12/files/pkg-message.in10
-rw-r--r--net-im/skype12/pkg-descr5
-rw-r--r--net-im/skype12/pkg-plist38
5 files changed, 122 insertions, 0 deletions
diff --git a/net-im/skype12/Makefile b/net-im/skype12/Makefile
new file mode 100644
index 000000000000..bd96c23808dc
--- /dev/null
+++ b/net-im/skype12/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: skype12
+# Date created: Jun 21. 2004
+# Whom: netchild@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= skype12
+PORTVERSION= 1.2.0.18
+CATEGORIES= net
+MASTER_SITES= NETBSD
+DISTNAME= skype_staticQT-${PORTVERSION}
+
+MAINTAINER= beech@FreeBSD.org
+COMMENT= Legacy version P2P VoIP software
+
+RUN_DEPENDS= ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \
+ ${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat
+
+USE_BZIP2= yes
+USE_LINUX= yes
+PORTDOCS= LICENSE README
+SUB_FILES= pkg-message
+
+RESTRICTED= Redistribution prohibited.
+CONFLICTS= skype-1.[0-9].*
+
+OPTIONS= NVIDIA_GL "Enable Nvidia Support" off
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 700000
+BROKEN= Legacy version, Use net/skype
+.endif
+
+.if defined(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
+
+WRKSRC= ${WRKDIR}/skype-${PORTVERSION}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|Exec=skype|Exec=skype --resources=${PREFIX}/${SKYPEDIR}|' \
+ ${WRKSRC}/skype.desktop
+
+do-build:
+ ${BRANDELF} -t Linux ${WRKSRC}/skype
+
+do-install:
+ @${INSTALL} -d ${PREFIX}/share/applications
+ @${INSTALL_PROGRAM} ${WRKSRC}/skype ${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
+ @cd ${WRKSRC}/&&${COPYTREE_SHARE} "icons sound lang" ${DATADIR}/
+
+.if !defined(NOPORTDOCS)
+ @${INSTALL} -d ${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
+
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/net-im/skype12/distinfo b/net-im/skype12/distinfo
new file mode 100644
index 000000000000..45a776b79003
--- /dev/null
+++ b/net-im/skype12/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-im/skype12/files/pkg-message.in b/net-im/skype12/files/pkg-message.in
new file mode 100644
index 000000000000..d98bfdf5bf92
--- /dev/null
+++ b/net-im/skype12/files/pkg-message.in
@@ -0,0 +1,10 @@
+
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+Skype has been installed in:
+
+%%PREFIX%%/bin/skype
+
+If you are starting from a terminal, please use the following command:
+ skype --resources=%%DATADIR%%
+
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
diff --git a/net-im/skype12/pkg-descr b/net-im/skype12/pkg-descr
new file mode 100644
index 000000000000..06e936789071
--- /dev/null
+++ b/net-im/skype12/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.com/
diff --git a/net-im/skype12/pkg-plist b/net-im/skype12/pkg-plist
new file mode 100644
index 000000000000..c5fc6dd5f657
--- /dev/null
+++ b/net-im/skype12/pkg-plist
@@ -0,0 +1,38 @@
+bin/skype
+%%DATADIR%%/icons/skype_16_32.png
+%%DATADIR%%/icons/skype_32_32.png
+%%DATADIR%%/icons/skype_48_32.png
+%%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
+%%DATADIR%%/sound/busy4.wav
+%%DATADIR%%/sound/call_in.wav
+%%DATADIR%%/sound/call_out.wav
+%%DATADIR%%/sound/hangup.wav
+%%DATADIR%%/sound/im.wav
+share/applications/skype.desktop
+share/pixmaps/skype.png
+@dirrm %%DATADIR%%/sound
+@dirrm %%DATADIR%%/lang
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%
+@dirrmtry share/applications