Index: comms/gnuradio/Makefile =================================================================== --- comms/gnuradio/Makefile +++ comms/gnuradio/Makefile @@ -2,7 +2,7 @@ PORTNAME= gnuradio PORTVERSION= 3.7.10.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms astro hamradio MASTER_SITES= http://gnuradio.org/releases/gnuradio/ \ LOCAL/db @@ -42,7 +42,9 @@ # volk/lib/volk_cpu.c:62: error: can't find a register in class 'BREG' while reloading 'asm' # volk/lib/volk_cpu.c:62: error: 'asm' operand has impossible constraints USES= cmake:outsource compiler:c11 iconv perl5 pkgconfig pyqt:4 python:2.7 shebangfix -SHEBANG_FILES= grc/scripts/freedesktop/grc_setup_freedesktop.in +SHEBANG_FILES= grc/scripts/freedesktop/grc_setup_freedesktop.in \ + gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor \ + gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx CMAKE_ARGS+= -DSWIG_EXECUTABLE:STRING="${LOCALBASE}/bin/swig2.0"\ -DICONV_PREFIX:STRING="${ICONV_PREFIX}" \ -DICONV_LIB:STRING="X${ICONV_LIB}" \ Index: graphics/hugin/Makefile =================================================================== --- graphics/hugin/Makefile +++ graphics/hugin/Makefile @@ -3,7 +3,7 @@ PORTNAME= hugin PORTVERSION= 2016.2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} @@ -27,12 +27,16 @@ gmake:devel/gmake USES= cmake compiler:c++11-lib desktop-file-utils \ - gettext jpeg pkgconfig shared-mime-info tar:bzip2 + gettext jpeg pkgconfig shared-mime-info shebangfix tar:bzip2 CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG} USE_WX= 3.0+ USE_GL= glew glut INSTALLS_ICONS= yes +SHEBANG_FILES= src/hugin_script_interface/hpi.py \ + src/hugin_script_interface/plugins/*.py \ + src/hugin_script_interface/plugins-dev/*.py + OPTIONS_DEFINE= PANOMATIC AUTOPANOSIFTC PYTHON OPTIONS_DEFAULT= PANOMATIC AUTOPANOSIFTC PYTHON OPTIONS_SUB= yes Index: math/asymptote/Makefile =================================================================== --- math/asymptote/Makefile +++ math/asymptote/Makefile @@ -3,6 +3,7 @@ PORTNAME= asymptote PORTVERSION= 2.37 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}.src @@ -34,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 @@ -83,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,%%PYTHON_CMD%%,${PYTHON_CMD},' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asy Index: math/asymptote/files/patch-Makefile.in =================================================================== --- math/asymptote/files/patch-Makefile.in +++ math/asymptote/files/patch-Makefile.in @@ -9,6 +9,15 @@ animationsdir = $(exampledir)/animations latexdir = $(DESTDIR)@latexdir@ contextdir = $(DESTDIR)@contextdir@ +@@ -123,7 +123,7 @@ version: $(GCLIB) $(FILES:=.o) + echo @set VERSION $(revision) > doc/version.texi + echo @set Datadir @datadir@ >> doc/version.texi + +- echo "#!/usr/bin/env python" > GUI/xasyVersion.py ++ echo "#!%%PYTHON_CMD%%" > GUI/xasyVersion.py + echo xasyVersion = \"$(revision)\" >> GUI/xasyVersion.py + + if test -n "$(MSDOS)"; then \ @@ -238,7 +238,7 @@ install-asy: asy sty ${INSTALL} -p -m 644 base/*.asy $(addprefix base/,$(EXTRA)) \ asy-keywords.el $(asydir) Index: science/afni/Makefile =================================================================== --- science/afni/Makefile +++ science/afni/Makefile @@ -11,7 +11,7 @@ PORTNAME= afni PORTVERSION= 2015.11.13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science biology graphics MASTER_SITES= http://www.acadix.biz/Ports/distfiles/ @@ -41,9 +41,10 @@ USES= gettext gmake iconv jpeg:run motif perl5 python shebangfix tar:xz SHEBANG_FILES= suma_change_spec \ 3dPAR2AFNI.pl \ - python_scripts/afni_restproc.py \ - python_scripts/lib_fat_Rfactor.py \ - pkundu/meica.libs/siemens_me2nii.py + python_scripts/*.py \ + pkundu/meica.py \ + pkundu/meica.libs/*.py \ + pkundu/meica.libs/mdp/test/run_tests.py USE_GNOME= glib20 .include