From owner-svn-ports-head@FreeBSD.ORG Wed Nov 5 12:37:26 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02539D89; Wed, 5 Nov 2014 12:37:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D99D915C; Wed, 5 Nov 2014 12:37:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA5CbPmx048753; Wed, 5 Nov 2014 12:37:25 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA5CbPBe048752; Wed, 5 Nov 2014 12:37:25 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201411051237.sA5CbPBe048752@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Wed, 5 Nov 2014 12:37:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372189 - head/net-p2p/tribler X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2014 12:37:26 -0000 Author: marino Date: Wed Nov 5 12:37:25 2014 New Revision: 372189 URL: https://svnweb.freebsd.org/changeset/ports/372189 QAT: https://qat.redports.org/buildarchive/r372189/ Log: net-p2p/tribler: Fix extract for DF and unmask installation commands On the last update, the logic for the post-extract command was changed, which broke the target on DF. This version works on all platforms. While here, rework the do-install target so that the commands aren't suppressed. Also simplify it. Modified: head/net-p2p/tribler/Makefile Modified: head/net-p2p/tribler/Makefile ============================================================================== --- head/net-p2p/tribler/Makefile Wed Nov 5 12:36:32 2014 (r372188) +++ head/net-p2p/tribler/Makefile Wed Nov 5 12:37:25 2014 (r372189) @@ -57,8 +57,7 @@ VLC_RUN_DEPENDS= ffmpeg:${PORTSDIR}/mult TRIBLER_DIR= ${PYTHONPREFIX_SITELIBDIR}/tribler post-extract: - @(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} data.tar.gz \ - ${EXTRACT_AFTER_ARGS}) + @${TAR} -C ${WRKDIR} -xf ${WRKDIR}/data.tar.gz post-patch: @${REINPLACE_CMD} -e \ @@ -82,13 +81,13 @@ post-patch: ${WRKDIR}/usr/share/tribler/Tribler/vlc.py do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} swift \ - ${STAGEDIR}${PREFIX}/libexec) - (cd ${WRKDIR}/usr/bin && ${INSTALL_SCRIPT} tribler \ - ${STAGEDIR}${PREFIX}/bin) - @${MKDIR} ${STAGEDIR}${TRIBLER_DIR}/Tribler - @${LN} -sf ${PREFIX}/libexec/swift ${STAGEDIR}${TRIBLER_DIR} - @(${TAR} -C ${WRKDIR}/usr/share/tribler/Tribler \ + @${MKDIR} ${STAGEDIR}${TRIBLER_DIR}/Tribler \ + ${STAGEDIR}${DESKTOPDIR} \ + ${STAGEDIR}${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/swift ${STAGEDIR}${PREFIX}/libexec + ${INSTALL_SCRIPT} ${WRKDIR}/usr/bin/tribler ${STAGEDIR}${PREFIX}/bin + ${LN} -sf ${PREFIX}/libexec/swift ${STAGEDIR}${TRIBLER_DIR} + (${TAR} -C ${WRKDIR}/usr/share/tribler/Tribler \ --exclude "Build" \ --exclude "LGPL-2.1.txt" \ --exclude "SwiftEngine" \ @@ -96,22 +95,20 @@ do-install: --exclude "*LICENSE*.txt" \ --exclude "*.orig" \ -cf - . | ${TAR} -C ${STAGEDIR}${TRIBLER_DIR}/Tribler -xf -) - @${FIND} ${STAGEDIR}${TRIBLER_DIR}/Tribler -type f -print0 | \ + ${FIND} ${STAGEDIR}${TRIBLER_DIR}/Tribler -type f -print0 | \ ${XARGS} -0 ${CHMOD} ${SHAREMODE} - @${FIND} ${STAGEDIR}${TRIBLER_DIR}/Tribler -type d -print0 | \ + ${FIND} ${STAGEDIR}${TRIBLER_DIR}/Tribler -type d -print0 | \ ${XARGS} -0 ${CHMOD} a+rx - @${MKDIR} ${STAGEDIR}${DESKTOPDIR} (cd ${WRKDIR}/usr/share/applications && ${INSTALL_DATA} \ tribler.desktop ${STAGEDIR}${DESKTOPDIR}) (cd ${WRKDIR}/usr/share/pixmaps && ${INSTALL_DATA} \ tribler.xpm ${STAGEDIR}${PREFIX}/share/pixmaps) - @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/usr/share/tribler/Tribler && ${INSTALL_DATA} \ *LICENSE*.txt readme.txt ${STAGEDIR}${DOCSDIR}) - @(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \ + (cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \ -d ${PYTHONPREFIX_SITELIBDIR} \ -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}) - @(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O -m compileall \ + (cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O -m compileall \ -d ${PYTHONPREFIX_SITELIBDIR} \ -f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})