2004-06-23 10:06:46 +00:00
# New ports collection makefile for: skype
# Date created: Jun 21. 2004
# Whom: netchild@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME = skype
2004-10-16 13:23:28 +00:00
PORTVERSION = 0.92.0.2
2004-06-23 10:06:46 +00:00
CATEGORIES = net
MASTER_SITES = http://download.skype.com/linux/
2004-07-24 10:19:35 +00:00
DISTNAME = skype_ver-${ PORTVERSION : C / \. /_/g } -staticQT
2004-06-23 10:06:46 +00:00
MAINTAINER = netchild@FreeBSD.org
COMMENT = P2P VoIP software
RUN_DEPENDS = ${ LINUXBASE } /lib/libc-2.3.2.so:${ PORTSDIR } /emulators/linux_base-8 \
2004-06-23 17:49:54 +00:00
${ LINUXBASE } /usr/lib/libfontconfig.so.1:${ PORTSDIR } /x11-fonts/linux-fontconfig \
2004-06-23 10:06:46 +00:00
${ LINUXBASE } /usr/lib/libexpat.so.0:${ PORTSDIR } /textproc/linux-expat \
${ LINUXBASE } /usr/X11R6/lib/libXrender.so.1:${ PORTSDIR } /x11/linux-XFree86-libs
USE_BZIP2 = yes
USE_X_PREFIX = yes
WANT_GNOME = yes
2004-07-24 10:19:35 +00:00
ONLY_FOR_ARCHS = i386
2004-06-23 10:06:46 +00:00
2004-06-23 17:49:54 +00:00
RESTRICTED = Redistribution not allowed yet.
2004-08-16 07:42:55 +00:00
. i f d e f i n e d ( P A C K A G E _ B U I L D I N G )
IGNORE = conflicts between linux_base and linux_base-8
. e n d i f
2004-06-23 10:06:46 +00:00
. i n c l u d e < b s d . p o r t . p r e . m k >
.if ${HAVE_GNOME : Mgnomehier } != ""
PLIST_SUB += GNOME = ""
. e l s e
PLIST_SUB += GNOME = "@comment "
. e n d i f
2004-10-16 13:23:28 +00:00
WRKSRC = ${ WRKDIR } /skype_ver-${ PORTVERSION : C / \. /_/g } -staticQT
2004-08-17 10:17:47 +00:00
2004-06-23 10:06:46 +00:00
do-build :
${ BRANDELF } -t Linux ${ WRKSRC } /skype
do-install :
${ INSTALL } ${ WRKSRC } /skype ${ PREFIX } /bin/
.if ${HAVE_GNOME : Mgnomehier } != ""
${ INSTALL_DATA } ${ WRKSRC } /skype.desktop ${ PREFIX } /share/gnome/applications/
2004-07-24 10:19:35 +00:00
${ INSTALL_DATA } ${ WRKSRC } /icons/skype_48_32.png ${ PREFIX } /share/gnome/pixmaps/skype.png
2004-06-23 10:06:46 +00:00
. e n d i f
${ MKDIR } ${ DATADIR } /icons
${ INSTALL_DATA } ${ WRKSRC } /icons/* ${ DATADIR } /icons/
${ INSTALL_DATA } ${ WRKSRC } /call_in.wav ${ DATADIR } /
2004-06-23 17:49:54 +00:00
${ INSTALL_DATA } ${ WRKSRC } /LICENSE ${ DATADIR } /
2004-06-23 10:06:46 +00:00
2004-08-17 10:17:47 +00:00
post-install :
@${ ECHO } "Since skype uses a hadcoded path to the language files (/usr/share/skype) which a port isn't allowed to install files into, call_in.wav and the language files are not installed. As soon as skype learns how to use other paths, this will change." | fmt
2004-10-16 13:23:28 +00:00
@${ ECHO }
@${ ECHO } "Known good soundcards for the use with Skype:"
@${ ECHO } " - SiS 7012 (snd_ich) based ones"
@${ ECHO } " - CMedia CMI8738 (snd_cmi) based ones"
@${ ECHO }
@${ ECHO } "Probably bad soundcards for the use with Skype:"
@${ ECHO } " - VIA on-board sound"
@${ ECHO } " - Creative CT5880 (snd_es137x) based ones"
@${ ECHO }
@${ ECHO } " If your soundcard is not listed here, send the the output of 'cat /dev/sndstat' with a short note if it works or not to ${ MAINTAINER } please. " | fmt
2004-08-17 10:17:47 +00:00
2004-06-23 10:06:46 +00:00
. i n c l u d e < b s d . p o r t . p o s t . m k >