Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148033155
D10527.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D10527.id.diff
View Options
Index: head/math/asymptote/Makefile
===================================================================
--- head/math/asymptote/Makefile
+++ head/math/asymptote/Makefile
@@ -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 @@
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 @@
@${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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 16, 7:30 AM (14 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29760052
Default Alt Text
D10527.id.diff (1 KB)
Attached To
Mode
D10527: Fix Shebangs
Attached
Detach File
Event Timeline
Log In to Comment