Index: head/biology/freebayes/Makefile =================================================================== --- head/biology/freebayes/Makefile (revision 480002) +++ head/biology/freebayes/Makefile (revision 480003) @@ -1,54 +1,54 @@ # $FreeBSD$ PORTNAME= freebayes DISTVERSIONPREFIX= v DISTVERSION= 1.2.0 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Bayesian haplotype-based polymorphism discovery and genotyping LICENSE= MIT BROKEN_aarch64= fails to compile: invalid conversion between vector type and integer type BROKEN_armv6= fails to compile: invalid conversion between vector type and integer type BROKEN_armv7= fails to compile: invalid conversion between vector type and integer type # Submodules use older versions than the ports, so we cannot safely unbundle # No shared libs are built by the submodules so there will be no conflicts -USES= gmake tar:xz +USES= compiler:c++11-lang gmake tar:xz USE_GITHUB= yes GH_ACCOUNT= ekg GH_TUPLE= walaj:SeqLib:5941c68:SeqLib/SeqLib-temp \ jwalabroad:bwa:c02766e:bwa/SeqLib/bwa \ jwalabroad:fermi-lite:5bc90f8:fermi/SeqLib/fermi-lite \ samtools:htslib:49fdfbd:htslib/SeqLib/htslib \ ekg:bamtools:e77a43f:bamtools/bamtools \ ekg:intervaltree:dbb4c51:interval1/intervaltree \ vcflib:vcflib:5e3ce04:vcflib/vcflib-temp \ ekg:fastahack:c68cebb:fastahack/vcflib/fastahack \ ekg:filevercmp:1a9b779:filevercmp/vcflib/filevercmp \ ekg:fsom:a6ef318:fsom/vcflib/fsom \ google:googletest:d225acc:google/vcflib/googletest \ ekg:intervaltree:b704f19:interval2/vcflib/intervaltree \ ekg:multichoose:73d35da:multichoose/vcflib/multichoose \ ekg:smithwaterman:84c08d7:smithwaterman/vcflib/smithwaterman \ ekg:tabixpp:80012f8:tabixpp/vcflib/tabixpp \ samtools:htslib:0f298ce:hts2/vcflib/tabixpp/htslib # GCC disables sse2 by default on i386, but it's required for vcflib CXXFLAGS+= --std=c++11 CFLAGS_i386= -msse2 MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/bamleftalign bin/freebayes # GH_TUPLEs cannot seem to share a top-level subdirectory, so we work around # by dumping the parent in a temp directory and then moving the contents post-extract: ${MV} -n ${WRKSRC}/SeqLib-temp/* ${WRKSRC}/SeqLib ${MV} -n ${WRKSRC}/vcflib-temp/* ${WRKSRC}/vcflib do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/* ${STAGEDIR}${PREFIX}/bin .include Index: head/databases/php-xapian/Makefile =================================================================== --- head/databases/php-xapian/Makefile (revision 480002) +++ head/databases/php-xapian/Makefile (revision 480003) @@ -1,52 +1,52 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= xapian PORTVERSION= 1.4.7 DISTVERSIONPREFIX= bindings- CATEGORIES= databases MASTER_SITES= http://oligarchy.co.uk/xapian/${PORTVERSION}/ \ LOCAL/sunpoet PKGNAMEPREFIX= php- MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP binding for Xapian LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xapian-core>=${PORTVERSION}:databases/xapian-core LIB_DEPENDS= libxapian.so:databases/xapian-core CONFLICTS_INSTALL= xapian-bindings12 OPTIONS_DEFINE= DOCS PORTSCOUT= limitw:1,even CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR} \ --enable-static \ --with-php \ --without-csharp --without-java --without-lua --without-perl \ --without-python --without-python3 --without-ruby --without-tcl CONFIGURE_ENV= PHP_CONFIG=${LOCALBASE}/bin/php-config GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= libtool php:build tar:xz +USES= compiler:c++11-lang libtool php:build tar:xz PLIST_SUB= PHP_EXT_DIR=${PHP_EXT_DIR} PHP_MAJOR_VER=${PHP_VER:C|.$||} .include .if ${PHP_VER} >= 70 CONFIGURE_ARGS+=--with-php7 --without-php PLIST_SUB+= PHP5="@comment " PHP7="" .else CONFIGURE_ARGS+=--with-php --without-php7 PLIST_SUB+= PHP5="" PHP7="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure .include Index: head/games/OpenTomb/Makefile =================================================================== --- head/games/OpenTomb/Makefile (revision 480002) +++ head/games/OpenTomb/Makefile (revision 480003) @@ -1,37 +1,37 @@ # Created by: Piotr Kubaj # $FreeBSD$ PORTNAME= OpenTomb DISTVERSIONPREFIX= win32- DISTVERSION= 2018-02-03_alpha CATEGORIES= games MAINTAINER= pkubaj@anongoth.pl COMMENT= Open-source Tomb Raider 1-5 engine remake LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpng.so:graphics/png -USES= cmake lua openal +USES= cmake compiler:c++11-lang lua openal USE_GITHUB= yes USE_SDL= sdl2 LLD_UNSAFE= yes SUB_FILES= OpenTomb post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/render/shader_manager.cpp @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/scripts/entity/entity_functions.lua @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/scripts/trigger/trigger_functions.lua do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/autoexec.lua ${STAGEDIR}${DATADIR} @cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/scripts "! -name *\.bak" @cd ${WRKSRC}/shaders && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/shaders @cd ${WRKSRC}/resource && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/resource ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include Index: head/games/numptyphysics/Makefile =================================================================== --- head/games/numptyphysics/Makefile (revision 480002) +++ head/games/numptyphysics/Makefile (revision 480003) @@ -1,49 +1,49 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= numptyphysics DISTVERSION= 0.3.r20090104 PORTREVISION= 9 CATEGORIES= games MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Drawing physics-based puzzle game LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= tar:bzip2 desktop-file-utils +USES= compiler:c++11-lang tar:bzip2 desktop-file-utils GNU_CONFIGURE= yes USE_SDL= sdl image USE_XORG= x11 INSTALLS_ICONS= yes CONFIGURE_ENV= AUTOMAKE="${TRUE}" ACLOCAL="${TRUE}" MISSING="${TRUE}" LDFLAGS+= -L${LOCALBASE}/lib -lpthread CPPFLAGS+= -I${LOCALBASE}/include -DINSTALL_BASE_PATH=\"\\\"${DATADIR}\\\"\" CXXFLAGS+= -Wno-c++11-narrowing WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= MOREFPS OPTIONS_DEFAULT=MOREFPS MOREFPS_DESC= Smoother graphics support post-patch: @${CHMOD} a+x ${WRKSRC}/install-sh @${REINPLACE_CMD} -e 's|\(desktopentrydir=\).*|\1${PREFIX}/share/applications|' \ -e '/stdc++/ d' \ ${WRKSRC}/configure ${WRKSRC}/configure.in @${REINPLACE_CMD} -e 's|^Exec=.*|Exec=${PORTNAME}|; /^X-Icon-Path/ d' \ ${WRKSRC}/data/${PORTNAME}.desktop post-patch-MOREFPS-on: @${REINPLACE_CMD} -e '/define RENDER_RATE/ s|20|60|' \ ${WRKSRC}/Config.h post-build: @${STRIP_CMD} ${WRKSRC}/${PORTNAME} .include Index: head/games/stockfish/Makefile =================================================================== --- head/games/stockfish/Makefile (revision 480002) +++ head/games/stockfish/Makefile (revision 480003) @@ -1,70 +1,70 @@ # Created by: Gautam Mani # $FreeBSD$ PORTNAME= stockfish DISTVERSION= 9 DISTVERSIONSUFFIX= -src CATEGORIES= games MASTER_SITES= http://stockfish.s3.amazonaws.com/ MAINTAINER= execve@gmail.com COMMENT= Open source chess engine LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../Copying.txt NOT_FOR_ARCHS= sparc64 BROKEN_aarch64= Fails to build: cannot detect architecture BROKEN_armv6= Fails to configure: config-sanity: Error 1 BROKEN_armv7= Fails to configure: config-sanity: Error 1 BROKEN_mips64= Fails to build: cannot detect architecture -USES= compiler gmake zip +USES= compiler:c++11-lang gmake zip NO_WRKSUBDIR= yes WRKSRC_SUBDIR= src MYARCH= ${ARCH} MYCC= ${COMPILER_TYPE} TGTBLD= build PLIST_FILES= bin/stockfish PORTDOCS= Readme.md OPTIONS_DEFINE= DOCS POPCNT POPCNT_DESC= Use the POPCNT instruction .include .if ${PORT_OPTIONS:MPOPCNT} && ${ARCH} != amd64 BROKEN= POPCNT compiles only on amd64 .endif # workaround the ARCH usage in the stockfish Makefile .if ${ARCH} == "i386" MYARCH= x86-32 .elif ${ARCH} == "amd64" . if ${PORT_OPTIONS:MPOPCNT} MYARCH= x86-64-modern . else MYARCH= x86-64 . endif .elif ${ARCH} == powerpc MYARCH= ppc-32 .elif ${ARCH} == powerpc64 MYARCH= ppc-64 .endif ALL_TARGET= ${TGTBLD} ARCH=${MYARCH} COMP=${MYCC} post-patch: @${REINPLACE_CMD} -e "s/^PREFIX =/PREFIX ?=/" ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/stockfish ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/../Readme.md ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/poppler/Makefile =================================================================== --- head/graphics/poppler/Makefile (revision 480002) +++ head/graphics/poppler/Makefile (revision 480003) @@ -1,145 +1,145 @@ # Created by: marcus@FreeBSD.org # $FreeBSD$ PORTNAME= poppler PORTVERSION= 0.57.0 PORTREVISION= 1 CATEGORIES= graphics print MASTER_SITES= http://poppler.freedesktop.org/ MAINTAINER?= gnome@FreeBSD.org COMMENT?= PDF rendering library LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfontconfig.so:x11-fonts/fontconfig \ liblcms2.so:graphics/lcms2 \ libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libnspr4.so:devel/nspr RUN_DEPENDS= poppler-data>0:graphics/poppler-data -USES= cpe gmake jpeg libtool localbase pathfix pkgconfig tar:xz +USES= compiler:c++11-lang cpe gmake jpeg libtool localbase pathfix pkgconfig tar:xz CPE_VENDOR= freedesktop USE_GNOME= libxml2 GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --enable-zlib \ --enable-xpdf-headers \ --disable-libnss \ --disable-gtk-test \ --without-html-dir \ --disable-static \ --enable-libnss INSTALL_TARGET= install-strip .if !defined(SLAVEPORT) PORTSCOUT= limitw:1,even OPTIONS_DEFINE= CAIRO CURL OPENJPEG OPTIONS_DEFAULT=CAIRO OPENJPEG USES+= iconv .endif .include .if defined(SLAVEPORT) PORTSCOUT= ignore:1 LIB_DEPENDS+= libpoppler.so:graphics/poppler .if ${SLAVEPORT}==glib CONFIGURE_ARGS+=--enable-poppler-glib --enable-introspection=yes USE_GNOME+= cairo glib20 introspection:build BUILD_WRKSRC= ${WRKSRC}/glib INSTALL_WRKSRC= ${WRKSRC}/glib .else CONFIGURE_ARGS+=--disable-poppler-glib .endif .if ${SLAVEPORT}==qt4 CONFIGURE_ARGS+=--enable-poppler-qt4 CONFIGURE_ENV+= MOCQT4=${MOC} USES+= qt:4 USE_QT= gui corelib xml qtestlib moc_build BUILD_WRKSRC= ${WRKSRC}/qt4 INSTALL_WRKSRC= ${WRKSRC}/qt4 .else CONFIGURE_ARGS+=--disable-poppler-qt4 .endif .if ${SLAVEPORT}==qt5 CONFIGURE_ARGS+=--enable-poppler-qt5 CONFIGURE_ENV+= MOCQT5=${MOC} USES+= qt:5 USE_QT= core gui widgets xml buildtools_build testlib_build # Qt from 5.7.0 on requires c++11. USE_CXXSTD= c++11 BUILD_WRKSRC= ${WRKSRC}/qt5 INSTALL_WRKSRC= ${WRKSRC}/qt5 .else CONFIGURE_ARGS+=--disable-poppler-qt5 .endif .if ${SLAVEPORT}==utils LIB_DEPENDS+= libpoppler-glib.so:graphics/poppler-glib CONFIGURE_ARGS+=--enable-utils BUILD_WRKSRC= ${WRKSRC}/utils INSTALL_WRKSRC= ${WRKSRC}/utils .else CONFIGURE_ARGS+=--disable-utils .endif .else # ! SLAVE options below CONFIGURE_ARGS+=--disable-poppler-glib \ --disable-poppler-qt4 \ --disable-poppler-qt5 \ --disable-utils .if ${PORT_OPTIONS:MCAIRO} LIB_DEPENDS+= libcairo.so:graphics/cairo PLIST_SUB+= CAIRO="" .else CONFIGURE_ARGS+=--disable-cairo-output PLIST_SUB+= CAIRO="@comment " .endif .if ${PORT_OPTIONS:MCURL} LIB_DEPENDS+= libcurl.so:ftp/curl CONFIGURE_ARGS+=--enable-libcurl PLIST_SUB+= CURL="" .else CONFIGURE_ARGS+=--disable-libcurl PLIST_SUB+= CURL="@comment " .endif .if ${PORT_OPTIONS:MOPENJPEG} CONFIGURE_ARGS+=--enable-libopenjpeg=openjpeg2 LIB_DEPENDS+= libopenjp2.so:graphics/openjpeg .else CONFIGURE_ARGS+=--enable-libopenjpeg=none .endif .endif # end of options post-patch: @${REINPLACE_CMD} -e 's|-fno-check-new||g' ${WRKSRC}/configure post-install: .if defined(SLAVEPORT) . if ${SLAVEPORT}==glib ${INSTALL_DATA} ${WRKSRC}/poppler-glib.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig . elif ${SLAVEPORT}==qt4 ${INSTALL_DATA} ${WRKSRC}/poppler-qt4.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig . elif ${SLAVEPORT}==qt5 ${INSTALL_DATA} ${WRKSRC}/poppler-qt5.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig . endif .endif .include Index: head/science/antioch/Makefile =================================================================== --- head/science/antioch/Makefile (revision 480002) +++ head/science/antioch/Makefile (revision 480003) @@ -1,37 +1,37 @@ # $FreeBSD$ PORTNAME= antioch DISTVERSIONPREFIX= v DISTVERSION= 0.4.0-156 DISTVERSIONSUFFIX= -g90ffa43 PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= C++ Chemical Kinetics, Thermodynaimics, and Transport Library LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/metaphysicl/metaphysicl_version.h:science/metaphysicl \ ${LOCALBASE}/include/viennacl/vector.hpp:math/viennacl LIB_DEPENDS= libgsl.so:math/gsl \ libOpenCL.so:devel/ocl-icd -USES= autoreconf eigen:3 gmake libtool localbase +USES= autoreconf compiler:c++11-lang eigen:3 gmake libtool localbase USE_GITHUB= yes GH_ACCOUNT= libantioch GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-static \ --enable-eigen --with-eigen-include=${LOCALBASE}/include/eigen3 \ --enable-opencl \ --with-metaphysicl=${LOCALBASE} \ --with-viennacl=${LOCALBASE}/include \ --with-gsl=${LOCALBASE} post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libantioch.so.0.0.0 .include Index: head/security/veracrypt/Makefile =================================================================== --- head/security/veracrypt/Makefile (revision 480002) +++ head/security/veracrypt/Makefile (revision 480003) @@ -1,42 +1,42 @@ # $FreeBSD$ PORTNAME= veracrypt PORTVERSION= 1.22 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME:S/v/V/:S/c/C/}%20${PORTVERSION}/ DISTNAME= ${PORTNAME:S/v/V/:S/c/C/}_${PORTVERSION}_Source MAINTAINER= acm@FreeBSD.org COMMENT= Open-source disk encryption software based on Truecrypt -LICENSE_FILE= ${DOCSDIR}/LICENSE - BUILD_DEPENDS= yasm:devel/yasm RUN_DEPENDS= ${LOCALBASE}/bin/sudo:security/sudo -USES= desktop-file-utils fuse gmake iconv pkgconfig tar:bz2 +LICENSE_FILE= ${DOCSDIR}/LICENSE + +USES= compiler:c++11-lang desktop-file-utils fuse gmake iconv pkgconfig tar:bz2 USE_WX= 3.0+ NO_WRKSUBDIR= yes BUILD_WRKSRC= ${WRKSRC}/src ALL_TARGET= # DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|g' ${WRKSRC}/src/Makefile ${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|g' -e \ 's|Icon=veracrypt|Icon=VeraCrypt-16x16|g' ${WRKSRC}/src/Setup/FreeBSD/veracrypt.desktop do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/Main/veracrypt ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/src/Setup/FreeBSD/veracrypt.desktop ${STAGEDIR}${PREFIX}/share/applications/ cd ${WRKSRC}/src/Resources/Icons && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/pixmaps "-name *\.xpm" do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/License.txt ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html .include