1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/net-im/skype/Makefile
Beech Rintoul 43d023691e - Update to 1.4.0.118
- Note: This update at the request of vendor as v1.2.0.18 is deprecated
  and no longer available.
- Also Note: This version is known to work with amd64, but requires
  linux_dri which is currently marked ONLY_FOR_ARCHS= i386
2008-03-13 23:11:32 +00:00

59 lines
1.5 KiB
Makefile

# New ports collection makefile for: skype
# Date created: Jun 21. 2004
# Whom: netchild@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= skype
PORTVERSION= 1.4.0.118
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= http://download.skype.com/linux/
DISTNAME= skype_static-${DISTVERSION}-oss
MAINTAINER= beech@FreeBSD.org
COMMENT= 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 \
${LINUXBASE}/usr/lib/libsigc-2.0.so.0:${PORTSDIR}/devel/linux-libsigc++20
.ifdef WITH_NVIDIA_GL
RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
.else
USE_GL= linux
.endif
USE_BZIP2= yes
USE_LINUX= yes
ONLY_FOR_ARCHS= i386
RESTRICTED= Redistribution prohibited.
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-oss
PORTDOCS= LICENSE README
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
do-build:
${BRANDELF} -t Linux ${WRKSRC}/skype
do-install:
@${INSTALL} -d ${PREFIX}/share/applications
@${INSTALL_DATA} ${WRKSRC}/skype.desktop ${PREFIX}/share/applications/
@${INSTALL_DATA} ${WRKSRC}/icons/SkypeBlue_48x48.png ${PREFIX}/share/pixmaps/skype.png
@${INSTALL_PROGRAM} ${WRKSRC}/skype ${PREFIX}/bin/skype
@${CHMOD} a+rx ${PREFIX}/bin/skype
@cd ${WRKSRC}/&&${COPYTREE_SHARE} "icons sounds lang" ${DATADIR}/
.if !defined(NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>