aboutsummaryrefslogtreecommitdiff
path: root/net-im/skype
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2014-08-18 18:41:00 +0000
committerMatthias Andree <mandree@FreeBSD.org>2014-08-18 18:41:00 +0000
commite58f1982d3fd2297ab26d5b2984ed32608acf8a1 (patch)
treec3ec5fb865931cbfa2f38f7c6e7c00f15bca451c /net-im/skype
parent7c69f575656d05b29e678d152f0b1ac342d60630 (diff)
downloadports-e58f1982d3fd2297ab26d5b2984ed32608acf8a1.tar.gz
ports-e58f1982d3fd2297ab26d5b2984ed32608acf8a1.zip
Notes
Diffstat (limited to 'net-im/skype')
-rw-r--r--net-im/skype/Makefile22
-rw-r--r--net-im/skype/files/skype.sh.in5
2 files changed, 12 insertions, 15 deletions
diff --git a/net-im/skype/Makefile b/net-im/skype/Makefile
index c7df12577455..627221dc356b 100644
--- a/net-im/skype/Makefile
+++ b/net-im/skype/Makefile
@@ -9,7 +9,7 @@ CATEGORIES= net-im
MASTER_SITES= http://download.skype.com/linux/
DISTNAME= skype_static-${DISTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= P2P VoIP software
CONFLICTS= skype-devel-[0-9]*
@@ -21,7 +21,7 @@ OPTIONS_DEFAULT= VIDEO
NO_BUILD= yes
-USES= tar:bzip2
+USES= tar:bzip2
USE_LINUX= yes
USE_LINUX_APPS+=alsalib alsa-plugins-oss expat fontconfig libasyncns \
libsigcpp20
@@ -34,7 +34,6 @@ PLIST_SUB+= SKYPEDIR=${SKYPEDIR}
SUB_FILES= skype.sh
SUB_LIST+= SKYPEDIR=${SKYPEDIR}
-NO_STAGE= yes
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
@@ -75,21 +74,20 @@ IGNORE= ${IGNORE_MSG}
.endif
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
- @cd ${WRKSRC}/ && ${MKDIR} ${PREFIX}/${SKYPEDIR} && ${COPYTREE_SHARE} "avatars icons sounds lang" ${PREFIX}/${SKYPEDIR}/
+ @${INSTALL} -d ${STAGEDIR}${PREFIX}/share/applications
+ @${INSTALL_DATA} ${WRKSRC}/skype.desktop ${STAGEDIR}${PREFIX}/share/applications/
+ @${INSTALL_DATA} ${WRKSRC}/icons/SkypeBlue_48x48.png ${STAGEDIR}${PREFIX}/share/pixmaps/skype.png
+ @cd ${WRKSRC}/ && ${MKDIR} ${STAGEDIR}${PREFIX}/${SKYPEDIR} && ${COPYTREE_SHARE} "avatars icons sounds lang" ${STAGEDIR}${PREFIX}/${SKYPEDIR}/
# The binary main program
- @${INSTALL_PROGRAM} ${WRKSRC}/skype ${PREFIX}/${SKYPEDIR}/
+ @${INSTALL_PROGRAM} ${WRKSRC}/skype ${STAGEDIR}${PREFIX}/${SKYPEDIR}/
# The wrapper for main program
- @${INSTALL_SCRIPT} ${WRKDIR}/skype.sh ${PREFIX}/bin/skype
+ @${INSTALL_SCRIPT} ${WRKDIR}/skype.sh ${STAGEDIR}${PREFIX}/bin/skype
.if ${PORT_OPTIONS:MDOCS}
- @${INSTALL} -d ${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/net-im/skype/files/skype.sh.in b/net-im/skype/files/skype.sh.in
index 12470c8afc27..01ef93625b41 100644
--- a/net-im/skype/files/skype.sh.in
+++ b/net-im/skype/files/skype.sh.in
@@ -1,3 +1,2 @@
-#!/compat/linux/bin/sh
-%%VIDEO%%%%PREFIX%%/%%SKYPEDIR%%/skype --resources=%%PREFIX%%/%%SKYPEDIR%% $@
-
+#!/bin/sh
+exec %%VIDEO%%%%PREFIX%%/%%SKYPEDIR%%/skype --resources=%%PREFIX%%/%%SKYPEDIR%% "$@"