From owner-svn-ports-head@freebsd.org Thu May 4 05:20:32 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BD857D5DE08; Thu, 4 May 2017 05:20:32 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 8EB3B1FB4; Thu, 4 May 2017 05:20:32 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v445KVME073221; Thu, 4 May 2017 05:20:31 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v445KVQN073192; Thu, 4 May 2017 05:20:31 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201705040520.v445KVQN073192@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Thu, 4 May 2017 05:20:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440084 - head/math/asymptote 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.23 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: Thu, 04 May 2017 05:20:32 -0000 Author: tcberner Date: Thu May 4 05:20:31 2017 New Revision: 440084 URL: https://svnweb.freebsd.org/changeset/ports/440084 Log: Fix shebangs Reviewed by: mat Approved by: mat Differential Revision: https://reviews.freebsd.org/D10527 Modified: head/math/asymptote/Makefile Modified: head/math/asymptote/Makefile ============================================================================== --- head/math/asymptote/Makefile Thu May 4 05:19:56 2017 (r440083) +++ head/math/asymptote/Makefile Thu May 4 05:20:31 2017 (r440084) @@ -3,7 +3,7 @@ PORTNAME= asymptote PORTVERSION= 2.37 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}.src @@ -35,11 +35,14 @@ MAKE_JOBS_UNSAFE= yes ONLY_FOR_ARCHS= i386 amd64 -USES= gettext-runtime ghostscript gmake ncurses perl5 python tar:tgz +USES= gettext-runtime ghostscript gmake ncurses perl5 python \ + shebangfix tar:tgz USE_GL= glut USE_PERL5= build USE_TEX= dvipsk formats +SHEBANG_FILES= GUI/*.py + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} # Options @@ -84,6 +87,8 @@ post-patch: @${REINPLACE_CMD} 's/-lgc/-lgc-threaded/' ${WRKSRC}/configure @${REINPLACE_CMD} 's,/usr/lib/libgs.so,${LOCALBASE}/lib/libgs.so,' \ ${WRKSRC}/settings.cc +# Fix the python interpreter in the generated file share/asymptote/GUI/xasyVersion.py: + @${REINPLACE_CMD} 's,/usr/bin/env python,${PYTHON_CMD},' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asy