diff --git a/audio/snd/Makefile b/audio/snd/Makefile index 4464ec2d534b..fce467deea7a 100644 --- a/audio/snd/Makefile +++ b/audio/snd/Makefile @@ -1,110 +1,110 @@ # Created by: trevor # $FreeBSD$ PORTNAME= snd PORTVERSION= 13.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= ftp://ccrma-ftp.stanford.edu/pub/Lisp/ \ http://mirror.mcx2.org/ MAINTAINER= dhn@FreeBSD.org COMMENT= Multitracking sound editor and utilities OPTIONS_DEFINE= FFTW3 GSL S7 LADSPA MOTIF GTK2 X11 DOCS EXAMPLES OPTIONS_DEFAULT= FFTW3 GSL LADSPA GTK2 X11 FFTW3_DESC= Use FFTW GSL_DESC= Use GNU Scientific Library S7_DESC= Use S7 as the extension language WANT_GNOME= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-float-samples MAKEFILE= makefile ALL_TARGET= snd snd-info sndplay MAKE_JOBS_UNSAFE= yes CFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .include .if ${ARCH} == "sparc64" BROKEN= does not compile on sparc64 .endif .if ${PORT_OPTIONS:MFFTW3} LIB_DEPENDS+= libfftw3.so:${PORTSDIR}/math/fftw3 .else CONFIGURE_ARGS+= --without-fftw .endif .if ${PORT_OPTIONS:MGSL} LIB_DEPENDS+= libgsl.so:${PORTSDIR}/math/gsl .else CONFIGURE_ARGS+= --without-gsl .endif .if ${PORT_OPTIONS:MS7} CONFIGURE_ARGS+= --with-s7 .else CONFIGURE_ARGS+= --without-s7 .endif .if ${PORT_OPTIONS:MLADSPA} BUILD_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa RUN_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa .else CONFIGURE_ARGS+= --without-ladspa .endif .if ${PORT_OPTIONS:MGTK2} USE_GNOME+= gtk20 CONFIGURE_ARGS+= --with-gtk .endif .if ${PORT_OPTIONS:MMOTIF} USES+= motif CONFIGURE_ARGS+= --with-motif .endif .if ${PORT_OPTIONS:MX11} CONFIGURE_ARGS+= --with-no-gui .endif post-patch: @${REINPLACE_CMD} -e 's|^ _Complex| Vaiolate _Complex|g ; \ s|-O2 -I|-I|g ; \ s|LDFLAGS -ldl|LDFLAGS|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|^sndinfo:|snd-info:|g ; \ s|-o sndinfo|-o snd-info|g' ${WRKSRC}/makefile.in do-install: .for i in snd snd-info sndplay ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_MAN} ${WRKSRC}/snd.1 ${STAGEDIR}${MANPREFIX}/man/man1/ .if ${PORT_OPTIONS:MS7} @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.scm ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DATADIR}/tools ${INSTALL_DATA} ${WRKSRC}/tools/*.scm ${STAGEDIR}${DATADIR}/tools @${MKDIR} ${STAGEDIR}${DATADIR}/sndins/samples ${INSTALL_DATA} ${WRKSRC}/sndins/samples/*.scm ${STAGEDIR}${DATADIR}/sndins/samples .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in HISTORY.Snd README.Snd ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}/pix ${INSTALL_DATA} ${WRKSRC}/pix/*.png ${STAGEDIR}${DOCSDIR}/pix cd ${WRKSRC} && ${PAX} -r -w tutorial ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/DotEmacs ${STAGEDIR}${EXAMPLESDIR} .endif .include diff --git a/benchmarks/flowgrind/Makefile b/benchmarks/flowgrind/Makefile index 3e060e2b608b..147c2696929e 100644 --- a/benchmarks/flowgrind/Makefile +++ b/benchmarks/flowgrind/Makefile @@ -1,34 +1,35 @@ # Created by: Lars Eggert # $FreeBSD$ PORTNAME= flowgrind PORTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= benchmarks MAINTAINER= lars@eggert.org COMMENT= Measure throughput and other metrics for TCP LICENSE= GPLv3 BUILD_DEPENDS= pcap-config:${PORTSDIR}/net/libpcap LIB_DEPENDS= libpcap.so:${PORTSDIR}/net/libpcap \ libgsl.so:${PORTSDIR}/math/gsl \ libxmlrpc.so:${PORTSDIR}/net/xmlrpc-c USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_TAGNAME= ${PORTNAME}-${PORTVERSION} GH_COMMIT= 14b0578 USE_AUTOTOOLS= aclocal autoconf GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-pcap --enable-gsl post-patch: @${RM} -rf ${WRKSRC}/build-aux @${REINPLACE_CMD} -e 's|AC_LIB_RPATH||g' ${WRKSRC}/configure.ac pre-configure: cd ${WRKSRC} && ${AUTORECONF} -i .include diff --git a/benchmarks/sipp/Makefile b/benchmarks/sipp/Makefile index eaeccd712eac..2a8932727202 100644 --- a/benchmarks/sipp/Makefile +++ b/benchmarks/sipp/Makefile @@ -1,96 +1,97 @@ # Created by: jesper@jdn.dk # $FreeBSD$ PORTNAME= sipp PORTVERSION= 3.3 +PORTREVISION= 1 CATEGORIES= benchmarks net MASTER_SITES= SF MASTER_SITE_SUBDIR= sipp/sipp/${PORTVERSION} DISTNAME= ${PORTNAME}-3.3beta2 MAINTAINER= ports@FreeBSD.org COMMENT= SIP benchmarking and testing tool LICENSE= GPLv2 PLIST_FILES= bin/sipp man/man1/sipp.1.gz USES= gmake CPP= ${CXX} MAKE_ENV+= CCLINK="${CXX}" CPPFLAGS+= ${CXXFLAGS} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= OPENSSL GSL PCAPPLAY OPTIONS_DEFAULT= OPENSSL OPENSSL_DESC= OpenSSL support (for digest auth and SIP over TLS) GSL_DESC= GSL support (for statistical distributed pauses) PCAPPLAY_DESC= RTP play support .include .if ${PORT_OPTIONS:MGSL} LIB_DEPENDS+= libgsl.so:${PORTSDIR}/math/gsl MAKE_ENV+= EXTRACPPFLAGS=-DHAVE_GSL \ EXTRACFLAGS=-DHAVE_GSL \ EXTRALIBS='-lgsl -lgslcblas' .endif #defined(WITH_GSL) .if ${PORT_OPTIONS:MPCAPPLAY} PCAP_FILES= dtmf_2833_0.pcap dtmf_2833_1.pcap dtmf_2833_2.pcap \ dtmf_2833_3.pcap dtmf_2833_4.pcap dtmf_2833_5.pcap \ dtmf_2833_6.pcap dtmf_2833_7.pcap dtmf_2833_8.pcap \ dtmf_2833_9.pcap dtmf_2833_pound.pcap dtmf_2833_star.pcap \ g711a.pcap PLIST_DIRS= %%DATADIR%%/pcap \ %%DATADIR%% .for f in ${PCAP_FILES} PLIST_FILES+= %%DATADIR%%/pcap/${f} .endfor .endif #defined(WITH_PCAPPLAY) .if ${PORT_OPTIONS:MOPENSSL} .if ${PORT_OPTIONS:MPCAPPLAY} ALL_TARGET= pcapplay_ossl .else ALL_TARGET= ossl .endif #defined(WITH_PCAPPLAY) .else # ! ${PORT_OPTIONS:MOPENSSL} .if ${PORT_OPTIONS:MPCAPPLAY} ALL_TARGET= pcapplay .endif #defined(WITH_PCAPPLAY) .endif #defined(WITHOUT_OPENSSL) post-patch: .if ${ARCH} == "ia64" @${REINPLACE_CMD} 's/^\(MFLAGS_ia64=\)\+DD64$$/\1/' ${WRKSRC}/Makefile .endif .if ${PORT_OPTIONS:MPCAPPLAY} @${REINPLACE_CMD} \ 's|\(\\"\)\(pcap/[^"]*\.pcap\\"\)|\1${DATADIR}/\2|' \ ${WRKSRC}/scenario.cpp .endif #defined(WITH_PCAPPLAY) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${FILESDIR}/sipp.1 ${STAGEDIR}${PREFIX}/man/man1 .if ${PORT_OPTIONS:MPCAPPLAY} ${MKDIR} ${STAGEDIR}${DATADIR}/pcap .for f in ${PCAP_FILES} ${INSTALL_DATA} ${WRKSRC}/pcap/${f} ${STAGEDIR}${DATADIR}/pcap/${f} .endfor .endif #defined(WITH_PCAPPLAY) .include diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile index 39c903fe2ebd..05ff2e1fbfeb 100644 --- a/comms/gnuradio/Makefile +++ b/comms/gnuradio/Makefile @@ -1,153 +1,153 @@ # $FreeBSD$ PORTNAME= gnuradio PORTVERSION= 3.7.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms astro hamradio MASTER_SITES= http://gnuradio.org/releases/gnuradio/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= db MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio Software defined radio BUILD_DEPENDS= sdl-config:${PORTSDIR}/devel/sdl12 \ swig2.0:${PORTSDIR}/devel/swig20 \ cheetah:${PORTSDIR}/devel/py-cheetah \ py*-lxml>=0:${PORTSDIR}/devel/py-lxml \ ${PYNUMPY} \ ${PYTHON_SITELIBDIR}/pygtk.py:${PORTSDIR}/x11-toolkits/py-gtk2 \ ${PYTHON_SITELIBDIR}/PyQt4/Qt.py:${PORTSDIR}/devel/py-qt4 \ xdg-open:${PORTSDIR}/devel/xdg-utils \ guile:${PORTSDIR}/lang/guile \ icebox:${PORTSDIR}/devel/ice \ aconnect:${PORTSDIR}/audio/alsa-utils \ git:${PORTSDIR}/devel/git LIB_DEPENDS= libcppunit.so:${PORTSDIR}/devel/cppunit \ libfftw3.so:${PORTSDIR}/math/fftw3 \ libfftw3f.so:${PORTSDIR}/math/fftw3-float \ libqwt.so:${PORTSDIR}/x11-toolkits/qwt5 \ libboost_python.so:${PORTSDIR}/devel/boost-python-libs \ libportaudio.so.2:${PORTSDIR}/audio/portaudio2 \ libjack.so:${PORTSDIR}/audio/jack \ libasound.so:${PORTSDIR}/audio/alsa-lib \ libgsl.so:${PORTSDIR}/math/gsl RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_SITELIBDIR}/ephem/__init__.py:${PORTSDIR}/astro/pyephem\ ${PYTHON_SITELIBDIR}/PyQt4/Qt.py:${PORTSDIR}/devel/py-qt4 USES= iconv cmake:outsource perl5 shebangfix SHEBANG_FILES= grc/freedesktop/grc_setup_freedesktop.in CMAKE_ARGS+= -DSWIG_EXECUTABLE:STRING="${LOCALBASE}/bin/swig2.0" CMAKE_ARGS+= -DICONV_PREFIX:STRING="${ICONV_PREFIX}" \ -DICONV_LIB:STRING="X${ICONV_LIB}" \ -DICE_CONFIG_INCLUDE_DIR="${LOCALBASE}/include/" # for detailed debugging uncomment the next line #CMAKE_ARGS+= --debug-output --trace DOCSDIR= share/doc/${PORTNAME}-${PORTVERSION} USE_PYTHON= yes USE_WX= 3.0+ USE_QT4= gui xml qmake moc rcc uic WX_COMPS= wx wx:build wx:run python:build python:run USE_LDCONFIG= yes PLIST_SUB+= MAJOR_VERSION="3" OPTIONS_DEFINE= USRP TESTING # Unfortunately building docs on i386 fails OPTIONS_EXCLUDE_${i386}= DOCS # Yay. building docs is broken on 10 and HEAD too so turn them all off OPTIONS_EXCLUDE= DOCS # turn this off until usrp port is fixed on -10 and HEAD #OPTIONS_DEFAULT= USRP USRP_DESC= Include USRP support (UHD) from Ettus TESTING_DESC= Include testing support PLIST_SUB+= PORTVERSION=${PORTVERSION} .include # Only use port clang34 on 10 if not RELEASE. I think this should do it. .if ${OSVERSION} <= 1000510 && ${OSVERSION} > 1000000 # Debug hack #.if ${OSVERSION} <= 1200000 BUILD_DEPENDS+= clang34:${PORTSDIR}/lang/clang34 CC= clang34 CXX= clang++34 .endif .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen \ ${LOCALBASE}/bin/sphinx-apidoc:${PORTSDIR}/textproc/py-sphinx \ dot:${PORTSDIR}/graphics/graphviz \ xmlto:${PORTSDIR}/textproc/xmlto \ ${LOCALBASE}/lib/X11/fonts/freefont-ttf/fonts.scale:${PORTSDIR}/x11-fonts/freefont-ttf \ latex:${PORTSDIR}/print/teTeX CMAKE_ARGS+= -DENABLE_DOXYGEN:STRING="ON" CMAKE_ARGS+= -DENABLE_DOCS:STRING="ON" CMAKE_ARGS+= -DENABLE_BAD_BOOST="ON" HAVE_PORTDOCS= YES .else CMAKE_ARGS+= -DENABLE_DOXYGEN:STRING="OFF" CMAKE_ARGS+= -DENABLE_DOCS:STRING="OFF" CMAKE_ARGS+= -DENABLE_BAD_BOOST="ON" .endif .if ${PORT_OPTIONS:MUSRP} CMAKE_ARGS+= -DENABLE_GR_UHD:STRING="ON" BUILD_DEPENDS+= ${LOCALBASE}/include/uhd/config.hpp:${PORTSDIR}/comms/usrp PLIST_SUB+= UHD="" .else CMAKE_ARGS+= -DENABLE_GR_UHD:STRING="OFF" PLIST_SUB+= UHD="@comment " .endif .if ${PORT_OPTIONS:MTESTING} CMAKE_ARGS+= -DENABLE_TESTING:STRING="ON" BUILD_DEPENDS+= cppunit-config:${PORTSDIR}/devel/cppunit .else CMAKE_ARGS+= -DENABLE_TESTING:STRING="OFF" .endif post-patch: @${FIND} ${WRKSRC}/.. -name CMakeLists.txt | \ ${XARGS} ${REINPLACE_CMD} -e \ "s|{GR_LIBRARY_DIR}/pkgconfig|{GR_PKGCONFIG_DIR}/pkgconfig|g" @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/docs/doxygen/Doxyfile.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/FindPortaudio.cmake PLISTMAIN= pkg-plist.main PLISTDIRS= pkg-plist.dirs PLIST= ${WRKDIR}/.pkg-plist pre-install: @${RM} -f ${PLIST} @${CAT} ${PLISTMAIN} > ${PLIST} .if ${PORT_OPTIONS:MDOCS} @cd ${WRKDIR}/.build/docs/doxygen && ${FIND} html -type f | \ ${SED} -e 's|html|%%PORTDOCS%%%%DOCSDIR%%/html|' \ | ${SORT} >> ${PLIST} @cd ${WRKDIR}/.build/gr-trellis && ${FIND} doc -name \*.html -type f | \ ${SED} -e 's|doc|%%PORTDOCS%%%%DOCSDIR%%/html|' \ | ${SORT} >> ${PLIST} @cd ${WRKDIR}/.build/docs/doxygen && ${FIND} xml -type f | \ ${SED} -e 's|xml|%%PORTDOCS%%%%DOCSDIR%%/xml|' \ | ${SORT} >> ${PLIST} @cd ${WRKDIR}/.build/gr-trellis && ${FIND} doc -name \*.xml -type f | \ ${SED} -e 's|doc|%%PORTDOCS%%%%DOCSDIR%%/xml|' \ | ${SORT} >> ${PLIST} @${CAT} ${PLISTDIRS} >> ${PLIST} @cd ${WRKDIR}/.build/docs/doxygen && ${FIND} html -type d | ${SORT} -r | \ ${SED} -e 's|html|%%PORTDOCS%%@dirrm %%DOCSDIR%%/html|' \ >> ${PLIST} @cd ${WRKDIR}/.build/docs/doxygen && ${FIND} xml -type d | ${SORT} -r | \ ${SED} -e 's|xml|%%PORTDOCS%%@dirrm %%DOCSDIR%%/xml|' \ >> ${PLIST} @${ECHO_CMD} "%%PORTDOCS%%@dirrm %%DOCSDIR%%" >> ${PLIST} .else @${CAT} ${PLISTDIRS} >> ${PLIST} .endif .include diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile index 89060179efed..74c7d19a027a 100644 --- a/editors/calligra/Makefile +++ b/editors/calligra/Makefile @@ -1,115 +1,115 @@ # $FreeBSD$ PORTNAME= calligra PORTVERSION= ${CALLIGRA_VERSION} -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= editors kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${CALLIGRA_BRANCH}/${PORTNAME}-${PORTVERSION}/ DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= KDE graphic art and office suite LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libqca.so:${PORTSDIR}/devel/qca \ libexiv2.so:${PORTSDIR}/graphics/exiv2 \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libwpd-0.9.so:${PORTSDIR}/textproc/libwpd \ libwpg-0.2.so:${PORTSDIR}/graphics/libwpg \ libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4 \ libopenjpeg.so:${PORTSDIR}/graphics/openjpeg15 \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libdcmdata.so:${PORTSDIR}/devel/dcmtk \ libfftw3.so:${PORTSDIR}/math/fftw3 \ libtiff.so:${PORTSDIR}/graphics/tiff \ libgsl.so:${PORTSDIR}/math/gsl \ libwps-0.2.so:${PORTSDIR}/textproc/libwps \ libvisio-0.0.so:${PORTSDIR}/textproc/libvisio \ libOpenColorIO.so:${PORTSDIR}/graphics/opencolorio BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:${PORTSDIR}/math/eigen2 CONFLICTS= koffice-kde4-2.* CONFLICTS_BUILD=qt-3.* USE_GL= glew USE_GNOME= glib20 libxml2 libxslt USE_KDE4= kactivities kdehier kdelibs kdeprefix libkdcraw nepomuk-core \ okular pimlibs attica automoc4 soprano USE_QT4= corelib dbus designer_build gui opengl phonon porting_build \ qt3support qtestlib_build script sql svg webkit xml xmlpatterns \ moc_build qmake_build rcc_build uic_build uic3_build USE_SQLITE= 3 USES= cmake:outsource compiler:c++11-lang iconv perl5 pkgconfig tar:xz\ shared-mime-info CMAKE_ARGS= -DCMAKE_INCLUDE_PATH:STRING="${QT_INCDIR} ${LOCALBASE}/include" \ -DPRODUCTSET:STRING="DESKTOP" USE_LDCONFIG= yes OPTIONS_DEFINE= GTL MARBLE MYSQL PGSQL SYBASE OPTIONS_DEFAULT=MARBLE MYSQL PGSQL OPTIONS_SUB= yes GTL_DESC= Color transformations in Krita (requires LLVM) GTL_LIB_DEPENDS=libOpenCTL.so:${PORTSDIR}/graphics/opengtl \ libQtShiva.so:${PORTSDIR}/graphics/qtgtl GTL_CMAKE_OFF= -DWITH_OpenShiva:BOOL=FALSE \ -DWITH_QtShiva:BOOL=FALSE MARBLE_DESC= World globe widget support via Marble MARBLE_USE= KDE4=marble MARBLE_CMAKE_OFF=-DWITH_Marble:BOOL=FALSE MYSQL_DESC= MySQL database support in Kexi MYSQL_USE= MYSQL=yes MYSQL_CMAKE_OFF=-DWITH_MySQL:BOOL=FALSE PGSQL_DESC= PostgreSQL database support in Kexi PGSQL_LIB_DEPENDS=libpqxx-3.1.so:${PORTSDIR}/databases/postgresql-libpqxx3 PGSQL_USE= PGSQL=yes PGSQL_CMAKE_OFF=-DWITH_PostgreSQL:BOOL=FALSE SYBASE_DESC= Sybase database support in Kexi SYBASE_LIB_DEPENDS=libsybdb.so:${PORTSDIR}/databases/freetds SYBASE_CMAKE_OFF=-DWITH_FreeTDS:BOOL=FALSE .if exists(${LOCALBASE}/lib/pstoedit/libp2edrvlplot.so) BUILD_DEPENDS+= ${LOCALBASE}/lib/pstoedit/libp2edrvlplot.so:${PORTSDIR}/graphics/pstoedit RUN_DEPENDS+= ${LOCALBASE}/lib/pstoedit/libp2edrvlplot.so:${PORTSDIR}/graphics/pstoedit PLIST_SUB+= EPS="" .else PLIST_SUB+= EPS="@comment " .endif .if defined(PACKAGE_BUILDING) # Requires Vc (http://code.compeng.uni-frankfurt.de/projects/vc). CMAKE_ARGS+= -DWITH_PACKAGERS_BUILD:BOOL=TRUE .else CMAKE_ARGS+= -DWITH_PACKAGERS_BUILD:BOOL=FALSE .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|' \ ${PATCH_WRKSRC}/cmake/modules/FindGLEW.cmake @${REINPLACE_CMD} -e 's|/opt/local|${LOCALBASE}|' \ ${PATCH_WRKSRC}/cmake/modules/FindImageMagick.cmake @${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \ ${PATCH_WRKSRC}/cmake/modules/FindWPD.cmake @${REINPLACE_CMD} -e 's/^# *include *< *malloc\.h *>/#include /' \ ${PATCH_WRKSRC}/libs/db/parser/sqlparser.cpp \ ${PATCH_WRKSRC}/libs/db/parser/sqlparser.y \ ${PATCH_WRKSRC}/plan/plugins/schedulers/rcps/libs/src/*.c # They require memalign() to build; as they're not installed, they're just a # waste of CPU cycles. @${REINPLACE_CMD} -e '/add_subdirectory.*benchmarks/ d' \ ${PATCH_WRKSRC}/krita/CMakeLists.txt # Prevent updating MIME during build/install. @${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \ ${PATCH_WRKSRC}/filters/libmsooxml/CMakeLists.txt \ ${PATCH_WRKSRC}/krita/plugins/formats/ora/CMakeLists.txt .include diff --git a/graphics/amide/Makefile b/graphics/amide/Makefile index 52a5ae1a4688..f3f64cddbab5 100644 --- a/graphics/amide/Makefile +++ b/graphics/amide/Makefile @@ -1,60 +1,60 @@ # $FreeBSD$ PORTNAME= amide PORTVERSION= 1.0.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= SF MAINTAINER= madpilot@FreeBSD.org COMMENT= Medical Imaging Data Examiner LICENSE= GPLv2 BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 GNU_CONFIGURE= yes USE_CSTD= gnu89 MAKE_JOBS_UNSAFE= yes USES= gettext gmake pkgconfig tar:tgz USE_GNOME= gtk20 libgnomecanvas libgnomeui libxml2 gnomedocutils INSTALLS_OMF= yes OPTIONS_DEFINE= CODEC DCMTK GSL NLS VOLPACK XMEDCON OPTIONS_SINGLE= CODEC OPTIONS_SINGLE_CODEC= FFMPEG FAME OPTIONS_DEFAULT= CODEC DCMTK FFMPEG GSL VOLPACK XMEDCON CODEC_DESC= Enable codec support. Choose one of FAME or FFMPEG DCMTK_DESC= Use dcmtk FAME_DESC= Use libfame FFMPEG_DESC= Use ffmpeg GSL_DESC= Use gsl VOLPACK_DESC= Use volpack XMEDCON_DESC= Use xmedcon OPTIONS_SUB= yes DCMTK_CONFIGURE_ENABLE= libdcmdata DCMTK_LIB_DEPENDS= libdcmdata.so:${PORTSDIR}/devel/dcmtk FAME_CONFIGURE_ENABLE= libfame FAME_LIB_DEPENDS= libfame.so:${PORTSDIR}/multimedia/libfame FFMPEG_CONFIGURE_ENABLE= ffmpeg FFMPEG_LIB_DEPENDS= libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 GSL_CONFIGURE_ENABLE= libgsl GSL_LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl VOLPACK_CONFIGURE_ENABLE= libvolpack VOLPACK_BUILD_DEPENDS= ${LOCALBASE}/lib/libvolpack.a:${PORTSDIR}/graphics/volpack XMEDCON_CONFIGURE_ENABLE= libmdc XMEDCON_LIB_DEPENDS= libmdc.so:${PORTSDIR}/graphics/xmedcon NLS_CONFIGURE_ENABLE= nls post-patch: @${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \ ${WRKSRC}/amide_config.h.in @${REINPLACE_CMD} \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|libavcodec|libavcodec0|g' \ -e 's|libavutil|libavutil0|g' \ ${WRKSRC}/configure .include diff --git a/graphics/enblend/Makefile b/graphics/enblend/Makefile index fff90925ac57..bcaa170e38f8 100644 --- a/graphics/enblend/Makefile +++ b/graphics/enblend/Makefile @@ -1,54 +1,54 @@ # Created by: cartola@openit.com.br # $FreeBSD$ PORTNAME= enblend PORTVERSION= 4.1.1 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= SF/enblend/enblend-enfuse/enblend-enfuse-${PORTVERSION:R} DISTNAME= enblend-enfuse-${PORTVERSION} MAINTAINER= grog@FreeBSD.org COMMENT= Tool for image blending with multiresolution splines BUILD_DEPENDS= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo \ OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ libxmi.so:${PORTSDIR}/graphics/plotutils \ libtiff.so:${PORTSDIR}/graphics/tiff \ libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \ libvigraimpex.so:${PORTSDIR}/graphics/vigra \ libgsl.so:${PORTSDIR}/math/gsl RUN_DEPENDS= OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR USE_AUTOTOOLS= automake:env autoconf:env USES= gmake compiler:features makeinfo # We need a newer version of makeinfo for this. # Remove this line when we remove texinfo from the base system. CONFIGURE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo" USE_GL= glew glut GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-boost-filesystem CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lboost_system .include .if ${COMPILER_TYPE} == gcc # GCC 4.2 has some problems, see # http://groups.google.com/group/hugin-ptx/browse_thread/thread/725b1581c9889e37/50abe3387d61541a#50abe3387d61541a # Clang, on 10.0-RELEASE is fine. USE_GCC= yes .else CXXFLAGS+= -Wno-c++11-extensions .endif INFO= enfuse enblend PLIST_FILES= bin/enblend bin/enfuse man/man1/enblend.1.gz man/man1/enfuse.1.gz post-install: ${INSTALL_DATA} ${WRKSRC}/doc/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH} .include diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile index d45cf668e54b..6873279cab8c 100644 --- a/graphics/inkscape/Makefile +++ b/graphics/inkscape/Makefile @@ -1,73 +1,73 @@ # Created by: Alexander Nedotsukov # $FreeBSD$ PORTNAME= inkscape PORTVERSION= 0.48.4 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= graphics gnome MASTER_SITES= SF MASTER_SITE_SUBDIR=${PORTNAME:tl}/${PORTNAME:tl}/${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= Full featured open source SVG editor BUILD_DEPENDS= ${LOCALBASE}/include/boost/concept_check.hpp:${PORTSDIR}/devel/boost-libs LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \ libgc.so:${PORTSDIR}/devel/boehm-gc \ libgsl.so:${PORTSDIR}/math/gsl \ libgtkspell.so:${PORTSDIR}/textproc/gtkspell \ liblcms.so:${PORTSDIR}/graphics/lcms \ libwpg-0.2.so:${PORTSDIR}/graphics/libwpg \ libpng15.so:${PORTSDIR}/graphics/png \ libMagick++-6.Q*.so:${PORTSDIR}/graphics/ImageMagick RUN_DEPENDS= p5-XML-XQL>=0:${PORTSDIR}/textproc/p5-XML-XQL USE_GNOME= gtkmm24 intlhack libxslt USES= desktop-file-utils gettext gmake libtool pathfix perl5 \ pkgconfig shebangfix tar:bzip2 GNU_CONFIGURE= yes INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib python_OLD_CMD?=/usr/bin/env python python_CMD?= ${LOCALBASE}/bin/python2 SHEBANG_FILES= cxxtest/cxxtestgen.pl share/extensions/*.p[lm] \ share/extensions/*.py OPTIONS_DEFINE= GNOMEVFS POPPLER OPTIONS_DEFAULT=POPPLER POPPLER_DESC= PDF preview rendering GNOMEVFS_DESC= Use gnomevfs for loading files .include _CCVERSION!= ${CC} --version .if ${_CCVERSION:Mclang} CPPFLAGS+= -Wno-mismatched-tags .endif .if ${PORT_OPTIONS:MGNOMEVFS} USE_GNOME+= gnomevfs2 CONFIGURE_ARGS+= --with-gnome-vfs .else CONFIGURE_ARGS+= --without-gnome-vfs .endif .if ${PORT_OPTIONS:MPOPPLER} LIB_DEPENDS+= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib CONFIGURE_ARGS+= --enable-poppler-cairo .else CONFIGURE_ARGS+= --enable-poppler-cairo=no .endif post-patch: @${REINPLACE_CMD} -e 's|libpng >= 1.2|libpng15 >= 1.2|g' \ -e 's|-ldl||g' \ ${WRKSRC}/configure .if ! ${PORT_OPTIONS:MPOPPLER} @${REINPLACE_CMD} -e 's|poppler|pdisable|g' \ ${WRKSRC}/configure .endif .include diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index 6cfaebda4148..2a0bf3e94cca 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -1,63 +1,63 @@ # Created by: Yinghong Liu # $FreeBSD$ PORTNAME= luminance-hdr DISTVERSION= 2.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION} PKGNAMESUFFIX= -qt5 MAINTAINER= h2+fbsdports@fsfe.org COMMENT= Complete open source solution for HDR photography LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float \ libexiv2.so:${PORTSDIR}/graphics/exiv2 \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libtiff.so:${PORTSDIR}/graphics/tiff \ libgsl.so:${PORTSDIR}/math/gsl \ libraw_r.so:${PORTSDIR}/graphics/libraw \ libboost_system.so:${PORTSDIR}/devel/boost-libs USES= cmake:outsource tar:bzip2 USE_QT5= buildtools_build gui sql webkit xml linguist_build \ imageformats_run concurrent qmake_build INSTALLS_ICONS= yes MAKE_JOBS_UNSAFE=yes CONFLICTS_INSTALL= luminance-hdr-[0-9]* OPTIONS_DEFINE= DOCS .include .if ${OSVERSION} < 1000024 USE_GCC= yes .endif post-patch: # Do not install yet another copy of GPL (we use license framework instead) # and fix installation path for docs (but not for internal help files) @${REINPLACE_CMD} -e '/LICENSE/d ; \ /#info files/s,share/luminance-hdr,${DOCSDIR_REL},' \ ${WRKSRC}/CMakeLists.txt # Point to the right location for program where to look for GPL text @${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \ s,share/doc/luminance-hdr,share/licenses/${PKGNAME},' \ ${WRKSRC}/src/UI/UMessageBox.cpp # Allow builds from release distfile to display correct git hash in "About" # dialog window @${REINPLACE_CMD} -e \ 's,@GIT_SHA1@,be5409f2ed028b0a509d3f4cd44a970a09d2ef6c,' \ ${WRKSRC}/src/Common/GitSHA1.cpp.in pre-install: QT_BINDIR_REL=bin .include diff --git a/graphics/luminance/Makefile b/graphics/luminance/Makefile index 863a46c04a58..1f1ce26872d0 100644 --- a/graphics/luminance/Makefile +++ b/graphics/luminance/Makefile @@ -1,67 +1,67 @@ # Created by: Yinghong Liu # $FreeBSD$ PORTNAME= luminance-hdr DISTVERSION= 2.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION} MAINTAINER= h2+fbsdports@fsfe.org COMMENT= Complete open source solution for HDR photography LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float \ libexiv2.so:${PORTSDIR}/graphics/exiv2 \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ libtiff.so:${PORTSDIR}/graphics/tiff \ libgsl.so:${PORTSDIR}/math/gsl \ libraw_r.so:${PORTSDIR}/graphics/libraw \ libboost_system.so:${PORTSDIR}/devel/boost-libs USES= cmake tar:bzip2 USE_QT4= gui sql webkit xml linguist_build moc_build qmake_build \ rcc_build uic_build imageformats_run INSTALLS_ICONS= yes CONFLICTS_INSTALL= luminance-hdr-qt5-* OPTIONS_DEFINE= DOCS post-patch: # Do not install yet another copy of GPL (we use license framework instead) # and fix installation path for docs (but not for internal help files) @${REINPLACE_CMD} -e '/LICENSE/d ; \ /#info files/s,share/luminance-hdr,${DOCSDIR_REL},' \ ${WRKSRC}/CMakeLists.txt # Point to the right location for program where to look for GPL text @${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \ s,share/doc/luminance-hdr,share/licenses/${PKGNAME},' \ ${WRKSRC}/src/UI/UMessageBox.cpp # Allow builds from release distfile to display correct git hash in "About" # dialog window @${REINPLACE_CMD} -e \ 's,@GIT_SHA1@,be5409f2ed028b0a509d3f4cd44a970a09d2ef6c,' \ ${WRKSRC}/src/Common/GitSHA1.cpp.in # Include in addition to where necessary, as this # is required for building with libc++ @${REINPLACE_CMD} -E '1s|^|#include \|;' \ ${WRKSRC}/src/TonemappingOperators/drago03/pfstmo_drago03.cpp \ ${WRKSRC}/src/TonemappingOperators/reinhard02/pfstmo_reinhard02.cpp \ ${WRKSRC}/src/TonemappingOperators/reinhard05/pfstmo_reinhard05.cpp \ ${WRKSRC}/src/TonemappingOperators/mantiuk08/display_function.cpp \ ${WRKSRC}/src/TonemappingOperators/mantiuk08/display_size.cpp \ ${WRKSRC}/src/TonemappingOperators/mantiuk08/pfstmo_mantiuk08.cpp \ ${WRKSRC}/src/TonemappingOperators/fattal02/pfstmo_fattal02.cpp \ ${WRKSRC}/src/TonemappingOperators/durand02/pfstmo_durand02.cpp \ ${WRKSRC}/src/TonemappingOperators/pattanaik00/pfstmo_pattanaik00.cpp \ ${WRKSRC}/src/Libpfs/io/pfsreader.cpp \ ${WRKSRC}/src/Libpfs/io/rgbereader.cpp \ ${WRKSRC}/src/Libpfs/colorspace/colorspace.cpp .include diff --git a/graphics/nip2/Makefile b/graphics/nip2/Makefile index 1456c973e9b8..293434cfa6cc 100644 --- a/graphics/nip2/Makefile +++ b/graphics/nip2/Makefile @@ -1,51 +1,51 @@ # Created by: Lev Serebryakov # $FreeBSD$ PORTNAME= nip2 PORTVERSION= 7.40.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://www.vips.ecs.soton.ac.uk/supported/${PORTVERSION:R}/ MAINTAINER= ports@FreeBSD.org COMMENT= Graphical user interface for VIPS LICENSE= GPLv2 BUILD_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils LIB_DEPENDS= libgoffice-*.so:${PORTSDIR}/devel/goffice \ libgvc.so:${PORTSDIR}/graphics/graphviz \ libvips.so:${PORTSDIR}/graphics/vips \ libgsl.so:${PORTSDIR}/math/gsl RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils USES= bison desktop-file-utils dos2unix gettext gmake pkgconfig \ shared-mime-info DOS2UNIX_GLOB= *.def USE_GNOME= gnomemimedata gtk20 libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-update-desktop \ --without-goffice SUB_FILES= run-nip2.sh OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|/bin/bash|/bin/sh|' ${WRKSRC}/test/scripts/* post-install: (cd ${WRKDIR} && ${INSTALL_SCRIPT} run-nip2.sh \ ${STAGEDIR}/${PREFIX}/bin) test check: build # # Checks currently require ImageMagick's convert to be available # and aren't enabled by default. They take a long time -- tail # the log-file: # ${WRKSRC}/test/test_all.sh.log # (cd %{WRKSRC} && ${SETENV} {MAKE_ENV} ${MAKE_CMD} check) .include diff --git a/graphics/ocropus/Makefile b/graphics/ocropus/Makefile index 6f22a31c7a20..2003891b2553 100644 --- a/graphics/ocropus/Makefile +++ b/graphics/ocropus/Makefile @@ -1,60 +1,60 @@ # Created by: Hiroto Kagotani # $FreeBSD$ PORTNAME= ocropus PORTVERSION= 0.4 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= hiroto.kagotani@gmail.com COMMENT= The OCRopus(tm) open source document analysis and OCR system LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libtiff.so:${PORTSDIR}/graphics/tiff \ libiulib.so:${PORTSDIR}/graphics/iulib \ libgsl.so:${PORTSDIR}/math/gsl WRKSRC= ${WRKDIR}/ocropus-0.4/ocropus OPTIONS_DEFINE= SDL LEPTONICA SDL_DESC= Enable SDL for graphical debugging LEPTONICA_DESC= Enable Leptonica image analysis MAKE_JOBS_UNSAFE= yes USE_PYTHON_BUILD= yes USE_AUTOTOOLS= aclocal automake autoconf AUTOMAKE_ARGS= --add-missing USES= gmake CONFIGURE_ARGS= --without-fst --without-tesseract --with-iulib=${LOCALBASE} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MSDL} USE_SDL= sdl .else CONFIGURE_ARGS+=--without-SDL .endif .if ${PORT_OPTIONS:MLEPTONICA} LIB_DEPENDS+= liblept.so:${PORTSDIR}/graphics/leptonica .else CONFIGURE_ARGS+=--without-leptonica .endif pre-configure: @(cd ${CONFIGURE_WRKSRC} \ && ${SETENV} ${PYTHON_CMD} genAM.py >Makefile.am) run-autotools: run-autotools-aclocal run-autotools-automake run-autotools-autoconf run-autotools-autoconf: @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOCONF} \ ${AUTOCONF_ARGS}) @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|'\ ${WRKSRC}/configure .include diff --git a/graphics/pfstmo/Makefile b/graphics/pfstmo/Makefile index 85be1a90b6c2..3131d8cac48f 100644 --- a/graphics/pfstmo/Makefile +++ b/graphics/pfstmo/Makefile @@ -1,28 +1,29 @@ # Created by: Iouri V. Ivliev # $FreeBSD$ PORTNAME= pfstmo PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF MASTER_SITE_SUBDIR= pfstools/${PORTNAME}/${PORTVERSION} MAINTAINER= ii@any.com.ru COMMENT= Tone mapping operators LIB_DEPENDS= libpfs-1.2.so:${PORTSDIR}/graphics/pfstools \ libfftw3.so:${PORTSDIR}/math/fftw3 \ libfftw3f.so:${PORTSDIR}/math/fftw3-float \ libgsl.so:${PORTSDIR}/math/gsl PFS_CPPFLAGS= -I${LOCALBASE}/include PFS_LDFLAGS= -L${LOCALBASE}/lib GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV+= CPPFLAGS="${PFS_CPPFLAGS} ${DEBUG_FLAGS}" \ LDFLAGS="${PFS_LDFLAGS}" USES= gmake pkgconfig compiler:openmp .include diff --git a/graphics/qgis/Makefile b/graphics/qgis/Makefile index 6a444d4ce0cc..0931239fe27e 100644 --- a/graphics/qgis/Makefile +++ b/graphics/qgis/Makefile @@ -1,94 +1,95 @@ # Created by: Laurent Courty # $FreeBSD$ PORTNAME= qgis PORTVERSION= 2.4.0 +PORTREVISION= 1 CATEGORIES= graphics geography MAINTAINER= rhurlin@gwdg.de COMMENT= Geographical Information System (GIS) data viewer LICENSE= GPLv2 BUILD_DEPENDS= txt2tags:${PORTSDIR}/textproc/txt2tags LIB_DEPENDS= libgeos.so:${PORTSDIR}/graphics/geos \ libproj.so:${PORTSDIR}/graphics/proj \ libgsl.so:${PORTSDIR}/math/gsl \ libqwt.so:${PORTSDIR}/x11-toolkits/qwt5 \ libgdal.so:${PORTSDIR}/graphics/gdal \ libspatialite.so:${PORTSDIR}/databases/spatialite \ libspatialindex.so:${PORTSDIR}/devel/spatialindex \ libexecinfo.so:${PORTSDIR}/devel/libexecinfo WRKSRC= ${WRKDIR}/${PORTNAME}-QGIS-${GH_COMMIT} USE_GITHUB= GH_ACCOUNT= qgis GH_COMMIT= 00ab94f GH_TAGNAME= ${GH_COMMIT} USES= bison cmake gmake USE_PYTHON= yes USE_SQLITE= yes USE_QT4= gui svg xml network sql designer testlib linguist_build \ qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes OPTIONS_DEFINE= GRASS POSTGIS MAPSERVER PYTHON OPTIONS_DEFAULT= POSTGIS PYTHON .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 USES+= compiler:features .else USES+= compiler:gcc-c++11-lib .endif .if ${PORT_OPTIONS:MGRASS} CMAKE_ARGS+= -DWITH_GRASS:BOOL=TRUE -DGRASS_PREFIX=${LOCALBASE}/grass-6.4.3 RUN_DEPENDS+= ${LOCALBASE}/lib/gdalplugins/gdal_GRASS.so:${PORTSDIR}/graphics/gdal-grass FORCE_MAKE_JOBS= NO PLIST_SUB+= GRASS="" .else CMAKE_ARGS+= -DWITH_GRASS:BOOL=FALSE PLIST_SUB+= GRASS="@comment " .endif .if ${PORT_OPTIONS:MPOSTGIS} USE_PGSQL= YES CMAKE_ARGS+= -DWITH_POSTGRESQL:BOOL=TRUE PLIST_SUB+= PGSQL="" .else CMAKE_ARGS+= -DWITH_POSTGRESQL:BOOL=FALSE PLIST_SUB+= PGSQL="@comment " .endif .if ${PORT_OPTIONS:MMAPSERVER} CMAKE_ARGS+= -DWITH_MAPSERVER:BOOL=TRUE PLIST_SUB+= QGIS_FCGI="" LIB_DEPENDS+= libfcgi.so:${PORTSDIR}/www/fcgi .else CMAKE_ARGS+= -DWITH_MAPSERVER:BOOL=FALSE PLIST_SUB+= QGIS_FCGI="@comment " .endif .if ${PORT_OPTIONS:MPYTHON} CMAKE_ARGS+= -DWITH_BINDINGS:BOOL=TRUE PLIST_SUB+= QGIS_PYTHON="" BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sip>=4.14.6:${PORTSDIR}/devel/py-sip \ ${PYTHON_PKGNAMEPREFIX}qt4-xml>=4.5.4:${PORTSDIR}/textproc/py-qt4-xml \ ${PYTHON_SITELIBDIR}/PyQt4/Qsci.so:${PORTSDIR}/devel/py-qt4-qscintilla2 \ ${PYTHON_PKGNAMEPREFIX}qt4-gui>=4.8.5:${PORTSDIR}/x11-toolkits/py-qt4-gui \ ${PYTHON_PKGNAMEPREFIX}qt4-network>=4.8.5:${PORTSDIR}/net/py-qt4-network \ ${PYTHON_PKGNAMEPREFIX}qt4-svg>=4.8.5:${PORTSDIR}/graphics/py-qt4-svg \ ${PYTHON_PKGNAMEPREFIX}qt4-core>=4.8.5:${PORTSDIR}/devel/py-qt4-core \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.6:${PORTSDIR}/databases/py-sqlite3 RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/osgeo/gdal.pyc:${PORTSDIR}/graphics/py-gdal .else CMAKE_ARGS+= -DWITH_BINDINGS:BOOL=FALSE PLIST_SUB+= QGIS_PYTHON="@comment " .endif .include diff --git a/graphics/xaos/Makefile b/graphics/xaos/Makefile index 85367ef20aa4..08c1e839f9f5 100644 --- a/graphics/xaos/Makefile +++ b/graphics/xaos/Makefile @@ -1,65 +1,66 @@ # Created by: Joseph Koshy # $FreeBSD$ PORTNAME= xaos PORTVERSION= 3.6 +PORTREVISION= 1 CATEGORIES= graphics math MASTER_SITES= SF/${PORTNAME}/XaoS/${PORTVERSION} MAINTAINER= makc@FreeBSD.org COMMENT= Real-time fractal browser LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ libgsl.so:${PORTSDIR}/math/gsl USES= gmake GNU_CONFIGURE= yes OPTIONS_DEFINE= THREADS NLS OPTIONS_MULTI= DRIVER OPTIONS_MULTI_DRIVER= AALIB GTK2 X11 DRIVER_DESC= User Interface OPTIONS_DEFAULT= X11 OPTIONS_SUB= yes AALIB_LIB_DEPENDS= libaa.so:${PORTSDIR}/graphics/aalib AALIB_CONFIGURE_WITH= aa-driver AALIB_CONFIGURE_ON= ac_cv_aalib_ver_ok=yes GTK2_DESC= GTK+ User Interface (experimental) GTK2_USE= GNOME=gtk20 GTK2_USES= pkgconfig GTK2_CONFIGURE_WITH= gtk-driver X11_USE= XORG=x11,xext X11_CONFIGURE_WITH= x11-driver x NLS_USES= gettext iconv NLS_CONFIGURE_ENABLE= nls THREADS_DESC= Enable SMP support (experimental) THREADS_CONFIGURE_WITH= pthread THREADS_LIBS= ${PTHREAD_LIBS} CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INFO= xaos PLIST_SUB+= XAOSDIR="share/XaoS" DESKTOP_ENTRIES= "XaoS" "" "${PREFIX}/share/pixmaps/xaos.png" \ "xaos" "" false pre-configure: ${REINPLACE_CMD} -e 's,/usr\(/share/locale\),${PREFIX}\1,g' \ ${WRKSRC}/configure \ ${WRKSRC}/src/ui/ui.c ${REINPLACE_CMD} 's,malloc.h,stdlib.h,' \ ${WRKSRC}/src/ui/ui-drv/aa/ui_aa.c post-install: ${INSTALL_DATA} ${WRKSRC}/src/ui/ui-drv/qt/images/xaosbig.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/xaos.png .include diff --git a/lang/algol68g/Makefile b/lang/algol68g/Makefile index f2515330f1a4..12060e2cfbc0 100644 --- a/lang/algol68g/Makefile +++ b/lang/algol68g/Makefile @@ -1,45 +1,45 @@ # $FreeBSD$ PORTNAME= algol68g PORTVERSION= 2.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= http://jmvdveer.home.xs4all.nl/ MAINTAINER= johans@FreeBSD.org COMMENT= Algol 68 Genie compiler LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl OPTIONS_DEFINE= GNUPLOT PGSQL OPTIONS_DEFAULT=GNUPLOT PGSQL GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-compiler PLIST_DIRS= include/algol68g PLIST_FILES= bin/a68g man/man1/a68g.1.gz \ include/algol68g/a68g.h include/algol68g/a68g-config.h .include .if ${PORT_OPTIONS:MGNUPLOT} LIB_DEPENDS+= libplot.so:${PORTSDIR}/graphics/plotutils .else CONFIGURE_ARGS+=--disable-plotutils .endif .if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes .else CONFIGURE_ARGS+=--disable-postgresql .endif post-patch: # Skip broken check, assume our $CC works @${REINPLACE_CMD} -Ee 's/.*(\*-freebsd)/\1/' \ -e 's/"xgcc"/"x${CC}"/; s/-ldl //' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^install-data-am/s/install-docDATA//' \ ${WRKSRC}/Makefile.in .include diff --git a/lang/newlisp-devel/Makefile b/lang/newlisp-devel/Makefile index 78194af7a22c..1c5ef9f54040 100644 --- a/lang/newlisp-devel/Makefile +++ b/lang/newlisp-devel/Makefile @@ -1,179 +1,179 @@ # Created by: Stanislav Sedov # $FreeBSD$ PORTNAME= newlisp PORTVERSION= 10.5.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= http://www.newlisp.org/downloads/ PKGNAMESUFFIX= -devel EXTRACT_SUFX= .tgz MAINTAINER= olgeni@FreeBSD.org COMMENT= LISP like scripting language LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi CONFLICTS= newlisp-[0-9]* IGNORE= no development version currently available HAS_CONFIGURE= yes ALL_TARGET= default MAN1= newlisp.1 newlispdoc.1 REINPLACE_ARGS= -i "" MODULES= canvas cgi crypto ftp getopts infix macro odbc pop3 \ postscript smtp smtpx stat unix xmlrpc-client zlib DOCS= CHANGES CodePatterns.html ExpressionEvaluation.html \ MemoryManagement.html newLISP-${PORTVERSION}-Release.html \ manual_frame.html newLISPdoc.html \ newlisp_index.html newlisp_manual.html \ OPTIONS_DEFINE= GMP GSL MYSQL PGSQL SQLITE GUISERV DOCS EXAMPLES GSL_DESC= GSL (GNU Scientific Library) GUISERV_DESC= Install GUI server (in Java) .include CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "ia64" CFLAGS+= -DNEWLISP64 .endif .if ${PORT_OPTIONS:MGMP} LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp MODULES+= gmp PLIST_SUB+= GMP="" .else PLIST_SUB+= GMP="@comment " .endif .if ${PORT_OPTIONS:MGSL} LIB_DEPENDS+= libgsl.so:${PORTSDIR}/math/gsl MODULES+= gsl PLIST_SUB+= GSL="" .else PLIST_SUB+= GSL="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes MODULES+= mysql PLIST_SUB+= MYSQL="" .else PLIST_SUB+= MYSQL="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes MODULES+= postgres PLIST_SUB+= PGSQL="" .else PLIST_SUB+= PGSQL="@comment " .endif .if ${PORT_OPTIONS:MSQLITE} USE_SQLITE= 3 MODULES+= sqlite3 PLIST_SUB+= SQLITE="" .else PLIST_SUB+= SQLITE="@comment " .endif .if ${PORT_OPTIONS:MGUISERV} PLIST_SUB+= GUISERV="" .else PLIST_SUB+= GUISERV="@comment " .endif post-patch: @${REINPLACE_CMD} -E -e "s,install -m 644, \$${BSD_INSTALL_DATA},g" \ -e "s,install -m 755, \$${BSD_INSTALL_SCRIPT},g" \ -e "s,^(datadir=).*,\1${STAGEDIR}${PREFIX}/share,g" \ -e "s,^(bindir=).*,\1${STAGEDIR}${PREFIX}/bin,g" \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -E \ -e "s,/usr/(local/)?bin/newlisp,${PREFIX}/bin/newlisp,g" \ -e "s,/usr/(local/)?share/newlisp,${DATADIR},g" \ -e "s,/usr/(local/)?lib/newlisp.so,${PREFIX}/lib/newlisp.so,g"\ -e "s,/usr/bin,${PREFIX}/bin,g" \ -e "s,/usr/local/bin/vi,/usr/bin/vi,g" \ ${WRKSRC}/examples/* \ ${WRKSRC}/doc/* \ ${WRKSRC}/guiserver/*.lsp \ ${WRKSRC}/modules/* \ ${WRKSRC}/newlisp.c @${REINPLACE_CMD} -E -e \ "s,/usr/local/mysql/lib/(libmysqlclient.)dylib,${LOCALBASE}/lib/mysql/\1so.${MYSQL${MYSQL_VER}_LIBVER}," \ ${WRKSRC}/modules/mysql.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/(libsqlite)3.so,${LOCALBASE}/lib/\1${_SQLITE_VER}.so," \ ${WRKSRC}/modules/sqlite3.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libgmp.so,${LOCALBASE}/lib/libgmp.so," \ ${WRKSRC}/modules/gmp.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libgsl.so,${LOCALBASE}/lib/libgsl.so," \ ${WRKSRC}/modules/gsl.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libpq.so.5.1,${LOCALBASE}/lib/libpq.so.5," \ ${WRKSRC}/modules/postgres.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/share/newlisp,${LOCALBASE}/share/newlisp," \ ${WRKSRC}/newlisp.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/newlisp ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/util/newlispdoc ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/util ${INSTALL_DATA} ${WRKSRC}/util/syntax.cgi \ ${WRKSRC}/util/README.txt \ ${WRKSRC}/util/newlisp.jsf \ ${WRKSRC}/util/newlisp.vim \ ${WRKSRC}/util/standard.lsp \ ${STAGEDIR}${DATADIR}/util @${MKDIR} ${STAGEDIR}${DATADIR}/modules ${INSTALL_DATA} ${MODULES:S,^,${WRKSRC}/modules/,:S,$,.lsp,} \ ${STAGEDIR}${DATADIR}/modules ${INSTALL_MAN} ${WRKSRC}/doc/newlisp.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/newlispdoc.1 ${STAGEDIR}${PREFIX}/man/man1 .if ${PORT_OPTIONS:MGUISERV} @${MKDIR} ${STAGEDIR}${DATADIR}/guiserver @(cd ${WRKSRC}/guiserver/ && ${COPYTREE_SHARE} \*.lsp \ ${STAGEDIR}${DATADIR}/guiserver/ \ "! -name guiserver.lsp ! -name newlisp-edit.lsp") ${INSTALL_DATA} ${WRKSRC}/guiserver/guiserver.jar ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/guiserver/guiserver.lsp ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/guiserver/newlisp-edit.lsp \ ${STAGEDIR}${PREFIX}/bin/newlisp-edit .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} .if ${PORT_OPTIONS:MGUISERV} @${MKDIR} ${STAGEDIR}${DOCSDIR}/guiserver ${INSTALL_DATA} ${WRKSRC}/guiserver/index.html \ ${WRKSRC}/guiserver/guiserver.lsp.html \ ${STAGEDIR}${DOCSDIR}/guiserver .endif .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .endif .include diff --git a/lang/newlisp/Makefile b/lang/newlisp/Makefile index 8149066ff394..d89141022be5 100644 --- a/lang/newlisp/Makefile +++ b/lang/newlisp/Makefile @@ -1,177 +1,177 @@ # Created by: Stanislav Sedov # $FreeBSD$ PORTNAME= newlisp PORTVERSION= 10.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= http://www.newlisp.org/downloads/ MAINTAINER= olgeni@FreeBSD.org COMMENT= LISP like scripting language LICENSE= GPLv3 LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi CONFLICTS= newlisp-devel-[0-9]* USES= readline tar:tgz HAS_CONFIGURE= yes ALL_TARGET= default REINPLACE_ARGS= -i "" MODULES= canvas cgi crypto ftp getopts infix odbc pop3 \ postscript smtp smtpx stat unix xmlrpc-client zlib DOCS= CHANGES CodePatterns.html ExpressionEvaluation.html \ MemoryManagement.html newLISP-${PORTVERSION}-Release.html \ manual_frame.html newLISPdoc.html \ newlisp_index.html newlisp_manual.html \ OPTIONS_DEFINE= GMP GSL MYSQL PGSQL SQLITE GUISERV DOCS EXAMPLES GSL_DESC= GSL (GNU Scientific Library) GUISERV_DESC= Install GUI server (in Java) .include CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "ia64" CFLAGS+= -DNEWLISP64 .endif .if ${PORT_OPTIONS:MGMP} LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp MODULES+= gmp PLIST_SUB+= GMP="" .else PLIST_SUB+= GMP="@comment " .endif .if ${PORT_OPTIONS:MGSL} LIB_DEPENDS+= libgsl.so:${PORTSDIR}/math/gsl MODULES+= gsl PLIST_SUB+= GSL="" .else PLIST_SUB+= GSL="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes MODULES+= mysql PLIST_SUB+= MYSQL="" .else PLIST_SUB+= MYSQL="@comment " .endif .if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes MODULES+= postgres PLIST_SUB+= PGSQL="" .else PLIST_SUB+= PGSQL="@comment " .endif .if ${PORT_OPTIONS:MSQLITE} USE_SQLITE= 3 MODULES+= sqlite3 PLIST_SUB+= SQLITE="" .else PLIST_SUB+= SQLITE="@comment " .endif .if ${PORT_OPTIONS:MGUISERV} PLIST_SUB+= GUISERV="" .else PLIST_SUB+= GUISERV="@comment " .endif post-patch: @${REINPLACE_CMD} -E -e "s,install -m 644, \$${BSD_INSTALL_DATA},g" \ -e "s,install -m 755, \$${BSD_INSTALL_SCRIPT},g" \ -e "s,^(datadir=).*,\1${STAGEDIR}${PREFIX}/share,g" \ -e "s,^(bindir=).*,\1${STAGEDIR}${PREFIX}/bin,g" \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -E \ -e "s,/usr/(local/)?bin/newlisp,${PREFIX}/bin/newlisp,g" \ -e "s,/usr/(local/)?share/newlisp,${DATADIR},g" \ -e "s,/usr/(local/)?lib/newlisp.so,${PREFIX}/lib/newlisp.so,g"\ -e "s,/usr/bin,${PREFIX}/bin,g" \ -e "s,/usr/local/bin/vi,/usr/bin/vi,g" \ ${WRKSRC}/examples/* \ ${WRKSRC}/doc/* \ ${WRKSRC}/guiserver/*.lsp \ ${WRKSRC}/modules/* \ ${WRKSRC}/newlisp.c @${REINPLACE_CMD} -E -e \ "s,/usr/local/mysql/lib/(libmysqlclient.)dylib,${LOCALBASE}/lib/mysql/\1so.${MYSQL${MYSQL_VER}_LIBVER}," \ ${WRKSRC}/modules/mysql.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/(libsqlite)3.so,${LOCALBASE}/lib/\1${_SQLITE_VER}.so," \ ${WRKSRC}/modules/sqlite3.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libgmp.so,${LOCALBASE}/lib/libgmp.so," \ ${WRKSRC}/modules/gmp.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libgsl.so,${LOCALBASE}/lib/libgsl.so," \ ${WRKSRC}/modules/gsl.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/local/lib/libpq.so.5.1,${LOCALBASE}/lib/libpq.so.5," \ ${WRKSRC}/modules/postgres.lsp @${REINPLACE_CMD} -E -e \ "s,/usr/share/newlisp,${LOCALBASE}/share/newlisp," \ ${WRKSRC}/newlisp.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/newlisp ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/util/newlispdoc ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/util ${INSTALL_DATA} ${WRKSRC}/util/syntax.cgi \ ${WRKSRC}/util/README.txt \ ${WRKSRC}/util/newlisp.jsf \ ${WRKSRC}/util/newlisp.vim \ ${WRKSRC}/util/standard.lsp \ ${STAGEDIR}${DATADIR}/util @${MKDIR} ${STAGEDIR}${DATADIR}/modules ${INSTALL_DATA} ${MODULES:S,^,${WRKSRC}/modules/,:S,$,.lsp,} \ ${STAGEDIR}${DATADIR}/modules ${INSTALL_MAN} ${WRKSRC}/doc/newlisp.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/newlispdoc.1 ${STAGEDIR}${PREFIX}/man/man1 .if ${PORT_OPTIONS:MGUISERV} @${MKDIR} ${STAGEDIR}${DATADIR}/guiserver @(cd ${WRKSRC}/guiserver/ && ${COPYTREE_SHARE} \*.lsp \ ${STAGEDIR}${DATADIR}/guiserver/ \ "! -name guiserver.lsp ! -name newlisp-edit.lsp") ${INSTALL_DATA} ${WRKSRC}/guiserver/guiserver.jar ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/guiserver/guiserver.lsp ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/guiserver/newlisp-edit.lsp \ ${STAGEDIR}${PREFIX}/bin/newlisp-edit .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} .if ${PORT_OPTIONS:MGUISERV} @${MKDIR} ${STAGEDIR}${DOCSDIR}/guiserver ${INSTALL_DATA} ${WRKSRC}/guiserver/index.html \ ${WRKSRC}/guiserver/guiserver.lsp.html \ ${STAGEDIR}${DOCSDIR}/guiserver .endif .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .endif .include diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile index 592294fc0f86..b0568d6da368 100644 --- a/mail/bogofilter/Makefile +++ b/mail/bogofilter/Makefile @@ -1,97 +1,97 @@ # Created by: Matthias Andree # $FreeBSD$ PORTNAME= bogofilter PORTVERSION= 1.2.4 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES?= mail MASTER_SITES= SF/bogofilter/bogofilter-current/bogofilter-${PORTVERSION} MAINTAINER?= mandree@FreeBSD.org COMMENT= Fast, teachable, learning spam detector .if !defined(MASTERDIR) || ${MASTERDIR} == ${.CURDIR} # building master port USE_BDB= 41+ .endif OPTIONS_DEFINE= GSL UNICODE DOCS OPTIONS_DEFAULT= GSL UNICODE GSL_DESC= Link with system-wide GSL dynamically (recommended) UNICODE_DESC= Normalize tokens to Unicode (UTF-8) (recommended) CONFLICTS_INSTALL?= bogofilter-sqlite-[0-9]* bogofilter-qdbm-[0-9]* bogofilter-tc-[0-9]* [a-z][a-z]-bogofilter-[0-9]* USES= perl5 tar:bzip2 USE_PERL5= run GNU_CONFIGURE= yes UNICODE_USES= iconv UNICODE_CONFIGURE_ENABLE= unicode GSL_LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl GSL_CONFIGURE_ARGS_OFF= --with-included-gsl PORTDOCS= * .include .if ${ARCH} == "sparc64" BROKEN= Fails to package on sparc64: fails self-tests .endif BF_LIBS?= -l${BDB_LIB_NAME} BF_CPPFLAGS?= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc .if ${PORT_OPTIONS:MUNICODE} BF_LIBS+= ${ICONV_LIB} .endif CPPFLAGS+= ${BF_CPPFLAGS} LIBS+= -L${LOCALBASE}/lib ${BF_LIBS} CONFIGURE_ENV+= PERL="${PERL}" INSTALL_TARGET= install-strip prefix=${PREFIX} mandir=${MANPREFIX}/man post-patch: ${REINPLACE_CMD} -e 's|^#!.*perl|#! ${PERL}|' \ ${WRKSRC}/src/tests/unsort.pl \ ${WRKSRC}/contrib/*.pl ${REINPLACE_CMD} -e 's/INTEGRITY_TESTS = t.lock1 t.lock3 t.valgrind/INTEGRITY_TESTS = t.lock1/' \ -e 's/ENVIRON_TESTS = t.abort/ENVIRON_TESTS =/' \ ${WRKSRC}/src/tests/Makefile.am # XXX: disable self-tests until issue with automake-1.13 is sorted out # post-build:: # cd ${WRKSRC}/src && make check SHELL=${SH} post-install:: @${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib .for i in html programmer xml @${MKDIR} ${STAGEDIR}${DOCSDIR}/${i} .endfor .for i in AUTHORS COPYING INSTALL NEWS README README.svn \ doc/README.validation TODO GETTING.STARTED \ RELEASE.NOTES doc/README.db doc/README.sqlite \ doc/integrating-with-postfix doc/integrating-with-qmail \ doc/bogofilter-tuning.HOWTO.html doc/bogofilter-SA-* \ doc/bogofilter-faq.html doc/bogofilter-faq-fr.html ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .for i in README.randomtrain README.contrib ${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${DOCSDIR}/contrib/${i} .endfor ${INSTALL_DATA} ${WRKSRC}/trio/AUTHORS ${STAGEDIR}${DOCSDIR}/AUTHORS.trio ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/*.xml ${STAGEDIR}${DOCSDIR}/xml ${INSTALL_DATA} ${WRKSRC}/doc/programmer/README.freebsd ${STAGEDIR}${DOCSDIR}/programmer ${INSTALL_PROGRAM} ${WRKSRC}/bogogrep ${STAGEDIR}${PREFIX}/bin/ .for i in bfproxy.pl bogofilter-milter.pl bogo.R bogofilter-qfe.sh \ mime.get.rfc822.pl parmtest.sh printmaildir.pl \ bogominitrain.pl \ randomtrain.sh scramble.sh spamitarium.pl stripsearch.pl trainbogo.sh ${INSTALL_SCRIPT} ${WRKSRC}/contrib/${i} ${STAGEDIR}${DOCSDIR}/contrib/${i} .endfor .for i in dot-qmail-bogofilter-default \ mailfilter.example procmailrc.example vm-bogofilter.el ${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${DOCSDIR}/contrib/${i} .endfor .include diff --git a/math/PDL/Makefile b/math/PDL/Makefile index b3ffc2a61a50..0432762b2acc 100644 --- a/math/PDL/Makefile +++ b/math/PDL/Makefile @@ -1,127 +1,127 @@ # Created by: Anton Berezin # $FreeBSD$ PORTNAME= PDL PORTVERSION= 2.4.11 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math perl5 MASTER_SITES= CPAN/${PORTNAME}:cpan \ SF/pdl/PDL/${PORTVERSION}:sf DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:cpan,sf MAINTAINER= ports@FreeBSD.org COMMENT= Perl Data Language BUILD_DEPENDS= p5-Astro-FITS-Header>=0:${PORTSDIR}/astro/p5-Astro-FITS-Header \ p5-Convert-UU>=0:${PORTSDIR}/converters/p5-Convert-UU \ p5-File-Map>=0.47:${PORTSDIR}/devel/p5-File-Map \ p5-Inline>=0.43:${PORTSDIR}/devel/p5-Inline RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gmake perl5 USE_PERL5= configure MAKE_ENV= PERL5LIB=${WRKSRC}/blib/lib PLIST_DIRS= ${SITE_PERL_REL}/${PERL_ARCH}/Inline PLIST_FILES= bin/pdl bin/pdldoc bin/perldl bin/pptemplate \ ${SITE_PERL_REL}/${PERL_ARCH}/Inline/Pdlpp.pm \ ${SITE_PERL_REL}/${PERL_ARCH}/Inline/MakePdlppInstallable.pm MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= PGPLOT PLPLOT OPENGL GD FFTW GSL HDF PROJ F77 READLINE SINK OPTIONS_DEFAULT= PGPLOT OPENGL FFTW F77 PGPLOT_DESC= Enable PDL::Graphics::PGPLOT PLPLOT_DESC= Enable PDL::Graphics::PLplot OPENGL_DESC= Enable PDL::Graphics::TriD and OpenGL GD_DESC= Enable PDL::IO::GD FFTW_DESC= Enable PDL::FFTW GSL_DESC= Enable PDL::GSL interface HDF_DESC= Enable PDL::IO::HDF interface PROJ_DESC= Enable PDL::GIS::Proj interface F77_DESC= Enable PDL::Minuit and PDL::Slatec READLINE_DESC= Use GNU readline SINK_DESC= Include PDL kitchen sink NO_STAGE= yes .include .if ${PORT_OPTIONS:MPGPLOT} BUILD_DEPENDS+= p5-PGPLOT>=0:${PORTSDIR}/graphics/p5-PGPLOT .endif .if ${PORT_OPTIONS:MPLPLOT} LIB_DEPENDS+= libplplotd.so:${PORTSDIR}/math/plplot .endif .if ${PORT_OPTIONS:MOPENGL} BUILD_DEPENDS+= p5-OpenGL>=0.65:${PORTSDIR}/graphics/p5-OpenGL RUN_DEPENDS+= p5-OpenGL>=0.65:${PORTSDIR}/graphics/p5-OpenGL USE_GL= yes .endif .if ${PORT_OPTIONS:MGD} LIB_DEPENDS+= libgd.so:${PORTSDIR}/graphics/gd .endif .if ${PORT_OPTIONS:MF77} BUILD_DEPENDS+= p5-ExtUtils-F77>=0:${PORTSDIR}/lang/p5-ExtUtils-F77 .endif .if ${PORT_OPTIONS:MFFTW} LIB_DEPENDS+= libfftw.so:${PORTSDIR}/math/fftw .endif .if ${PORT_OPTIONS:MGSL} LIB_DEPENDS+= libgsl.so:${PORTSDIR}/math/gsl .endif .if ${PORT_OPTIONS:MHDF} LIB_DEPENDS+= libdf.so:${PORTSDIR}/science/hdf .endif .if ${PORT_OPTIONS:MPROJ} LIB_DEPENDS+= libproj.so:${PORTSDIR}/graphics/proj .endif .if ${PORT_OPTIONS:MREADLINE} RUN_DEPENDS+= p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu .else RUN_DEPENDS+= p5-ReadLine-Perl>=0:${PORTSDIR}/devel/p5-ReadLine-Perl .endif .if ${PORT_OPTIONS:MSINK} RUN_DEPENDS+= ppmtogif:${PORTSDIR}/graphics/netpbm \ mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode \ saoimage:${PORTSDIR}/astro/saoimage .endif post-patch: @${GREP} -lR '#!/usr/local/bin/perl' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|#!/usr/local/bin/perl|#!${PERL}|' -i '' @${GREP} -lR 'x86_64' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|x86_64|amd64|g' -i '' @${REINPLACE_CMD} -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|' ${WRKSRC}/perldl.conf @${REINPLACE_CMD} -e "/POSIX_THREADS_LIBS/ s|undef|'${PTHREAD_LIBS}'|" \ -e '/WITH_IO_BROWSER/ s|0|1|' -e '/WITH_DEVEL_REPL/ s|1|0|' ${WRKSRC}/perldl.conf @${REINPLACE_CMD} -e '/^#include /d' ${WRKSRC}/Basic/Math/mconf.h @${REINPLACE_CMD} -e '/^require PDL::Core::Dev;/d' ${WRKSRC}/IO/Browser/Makefile.PL test: build @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} make test # autogen plist post-install: @(cd ${WRKSRC}; ${PERL} Doc/scantree.pl) @(cd ${WRKSRC}/blib/man3 ; \ ${FIND} *.3 | ${SED} "s,^,${MAN3PREFIX:S,^${PREFIX}/,,}/man/man3/," \ >> ${TMPPLIST} ; \ cd ${WRKSRC}/blib/man1 ; \ ${FIND} *.1 | ${SED} "s,^,man/man1/," >> ${TMPPLIST}) @(${FIND} ${SITE_PERL}/${PERL_ARCH}/PDL* -type f | \ ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} ; \ ${FIND} ${SITE_PERL}/${PERL_ARCH}/PDL* -type d | ${SORT} -r | \ ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST} ; \ ${FIND} ${SITE_PERL}/${PERL_ARCH}/auto/PDL -type f | \ ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} ; \ ${FIND} ${SITE_PERL}/${PERL_ARCH}/auto/PDL -type d | ${SORT} -r | \ ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}) .include diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile index 7e4af8a6b71b..8adf46219f18 100644 --- a/math/asymptote/Makefile +++ b/math/asymptote/Makefile @@ -1,97 +1,97 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= asymptote PORTVERSION= 2.32 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= SF MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= nivit@FreeBSD.org COMMENT= Powerful script-based vector graphics language LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual LIB_DEPENDS= libgc-threaded.so:${PORTSDIR}/devel/boehm-gc-threaded RUN_DEPENDS= animate:${PORTSDIR}/graphics/ImageMagick \ gv:${PORTSDIR}/print/gv \ ${PYTHON_PKGNAMEPREFIX}imaging>=1.1.6_3:${PORTSDIR}/graphics/py-imaging \ ${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter ALL_TARGET= asy asy-keywords.el CONFIGURE_ARGS= --enable-gc CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes INSTALL_TARGET= install-asy MAKE_ENV= ${CONFIGURE_ENV} ASYMPTOTE_HOME=${WRKDIR} HOME=${WRKDIR} MAKE_JOBS_UNSAFE= yes ONLY_FOR_ARCHS= i386 amd64 USES= gmake perl5 tar:tgz USE_AUTOTOOLS= autoconf aclocal USE_GHOSTSCRIPT=yes USE_GL= glut USE_PERL5= build USE_PYTHON= yes USE_TEX= dvipsk formats texlive WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} # Options DOCS_BUILD_DEPENDS= texi2dvi:${PORTSDIR}/print/texinfo DOCS_CONFIGURE_WITH= docdir=${DOCSDIR} FFTW_CONFIGURE_ENABLE= fftw FFTW_DESC= Use FFTW to compute the Discrete Fourier Transform FFTW_LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 GSL_CONFIGURE_ENABLE= gsl GSL_DESC= Enable GNU Scientific library GSL_LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl MANPAGES_BUILD_DEPENDS= texi2dvi:${PORTSDIR}/print/texinfo OFFSCREEN_CONFIGURE_ENABLE= offscreen OFFSCREEN_DESC= Enable offscreen rendering using OSMesa library OFFSCREEN_LIB_DEPENDS= libOSMesa.so:${PORTSDIR}/graphics/libosmesa OPTIONS_DEFAULT= FFTW GSL MANPAGES READLINE OPTIONS_DEFINE= DOCS EXAMPLES FFTW GSL MANPAGES OFFSCREEN READLINE READLINE_CONFIGURE_ENABLE= readline READLINE_DESC= ${LIBEDIT_DESC} .include # Documentation .if ${PORT_OPTIONS:MDOCS} ALL_TARGET+= html INSTALL_TARGET+= install-html .endif .if ${PORT_OPTIONS:MMANPAGES} INFO= asy-faq ALL_TARGET+= man INSTALL_TARGET+= install-man .endif post-patch: @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},1' -i.bak ${WRKSRC}/settings.cc run-autotools: @(cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} --force --install) post-install: @(cd ${STAGEDIR}${PREFIX}/bin && \ ${LN} -sf ../share/asymptote/GUI/xasy.py xasy) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/asy .include diff --git a/math/dieharder/Makefile b/math/dieharder/Makefile index bf32f88181dd..fa8249b58ed6 100644 --- a/math/dieharder/Makefile +++ b/math/dieharder/Makefile @@ -1,34 +1,34 @@ # Created by: bf # $FreeBSD$ PORTNAME= dieharder PORTVERSION= 3.31.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= http://www.phy.duke.edu/~rgb/General/dieharder/ LOCAL/bf MAINTAINER= bf@FreeBSD.org COMMENT= Random number generator testsuite LICENSE= GPLv2 LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl MAKE_JOBS_UNSAFE= yes USES= dos2unix libtool tar:tgz GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes .include .if ${ARCH} == "ia64" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64 or sparc64 .endif check test: build ${WRKSRC}/dieharder/dieharder -a .include diff --git a/math/fflas-ffpack/Makefile b/math/fflas-ffpack/Makefile index ec6483d44834..f058c17fbbf2 100644 --- a/math/fflas-ffpack/Makefile +++ b/math/fflas-ffpack/Makefile @@ -1,109 +1,109 @@ # Created by: b.f. # $FreeBSD$ PORTNAME= fflas-ffpack PORTVERSION= 1.4.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= http://linalg.org/ LOCAL/bf MAINTAINER= bf@FreeBSD.org COMMENT= Library for dense linear algebra over word-size finite fields LICENSE= LGPL20 LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp USES= shebangfix GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gmp="${LOCALBASE}" SHEBANG_FILES= fflas-ffpack-config.in OPTIONS_DEFINE= DOXYGEN OPTIMIZED_CFLAGS .include .if ${LOCALBASE} == "/usr/local" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .endif .if defined(MAINTAINER_MODE) CONFIGURE_ARGS+= --with-givaro="${LOCALBASE}" LIB_DEPENDS+= libgivaro.so:${PORTSDIR}/math/givaro .else CONFIGURE_ARGS+= --with-givaro=no .endif #a C interface to BLAS is needed WITH_BLAS?= gsl .if ${WITH_BLAS} == "gotoblas" CONFIGURE_ARGS+= --with-gotoblas2="${LOCALBASE}" --with-lapack=blas LIB_DEPENDS+= libgoto2p.so:${PORTSDIR}/math/gotoblas USES+= fortran .elif ${WITH_BLAS} == "atlas" CONFIGURE_ARGS+= --with-cblas="${LOCALBASE}" --with-lapack=blas LIB_DEPENDS+= libcblas.so:${PORTSDIR}/math/atlas USES+= fortran .elif ${WITH_BLAS} == "gsl" CONFIGURE_ARGS+= --with-gsl="${LOCALBASE}" LIB_DEPENDS+= libgslcblas.so:${PORTSDIR}/math/gsl .else IGNORE = unknown value of WITH_BLAS: ${WITH_BLAS} .endif .if ${PORT_OPTIONS:MDOXYGEN} BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen CONFIGURE_ARGS+= --enable-doc --with-docdir="${DOCSDIR}" PLIST_SUB+= DOXYGEN="" .else PLIST_SUB+= DOXYGEN="@comment " .endif .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} MANUAL_PACKAGE_BUILD= : optimizes for the build machine .else CONFIGURE_ARGS+= --disable-optimization .endif post-patch: ${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/{s/-O2 //;s/-pipe//;}' \ -e '/DEBUG_CFLAGS=.*-DNDEBUG/s/$${DEBUG_CFLAGS} //' \ -e '/^WARN_CFLAGS="-Wall"/d' \ -e '/if test "x$$WARN" = "xyes"/s/$$/ WARN_CFLAGS="-Wall" ;/' \ -e 's/\(-lgoto2\)\( -pthread\)\{0,1\}/\1p/g' -e 's/libgoto2/&p/g' \ -e '/"GOTO2")/{N; s/LAPACK_LIBS=""/LAPACK_LIBS="-lgoto2p"/; }' \ -e 's/liblapack_atlas/libalapack/g' \ -e 's/$${LAPACK_LIBS} -llapack_atlas/-lalapack -lf77blas -lcblas/g' \ ${WRKSRC}/configure #Unfortunately, we must leave stdint.h --> cstdint unresolved when not using #lang/gcc4*, or switch to TR1 headers, due to our aging base system libstdc++ ${REINPLACE_CMD} -E \ -e 's/(#include[[:blank:]]+<)(std)(arg|def|io|lib)(\.h>)/\1c\2\3>/' \ ${WRKSRC}/fflas-ffpack/field/nonzero-randiter.h \ ${WRKSRC}/fflas-ffpack/field/modular-randiter.h \ ${WRKSRC}/fflas-ffpack/utils/args-parser.h \ ${WRKSRC}/fflas-ffpack/utils/debug.h \ ${WRKSRC}/fflas-ffpack/utils/Matio.h \ ${WRKSRC}/utils/args-parser.h \ ${WRKSRC}/utils/debug.h \ ${WRKSRC}/utils/Matio.h .if ${PORT_OPTIONS:MDOXYGEN} @${REINPLACE_CMD} -e 's/sed -i/& ""/' ${WRKSRC}/doc/Makefile.in .endif .if ${PORT_OPTIONS:MDOXYGEN} post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/fflas-ffpack-dev-html ${TOUCH} ${STAGEDIR}${DOCSDIR}/fflas-ffpack-dev-html/.keep-me .endif .if defined(MAINTAINER_MODE) check regression-test test: build @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_ARGS} check .endif .include diff --git a/math/giacxcas/Makefile b/math/giacxcas/Makefile index 68d914ba4c22..770571fe8a67 100644 --- a/math/giacxcas/Makefile +++ b/math/giacxcas/Makefile @@ -1,81 +1,81 @@ # Created by: Frederic Han # $FreeBSD$ PORTNAME= giacxcas PORTVERSION= 1.1.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= math MASTER_SITES= http://www-fourier.ujf-grenoble.fr/~parisse/giac/ \ http://www.math.jussieu.fr/~han/xcas/sources/v2/ DISTFILES= fltk-giac.tar.gz CoCoALib-0.9950.tgz giac-${PORTVERSION}.tar.gz DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Computer algebra system by Bernard Parisse LICENSE= GPLv3 BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ ${LOCALBASE}/lib/libntl.a:${PORTSDIR}/math/ntl LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ libpng.so:${PORTSDIR}/graphics/png \ libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpari.so:${PORTSDIR}/math/pari \ libmpfr.so:${PORTSDIR}/math/mpfr \ libgsl.so:${PORTSDIR}/math/gsl \ liblapack.so:${PORTSDIR}/math/lapack NO_CDROM= French documentation is for non-commercial use only GNU_CONFIGURE= yes USES= desktop-file-utils gettext gmake libtool shebangfix USE_GL= gl USE_XORG= x11 xcursor xft xi USE_TEX= latex:build dvipsk:build USE_LDCONFIG= yes # Warning: don't remove the USE_GCC without a runtime test *after* make install USE_GCC= yes DOCSDIR= ${PREFIX}/share/doc/giac PORTDOCS= * DATADIR= ${PREFIX}/share/giac PORTDATA= * SHEBANG_FILES= src/pgiac CONFIGURE_ENV= X_LIBS=-lX11 CPPFLAGS+= -I${FLTKDEV-GIAC} -I${COCOALIB-GIAC}/include -I${LOCALBASE}/include LDFLAGS+= -L${FLTKDEV-GIAC}/lib -L${COCOALIB-GIAC}/lib -L${LOCALBASE}/lib CXXFLAGS+= -I${LOCALBASE}/include WRKSRC= ${WRKDIR}/giac-${PORTVERSION} FLTKDEV-GIAC= ${WRKDIR}/fltk-1.3.0 COCOALIB-GIAC= ${WRKDIR}/CoCoALib-0.9950 INFO= giac_es giac_us .include #NB: built of giacxcas with USE_GCC and nlt is successfull if the ntl port is also # installed with USE_GCC .if ${OSVERSION} >= 1000000 CONFIGURE_ARGS+= --disable-ntl .endif post-patch: @${GREP} -Rl --null /bin/bash ${COCOALIB-GIAC} | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \ ${WRKSRC}/xcas.applications ${WRKSRC}/xcas.desktop .if ${OSVERSION} >= 1000000 @${REINPLACE_CMD} -e 's|friend class Fl_Group;|friend class Fl_Group;friend class Fl_X;|' \ ${FLTKDEV-GIAC}/FL/Fl_Widget.H .endif pre-configure: cd ${COCOALIB-GIAC} && \ ./configure --with-libgmp=${LOCALBASE}/lib/libgmp.a --with-cxx=${CXX}&& \ ${MAKE_CMD} library && \ cd ${FLTKDEV-GIAC} && \ ./configure --prefix=${FLTKDEV-GIAC} \ && cd src && ${MAKE} .include diff --git a/math/gsl/Makefile b/math/gsl/Makefile index 5699ea132f57..023e5322a94a 100644 --- a/math/gsl/Makefile +++ b/math/gsl/Makefile @@ -1,34 +1,36 @@ # Created by: Andrew L. Neporada # $FreeBSD$ PORTNAME= gsl PORTVERSION= 1.16 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= GNU MAINTAINER= bf@FreeBSD.org COMMENT= The GNU Scientific Library - mathematical libs LICENSE= GPLv3 -USES= makeinfo +USES= libtool makeinfo pathfix USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV+= MAKEINFO='makeinfo --no-split' +INSTALL_TARGET= install-strip INFO= gsl-ref post-extract: @${RM} -f ${WRKSRC}/doc/gsl-ref.info* #prevent regression test coredumps from causing failures on the #package-building cluster: .ifndef(MAINTAINER_MODE) CORELIMIT?= /usr/bin/limits -Sc 0 .endif check regression-test test: build @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${CORELIMIT} ${MAKE_CMD} \ ${MAKE_ARGS} check .include diff --git a/math/gsl/files/patch-Makefile.in b/math/gsl/files/patch-Makefile.in deleted file mode 100644 index c91d9e2f5477..000000000000 --- a/math/gsl/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig Fri Mar 31 14:47:46 2006 -+++ Makefile.in Wed May 3 17:02:20 2006 -@@ -254,7 +254,7 @@ - SUBLIBS = block/libgslblock.la blas/libgslblas.la complex/libgslcomplex.la cheb/libgslcheb.la dht/libgsldht.la diff/libgsldiff.la deriv/libgslderiv.la eigen/libgsleigen.la err/libgslerr.la fft/libgslfft.la fit/libgslfit.la histogram/libgslhistogram.la ieee-utils/libgslieeeutils.la integration/libgslintegration.la interpolation/libgslinterpolation.la linalg/libgsllinalg.la matrix/libgslmatrix.la min/libgslmin.la monte/libgslmonte.la multifit/libgslmultifit.la multimin/libgslmultimin.la multiroots/libgslmultiroots.la ntuple/libgslntuple.la ode-initval/libgslodeiv.la permutation/libgslpermutation.la combination/libgslcombination.la poly/libgslpoly.la qrng/libgslqrng.la randist/libgslrandist.la rng/libgslrng.la roots/libgslroots.la siman/libgslsiman.la sort/libgslsort.la specfunc/libgslspecfunc.la statistics/libgslstatistics.la sum/libgslsum.la sys/libgslsys.la test/libgsltest.la utils/libutils.la vector/libgslvector.la cdf/libgslcdf.la wavelet/libgslwavelet.la - pkginclude_HEADERS = gsl_math.h gsl_pow_int.h gsl_nan.h gsl_machine.h gsl_mode.h gsl_precision.h gsl_types.h gsl_version.h - bin_SCRIPTS = gsl-config --pkgconfigdir = $(libdir)/pkgconfig -+pkgconfigdir = $(prefix)/libdata/pkgconfig - pkgconfig_DATA = gsl.pc - EXTRA_DIST = autogen.sh gsl-config.in gsl.pc.in configure.ac THANKS BUGS SUPPORT gsl.spec.in gsl.m4 test_gsl_histogram.sh - lib_LTLIBRARIES = libgsl.la diff --git a/math/gsl/pkg-plist b/math/gsl/pkg-plist index f2bf7c3e1998..900622131f09 100644 --- a/math/gsl/pkg-plist +++ b/math/gsl/pkg-plist @@ -1,237 +1,237 @@ bin/gsl-config bin/gsl-histogram bin/gsl-randist include/gsl/gsl_blas.h include/gsl/gsl_blas_types.h include/gsl/gsl_block.h include/gsl/gsl_block_char.h include/gsl/gsl_block_complex_double.h include/gsl/gsl_block_complex_float.h include/gsl/gsl_block_complex_long_double.h include/gsl/gsl_block_double.h include/gsl/gsl_block_float.h include/gsl/gsl_block_int.h include/gsl/gsl_block_long.h include/gsl/gsl_block_long_double.h include/gsl/gsl_block_short.h include/gsl/gsl_block_uchar.h include/gsl/gsl_block_uint.h include/gsl/gsl_block_ulong.h include/gsl/gsl_block_ushort.h include/gsl/gsl_bspline.h include/gsl/gsl_cblas.h include/gsl/gsl_cdf.h include/gsl/gsl_chebyshev.h include/gsl/gsl_check_range.h include/gsl/gsl_combination.h include/gsl/gsl_complex.h include/gsl/gsl_complex_math.h include/gsl/gsl_const.h include/gsl/gsl_const_cgs.h include/gsl/gsl_const_cgsm.h include/gsl/gsl_const_mks.h include/gsl/gsl_const_mksa.h include/gsl/gsl_const_num.h include/gsl/gsl_deriv.h include/gsl/gsl_dft_complex.h include/gsl/gsl_dft_complex_float.h include/gsl/gsl_dht.h include/gsl/gsl_diff.h include/gsl/gsl_eigen.h include/gsl/gsl_errno.h include/gsl/gsl_fft.h include/gsl/gsl_fft_complex.h include/gsl/gsl_fft_complex_float.h include/gsl/gsl_fft_halfcomplex.h include/gsl/gsl_fft_halfcomplex_float.h include/gsl/gsl_fft_real.h include/gsl/gsl_fft_real_float.h include/gsl/gsl_fit.h include/gsl/gsl_heapsort.h include/gsl/gsl_histogram.h include/gsl/gsl_histogram2d.h include/gsl/gsl_ieee_utils.h include/gsl/gsl_inline.h include/gsl/gsl_integration.h include/gsl/gsl_interp.h include/gsl/gsl_linalg.h include/gsl/gsl_machine.h include/gsl/gsl_math.h include/gsl/gsl_matrix.h include/gsl/gsl_matrix_char.h include/gsl/gsl_matrix_complex_double.h include/gsl/gsl_matrix_complex_float.h include/gsl/gsl_matrix_complex_long_double.h include/gsl/gsl_matrix_double.h include/gsl/gsl_matrix_float.h include/gsl/gsl_matrix_int.h include/gsl/gsl_matrix_long.h include/gsl/gsl_matrix_long_double.h include/gsl/gsl_matrix_short.h include/gsl/gsl_matrix_uchar.h include/gsl/gsl_matrix_uint.h include/gsl/gsl_matrix_ulong.h include/gsl/gsl_matrix_ushort.h include/gsl/gsl_message.h include/gsl/gsl_min.h include/gsl/gsl_minmax.h include/gsl/gsl_mode.h include/gsl/gsl_monte.h include/gsl/gsl_monte_miser.h include/gsl/gsl_monte_plain.h include/gsl/gsl_monte_vegas.h include/gsl/gsl_multifit.h include/gsl/gsl_multifit_nlin.h include/gsl/gsl_multimin.h include/gsl/gsl_multiroots.h include/gsl/gsl_multiset.h include/gsl/gsl_nan.h include/gsl/gsl_ntuple.h include/gsl/gsl_odeiv.h include/gsl/gsl_odeiv2.h include/gsl/gsl_permutation.h include/gsl/gsl_permute.h include/gsl/gsl_permute_char.h include/gsl/gsl_permute_complex_double.h include/gsl/gsl_permute_complex_float.h include/gsl/gsl_permute_complex_long_double.h include/gsl/gsl_permute_double.h include/gsl/gsl_permute_float.h include/gsl/gsl_permute_int.h include/gsl/gsl_permute_long.h include/gsl/gsl_permute_long_double.h include/gsl/gsl_permute_short.h include/gsl/gsl_permute_uchar.h include/gsl/gsl_permute_uint.h include/gsl/gsl_permute_ulong.h include/gsl/gsl_permute_ushort.h include/gsl/gsl_permute_vector.h include/gsl/gsl_permute_vector_char.h include/gsl/gsl_permute_vector_complex_double.h include/gsl/gsl_permute_vector_complex_float.h include/gsl/gsl_permute_vector_complex_long_double.h include/gsl/gsl_permute_vector_double.h include/gsl/gsl_permute_vector_float.h include/gsl/gsl_permute_vector_int.h include/gsl/gsl_permute_vector_long.h include/gsl/gsl_permute_vector_long_double.h include/gsl/gsl_permute_vector_short.h include/gsl/gsl_permute_vector_uchar.h include/gsl/gsl_permute_vector_uint.h include/gsl/gsl_permute_vector_ulong.h include/gsl/gsl_permute_vector_ushort.h include/gsl/gsl_poly.h include/gsl/gsl_pow_int.h include/gsl/gsl_precision.h include/gsl/gsl_qrng.h include/gsl/gsl_randist.h include/gsl/gsl_rng.h include/gsl/gsl_roots.h include/gsl/gsl_sf.h include/gsl/gsl_sf_airy.h include/gsl/gsl_sf_bessel.h include/gsl/gsl_sf_clausen.h include/gsl/gsl_sf_coulomb.h include/gsl/gsl_sf_coupling.h include/gsl/gsl_sf_dawson.h include/gsl/gsl_sf_debye.h include/gsl/gsl_sf_dilog.h include/gsl/gsl_sf_elementary.h include/gsl/gsl_sf_ellint.h include/gsl/gsl_sf_elljac.h include/gsl/gsl_sf_erf.h include/gsl/gsl_sf_exp.h include/gsl/gsl_sf_expint.h include/gsl/gsl_sf_fermi_dirac.h include/gsl/gsl_sf_gamma.h include/gsl/gsl_sf_gegenbauer.h include/gsl/gsl_sf_hyperg.h include/gsl/gsl_sf_laguerre.h include/gsl/gsl_sf_lambert.h include/gsl/gsl_sf_legendre.h include/gsl/gsl_sf_log.h include/gsl/gsl_sf_mathieu.h include/gsl/gsl_sf_pow_int.h include/gsl/gsl_sf_psi.h include/gsl/gsl_sf_result.h include/gsl/gsl_sf_synchrotron.h include/gsl/gsl_sf_transport.h include/gsl/gsl_sf_trig.h include/gsl/gsl_sf_zeta.h include/gsl/gsl_siman.h include/gsl/gsl_sort.h include/gsl/gsl_sort_char.h include/gsl/gsl_sort_double.h include/gsl/gsl_sort_float.h include/gsl/gsl_sort_int.h include/gsl/gsl_sort_long.h include/gsl/gsl_sort_long_double.h include/gsl/gsl_sort_short.h include/gsl/gsl_sort_uchar.h include/gsl/gsl_sort_uint.h include/gsl/gsl_sort_ulong.h include/gsl/gsl_sort_ushort.h include/gsl/gsl_sort_vector.h include/gsl/gsl_sort_vector_char.h include/gsl/gsl_sort_vector_double.h include/gsl/gsl_sort_vector_float.h include/gsl/gsl_sort_vector_int.h include/gsl/gsl_sort_vector_long.h include/gsl/gsl_sort_vector_long_double.h include/gsl/gsl_sort_vector_short.h include/gsl/gsl_sort_vector_uchar.h include/gsl/gsl_sort_vector_uint.h include/gsl/gsl_sort_vector_ulong.h include/gsl/gsl_sort_vector_ushort.h include/gsl/gsl_specfunc.h include/gsl/gsl_spline.h include/gsl/gsl_statistics.h include/gsl/gsl_statistics_char.h include/gsl/gsl_statistics_double.h include/gsl/gsl_statistics_float.h include/gsl/gsl_statistics_int.h include/gsl/gsl_statistics_long.h include/gsl/gsl_statistics_long_double.h include/gsl/gsl_statistics_short.h include/gsl/gsl_statistics_uchar.h include/gsl/gsl_statistics_uint.h include/gsl/gsl_statistics_ulong.h include/gsl/gsl_statistics_ushort.h include/gsl/gsl_sum.h include/gsl/gsl_sys.h include/gsl/gsl_test.h include/gsl/gsl_types.h include/gsl/gsl_vector.h include/gsl/gsl_vector_char.h include/gsl/gsl_vector_complex.h include/gsl/gsl_vector_complex_double.h include/gsl/gsl_vector_complex_float.h include/gsl/gsl_vector_complex_long_double.h include/gsl/gsl_vector_double.h include/gsl/gsl_vector_float.h include/gsl/gsl_vector_int.h include/gsl/gsl_vector_long.h include/gsl/gsl_vector_long_double.h include/gsl/gsl_vector_short.h include/gsl/gsl_vector_uchar.h include/gsl/gsl_vector_uint.h include/gsl/gsl_vector_ulong.h include/gsl/gsl_vector_ushort.h include/gsl/gsl_version.h include/gsl/gsl_wavelet.h include/gsl/gsl_wavelet2d.h lib/libgsl.a -lib/libgsl.la lib/libgsl.so -lib/libgsl.so.17 +lib/libgsl.so.0 +lib/libgsl.so.0.17.0 lib/libgslcblas.a -lib/libgslcblas.la lib/libgslcblas.so lib/libgslcblas.so.0 +lib/libgslcblas.so.0.0.0 libdata/pkgconfig/gsl.pc share/aclocal/gsl.m4 man/man1/gsl-config.1.gz man/man1/gsl-histogram.1.gz man/man1/gsl-randist.1.gz man/man3/gsl.3.gz @dirrm include/gsl diff --git a/math/labplot/Makefile b/math/labplot/Makefile index b2b09bad2b5e..a922c95f5e7b 100644 --- a/math/labplot/Makefile +++ b/math/labplot/Makefile @@ -1,33 +1,33 @@ # Created by: Kay Lehmann # $FreeBSD$ PORTNAME= labplot PORTVERSION= 2.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math kde MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}.0 MAINTAINER= ports@FreeBSD.org COMMENT= Data plotting and function analysis tool for KDE LICENSE= GPLv2 LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl USES= cmake shared-mime-info tar:bzip2 USE_XORG= xft xpm USE_GCC= yes USE_KDE4= automoc4 kdelibs kdeprefix USE_QT4= moc_build qmake_build rcc_build uic_build post-patch: @${REINPLACE_CMD} -e \ 's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|i->\(children\)|\1|' \ ${WRKSRC}/src/backend/core/AbstractAspect.h @${REINPLACE_CMD} -e \ 's|!isnan|!std::isnan|' \ ${WRKSRC}/src/backend/worksheet/plots/cartesian/CartesianCoordinateSystem.cpp .include diff --git a/math/libflame/Makefile b/math/libflame/Makefile index 49f5b21abf83..58a9a2395ad4 100644 --- a/math/libflame/Makefile +++ b/math/libflame/Makefile @@ -1,340 +1,340 @@ # Created by: bf@FreeBSD.org # $FreeBSD$ PORTNAME= libflame DISTVERSION= r7421 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MASTER_SITES= http://www.cs.utexas.edu/users/%SUBDIR%/:1,2 LOCAL/bf:3 MASTER_SITE_SUBDIR= flame/snapshots/:1 field/docs/:2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:3 libflame.pdf:3 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= bf@FreeBSD.org COMMENT= FLAME dense linear algebra library LICENSE= LGPL21 BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash GNU_CONFIGURE= yes USE_CSTD= c99 USES= gmake CONFIGURE_ARGS= --enable-dynamic-build --enable-static-build OPTIONS_DEFINE= BLAS3_CNTL BUILTIN_BLAS CBLAS EXTERNAL_LAPACK GOTOBLAS \ LAPACK2FLAME LAPACK_SUBPROBLEMS OPENMP SHARED STATIC \ SUPERMATRIX THREADS DOCS EXAMPLES OPTIONS_DEFAULT= BLAS3_CNTL LAPACK2FLAME SHARED SUPERMATRIX THREADS BLAS3_CNTL_DESC= Set Level-3 BLAS variant and blocksize BUILTIN_BLAS_DESC= Build the (suboptimal) internal BLAS CBLAS_DESC= Build an interface to an external C BLAS EXTERNAL_LAPACK_DESC= Build an interface to an external LAPACK GOTOBLAS_DESC= Build a full GotoBLAS interface LAPACK2FLAME_DESC= Build a LAPACK compatibility layer LAPACK_SUBPROBLEMS_DESC= Use an external LAPACK for subproblems OPENMP_DESC= Use multithreading via OpenMP SHARED_DESC= Build a shared library and PIC archive STATIC_DESC= Build a non-PIC archive SUPERMATRIX_DESC= Task scheduling and parallel execution .include .if ${PORT_OPTIONS:MBLAS3_CNTL} CONFIGURE_ARGS+= --enable-blas3-front-end-cntl-trees .else CONFIGURE_ARGS+= --disable-blas3-front-end-cntl-trees .endif .if ${PORT_OPTIONS:MBUILTIN_BLAS} IGNORE= : BUILTIN_BLAS is an experimental option, for testing purposes only .if ${PORT_OPTIONS:MCBLAS} || ${PORT_OPTIONS:MGOTOBLAS} IGNORE= : BUILTIN_BLAS is incompatible with CBLAS and GOTOBLAS .endif CONFIGURE_ARGS+= --enable-builtin-blas .else CONFIGURE_ARGS+= --disable-builtin-blas .endif .if ${PORT_OPTIONS:MCBLAS} IGNORE= : CBLAS yields an incomplete library, and is for testing purposes only .if ${PORT_OPTIONS:MGOTOBLAS} IGNORE= : CBLAS is incompatible with GOTOBLAS .endif CONFIGURE_ARGS+= --enable-cblas-interfaces .else CONFIGURE_ARGS+= --disable-cblas-interfaces .endif .if ${PORT_OPTIONS:MEXTERNAL_LAPACK} CONFIGURE_ARGS+= --enable-external-lapack-interfaces .else CONFIGURE_ARGS+= --disable-external-lapack-interfaces .endif .if ${PORT_OPTIONS:MGOTOBLAS} CONFIGURE_ARGS+= --enable-goto-interfaces WITH_BLAS= gotoblas .else CONFIGURE_ARGS+= --disable-goto-interfaces .for b in M K N .if defined(${b}_BLOCKSIZE) CONFIGURE_ARGS+= --enable-default-${b:tl}-blocksize=${${b}_BLOCKSIZE} .endif .endfor .endif .if ${PORT_OPTIONS:MLAPACK2FLAME} .if ${PORT_OPTIONS:MLAPACK_SUBPROBLEMS} IGNORE= : LAPACK2FLAME is incompatible with LAPACK_SUBPROBLEMS .endif CONFIGURE_ARGS+= --enable-lapack2flame .else CONFIGURE_ARGS+= --disable-lapack2flame .endif .if ${PORT_OPTIONS:MLAPACK_SUBPROBLEMS} .if ! ${PORT_OPTIONS:MEXTERNAL_LAPACK} IGNORE= : LAPACK_SUBPROBLEMS requires EXTERNAL_LAPACK .endif CONFIGURE_ARGS+= --enable-external-lapack-for-subproblems .else CONFIGURE_ARGS+= --disable-external-lapack-for-subproblems .endif .if ${PORT_OPTIONS:MEXTERNAL_LAPACK} || ! ${PORT_OPTIONS:MBUILTIN_BLAS} .if ${PORT_OPTIONS:MCBLAS} .if exists(${LOCALBASE}/lib/libatlas.so) WITH_BLAS?= atlas_c .else WITH_BLAS?= reference_c .endif .if !(${WITH_BLAS} == "atlas_c" || ${WITH_BLAS} == "reference_c") IGNORE= : CBLAS is incompatible with WITH_BLAS = ${WITH_BLAS} .endif .elif exists(${LOCALBASE}/lib/libgoto2.so) WITH_BLAS?= gotoblas .elif exists(${LOCALBASE}/lib/libatlas.so) WITH_BLAS?= atlas .else WITH_BLAS?= reference .endif #WITH_CBLAS .endif #WITH_EXTERNAL_LAPACK or WITH_BUILTIN_BLAS .if ! ${PORT_OPTIONS:MBUILTIN_BLAS} .if ${WITH_BLAS} == atlas RUN_DEPENDS += ${LOCALBASE}/lib/libatlas.so:${PORTSDIR}/math/atlas BLAS= -lptf77blas .elif ${WITH_BLAS} == atlas_c RUN_DEPENDS += ${LOCALBASE}/lib/libatlas.so:${PORTSDIR}/math/atlas BLAS= -lptcblas .elif ${WITH_BLAS} == gotoblas RUN_DEPENDS += ${LOCALBASE}/lib/libgoto2p.so:${PORTSDIR}/math/gotoblas BLAS= -lgoto2p .elif ${WITH_BLAS} == reference RUN_DEPENDS += ${LOCALBASE}/lib/libblas.so:${PORTSDIR}/math/blas BLAS= -lblas .elif ${WITH_BLAS} == reference_c RUN_DEPENDS += ${LOCALBASE}/lib/libgslcblas.so:${PORTSDIR}/math/gsl BLAS= -lgslcblas .endif #WITH_BLAS .endif #WITH_BUILTIN_BLAS .if ${PORT_OPTIONS:MEXTERNAL_LAPACK} .if !empty(WITH_BLAS:Matlas*) .if ${PORT_OPTIONS:MBUILTIN_BLAS} RUN_DEPENDS += ${LOCALBASE}/lib/libatlas.so:${PORTSDIR}/math/atlas .endif LAPACK= -lalapack -lptcblas -lptf77blas .elif ${WITH_BLAS} == gotoblas .if ${PORT_OPTIONS:MBUILTIN_BLAS} RUN_DEPENDS += ${LOCALBASE}/lib/libgoto2p.so:${PORTSDIR}/math/gotoblas .endif LAPACK= -lgoto2p .elif !empty(WITH_BLAS:Mreference*) RUN_DEPENDS += ${LOCALBASE}/lib/liblapack.so:${PORTSDIR}/math/lapack LAPACK= -llapack .if ${PORT_OPTIONS:MBUILTIN_BLAS} || ${PORT_OPTIONS:MCBLAS} RUN_DEPENDS += ${LOCALBASE}/lib/libblas.so:${PORTSDIR}/math/blas LAPACK+= -lblas .endif .endif #WITH_BLAS .endif #WITH_EXTERNAL_LAPACK .if ${PORT_OPTIONS:MOPENMP} .if ${PORT_OPTIONS:MTHREADS} IGNORE= OPENMP is incompatible with THREADS .endif .if !empty(CC:M*clang*) IGNORE= clang does not support OPENMP, use THREADS instead .endif OPENMP_CFLAGS ?= -fopenmp CFLAGS+= ${OPENMP_CFLAGS} LDFLAGS+= ${OPENMP_CFLAGS} CONFIGURE_ARGS+= --enable-multithreading=openmp .elif ${PORT_OPTIONS:MTHREADS} CFLAGS+= ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_CFLAGS} CONFIGURE_ARGS+= --enable-multithreading=pthreads .else CONFIGURE_ARGS+= --enable-multithreading=no .endif .if ${PORT_OPTIONS:MSHARED} USE_LDCONFIG= yes .endif .for o in SHARED STATIC .if ${PORT_OPTIONS:M${o}} PLIST_SUB+= ${o}="" .else PLIST_SUB+= ${o}="@comment " .endif .endfor .if ${PORT_OPTIONS:MSUPERMATRIX} CONFIGURE_ARGS+= --enable-supermatrix .else CONFIGURE_ARGS+= --disable-supermatrix .endif .if !(defined(USE_GCC) || !empty(CC:M*gcc4*)) CONFIGURE_ARGS+= --disable-autodetect-f77-ldflags \ --disable-autodetect-f77-name-mangling .endif .if !empty(MACHINE_CPU:Msse3) CFLAGS+= -msse3 LDFLAGS+= -msse3 CONFIGURE_ARGS+= --enable-vector-intrinsics=sse .else CONFIGURE_ARGS+= --enable-vector-intrinsics=none .endif .if ${ARCH} == "sparc64" PICFLAG?= -fPIC .else PICFLAG?= -fpic .endif CFLAGS+= ${PICFLAG} LDFLAGS+= ${PICFLAG} -Wl,-x .if defined(MEMORY_ALIGNMENT) CONFIGURE_ARGS+= --enable-memory-alignment=${MEMORY_ALIGNMENT} .if defined(LDIM_ALIGNMENT) CONFIGURE_ARGS+= --enable-ldim-alignment .endif .endif .if ${PORT_OPTIONS:MDOCS} PORTDOCS= libflame.pdf .endif .if ${PORT_OPTIONS:MEXAMPLES} PORTEXAMPLES= * .endif SHLIB_MAJOR?= 0 post-patch: @${FIND} ${WRKSRC} -type f \( -name '*.sh' -o -name '*.sh.in' \) | \ ${XARGS} ${REINPLACE_CMD} -E \ -e 's@(#!)(/bin/bash)@\1${LOCALBASE}\2@' @${FIND} ${WRKSRC} -type f \( -name 'makefile' -o -name 'config.mk.in' \) | \ ${XARGS} ${REINPLACE_CMD} \ -e 's@-lpthread@${PTHREAD_LIBS}@g' \ -e 's@-fPIC@${PICFLAG}@g' @${REINPLACE_CMD} \ -e '\@MK_INCL_DIR_INST_W_ARCH_VERS[[:blank:]]*:=@ \ s@-$$(ARCH_VERS)@/libflame@' \ -e '\@MK_FLAMEC_...S_INST_W_ARCH_VERS[[:blank:]]*:=@ \ {N; s@-$$(ARCH_VERS)@@; s@\.so@&.${SHLIB_MAJOR}@2;}' \ -e '\@^$$(MK_INCL_DIR_INST):@,\@^endif@d' \ -e '\@^$$(INSTALL_PREFIX)/lib/%\.a:@,\@^endif@d' \ -e 's@^\($$(INSTALL_PREFIX)/lib/%\)\(-$$(ARCH_VERS)\)\(\.a:\)@\1\3@' \ -e '\@^$$(INSTALL_PREFIX)/lib/%.*\.so:@ \ s@\(-$$(ARCH_VERS)\)\(\.so\)@\2.${SHLIB_MAJOR}@' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's@gcc)@cc|gcc*)@g' \ ${WRKSRC}/configure @${REINPLACE_CMD} \ -e '\@FLA_LIB_PATH[[:blank:]]*:=@ \ s@$$(INSTALL_PREFIX)/lib@../lib/$$(HOST)@' \ -e '\@FLA_INC_PATH[[:blank:]]*:=@ \ s@$$(INSTALL_PREFIX)@${WRKDIR}@' \ -e '\@HOST[[:blank:]]*:=@ \ s@sh $$(BUILD_DIRPATH)/ac-utils/config.guess@cat ../config.sys_type@' \ ${WRKSRC}/test/Makefile pre-configure: @${FIND} ${WRKSRC} -type f \( -name '*.bak' -o -name '*.fbsd10bak' \ -o -name '*.orig' \) -delete post-configure: .if ${PORT_OPTIONS:MSTATIC} @${CP} -af ${WRKSRC} ${WRKSRC}_STATIC @${REINPLACE_CMD} -e 's@${PICFLAG}@@' \ -e '\@FLA_ENABLE_DYNAMIC_BUILD[[:blank:]]*:=@s@yes@no@' \ ${WRKSRC}_STATIC/config/*/config.mk .endif .if ${PORT_OPTIONS:MSHARED} @${REINPLACE_CMD} \ -e '\@MK_FLAMEC_LIBS_INST.*[[:blank:]]*:=@ \ {N; s@$$(INSTALL_PREFIX)/lib/%@&_pic@;}' \ -e '\@^$$(INSTALL_PREFIX)/lib/%\.a:@s@%@&_pic@1' \ ${WRKSRC}/Makefile .endif do-build: .for o in SHARED STATIC .if ${PORT_OPTIONS:M${o}} @${PRINTF} "\n\n\n===> Building ${o:tl} library:\n\n\n\n" @cd ${WRKSRC}${o:S|^|_|:M*STATIC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${_MAKE_JOBS} ${MAKE_ARGS} libs .endif .endfor do-install: @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} \ ${MAKE_ARGS} install-headers .if ${PORT_OPTIONS:MSHARED} @cd ${WRKSRC}/lib; ${STRIP_CMD} */libflame.so */libflame.a @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} \ ${MAKE_ARGS} install-libs install-lib-symlinks .endif .if ${PORT_OPTIONS:MSTATIC} @cd ${WRKSRC}_STATIC/lib; ${STRIP_CMD} */libflame.a @cd ${WRKSRC}_STATIC; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} \ ${MAKE_ARGS} install-libs .endif .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @cd ${WRKSRC}/examples; ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} .endif .if defined(MAINTAINER_MODE) BUILD_DEPENDS += ${RUN_DEPENDS} CONFIGURE_ARGS+= --enable-verbose-make-output check regression-test test: build @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} \ ${MAKE_ARGS} MK_INCL_DIR_INST_W_ARCH_VERS="${WRKDIR}/include" \ install-headers .for o in SHARED STATIC .if ${PORT_OPTIONS:M${o}} @${PRINTF} "\n\n\n===> Testing ${o:tl} library:\n\n\n\n" @cd ${WRKSRC}${o:S|^|_|:M*STATIC}/test; ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} \ LIBBLAS="-L${LOCALBASE}/lib ${BLAS} -lm" \ LIBLAPACK="-L${LOCALBASE}/lib ${LAPACK}" test_libflame ; \ ./test_libflame.x .endif .endfor .endif #MAINTAINER_MODE .include diff --git a/math/ocamlgsl/Makefile b/math/ocamlgsl/Makefile index 60a9b0c919a0..bf3863243670 100644 --- a/math/ocamlgsl/Makefile +++ b/math/ocamlgsl/Makefile @@ -1,34 +1,35 @@ # Created by: Klaus T. Aehlig # $FreeBSD$ PORTNAME= ocaml-gsl PORTVERSION= 1.15.1 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://bitbucket.org/mmottl/gsl-ocaml/downloads/ DISTNAME= gsl-ocaml-${PORTVERSION} MAINTAINER= michipili@gmail.com COMMENT= Interface to GSL for the Objective Caml language LICENSE= GPLv3 LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk \ ${OCAMLC_DEPEND} RUN_DEPENDS= ocamlfind:${PORTSDIR}/devel/ocaml-findlib USES= gmake USE_OCAML= YES USE_OCAML_FINDLIB= YES USE_OCAML_LDCONFIG= YES HAS_CONFIGURE= YES MAKE_JOBS_UNSAFE= yes WRKSRC= ${WRKDIR}/gsl-ocaml-${PORTVERSION} OPTIONS_DEFINE= DOCS post-configure: @${ECHO_CMD} 'stagedir="${STAGEDIR}"' >> ${WRKSRC}/setup.data @${ECHO_CMD} 'docdir="$$datarootdir/doc/ocaml/$$pkg_name"' >> ${WRKSRC}/setup.data .include diff --git a/math/octave-forge-gsl/Makefile b/math/octave-forge-gsl/Makefile index 3839aa444ae3..8ba9dfc2bec5 100644 --- a/math/octave-forge-gsl/Makefile +++ b/math/octave-forge-gsl/Makefile @@ -1,26 +1,26 @@ # Created by: Stephen Montgomery-Smith # $FreeBSD$ PORTNAME= octave-forge-gsl PORTVERSION= 1.0.8 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl GNU_CONFIGURE= yes CONFIGURE_ENV+= HOME=${WRKSRC} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} s+/bin/bash+${LOCALBASE}/bin/bash+g ${WRKSRC}/src/config* .include "${.CURDIR}/../../Mk/bsd.octave.mk" .include diff --git a/math/orpie/Makefile b/math/orpie/Makefile index abfc0a1868db..8a90b27f8342 100644 --- a/math/orpie/Makefile +++ b/math/orpie/Makefile @@ -1,28 +1,29 @@ # Created by: Dylan Simon # $FreeBSD$ PORTNAME= orpie PORTVERSION= 1.5.2 +PORTREVISION= 1 CATEGORIES+= math MASTER_SITES= http://pessimization.com/software/orpie/ MAINTAINER= ports@FreeBSD.org COMMENT= Fullscreen RPN calculator for the console LICENSE= GPLv2 LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl USES= gmake USE_OCAML= yes GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/orpie bin/orpie-curses-keys etc/orpierc \ man/man1/orpie.1.gz man/man1/orpie-curses-keys.1.gz \ man/man5/orpierc.5.gz post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .include diff --git a/math/p5-Math-GSL/Makefile b/math/p5-Math-GSL/Makefile index 64fe40c33701..9efc7a0c8a1c 100644 --- a/math/p5-Math-GSL/Makefile +++ b/math/p5-Math-GSL/Makefile @@ -1,27 +1,28 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= Math-GSL PORTVERSION= 0.32 +PORTREVISION= 1 CATEGORIES= math perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= sunpoet@FreeBSD.org COMMENT= Perl interface to GNU Scientific Library LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-PkgConfig>=0.07720:${PORTSDIR}/devel/p5-PkgConfig LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl TEST_DEPENDS= p5-Test-Class>=0.12:${PORTSDIR}/devel/p5-Test-Class \ p5-Test-Exception>=0.21:${PORTSDIR}/devel/p5-Test-Exception \ p5-Test-Most>=0.31:${PORTSDIR}/devel/p5-Test-Most USE_PERL5= modbuild USES= perl5 BROKEN_sparc64= Does not compile on sparc64 .include diff --git a/math/pspp/Makefile b/math/pspp/Makefile index 39e8b0edce8f..e0890d3d9630 100644 --- a/math/pspp/Makefile +++ b/math/pspp/Makefile @@ -1,59 +1,60 @@ # Created by: Andrew L. Neporada # $FreeBSD$ PORTNAME= pspp PORTVERSION= 0.8.3 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= GNU MAINTAINER= ports@FreeBSD.org COMMENT= Program for statistical analysis of sampled data LICENSE= GPLv3 BUILD_DEPENDS= texinfo>0:${PORTSDIR}/print/texinfo LIB_DEPENDS= libplot.so:${PORTSDIR}/graphics/plotutils \ libgslcblas.so:${PORTSDIR}/math/gsl USES= charsetfix gmake iconv libtool perl5 pkgconfig USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes MAKE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo" \ XMLLINT="${LOCALBASE}/bin/xmllint" USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= VERSION="${PORTVERSION}" INFO= pspp pspp-dev OPTIONS_DEFINE= DOCS GUI NLS PGSQL OPTIONS_DEFAULT= NLS OPTIONS_SUB= yes GUI_LIB_DEPENDS= libgladeui-1.so:${PORTSDIR}/devel/glade3 GUI_RUN_DEPENDS= yelp:${PORTSDIR}/x11/yelp GUI_USES= desktop-file-utils GUI_USE= gnome=gtksourceview2,libglade2 GUI_CONFIGURE_WITH= cairo gui gui-tools GUI_INSTALL_TARGET= install-strip install-icons install-ext-icons GUI_INSTALL_TARGET_OFF= install-strip NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= libpq .include .if ${PORT_OPTIONS:MGUI} INSTALLS_ICONS= yes .endif post-patch: @${REINPLACE_CMD} -e \ 's|: $$(INSTALL_DATA_HOOKS)|:|' ${WRKSRC}/Makefile.in .include diff --git a/math/py-gsl/Makefile b/math/py-gsl/Makefile index 2e8ae0646793..6f6d95645e6b 100644 --- a/math/py-gsl/Makefile +++ b/math/py-gsl/Makefile @@ -1,24 +1,24 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= gsl PORTVERSION= 0.9.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pygsl-${PORTVERSION} DIST_SUBDIR= python MAINTAINER= wen@FreeBSD.org COMMENT= Python interface to GNU Scientific Library BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/core/include/numpy/arrayobject.h:${PORTSDIR}/math/py-numpy RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy/__init__.py:${PORTSDIR}/math/py-numpy LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes .include diff --git a/math/qtiplot/Makefile b/math/qtiplot/Makefile index 017c473b9acf..75edda695afd 100644 --- a/math/qtiplot/Makefile +++ b/math/qtiplot/Makefile @@ -1,111 +1,111 @@ # Created by: Jie Gao # $FreeBSD$ PORTNAME= qtiplot DISTVERSION= 0.9.8.9 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= math science MASTER_SITES= BERLIOS http://soft.proindependent.com/src/ MAINTAINER= makc@FreeBSD.org COMMENT= Data analysis and scientific plotting LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl \ libmuparser.so:${PORTSDIR}/math/muparser \ libpng15.so:${PORTSDIR}/graphics/png # use bundled modified libraries # qwt.5:${PORTSDIR}/x11-toolkits/qwt5 \ # qwtplot3d-qt4:${PORTSDIR}/math/qwtplot3d-qt4 USES= dos2unix gmake qmake tar:bzip2 USE_QT4= gui opengl svg qt3support network assistantclient \ moc_build rcc_build USE_GL= glu QMAKE_ARGS+= LOCALBASE=${LOCALBASE} PYTHON_CMD=${PYTHON_CMD} DOS2UNIX_GLOB= *.pro DESKTOP_ENTRIES="QtiPlot" "Data analysis and plotting" \ "${PREFIX}/share/pixmaps/qtiplot.png" \ "qtiplot" "" true OPTIONS_DEFINE= DOCS PYTHON NLS DEBUG OPTIONS_DEFAULT= DOCS PYTHON NLS DOCS_DESC= Install the QtiPlot Handbook PYTHON_DESC= Python scripting support STRIP_FILES= bin/qtiplot share/qtiplot/fitPlugins/*.so.1.0.0 .include .if ${PORT_OPTIONS:MPYTHON} USE_PYTHON= yes BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui PLIST_SUB+= PYTHON="" CONFIGURE_ENV+= PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR} \ PYTHON_VERSION=${PYTHON_VERSION} .else PLIST_SUB+= PYTHON="@comment " .endif .if ${PORT_OPTIONS:MDOCS} RUN_DEPENDS+= qtiplot-doc>=0:${PORTSDIR}/math/qtiplot-doc USE_QT4+= assistant-adp_run .endif .if ${PORT_OPTIONS:MNLS} USE_QT4+= linguist_build PLIST_SUB+= NLS="" .else PLIST_SUB+= NLS="@comment " .endif post-extract: ${CP} ${FILESDIR}/build.conf ${WRKSRC} post-patch: .if ${PORT_OPTIONS:MPYTHON} ${REINPLACE_CMD} -e \ '/^sys.path.append/s|"\."|"${DATADIR}"|' \ ${WRKSRC}/${PORTNAME}/qtiplotrc.py .else ${REINPLACE_CMD} -e \ "s/SCRIPTING_LANGS.*Python//" \ ${WRKSRC}/build.conf .endif ${REINPLACE_CMD} -e \ 's|/usr/local/qtiplot/fitPlugins|${DATADIR}/fitPlugins|' \ ${WRKSRC}/qtiplot/src/core/ApplicationWindow.cpp ${REINPLACE_CMD} -e \ 's|target.path=.*|target.path=${DATADIR}/fitPlugins|g' \ ${WRKSRC}/fitPlugins/*/*.pro ${REINPLACE_CMD} -e '/^system($$$$LUPDATE/d; /^system($$$$LRELEASE/d' \ ${WRKSRC}/${PORTNAME}/qtiplot.pro .if ${PORT_OPTIONS:MDEBUG} ${REINPLACE_CMD} -e \ "/^CONFIG.*release/s|release|debug|" \ ${WRKSRC}/build.conf .endif .if !${PORT_OPTIONS:MNLS} ${REINPLACE_CMD} -e \ "/INSTALLS.*translations/d" \ ${WRKSRC}/${PORTNAME}/qtiplot.pro .endif pre-configure: .if ${PORT_OPTIONS:MNLS} cd ${WRKSRC}/qtiplot && ${LRELEASE} -compress qtiplot.pro .endif post-install: ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,} ${INSTALL_DATA} ${WRKSRC}/qtiplot_logo.png ${STAGEDIR}${PREFIX}/share/pixmaps/qtiplot.png .if ${PORT_OPTIONS:MPYTHON} .for s in qtiplotrc.py qtiUtil.py cd ${WRKSRC}/qtiplot && ${PYTHON_CMD} -c "import py_compile; py_compile.compile('${s}')" ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${s}c ${STAGEDIR}${DATADIR}/${s}c .endfor .endif .include diff --git a/math/ruby-gsl/Makefile b/math/ruby-gsl/Makefile index 74f45b663544..e198f599d316 100644 --- a/math/ruby-gsl/Makefile +++ b/math/ruby-gsl/Makefile @@ -1,55 +1,55 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= gsl PORTVERSION= 1.14.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math ruby MASTER_SITES= RF MASTER_SITE_SUBDIR= rb-${PORTNAME} PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= rb-${PORTNAME}-${PORTVERSION} EXTRACT_SUFX= .tgz DIST_SUBDIR= ruby MAINTAINER= clsung@FreeBSD.org COMMENT= Ruby extension library for GSL (GNU Scientific Library) LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl USE_RUBY= yes USE_RUBY_SETUP= yes CONFIGURE_ARGS= -- --with-opt-dir="${LOCALBASE}" DOCS= AUTHORS ChangeLog THANKS rdoc OPTIONS_DEFINE= DOCS post-extract: ${FIND} ${WRKSRC} '(' -name '.DS_Store' -o -name '*~' ')' -delete post-patch: ${REINPLACE_CMD} -e 's|gsl_matrix_complex_equal|rb_&|g' \ ${WRKSRC}/ext/matrix_complex.c ${REINPLACE_CMD} -e 's|gsl_vector_complex_equal|rb_&|g' \ ${WRKSRC}/ext/vector_complex.c ${REINPLACE_CMD} -Ee \ '/(gsl_wavelet_direction|INT2FIX)/s/(for|back)ward/gsl_wavelet_&/' \ ${WRKSRC}/ext/wavelet.c ${REINPLACE_CMD} -Ee '/INT2FIX/s/(for|back)ward/gsl_fft_&/' \ ${WRKSRC}/ext/fft.c post-install: ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "${DOCS}" ${STAGEDIR}${RUBY_MODDOCDIR}/ .include .if ${RUBY_VER} >= 2.0 BROKEN= Does not build with Ruby 2.0 or newer .endif .include diff --git a/science/abinit/Makefile b/science/abinit/Makefile index 8f0a2734c553..7f1a021a8a16 100644 --- a/science/abinit/Makefile +++ b/science/abinit/Makefile @@ -1,88 +1,88 @@ # Created by: NAKATA Maho # $FreeBSD$ PORTNAME= abinit PORTVERSION= 5.7.3 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= science MASTER_SITES= ftp://ftp.abinit.org/pub/abinitio/ABINIT_v${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Abinit calculates electronic structure of systems BUILD_DEPENDS= python:${PORTSDIR}/lang/python \ ${PYTHON_SITELIBDIR}/numarray/__init__.py:${PORTSDIR}/math/py-numarray LIB_DEPENDS= libnetcdff.so:${PORTSDIR}/science/netcdf-fortran \ libgsl.so:${PORTSDIR}/math/gsl USES= fortran gmake perl5 USE_PYTHON= yes USE_PERL5= build USE_AUTOTOOLS= autoconf automake CONFIGURE_ENV= WGET=${TRUE} CONFIGURE_ARGS= --disable-wannier90 --disable-bigdft --disable-etsf-io \ --with-plugins-tardir=/dev/null \ --with-netcdf-includes="-I${LOCALBASE}/include" \ --enable-bindings --enable-gsl \ --with-netcdf-libs="-L${LOCALBASE}/lib -lnetcdff -lnetcdf" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS EXAMPLES NO_STAGE= yes .include .if ${PORT_OPTIONS:MDOCS} USE_TEX= latex:build dvipsk:build BUILD_DEPENDS+= gm4:${PORTSDIR}/devel/m4 \ markdown:${PORTSDIR}/textproc/markdown USE_GHOSTSCRIPT_BUILD= yes .endif .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" MANUAL_PACKAGE_BUILD= takes a tremendous amount of time to build on pointyhat nodes .endif .if exists(${LOCALBASE}/lib/libatlas.so) && !defined(WITH_BLAS) WITH_ATLAS= yes .endif .if defined(WITH_ATLAS) LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas BLAS= -lf77blas LAPACK= -lalapack -lcblas .else LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack BLAS= -lblas LAPACK= -llapack .endif pre-configure: .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/^abinit_top_subdirs =/s| doc||' ${WRKSRC}/config/specs/other.cf .endif .if ! ${PORT_OPTIONS:MEXAMPLES} ${REINPLACE_CMD} -e '/^abinit_top_subdirs =/s| tests||' ${WRKSRC}/config/specs/other.cf .endif (cd ${WRKSRC} && ./config/scripts/makemake) ${CHMOD} a+x ${WRKSRC}/bindings/parser/*.py post-build: @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} libabinit) post-install: ${MKDIR} ${PREFIX}/include ${PREFIX}/lib .for lf in libabinip.a libabinis.a ${INSTALL_DATA} ${WRKSRC}/${lf} ${PREFIX}/lib .endfor .for lf in ab_dtset_c.h dtset_c.h dtset_c.static.h dtset_f90.inc dtset_py.h \ ab_dtset_f90_get.f90 ${INSTALL_DATA} ${WRKSRC}/bindings/parser/${lf} ${PREFIX}/include .endfor regression-test: cd ${WRKSRC}/tests ; ${MAKE_CMD} tests_min .include diff --git a/science/afni/Makefile b/science/afni/Makefile index b8d3958fb524..5e256e225ea3 100644 --- a/science/afni/Makefile +++ b/science/afni/Makefile @@ -1,139 +1,139 @@ # Created by: Jason W. Bacon # $FreeBSD$ ############################################################################ # http://www.neuro.mcw.edu/Ports has the latest source distribution from # which this port is built. It will be updated as time permits. # # afni.nimh.nih.gov is the ultimate source for AFNI, and will always # contain the latest source release. If this port is not up to date, # you can download the latest sources and build manually. PORTNAME= afni PORTVERSION= 2012.04.17.2129 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= science biology graphics MASTER_SITES= http://personalpages.tds.net/~jwbacon/Ports/distfiles/AFNI/${PORTVERSION}/ \ http://www.acadix.biz/Ports/distfiles/AFNI/${PORTVERSION}/ DISTFILES= afni_src.tgz afni.1 3dClustBust.c \ TTatlas+tlrc.BRIK.gz TTatlas+tlrc.HEAD CA_EZ_v1.5-July3107.tgz DIST_SUBDIR= AFNI-${PORTVERSION} EXTRACT_ONLY= afni_src.tgz CA_EZ_v1.5-July3107.tgz MAINTAINER= jwbacon@tds.net COMMENT= Advanced Functional Neuro Imaging LICENSE= GPLv2 LIB_DEPENDS= libXm.so:${PORTSDIR}/x11-toolkits/open-motif \ libR.so:${PORTSDIR}/math/R \ libgsl.so:${PORTSDIR}/math/gsl \ libnetcdf.so:${PORTSDIR}/science/netcdf-fortran RUN_DEPENDS= cjpeg:${PORTSDIR}/graphics/jpeg \ mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode \ whirlgif:${PORTSDIR}/graphics/whirlgif \ ppmtogif:${PORTSDIR}/graphics/netpbm \ endian:${PORTSDIR}/sysutils/endian \ qhull:${PORTSDIR}/math/qhull5 CONFLICTS= im-[0-9]* \ nifticlib-[0-9]* \ open-usp-tukubai-[0-9]* USES= gettext iconv gmake motif perl5 # Some prereqs use gcc anyway USE_GCC= yes OPTIONS_DEFINE= DOCS .include BROKEN_sparc64= Does not compile: "undefined reference to '_mcount'" USE_GL= glw glu USE_XORG= xi MAKE_ENV= CC="${CC}" MAKE_JOBS_UNSAFE=yes WRKSRC= ${WRKDIR}/afni_src ALL_TARGET= vastness suma ########################################################################### # Install parameters SUB_FILES= pkg-message afni.cshrc afni.profile INSTALL_WRKSRC= ${WRKSRC}/BSD PRESTAGE= ${WRKSRC}/prestage X11R6_FILES= coxplot/Makefile \ coxplot/Makefile.f2c \ 3DEdge/src/Makefile \ SUMA/SUMA_Makefile \ edt_blur.c \ suma_datasets.c \ SUMA/SUMA_Load_Surface_Object.c \ SUMA/SUMA_MiscFunc.c \ SUMA/SUMA_ParseCommands.c \ SUMA/GLUT/libglut/glut_event.c \ SUMA/SUMA_Surface_IO.c post-extract: @${CP} -f ${FILESDIR}/Makefile.FreeBSD_PORT ${WRKSRC}/Makefile .for f in ${X11R6_FILES} @${REINPLACE_CMD} -e 's|/usr/X11R6|$${LOCALBASE}|g' ${WRKSRC}/${f} .endfor @${REINPLACE_CMD} -E 's|AFNI_[0-9_]+|${PORTVERSION}|g' ${WRKSRC}/AFNI_label.h @${CP} ${DISTDIR}/${DIST_SUBDIR}/afni.1 ${WRKDIR} @${CP} ${DISTDIR}/${DIST_SUBDIR}/3dClustBust.c ${WRKSRC} @${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g" ${WRKDIR}/afni.1 post-build: ${MKDIR} ${PRESTAGE}/bin \ ${PRESTAGE}/scripts \ ${PRESTAGE}/lib \ ${PRESTAGE}/include \ ${PRESTAGE}/trash \ ${PRESTAGE}/doc \ ${PRESTAGE}/share ${MV} ${INSTALL_WRKSRC}/libf2c.a \ ${PRESTAGE}/trash ${MV} ${INSTALL_WRKSRC}/*.a \ ${INSTALL_WRKSRC}/*.so \ ${PRESTAGE}/lib ${MV} ${INSTALL_WRKSRC}/funstuff \ ${INSTALL_WRKSRC}/AFNI.*rc \ ${INSTALL_WRKSRC}/afnigui* \ ${PRESTAGE}/share ${MV} ${INSTALL_WRKSRC}/*.h \ ${PRESTAGE}/include ${MV} ${INSTALL_WRKSRC}/README* \ ${PRESTAGE}/doc ${MV} ${INSTALL_WRKSRC}/abut ${INSTALL_WRKSRC}/afni_abut for binary in `${FILE} ${INSTALL_WRKSRC}/* | fgrep 'ELF' | ${AWK} -F ':' ' { print $$1 }'` ; do \ ${MV} $${binary} ${PRESTAGE}/bin ; \ done ${MV} ${INSTALL_WRKSRC}/* \ ${PRESTAGE}/scripts do-install: ${MKDIR} ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${PREFIX}/lib/afni \ ${STAGEDIR}${PREFIX}/include/afni ${INSTALL_DATA} ${PRESTAGE}/lib/* ${STAGEDIR}${PREFIX}/lib/afni ${INSTALL_DATA} ${PRESTAGE}/include/* ${STAGEDIR}${PREFIX}/include/afni ${CP} -R ${PRESTAGE}/share/* ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${PRESTAGE}/bin/* ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${PRESTAGE}/scripts/* ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/TTatlas* ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/CA_EZ_v1.5-July3107/* ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKDIR}/afni.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${PREFIX}/etc/mri ${INSTALL_DATA} ${PRESTAGE}/doc/* ${STAGEDIR}${DOCSDIR} ${INSTALL_SCRIPT} ${WRKDIR}/afni.cshrc ${WRKDIR}/afni.profile \ ${STAGEDIR}${PREFIX}/etc/mri .endif .include diff --git a/science/fisicalab/Makefile b/science/fisicalab/Makefile index cd5405f3d7ac..2889462b70fc 100644 --- a/science/fisicalab/Makefile +++ b/science/fisicalab/Makefile @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= fisicalab PORTVERSION= 0.3.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science gnustep MASTER_SITES= ${MASTER_SITE_SAVANNAH} MASTER_SITE_SUBDIR= fisicalab MAINTAINER= theraven@FreeBSD.org COMMENT= Physics simulation program for educational use LICENSE= GPLv3 LIB_DEPENDS+= libgsl.so:${PORTSDIR}/math/gsl USE_GNUSTEP_CONFIGURE= yes USE_GNUSTEP= yes USE_GNUSTEP_GUI= yes USE_GNUSTEP_BUILD= yes USE_GNUSTEP_INSTALL= yes .include diff --git a/science/getdp/Makefile b/science/getdp/Makefile index 774efac65e85..11416a447521 100644 --- a/science/getdp/Makefile +++ b/science/getdp/Makefile @@ -1,46 +1,46 @@ # Created by: Thierry Thomas # $FreeBSD$ PORTNAME= getdp PORTVERSION= 2.2.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science MASTER_SITES= http://www.geuz.org/getdp/src/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source MAINTAINER= stephen@FreeBSD.org COMMENT= Rather general finite element solver using mixed finite elements LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl \ liblapack.so:${PORTSDIR}/math/lapack USES= fortran gmake tar:tgz GNU_CONFIGURE= yes # Using --enable-sparskit instead of math/petsc. The maintainer couldn't get # the math/petsc to work. This is a bmake/gmake clash. CONFIGURE_ARGS= --with-gsl-prefix=${LOCALBASE} \ --with-blas-lapack-prefix=${LOCALBASE} \ --enable-sparskit MAKE_ARGS= bindir=${STAGEDIR}${PREFIX}/bin mandir=${STAGEDIR}${PREFIX}/man WANT_PERL= yes MAKE_JOBS_UNSAFE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -e 's/-lgfortran/& $${LDFLAGS}/' ${WRKSRC}/configure post-install: cd ${WRKSRC}/doc && ${FIND} -s ${WRKSRC}/doc/* | ${SED} -e 's#${WRKSRC}/doc/##' | ${CPIO} -pmud -R ${BINOWN}:${BINGRP} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/demos && ${FIND} -s ${WRKSRC}/demos/* | ${SED} -e 's#${WRKSRC}/demos/##' | ${CPIO} -pmud -R ${BINOWN}:${BINGRP} ${STAGEDIR}${EXAMPLESDIR} .include .if defined(MAINTAINER_MODE) regression-test: install cd ${WRKSRC}/demos && yes "" | ${PORTNAME} magnet.pro -solve MagSta_phi .endif .include diff --git a/science/gnudatalanguage/Makefile b/science/gnudatalanguage/Makefile index 708480b8d7f6..e230917564af 100644 --- a/science/gnudatalanguage/Makefile +++ b/science/gnudatalanguage/Makefile @@ -1,157 +1,157 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= gnudatalanguage DISTVERSION= 0.9.4 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= science lang MASTER_SITES= SF/${PORTNAME}/gdl/${DISTVERSION} .if defined(BUILD_PYTHON_MODULE) PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} .endif DISTNAME= gdl-${DISTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT?= GDL, a free IDL compatible incremental compiler LICENSE= GPLv2 #--------------------------------------------------------------------------- # You may define these options: # # - WITHOUT_GRAPHICSMAGICK: remove GraphicsMagick support # - WITHOUT_HDF5: remove HDF5 support # - WITHOUT_NETCDF: remove netCDF support # - WITHOUT_HDF: remove HDF 4 suppport (conflict with netCDF) # - WITHOUT_PYTHON: don't build the interface to python # - WITHOUT_FFTW3: remove FFTW (faster fft routine than GSL) # - WITHOUT_EIGEN remove Eigen support (boost performance) # - WITHOUT_UDUNITS remove unit conversion in IMSL_CONSTANT # #--------------------------------------------------------------------------- LIB_DEPENDS+= libplplotd.so:${PORTSDIR}/math/plplot \ libps.so:${PORTSDIR}/print/pslib \ libgsl.so:${PORTSDIR}/math/gsl USE_WX= 2.8 WX_UNICODE= yes USE_XORG= x11 USES= pkgconfig cmake dos2unix compiler:gcc-c++11-lib # Disable ncurses and readline from ports # Disable ImageMagick (does'nt work with plplot because dynamic drivers # are enabled by default) # TODO: add a slave port for mpich - ATM just deactivate its support. CMAKE_ARGS= -DREADLINEDIR:STRING="/usr" \ -DNCURSESDIR:STRING="/usr" \ -DMPICH:BOOL=NO \ -DMAGICK:BOOL=NO CPPFLAGS+= ${CFLAGS} -fno-inline ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib SLAVEDIRS= science/py-gnudatalanguage OPTIONS_DEFINE= EXAMPLES .if defined(BUILD_PYTHON_MODULE) CATEGORIES+= python CMAKE_ARGS+= -DPYTHON_MODULE:BOOL=YES -DOPENMP:BOOL=NO PLIST_FILES= %%PYTHON_SITELIBDIR%%/GDL.so PLIST_SUB+= MASTER="@comment " .else CMAKE_ARGS+= -DPYTHON_MODULE:BOOL=NO PLIST_SUB+= MASTER="" .endif .if !defined(WITHOUT_GRAPHICSMAGICK) LIB_DEPENDS+= libGraphicsMagick.so:${PORTSDIR}/graphics/GraphicsMagick CMAKE_ARGS+= -DGRAPHICSMAGICK:BOOL=YES .else CMAKE_ARGS+= -DGRAPHICSMAGICK:BOOL=NO .endif .if !defined(WITHOUT_HDF5) LIB_DEPENDS+= libhdf5.so:${PORTSDIR}/science/hdf5 CMAKE_ARGS+= -DHDF5:BOOL=YES .else CMAKE_ARGS+= -DHDF5:BOOL=NO .endif .if !defined(WITHOUT_NETCDF) LIB_DEPENDS+= libnetcdf.so:${PORTSDIR}/science/netcdf CMAKE_ARGS+= -DNETCDF:BOOL=YES -DHDF:BOOL=NO .else CMAKE_ARGS+= -DNETCDF:BOOL=NO . if !defined(WITHOUT_HDF) LIB_DEPENDS+= libdf.so.2:${PORTSDIR}/science/hdf CMAKE_ARGS+= -DHDF:BOOL=YES . else CMAKE_ARGS+= -DHDF:BOOL=NO . endif .endif .if !defined(WITHOUT_EIGEN) BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:${PORTSDIR}/math/eigen3 CMAKE_ARGS+= -DEIGEN3:BOOL=YES .else CMAKE_ARGS+= -DEIGEN3:BOOL=NO .endif .if !defined(WITHOUT_UDUNITS) LIB_DEPENDS+= libudunits2.so:${PORTSDIR}/science/udunits CMAKE_ARGS+= -DUDUNITS:BOOL=YES .else CMAKE_ARGS+= -DUDUNITS:BOOL=NO .endif .if !defined(WITHOUT_PYTHON) || defined(BUILD_PYTHON_MODULE) USE_PYTHON= 2 BUILD_DEPENDS+= ${PYNUMPY} RUN_DEPENDS+= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib CMAKE_ARGS+= -DPYTHON:BOOL=YES -DPYTHONVERSION:STRING="${PYTHON_VER}" .else CMAKE_ARGS+= -DPYTHON:BOOL=NO .endif .include .if ${OSVERSION} < 800503 BROKEN= Does not build with ancient binutils .endif .if !defined(WITHOUT_FFTW3) LIB_DEPENDS+= libfftw3.so:${PORTSDIR}/math/fftw3 \ libfftw3f.so:${PORTSDIR}/math/fftw3-float CMAKE_ARGS+= -DFFTW:BOOL=YES .else CMAKE_ARGS+= -DFFTW:BOOL=NO .endif .if defined(BUILD_PYTHON_MODULE) do-install: ${INSTALL_DATA} ${WRKSRC}/src/.libs/libgdl.so.0 ${PYTHON_SITELIBDIR}/GDL.so .endif .if !defined(BUILD_PYTHON_MODULE) post-stage: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/testsuite (cd ${WRKSRC}/testsuite && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}/testsuite/) .endif .if defined(MAINTAINER_MODE) regression-test: install . if defined(BUILD_PYTHON_MODULE) @${ECHO_CMD} 'import GDL' > ${WRKDIR}/testgdl.py @${ECHO_CMD} 'print GDL.function("sin",(1,))' >> ${WRKDIR}/testgdl.py ${PYTHON_CMD} ${WRKDIR}/testgdl.py . else @${ECHO_CMD} ".RUN ${EXAMPLESDIR}/testsuite/test_suite.pro" \ > ${WRKDIR}/testgdl @${ECHO_CMD} "exit" >> ${WRKDIR}/testgdl ${PREFIX}/bin/gdl < ${WRKDIR}/testgdl . endif .endif .include diff --git a/science/kst2/Makefile b/science/kst2/Makefile index b15b3abad02c..bf3dd49b2e49 100644 --- a/science/kst2/Makefile +++ b/science/kst2/Makefile @@ -1,58 +1,58 @@ # Created by: Markus Brueffer # $FreeBSD$ PORTNAME= kst DISTVERSION= 2.0.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= science kde MASTER_SITES= SF/${PORTNAME}/Kst%20${DISTVERSION:C/-r.*//}/ MAINTAINER= makc@FreeBSD.org COMMENT= Data viewing and plotting tool LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl USES= cmake pkgconfig USE_QT4= gui xml designer svg opengl \ qmake_build moc_build rcc_build uic_build USE_LDCONFIG= yes CMAKE_SOURCE_PATH= ${WRKSRC}/cmake CMAKE_ARGS+= -Dkst_install_prefix=${PREFIX} \ -Dkst_pch=off PLIST_SUB= SHLIB_VER=${PORTVERSION} OPTIONS_DEFINE= FITS MATLAB NETCDF OPTIONS_SUB= yes FITS_DESC= Support for data in FITS format FITS_LIB_DEPENDS= libcfitsio.so:${PORTSDIR}/astro/cfitsio MATLAB_DESC= Support for data in MATLAB format MATLAB_LIB_DEPENDS= libmatio.so:${PORTSDIR}/math/matio NETCDF_DESC= Support for data in NetCDF format NETCDF_LIB_DEPENDS= libnetcdf.so:${PORTSDIR}/science/netcdf .include post-patch: ${REINPLACE_CMD} -e '/^Exec=kst2/s,\(kst2\).*,\1 %f,' \ ${WRKSRC}/src/kst/kst2.desktop pre-configure: .if !${PORT_OPTIONS:MFITS} ${REINPLACE_CMD} -e '/find_package(CFITSIO)/d' \ ${CMAKE_SOURCE_PATH}/CMakeLists.txt .endif .if !${PORT_OPTIONS:MMATLAB} ${REINPLACE_CMD} -e '/find_package(Matio)/d' \ ${CMAKE_SOURCE_PATH}/CMakeLists.txt .endif .if !${PORT_OPTIONS:MNETCDF} ${REINPLACE_CMD} -e '/find_package(Netcdf)/d' \ ${CMAKE_SOURCE_PATH}/CMakeLists.txt .endif .include diff --git a/science/py-mlpy/Makefile b/science/py-mlpy/Makefile index 60bf37b8b4a2..8990219b0c3b 100644 --- a/science/py-mlpy/Makefile +++ b/science/py-mlpy/Makefile @@ -1,27 +1,28 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= mlpy PORTVERSION= 3.5.0 +PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= High performance Python package for predictive modeling LICENSE= GPLv3 BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \ cython>0:${PORTSDIR}/lang/cython RUN_DEPENDS:= ${BUILD_DEPENDS} LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl USE_LDCONFIG= yes CFLAGS+= -I${LOCALBASE}/include -I${PYTHON_SITELIBDIR}/numpy/core LDFLAGS+= -L${LOCALBASE}/lib USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes .include diff --git a/science/step/Makefile b/science/step/Makefile index f376a6ad1e01..e4d332c657af 100644 --- a/science/step/Makefile +++ b/science/step/Makefile @@ -1,28 +1,28 @@ # $FreeBSD$ PORTNAME= step PORTVERSION= ${KDE4_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science kde MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE/${PORTVERSION} MAINTAINER= kde@FreeBSD.org COMMENT= KDE 4 interactive physics simulator LIB_DEPENDS= libqalculate.so:${PORTSDIR}/math/libqalculate \ libgsl.so:${PORTSDIR}/math/gsl BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:${PORTSDIR}/math/eigen2 USE_KDE4= kdehier kdelibs kdeprefix automoc4 USES= cmake:outsource tar:xz USE_QT4= opengl moc_build qmake_build rcc_build uic_build pre-configure: # Avoid building translations, should the user pass # CURRENT_LANG to CMake. ${REINPLACE_CMD} -e '/set(STEP_BUILD_TRANSLATIONS 1)/ d' \ ${WRKSRC}/${PORTNAME}/data/CMakeLists.txt .include