From e604f2965ae98e00578c880f979febf4e4174364 Mon Sep 17 00:00:00 2001 From: Boris Samorodov Date: Thu, 14 May 2009 04:51:34 +0000 Subject: Create ${PREFIX}/${SKYPEDIR} before doing ${COPYTREE_SHARE}. Without this step installing the port at 7.x has the effect: ----- % ls -ld /usr/local/share/skype drwx------ 6 root wheel 512 12 May 12:20 /usr/local/share/skype % skype /usr/local/bin/skype: /usr/local/share/skype/skype: Permission denied ----- FreeBSD 8.x is not affected since it uses BSD cpio (at ${COPYTREE_SHARE}) which behaves as expected. Note: packages are not affected, no PORTREVISION bump. PR: ports/134471 Submitted by: bsam (me) Approved by: miwi (co-maintainer, by e-mail) --- net-im/skype/Makefile | 2 +- net-im/skype20/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'net-im') diff --git a/net-im/skype/Makefile b/net-im/skype/Makefile index 15068d6ac156..29a44a3d6a07 100644 --- a/net-im/skype/Makefile +++ b/net-im/skype/Makefile @@ -61,7 +61,7 @@ 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}/&&${COPYTREE_SHARE} "avatars icons sounds lang" ${PREFIX}/${SKYPEDIR}/ + @cd ${WRKSRC}/ && {MKDIR} ${PREFIX}/${SKYPEDIR} && ${COPYTREE_SHARE} "avatars icons sounds lang" ${PREFIX}/${SKYPEDIR}/ # The binary main program @${INSTALL_PROGRAM} ${WRKSRC}/skype ${PREFIX}/${SKYPEDIR}/ diff --git a/net-im/skype20/Makefile b/net-im/skype20/Makefile index 15068d6ac156..29a44a3d6a07 100644 --- a/net-im/skype20/Makefile +++ b/net-im/skype20/Makefile @@ -61,7 +61,7 @@ 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}/&&${COPYTREE_SHARE} "avatars icons sounds lang" ${PREFIX}/${SKYPEDIR}/ + @cd ${WRKSRC}/ && {MKDIR} ${PREFIX}/${SKYPEDIR} && ${COPYTREE_SHARE} "avatars icons sounds lang" ${PREFIX}/${SKYPEDIR}/ # The binary main program @${INSTALL_PROGRAM} ${WRKSRC}/skype ${PREFIX}/${SKYPEDIR}/ -- cgit v1.2.3