From owner-svn-ports-head@FreeBSD.ORG Sun Dec 15 16:17:47 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 70075AFB; Sun, 15 Dec 2013 16:17:47 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5C4E71EE2; Sun, 15 Dec 2013 16:17:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBFGHl6T080209; Sun, 15 Dec 2013 16:17:47 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBFGHlRE080208; Sun, 15 Dec 2013 16:17:47 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312151617.rBFGHlRE080208@svn.freebsd.org> From: William Grzybowski Date: Sun, 15 Dec 2013 16:17:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336552 - head/misc/cuecat 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.17 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: Sun, 15 Dec 2013 16:17:47 -0000 Author: wg Date: Sun Dec 15 16:17:46 2013 New Revision: 336552 URL: http://svnweb.freebsd.org/changeset/ports/336552 Log: misc/cuecat: fix python usage Reported by: exp-run (PR 184591) Approved by: portmgr (blanket) Modified: head/misc/cuecat/Makefile Modified: head/misc/cuecat/Makefile ============================================================================== --- head/misc/cuecat/Makefile Sun Dec 15 16:13:46 2013 (r336551) +++ head/misc/cuecat/Makefile Sun Dec 15 16:17:46 2013 (r336552) @@ -26,18 +26,18 @@ WRKSRC= ${WRKDIR}/cuecat NO_STAGE= yes pre-install: @${MV} ${WRKSRC}/cuecat.py ${WRKSRC}/cuecat.py-orig - @${SED} 's;/usr/opt;${PREFIX};' ${WRKSRC}/cuecat.py-orig >${WRKSRC}/cuecat.py + @${SED} 's;/usr/opt/bin/python;${PYTHON_CMD};' ${WRKSRC}/cuecat.py-orig >${WRKSRC}/cuecat.py @${MV} ${WRKSRC}/barcode.py ${WRKSRC}/barcode.py-orig - @${SED} 's;/usr/opt;${PREFIX};' ${WRKSRC}/barcode.py-orig >${WRKSRC}/barcode.py + @${SED} 's;/usr/opt/bin/python;${PYTHON_CMD};' ${WRKSRC}/barcode.py-orig >${WRKSRC}/barcode.py .if !defined(WITHOUT_X11) @${MV} ${WRKSRC}/xcuecat.py ${WRKSRC}/xcuecat.py-orig - @${SED} 's;/usr/opt;${PREFIX};' ${WRKSRC}/xcuecat.py-orig >${WRKSRC}/xcuecat.py + @${SED} 's;/usr/opt/bin/python;${PYTHON_CMD};' ${WRKSRC}/xcuecat.py-orig >${WRKSRC}/xcuecat.py .endif do-install: ${INSTALL_SCRIPT} ${WRKSRC}/cuecat.py ${PYTHON_SITELIBDIR} ${INSTALL_SCRIPT} ${WRKSRC}/barcode.py ${PYTHON_SITELIBDIR} - python -O -c "import barcode, cuecat" + ${PYTHON_CMD} -O -c "import barcode, cuecat" ${LN} -sf ${PYTHON_SITELIBDIR}/cuecat.py ${PREFIX}/bin/cuecat ${INSTALL_MAN} ${WRKSRC}/cuecat.1 ${PREFIX}/man/man1 .if !defined(WITHOUT_X11)