mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
b365c27228
This version has some fixes for FreeBSD, you shouldn't need to apply a kernel patch to use it. - Let 'make' transform the version number for the distfile. - It's for i386 only (needs to be revisited if the 32bit layer of amd64 gains a linux emu). [1] - Install an icon to the correct place in the GNOME case. This also closes a PR with a version update. PR: 69510 Submitted by: marius [1]
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# New ports collection makefile for: skype
|
|
# Date created: Jun 21. 2004
|
|
# Whom: netchild@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= skype
|
|
PORTVERSION= 0.90.0.14
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://download.skype.com/linux/
|
|
DISTNAME= skype_ver-${PORTVERSION:C/\./_/g}-staticQT
|
|
|
|
MAINTAINER= netchild@FreeBSD.org
|
|
COMMENT= P2P VoIP software
|
|
|
|
RUN_DEPENDS=${LINUXBASE}/lib/libc-2.3.2.so:${PORTSDIR}/emulators/linux_base-8 \
|
|
${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \
|
|
${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
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
RESTRICTED= Redistribution not allowed yet.
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${HAVE_GNOME:Mgnomehier} != ""
|
|
PLIST_SUB+= GNOME=""
|
|
.else
|
|
PLIST_SUB+= GNOME="@comment "
|
|
.endif
|
|
|
|
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/
|
|
${INSTALL_DATA} ${WRKSRC}/icons/skype_48_32.png ${PREFIX}/share/gnome/pixmaps/skype.png
|
|
.endif
|
|
${MKDIR} ${DATADIR}/icons
|
|
${INSTALL_DATA} ${WRKSRC}/icons/* ${DATADIR}/icons/
|
|
${INSTALL_DATA} ${WRKSRC}/call_in.wav ${DATADIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DATADIR}/
|
|
|
|
.include <bsd.port.post.mk>
|