2004-06-23 12:06:46 +02:00
|
|
|
# New ports collection makefile for: skype
|
|
|
|
# Date created: Jun 21. 2004
|
|
|
|
# Whom: netchild@FreeBSD.org
|
|
|
|
#
|
2008-03-16 05:58:49 +01:00
|
|
|
# Maintainers: Beech Rintoul <beech@FreeBSD.org>
|
|
|
|
# Martin Wilke <miwi@FreeBSD.org>
|
|
|
|
#
|
2004-06-23 12:06:46 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= skype
|
2008-06-19 03:31:13 +02:00
|
|
|
PORTVERSION= 2.0.0.72
|
2007-11-01 13:24:53 +01:00
|
|
|
PORTEPOCH= 1
|
2004-06-23 12:06:46 +02:00
|
|
|
CATEGORIES= net
|
2008-03-16 05:58:49 +01:00
|
|
|
MASTER_SITES= http://download.skype.com/linux/
|
|
|
|
DISTNAME= skype_static-${DISTVERSION}-oss
|
2004-06-23 12:06:46 +02:00
|
|
|
|
2009-09-15 14:52:08 +02:00
|
|
|
MAINTAINER= itetcu@FreeBSD.org
|
2004-06-23 12:06:46 +02:00
|
|
|
COMMENT= P2P VoIP software
|
|
|
|
|
2008-03-14 00:11:32 +01:00
|
|
|
.ifdef WITH_NVIDIA_GL
|
|
|
|
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
|
2009-03-19 18:28:51 +01:00
|
|
|
USE_LINUX_APPS+=xorglibs
|
2008-03-14 00:11:32 +01:00
|
|
|
.else
|
2009-05-11 22:45:23 +02:00
|
|
|
USE_LINUX_APPS+=dri
|
2008-03-14 00:11:32 +01:00
|
|
|
.endif
|
2007-01-09 00:53:42 +01:00
|
|
|
|
2007-10-29 20:36:50 +01:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_LINUX= yes
|
2009-03-19 18:28:51 +01:00
|
|
|
USE_LINUX_APPS+=alsalib expat fontconfig libsigcpp20
|
2007-11-01 13:24:53 +01:00
|
|
|
RESTRICTED= Redistribution prohibited.
|
|
|
|
|
2008-05-03 05:53:28 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_static-${DISTVERSION}-oss
|
|
|
|
SKYPEDIR= share/skype
|
2008-03-14 00:11:32 +01:00
|
|
|
PORTDOCS= LICENSE README
|
2008-11-26 04:21:47 +01:00
|
|
|
PLIST_SUB+= SKYPEDIR=${SKYPEDIR}
|
|
|
|
SUB_FILES= skype.sh
|
|
|
|
SUB_LIST+= SKYPEDIR=${SKYPEDIR}
|
2007-11-01 13:24:53 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-05-26 06:29:20 +02:00
|
|
|
pre-fetch:
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "* * * * * * * * * * * * * * * * * * * * * * * * * * * *"
|
|
|
|
@${ECHO_MSG} "ATTENTION!"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "Skype requires at least linux_base-fc6"
|
|
|
|
@${ECHO_MSG} "which is NOT default at this time."
|
|
|
|
@${ECHO_MSG} "If you don't have that version or above installed,"
|
|
|
|
@${ECHO_MSG} "hit 'control c' now!"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "Please read ${PORTSDIR}/UPDATING 20080318"
|
|
|
|
@${ECHO_MSG} "for update and install instructions."
|
|
|
|
@${ECHO_MSG} "* * * * * * * * * * * * * * * * * * * * * * * * * * * *"
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
|
2004-06-23 12:06:46 +02:00
|
|
|
do-build:
|
2008-05-03 05:53:28 +02:00
|
|
|
@${BRANDELF} -t Linux ${WRKSRC}/skype
|
2004-06-23 12:06:46 +02:00
|
|
|
|
|
|
|
do-install:
|
2007-10-29 20:36:50 +01:00
|
|
|
@${INSTALL} -d ${PREFIX}/share/applications
|
2008-11-26 04:21:47 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/skype.desktop ${PREFIX}/share/applications/
|
2008-03-14 00:11:32 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/icons/SkypeBlue_48x48.png ${PREFIX}/share/pixmaps/skype.png
|
2009-05-15 14:40:38 +02:00
|
|
|
@cd ${WRKSRC}/ && ${MKDIR} ${PREFIX}/${SKYPEDIR} && ${COPYTREE_SHARE} "avatars icons sounds lang" ${PREFIX}/${SKYPEDIR}/
|
2008-03-14 00:11:32 +01:00
|
|
|
|
2008-11-26 04:21:47 +01:00
|
|
|
# The binary main program
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/skype ${PREFIX}/${SKYPEDIR}/
|
|
|
|
|
|
|
|
# The wrapper for main program
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/skype.sh ${PREFIX}/bin/skype
|
|
|
|
|
2008-03-14 00:11:32 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${INSTALL} -d ${DOCSDIR}
|
|
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2007-11-01 13:24:53 +01:00
|
|
|
.include <bsd.port.post.mk>
|