aboutsummaryrefslogtreecommitdiff
path: root/net-im/skype-devel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
commit29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch)
tree1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /net-im/skype-devel
parent7aad84f808b93baa6a7077ce0b47573b9c4c79a0 (diff)
downloadports-29747f458a1eb2ce23b4594b09d0256dd62760b8.tar.gz
ports-29747f458a1eb2ce23b4594b09d0256dd62760b8.zip
Notes
Diffstat (limited to 'net-im/skype-devel')
-rw-r--r--net-im/skype-devel/Makefile15
-rw-r--r--net-im/skype-devel/pkg-plist5
2 files changed, 7 insertions, 13 deletions
diff --git a/net-im/skype-devel/Makefile b/net-im/skype-devel/Makefile
index 7508ee712ecf..a933c8721c3d 100644
--- a/net-im/skype-devel/Makefile
+++ b/net-im/skype-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= skype
PORTVERSION= 1.3.0.30
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://download.skype.com/linux/
PKGNAMESUFFIX= -devel
@@ -30,33 +31,25 @@ RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_d
USE_BZIP2= yes
USE_LINUX= yes
USE_X_PREFIX= yes
-WANT_GNOME= yes
ONLY_FOR_ARCHS= i386 amd64
RESTRICTED= Redistribution not allowed yet.
.include <bsd.port.pre.mk>
-.if ${HAVE_GNOME:Mgnomehier} != ""
-PLIST_SUB+= GNOME=""
-.else
-PLIST_SUB+= GNOME="@comment "
-.endif
-
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
do-build:
${BRANDELF} -t Linux ${WRKSRC}/skype
do-install:
+ ${MKDIR} ${PREFIX}/share/applications
${INSTALL} ${WRKSRC}/skype ${PREFIX}/bin/skype_bin
# ${INSTALL} ${WRKSRC}/skype-callto-handler ${PREFIX}/bin/
${ECHO_CMD} -e "#!/bin/sh\n\nSKYPE_RESOURCES_PATH='${DATADIR}' skype_bin \"\$$@\" 2>&1 | ${GREP} -v 'SOUND_MIXER_WRITE_IGAIN failed'" >${PREFIX}/bin/skype
${CHMOD} a+rx ${PREFIX}/bin/skype
-.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
+ ${INSTALL_DATA} ${WRKSRC}/skype.desktop ${PREFIX}/share/applications/
+ ${INSTALL_DATA} ${WRKSRC}/icons/skype_48_32.png ${PREFIX}/share/pixmaps/skype.png
${MKDIR} ${DATADIR}/icons ${DATADIR}/lang ${DATADIR}/sound
${INSTALL_DATA} ${WRKSRC}/icons/* ${DATADIR}/icons/
${INSTALL_DATA} ${WRKSRC}/lang/*.qm ${DATADIR}/lang/
diff --git a/net-im/skype-devel/pkg-plist b/net-im/skype-devel/pkg-plist
index e2b5f3707078..54578dd55be3 100644
--- a/net-im/skype-devel/pkg-plist
+++ b/net-im/skype-devel/pkg-plist
@@ -39,5 +39,6 @@ bin/skype_bin
@dirrm %%DATADIR%%/sound
%%DATADIR%%/LICENSE
@dirrm %%DATADIR%%
-%%GNOME%%share/gnome/applications/skype.desktop
-%%GNOME%%share/gnome/pixmaps/skype.png
+share/applications/skype.desktop
+share/pixmaps/skype.png
+@dirrmtry share/applications