diff --git a/accessibility/caribou/Makefile b/accessibility/caribou/Makefile index b25aafe0909b..ef9f0c32131b 100644 --- a/accessibility/caribou/Makefile +++ b/accessibility/caribou/Makefile @@ -1,45 +1,45 @@ PORTNAME= caribou PORTVERSION= 0.4.21 PORTREVISION= 6 CATEGORIES= accessibility gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Gnome On-Screen keyboard WWW= https://live.gnome.org/Caribou LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libclutter-glx-1.0.so:graphics/clutter \ libgee-0.8.so:devel/libgee \ libxklavier.so:x11/libxklavier \ libcogl-path.so:graphics/cogl \ libjson-glib-1.0.so:devel/json-glib \ libatspi.so:accessibility/at-spi2-core \ libdbus-1.so:devel/dbus RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atspi>=2.1.91:accessibility/py-atspi@${PY_FLAVOR} USES= gettext gl gmake gnome libtool localbase pathfix \ pkgconfig python shebangfix tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk30 intlhack introspection:build libxml2 \ libxslt:build pygobject3 USE_PYTHON= py3kplist SHEBANG_FILES= tools/fix_gir.py tools/make_schema.py USE_GL= egl USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr xtst GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --enable-gtk2-module=no GLIB_SCHEMAS= org.gnome.caribou.gschema.xml \ org.gnome.antler.gschema.xml .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/archivers/dzip/Makefile b/archivers/dzip/Makefile index 037bd9efb2e4..c69cabe4b257 100644 --- a/archivers/dzip/Makefile +++ b/archivers/dzip/Makefile @@ -1,48 +1,48 @@ PORTNAME= dzip PORTVERSION= 2.9 CATEGORIES= archivers games MASTER_SITES= http://speeddemosarchive.com/dzip/ DISTNAME= dz${PORTVERSION:S/.//g}src MAINTAINER= danfe@FreeBSD.org COMMENT= File compression utility specializing in Quake demo compression WWW= https://speeddemosarchive.com/dzip/ LICENSE= ZLIB USES= cpe dos2unix zip CPE_VENDOR= evan_wagner NO_WRKSUBDIR= yes MAKEFILE= ${WRKSRC}/Makefile.linux MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} PORTDOCS= Readme OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: .SILENT ${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if BYTE_ORDER == BIG_ENDIAN/' \ -e 's/ifndef BIG_ENDIAN/if BYTE_ORDER == LITTLE_ENDIAN/' \ ${WRKSRC}/dzip.h ${WRKSRC}/conmain.c ${REINPLACE_CMD} -e '4s,^,#include ,' \ ${WRKSRC}/dzip.h ${REINPLACE_CMD} -e '21d;23d' ${WRKSRC}/dzipcon.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/archivers/rubygem-bzip2-ruby/Makefile b/archivers/rubygem-bzip2-ruby/Makefile index 60bd57a14ca0..0deef5a138af 100644 --- a/archivers/rubygem-bzip2-ruby/Makefile +++ b/archivers/rubygem-bzip2-ruby/Makefile @@ -1,22 +1,22 @@ PORTNAME= bzip2-ruby PORTVERSION= 0.2.7 PORTREVISION= 2 CATEGORIES= archivers rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby C bindings to libbzip2 WWW= https://github.com/brianmario/bzip2-ruby LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual USES= gem .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif .include diff --git a/audio/gstreamer1-plugins-sndio/Makefile b/audio/gstreamer1-plugins-sndio/Makefile index 5ead937d9f41..31aecbf401e0 100644 --- a/audio/gstreamer1-plugins-sndio/Makefile +++ b/audio/gstreamer1-plugins-sndio/Makefile @@ -1,28 +1,28 @@ PORTNAME= gstreamer1-plugins-sndio DISTVERSIONPREFIX= v DISTVERSION= 1.8.0.1 PORTREVISION= 1 CATEGORIES= audio MAINTAINER= gnome@FreeBSD.org COMMENT= Sndio audio sink and source for GStreamer WWW= https://github.com/t6/gstreamer1-plugins-sndio/ LICENSE= ISCL LIB_DEPENDS= libsndio.so:audio/sndio USES= gnome gstreamer pkgconfig USE_GITHUB= yes GH_ACCOUNT= t6 USE_GNOME= glib20 PLIST_FILES= lib/gstreamer-1.0/libgstsndio.so .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile index bcf2bc021f1d..146f179b8ad0 100644 --- a/audio/libaudiofile/Makefile +++ b/audio/libaudiofile/Makefile @@ -1,35 +1,28 @@ PORTNAME= libaudiofile PORTVERSION= 0.3.6 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= GNOME/sources/${PORTNAME:S/lib//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} DISTNAME= audiofile-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= Sound library for SGI audio file WWW= https://www.68k.org/~michael/audiofile/ LICENSE= LGPL21 LIB_DEPENDS= libFLAC.so:audio/flac CONFLICTS= osalp-0.7.* USES= cpe pathfix pkgconfig tar:xz libtool +USE_CXXSTD= c++14 CPE_PRODUCT= audiofile USE_LDCONFIG= yes GNU_CONFIGURE= yes -.include - -post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ - ${WRKSRC}/libaudiofile/modules/SimpleModule.h -.endif - post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaudiofile.so.1 -.include +.include diff --git a/audio/libfishsound/Makefile b/audio/libfishsound/Makefile index 95bfdc1634e9..9ff7aaba0552 100644 --- a/audio/libfishsound/Makefile +++ b/audio/libfishsound/Makefile @@ -1,41 +1,41 @@ PORTNAME= libfishsound PORTVERSION= 1.0.0 PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= https://downloads.xiph.org/releases/libfishsound/ \ https://ftp.osuosl.org/pub/xiph/releases/libfishsound/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Programming interface to decode/encode audio data WWW= https://www.xiph.org/fishsound/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libFLAC.so:audio/flac \ libspeex.so:audio/speex \ libvorbis.so:audio/libvorbis USES= libtool pathfix pkgconfig GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS DOXYGEN OPTIONS_SUB= yes DOXYGEN_IMPLIES=DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch-DOCS-off: @${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.in .include diff --git a/audio/libsidplay/Makefile b/audio/libsidplay/Makefile index 67081ebb6686..092c955dcb5c 100644 --- a/audio/libsidplay/Makefile +++ b/audio/libsidplay/Makefile @@ -1,33 +1,28 @@ PORTNAME= libsidplay PORTVERSION= 1.36.60 PORTREVISION= 1 CATEGORIES= audio emulators MASTER_SITES= DEBIAN DISTNAME= ${PORTNAME}_${DISTVERSION}${DISTVERSIONSUFFIX}.orig MAINTAINER= ehaupt@FreeBSD.org COMMENT= Commodore SID-chip emulator library to play SID music files LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf libtool tar:bz2 +USE_CXXSTD= c++14 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= ${CONFIGURE_ARGS_${ARCH}} CONFIGURE_ENV= sid_cv_have_ios_binary=yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CONFIGURE_ARGS_i386= --enable-optendian --enable-optfixpoint -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - .include diff --git a/audio/mpdcon/Makefile b/audio/mpdcon/Makefile index e332a72c109b..8725614d8ca6 100644 --- a/audio/mpdcon/Makefile +++ b/audio/mpdcon/Makefile @@ -1,32 +1,32 @@ PORTNAME= mpdcon PORTVERSION= 1.5.1 PORTREVISION= 12 CATEGORIES= audio gnustep MASTER_SITES= SAVANNAH/gap DISTNAME= MPDCon-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= MPD client for GNUstep WWW= https://gap.nongnu.org/mpdcon/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/Documentation/COPYING LIB_DEPENDS= libmpdclient.so.2:audio/libmpdclient \ libSQLClient.so:databases/sqlclient USES= gnustep USE_GNUSTEP= base gui back build .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: ${REINPLACE_CMD} -e \ 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \ ${WRKSRC}/GNUmakefile .include diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile index 83b347e4c854..a9c34af4b58e 100644 --- a/audio/ocp/Makefile +++ b/audio/ocp/Makefile @@ -1,102 +1,102 @@ PORTNAME= ocp PORTVERSION= 0.2.105 PORTEPOCH= 1 CATEGORIES= audio MASTER_SITES= https://stian.cubic.org/ocp/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Legendary Open Cubic Player WWW= https://stian.cubic.org/project-ocp.php LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le BUILD_DEPENDS= xa65:devel/xa65 LIB_DEPENDS= libancient.so:archivers/ancient \ libcjson.so:devel/libcjson \ libdiscid.so:audio/libdiscid \ libid3tag.so:audio/libid3tag \ libmad.so:audio/libmad \ libogg.so:audio/libogg \ libpng.so:graphics/png \ libvorbis.so:audio/libvorbis USES= compiler:c11 dos2unix gmake gnome iconv jpeg localbase:ldflags \ makeinfo ncurses pkgconfig shared-mime-info tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${PREFIX}/lib \ --with-dir-suffix="" \ --without-sdl \ --without-update-desktop-database CONFIGURE_ENV= SHARED_FLAGS="${LDFLAGS} -shared" \ XA=${PREFIX}/bin/xa65 MAKE_JOBS_UNSAFE= yes LDFLAGS_i386= -Wl,-z,notext CONFLICTS_INSTALL= alliance # man/man1/ocp.1.gz INFO= ocp OPTIONS_DEFINE= ADPLUG ALSA DOCS FLAC MIDI OSS SDL X11 OPTIONS_DEFAULT= ADPLUG ALSA FLAC MIDI OSS SDL X11 OPTIONS_SUB= yes ADPLUG_DESC= adplug support MIDI_DESC= timidity support ADPLUG_LIB_DEPENDS= libadplug.so:audio/libadplug \ libbinio.so:devel/libbinio ADPLUG_CONFIGURE_WITH= adplug ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_WITH= flac MIDI_RUN_DEPENDS= eawpats>0:audio/eawpats OSS_CONFIGURE_WITH= oss SDL_IMPLIES= X11 SDL_BUILD_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf SDL_LIB_DEPENDS= libfreetype.so:print/freetype2 SDL_RUN_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf SDL_USES= desktop-file-utils sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_WITH= sdl2 \ unifontdir=${LOCALBASE}/share/fonts/gnu-unifont-ttf SDL_PLIST_SUB= DESKTOP='' SDL_PLIST_SUB_OFF= DESKTOP='@comment ' X11_BUILD_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf X11_LIB_DEPENDS= libfreetype.so:print/freetype2 X11_RUN_DEPENDS= ${LOCALBASE}/share/fonts/gnu-unifont-ttf/unifont.ttf:x11-fonts/gnu-unifont-ttf X11_USES= desktop-file-utils xorg X11_USE= XORG=x11,xext,xpm,xxf86dga,xxf86vm X11_CONFIGURE_WITH= unifontdir-ttf=${LOCALBASE}/share/fonts/gnu-unifont-ttf \ x11 X11_PLIST_SUB= DESKTOP='' \ XORG='' X11_PLIST_SUB_OFF= DESKTOP='@comment ' \ XORG='@comment ' TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg -.include +.include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ocp @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/autoload/*.so -.include +.include diff --git a/audio/play/Makefile b/audio/play/Makefile index 59cc796ed91e..7eaf446b2d84 100644 --- a/audio/play/Makefile +++ b/audio/play/Makefile @@ -1,37 +1,36 @@ PORTNAME= play PORTVERSION= 1.0 PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= PORTS_JP MAINTAINER= bofh@FreeBSD.org COMMENT= Simple audio file player LICENSE= NONE USES= uidfix MAKE_ARGS= CFLAGS="${CFLAGS}" MANDIR="${PREFIX}/man/ja/man" BINDIR="${PREFIX}/bin" # XXX PIE static libraries are not supported by base system /usr/share/mk MAKE_ARGS+= WITHOUT_PIE=true CONFLICTS= sox PLIST_FILES= bin/play man/ja/man1/play.1.gz .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif post-patch: .for file in play_audio.c mixer_ctl.c encode_sun.c speed.c @${REINPLACE_CMD} '/soundcard\.h/s,machine,sys,' ${WRKSRC}/${file} .endfor .include diff --git a/audio/sidplayer/Makefile b/audio/sidplayer/Makefile index d65bcad41616..95d153508690 100644 --- a/audio/sidplayer/Makefile +++ b/audio/sidplayer/Makefile @@ -1,37 +1,32 @@ PORTNAME= sidplayer PORTVERSION= 4.4 PORTREVISION= 9 CATEGORIES= audio MASTER_SITES= http://sidplayer.cebix.net/downloads/ \ LOCAL/ehaupt DISTNAME= SIDPlayer-${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= C64 SID tune player WWW= https://sidplayer.cebix.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= sdl +USE_CXXSTD= c++14 USE_SDL= sdl GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes SUB_FILES= pkg-message -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/PSID\ Demo/* ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/snack/Makefile b/audio/snack/Makefile index d01123e960c5..bdad31f72fca 100644 --- a/audio/snack/Makefile +++ b/audio/snack/Makefile @@ -1,51 +1,51 @@ PORTNAME= snack PORTVERSION= 2.2.10 PORTREVISION= 7 CATEGORIES= audio tcl tk MASTER_SITES= http://www.speech.kth.se/snack/dist/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Sound toolkit for scripting languages WWW= https://www.speech.kth.se/snack/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/../COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= tk:tea xorg USE_LDCONFIG= ${PREFIX}/lib/snack${PORTVERSION:R} USE_XORG= x11 xscrnsaver xext xft xrender MAKE_ENV= prefix=${PREFIX} exec_prefix=${PREFIX} PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} WRKSRC_SUBDIR= unix PLIST_SUB= SNACK_VER=${PORTVERSION:R} PORTDOCS= * OPTIONS_DEFINE= VORBIS DOCS OPTIONS_SUB= yes VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CONFIGURE_ON= --with-ogg-include=${LOCALBASE}/include \ --with-ogg-lib=${LOCALBASE}/lib VORBIS_ALL_TARGET= all libsnackogg.so .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/snack${PORTVERSION:R}/*.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR} .include diff --git a/biology/ncbi-toolkit/Makefile b/biology/ncbi-toolkit/Makefile index fe00defd475d..25a61920f6cf 100644 --- a/biology/ncbi-toolkit/Makefile +++ b/biology/ncbi-toolkit/Makefile @@ -1,90 +1,89 @@ PORTNAME= ncbi-toolkit DISTVERSION= 2017.01.06 # containing BLAST v2.2.27 (? is this true) PORTREVISION= 7 CATEGORIES= biology MASTER_SITES= ftp://ftp.ncbi.nlm.nih.gov/toolbox/ncbi_tools/old/${PORTVERSION:S/.//g}/ DISTNAME= ncbi DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= NCBI development toolkit, including BLAST 2 and GenBank/Entrez support WWW= https://www.ncbi.nlm.nih.gov/IEB/ToolBox/MainPage/index.html LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libgmp.so:math/gmp \ libgnutls.so:security/gnutls \ libhogweed.so:security/nettle \ libidn2.so:dns/libidn2 \ libnettle.so:security/nettle \ libp11-kit.so:security/p11-kit \ libpng.so:graphics/png \ libtasn1.so:security/libtasn1 \ libtspi.so:security/trousers \ libunistring.so:devel/libunistring USES= gettext-runtime iconv jpeg motif xorg USE_XORG= x11 xau xext xft xmu xrender xt CONFLICTS_INSTALL= fhist # bin/test_regexp man/man1/fmerge.1.gz SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif post-patch: @${REINPLACE_CMD} -e \ 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/make/makedis.csh @${REINPLACE_CMD} -e \ '/^NCBI_CC/s|=.*|= ${CC}| ; \ /^NCBI_LDFLGS1/s|=.*|= ${LDFLAGS}| ; \ /^NCBI_OPTFLAG/s|= .*|= ${CFLAGS}| ; \ /^NCBI_VIBLIBS/s|-lXp\ || ; \ /^NCBI_DISTVIBLIBS/s|-lXp\ || ; \ s|-I/usr/X11R6/include||g ; \ s|-L/usr/X11R6/lib||g ; \ s|/usr/local|${LOCALBASE}|g ; \ s|-Wl,-Bstatic|| ; \ s|-Wl,-Bdynamic||' ${WRKSRC}/platform/freebsd.ncbi.mk @${REINPLACE_CMD} -e 's/%%ICONV_LIB%%/${ICONV_LIB}/' \ ${WRKSRC}/make/makeall.unx ${WRKSRC}/make/makenet.unx # the ncbi-toolkit provides a shell script to drive the build # and we use it do-build: @cd ${WRKDIR} && ./${DISTNAME}/make/makedis.csh # the ncbi-toolkit does not provide an install target # we thus roll our own do-install: cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} * ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${DISTNAME} cd ${WRKSRC}/lib && ${INSTALL_DATA} *.a \ ${STAGEDIR}${PREFIX}/lib/${DISTNAME} @${MKDIR} ${STAGEDIR}${PREFIX}/include/${DISTNAME}/connect cd ${WRKSRC}/include && ${INSTALL_DATA} *.h \ ${STAGEDIR}${PREFIX}/include/${DISTNAME} cd ${WRKSRC}/include/connect && ${INSTALL_DATA} *.h \ ${STAGEDIR}${PREFIX}/include/${DISTNAME}/connect cd ${WRKSRC}/doc/man && ${INSTALL_MAN} * \ ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/data && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} '-not ( -name man -o -path ./man\/* )') .include diff --git a/biology/wise/Makefile b/biology/wise/Makefile index 4ec5fde05dd7..ec911f6763be 100644 --- a/biology/wise/Makefile +++ b/biology/wise/Makefile @@ -1,85 +1,84 @@ PORTNAME= wise PORTVERSION= 2.4.1 PORTREVISION= 1 CATEGORIES= biology MASTER_SITES= http://www.ebi.ac.uk/~birney/wise2/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Intelligent algorithms for DNA searches WWW= http://www.ebi.ac.uk/Wise2/ LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual USES= gnome pkgconfig USE_GNOME= glib20 MAKEFILE= makefile SUB_FILES= pkg-message BUILD_WRKSRC= ${WRKSRC}/src # # Actually want an 'ALL_TARGET = all perl' which then requires # 'USE_PERL5= yes' but the perl sub-build is currently broken. # The perl stuff is only so you can use the base libraries/functions # from perl scripts. This is extra, independent functionality for the # port and not required for the base system which are C applications. # When the perl part is fixed, it will require an install line # something like '@cd ${WRKSRC}/perl/Wise2; ${MAKE} install' # PLIST_FILES= ${BINFILES:S,^,bin/,} ${DATAFILES:S,^,%%DATADIR%%/,} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES BINFILES= dba dnal estwise estwisedb genewise genewisedb promoterwise \ psw pswdb scanwise scanwise_server DATAFILES= BLOSUM30.bla BLOSUM45.bla BLOSUM62.bla BLOSUM80.bla aa.rnd \ cb.tmf codon.table gene.stat gon120.bla gon160.bla \ gon200.bla gon250.bla gon350.bla human.gf human.gp \ human.stats idenity.bla methods pb.gf pombe.gf tm.pri \ wise.2 wise.per worm.gf .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif post-patch: @${FIND} ${BUILD_WRKSRC} -name "makefile" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's|^CC =|CC ?=| ; \ s|^CFLAGS =|CFLAGS +=| ; \ s|-O[0-9] | | ; \ s|-g | | ; \ s|-g[0-9] | | ; \ s|-lpthread|-pthread| ; \ s|glib-config|pkg-config glib-2.0| ; \ /welcome.csh/s|^|#|' do-install: (cd ${BUILD_WRKSRC}/bin && ${INSTALL_PROGRAM} ${BINFILES} \ ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/wisecfg && ${INSTALL_DATA} ${DATAFILES} \ ${STAGEDIR}${DATADIR}) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/test_data && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/cad/spice/Makefile b/cad/spice/Makefile index bd76e0deb45e..88facc003357 100644 --- a/cad/spice/Makefile +++ b/cad/spice/Makefile @@ -1,125 +1,125 @@ PORTNAME= spice PORTVERSION= 3f5.2 PORTREVISION= 14 CATEGORIES= cad MASTER_SITES= https://ptolemy.berkeley.edu/projects/embedded/pubs/downloads/spice/:srcs \ http://home.hiroshima-u.ac.jp/usdl/HiSIM2/:hisim2 \ LOCAL/hrs/${PORTNAME} DISTFILES= spice3f5${EXTRACT_SUFX}:srcs \ BSIM3v330.tar.Z \ BSIM480_Code.zip \ HiSIM_2.8.0_Release_20140605.zip:hisim2 \ cp.ps toc.ps doc.ps DIST_SUBDIR= spice EXTRACT_ONLY= spice3f5${EXTRACT_SUFX} MAINTAINER= hrs@FreeBSD.org COMMENT= General-purpose circuit simulation program WWW= http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYRIGHT BROKEN_aarch64= Fails to link: missing sbrk BROKEN_riscv64= Fails to link: missing sbrk WRKSRC= ${WRKDIR}/${PORTNAME}3f5 MAKEFILE= ${FILESDIR}/Makefile CONFIGURE_ENV= CONFIGFILE="${CONFIGFILE}" \ LOCALBASE="${LOCALBASE}" MAKE_JOBS_UNSAFE=yes CFLAGS+= -fcommon PORTDOCS= spice3f3.ps.gz PORTEXAMPLES= bjtnoise.cir bsim1tst.cir bsim2tst.cir diffpair.cir \ diodisto.cir ltra_1.cir ltra_2.cir ltra_3.cir \ mixdisto.cir mos6inv.cir mosamp2.cir mosmem.cir process.mod \ process.pro pz2.cir pzt.cir rc.cir rca3040.cir resnoise.cir \ rtlinv.cir schmitt.cir simplepz.cir OPTIONS_DEFINE= DOCS EXAMPLES X11 DEV_BSIM3 DEV_BSIM4 DEV_HISIM2 OPTIONS_DEFAULT=X11 X11_USES= xorg X11_USE= XORG=x11,xaw,xext,xmu,xorgproto,xt X11_CONFIGURE_ENV= WITH_X11=yes DEV_BSIM3_DESC= BSIM3v3 MOS Transistor Model Support DEV_BSIM3_LICENSE= BSIML DEV_BSIM3_LICENSE_FILE= ${WRKSRC}/src/lib/dev/bsim3/B3TERMS_OF_USE DEV_BSIM4_DESC= BSIM4v4 MOS Transistor Model Support DEV_BSIM4_LICENSE= BSIML DEV_BSIM4_LICENSE_FILE= ${WRKSRC}/src/lib/dev/bsim4/B4TERMS_OF_USE.txt DEV_HISIM2_DESC= HiSIM2 IGFET Model Support DEV_HISIM2_LICENSE= HISIML .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion .endif # Configuration parameters. CC_OPT= ${CFLAGS} CONFIGFILE= ${WRKSRC}/conf/FreeBSD DEVICES= LICENSE_FILE_MIT= ${WRKSRC}/COPYRIGHT LICENSE_NAME_BSIML= BSIM license LICENSE_PERMS_BSIML= dist-mirror pkg-mirror auto-accept LICENSE_NAME_HISIML= HiSIM license LICENSE_PERMS_HISIML= dist-mirror pkg-mirror auto-accept LICENSE_FILE_HISIML= ${FILESDIR}/hisim2-license.txt .for D in ${OPTIONS_DEFINE:MDEV_*:S/DEV_//} . if !empty(PORT_OPTIONS:MDEV_$D) LICENSE_COMB= multi DEVICES+= ${D:tl} . if !empty(DEV_${D}_LICENSE) LICENSE+= ${DEV_${D}_LICENSE} . if !empty(DEV_${D}_LICENSE_FILE) LICENSE_FILE_${DEV_${D}_LICENSE}= ${DEV_${D}_LICENSE_FILE} . endif . endif . endif .endfor LICENSE:= ${LICENSE:O:u} post-extract: @${DO_NADA} post-extract-DEV_BSIM3-on: @${MKDIR} ${WRKSRC}/src/lib/dev/bsim3 ${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/BSIM3v330.tar.Z \ -C ${WRKSRC}/src/lib/dev/bsim3 post-extract-DEV_BSIM4-on: @${MKDIR} ${WRKSRC}/src/lib/dev/bsim4 ${UNZIP_NATIVE_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/BSIM480_Code.zip \ -d ${WRKSRC}/src/lib/dev/bsim4 post-extract-DEV_HISIM2-on: ${UNZIP_NATIVE_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/HiSIM_2.8.0_Release_20140605.zip \ -d ${WRKDIR} ${MV} ${WRKDIR}/HiSIM_2.8.0_Release_20140605/HiSIM_2.8.0_C-Code/hisim2 \ ${WRKSRC}/src/lib/dev ${CONFIGFILE}:: @${SETENV} ${CONFIGURE_ENV} ${MAKE} -f ${MAKEFILE} configure .for V in CC MAKE CC_OPT @${ECHO_CMD} "${V}=${$V}" >> ${WRKSRC}/conf/FreeBSD .endfor .for V in DEVICES @${ECHO_CMD} "${V}+=${$V}" >> ${WRKSRC}/conf/FreeBSD .endfor do-configure: ${CONFIGFILE} @${DO_NADA} post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${CAT} ${DISTDIR}/${DIST_SUBDIR}/*.ps | ${GZIP_CMD} > \ ${STAGEDIR}${DOCSDIR}/${PORTDOCS} post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && \ ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/chinese/celvis/Makefile b/chinese/celvis/Makefile index cd7686f0c52b..f792123e4feb 100644 --- a/chinese/celvis/Makefile +++ b/chinese/celvis/Makefile @@ -1,28 +1,28 @@ PORTNAME= celvis PORTVERSION= 1.3 CATEGORIES= chinese editors MASTER_SITES= http://ftp.ist.utl.pt/pub/ctan/language/chinese/chtex/ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Vi/ex clone that speaks Chinese USES= ncurses MAKE_ARGS= LIBS="${LDFLAGS} -lncurses" CFLAGS+= -Wno-error=return-type .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif do-install: @# install target in celvis Makefile is not too good -- this is easier ${INSTALL_PROGRAM} ${WRKSRC}/celvis ${WRKSRC}/virec ${STAGEDIR}${PREFIX}/bin ${LN} -s celvis ${STAGEDIR}${PREFIX}/bin/cvi ${INSTALL_MAN} ${FILESDIR}/celvis.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/chinese/libime/Makefile b/chinese/libime/Makefile index 7ac105beb7da..7d3abe79c1bf 100644 --- a/chinese/libime/Makefile +++ b/chinese/libime/Makefile @@ -1,55 +1,55 @@ PORTNAME= libime DISTVERSION= 1.0.17 PORTREVISION= 1 CATEGORIES= chinese textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ \ https://download.fcitx-im.org/data/:opengram_lm,opengram_dict,table_dict DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${OPENGRAM_LM_TAR}:opengram_lm \ ${OPENGRAM_DICT_TAR}:opengram_dict \ ${TABLE_DICT_TAR}:table_dict DIST_SUBDIR= ${PORTNAME} MAINTAINER= khng@FreeBSD.org COMMENT= Library to support generic input method implementation WWW= https://github.com/fcitx/libime LICENSE= LGPL21 LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libFcitx5Utils.so:textproc/fcitx5 USES= cmake compiler:c++17-lang kde:5 tar:xz PLIST_SUB= VER=${PORTVERSION} \ VER_MAJOR=${PORTVERSION:R:R} USE_LDCONFIG= yes USE_KDE= ecm CMAKE_OFF= ENABLE_TEST MAKE_ENV= FCITX5_DOWNLOAD_DISALLOWED=TRUE # These must follow data/CMakeLists.txt OPENGRAM_LM_TAR= lm_sc.arpa-20220810.tar.xz OPENGRAM_DICT_TAR= dict-20220810.tar.xz TABLE_DICT_TAR= table.tar.gz -.include +.include post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 @${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \ ${WRKSRC}/src/libime/core/kenlm/lm/trie_sort.hh \ ${WRKSRC}/src/libime/core/kenlm/util/joint_sort.hh \ ${WRKSRC}/src/libime/core/kenlm/util/sized_iterator.hh .endif post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${OPENGRAM_LM_TAR} ${WRKSRC}/data ${CP} ${DISTDIR}/${DIST_SUBDIR}/${OPENGRAM_DICT_TAR} ${WRKSRC}/data ${CP} ${DISTDIR}/${DIST_SUBDIR}/${TABLE_DICT_TAR} ${WRKSRC}/data -.include +.include diff --git a/comms/uird/Makefile b/comms/uird/Makefile index b24194d0ead3..20bc139897bd 100644 --- a/comms/uird/Makefile +++ b/comms/uird/Makefile @@ -1,39 +1,39 @@ PORTNAME= uird PORTVERSION= 1.1 CATEGORIES= comms MASTER_SITES= http://kbinstuff.googlepages.com/ \ http://redundancy.redundancy.org/mirror/ MAINTAINER= ports@FreeBSD.org COMMENT= The Universal IR Receiver Daemon WWW= http://kbinstuff.googlepages.com/uirduniversalirreceiverdaemon USES= perl5 gmake tar:tgz ALL_TARGET= ${PORTNAME} WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/uird PORTDOCS= Documentation OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|gcc|$${CC}\ $${CFLAGS}|; /strip/d' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/uird ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/converters/cocot/Makefile b/converters/cocot/Makefile index 96b896a2f505..17140293bb3d 100644 --- a/converters/cocot/Makefile +++ b/converters/cocot/Makefile @@ -1,42 +1,42 @@ PORTNAME= cocot PORTVERSION= 20120313 DISTVERSIONPREFIX= ${PORTNAME}-1.1- PORTREVISION= 1 CATEGORIES= converters MAINTAINER= ports@FreeBSD.org COMMENT= Code Converter on TTY WWW= https://github.com/vmi/cocot LICENSE= BSD3CLAUSE OPTIONS_DEFINE= DOCS USE_GITHUB= yes GH_ACCOUNT= vmi USES= iconv GNU_CONFIGURE= yes CPPFLAGS+= -I${ICONV_PREFIX}/include LDFLAGS+= -L${ICONV_PREFIX}/lib DOCS_EN= COPYING ChangeLog DOCS_JA= ChangeLog.ja README.ja .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ja .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .for f in ${DOCS_JA} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ja .endfor .include diff --git a/converters/wkhtmltopdf/Makefile b/converters/wkhtmltopdf/Makefile index bd9433401cfd..232267b85446 100644 --- a/converters/wkhtmltopdf/Makefile +++ b/converters/wkhtmltopdf/Makefile @@ -1,101 +1,99 @@ PORTNAME= wkhtmltopdf PORTVERSION= 0.12.6 CATEGORIES= converters MAINTAINER= pi@FreeBSD.org COMMENT= Convert HTML (or live webpages) to PDF or image WWW= https://github.com/wkhtmltopdf/wkhtmltopdf LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv6= fails to build: error: Not supported ARM architecture BROKEN_armv7= fails to build: error: invalid operand for instruction BROKEN_mips64= fails to link: undefined reference to __sync_add_and_fetch_4 RUN_DEPENDS= webfonts>=0:x11-fonts/webfonts LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png USES= compiler gmake iconv jpeg perl5 pkgconfig ssl xorg USE_XORG= x11 xext xrender USE_PERL5= build USE_LDCONFIG= yes USE_GITHUB= yes WKQT_TAGNAME= 5db36ec GH_TUPLE= ${PORTNAME}:qt:${WKQT_TAGNAME}:qt HAS_CONFIGURE= yes PATCH_WRKSRC= ${WRKSRC}/qt CONFIGURE_WRKSRC= ${WRKSRC}/build/qt BUILD_WRKSRC= ${WRKSRC}/build/qt INSTALL_WRKSRC= ${WRKSRC}/build/app CONFIGURE_SCRIPT= ../../qt/configure CONFIGURE_ARGS= -prefix ${WRKSRC}/build/qt \ -opensource -confirm-license -fast -release -static \ -graphicssystem raster -webkit -exceptions -xmlpatterns -system-zlib \ -system-libpng -system-libjpeg -no-libmng -no-libtiff -no-stl \ -no-accessibility -no-qt3support -no-phonon -no-phonon-backend \ -no-opengl -no-declarative -no-script -no-scripttools \ -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql \ -no-sql-sqlite -no-sql-sqlite2 -no-mmx -no-3dnow -no-sse -no-sse2 \ -no-multimedia -nomake demos -nomake docs -nomake examples \ -nomake tools -nomake tests -nomake translations -xrender -largefile \ -iconv -openssl-linked -no-rpath -no-dbus -no-nis -no-cups -no-pch \ -no-gtkstyle -no-nas-sound -no-sm -no-xshape -no-xinerama -no-xcursor \ -no-xfixes -no-xrandr -no-mitshm -no-xinput -no-xkb -no-glib \ -no-gstreamer -D ENABLE_VIDEO=0 -no-openvg -no-xsync \ -no-audio-backend -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx \ -no-neon MAKE_ARGS= INSTALL_ROOT="${STAGEDIR}${PREFIX}" .include .if ${ARCH} == "i386" || ${ARCH} == "powerpc" || ${CHOSEN_COMPILER_TYPE} == gcc USE_GCC= 8 .endif pre-patch: ${RMDIR} ${WRKSRC}/qt ${LN} -s ../qt-${WKQT_TAGNAME} ${WRKSRC}/qt post-patch: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|/usr/X11R6/include|${LOCALBASE}/include/X11|g' \ -e 's|/usr/X11R6/lib|${LOCALBASE}/lib|g' \ ${PATCH_WRKSRC}/mkspecs/freebsd-g++/qmake.conf ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/mkspecs/common/gcc-base.conf ${REINPLACE_CMD} -e "s|gcc|${CC}|g" -e "s|g++|${CXX}|g" \ ${PATCH_WRKSRC}/mkspecs/common/g++-base.conf ${REINPLACE_CMD} -e "s|share/man|man|g" \ ${WRKSRC}/src/image/image.pro \ ${WRKSRC}/src/pdf/pdf.pro ${ECHO} 'LIBS+= -lcrypto' >>${WRKSRC}/src/image/image.pro ${ECHO} 'LIBS+= -lcrypto' >>${WRKSRC}/src/pdf/pdf.pro ${MKDIR} ${WRKSRC}/build/app ${WRKSRC}/build/qt \ ${WRKSRC}/build/wkhtmltox -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - ${REINPLACE_CMD} -e "s|register int|int|g" \ - ${PATCH_WRKSRC}/src/corelib/kernel/qcore_unix_p.h - ${REINPLACE_CMD} -e "s|register UWORD32|UWORD32|g" \ - ${PATCH_WRKSRC}/../qt-5db36ec/src/3rdparty/md5/md5.cpp +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) + @${FIND} ${PATCH_WRKSRC}/../qt-5db36ec -name "*.cpp" -o -name "*.h" | \ + ${XARGS} ${REINPLACE_CMD} -e 's|register ||g' .endif post-build: cd ${WRKSRC}/build/app && ${SETENV} ${MAKE_ENV} \ ../qt/bin/qmake ../../wkhtmltopdf.pro && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g} \ ${ALL_TARGET} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wkhtmltoimage \ ${STAGEDIR}${PREFIX}/bin/wkhtmltopdf \ ${STAGEDIR}${PREFIX}/lib/libwkhtmltox.so.${PORTVERSION} .include diff --git a/converters/xdeview/Makefile b/converters/xdeview/Makefile index b202f2a2d125..32fa93f67229 100644 --- a/converters/xdeview/Makefile +++ b/converters/xdeview/Makefile @@ -1,50 +1,50 @@ PORTNAME= xdeview PORTVERSION= 0.5.20 PORTREVISION= 3 CATEGORIES= converters tcl tk MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/ DISTNAME= uudeview-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding WWW= http://www.fpx.de/fp/Software/UUDeview/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libuu.so:converters/uulib USES= desthack localbase:ldflags tk GNU_CONFIGURE= yes # Explicitly disable Tcl otherwise the configure script picks-up # crud from the $PATH like /usr/opt/Simili/tcl/. CONFIGURE_ARGS= --disable-tcl --disable-tk ALL_TARGET= xdeview INSTALL_TARGET= install-tcl CPPFLAGS+= -I${TCL_INCLUDEDIR} -DHAVE_TCL \ -I${TK_INCLUDEDIR} -DHAVE_TK LDFLAGS+= -lX11 -ltcl${TCL_VER:S/.//} \ -ltk${TCL_VER:S/.//} -lm PLIST_FILES= bin/uuwish bin/xdeview man/man1/xdeview.1.gz PORTDOCS= * OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/uuwish ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${STAGEDIR}${MANPREFIX}/man/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/porting.notes ${STAGEDIR}${DOCSDIR} .include diff --git a/databases/R-cran-RSQLite/Makefile b/databases/R-cran-RSQLite/Makefile index 57d259557186..b4f1606b222b 100644 --- a/databases/R-cran-RSQLite/Makefile +++ b/databases/R-cran-RSQLite/Makefile @@ -1,33 +1,33 @@ PORTNAME= RSQLite PORTVERSION= 2.2.19 PORTREVISION= 1 CATEGORIES= databases DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= skreuzer@FreeBSD.org COMMENT= Database Interface R driver for SQLite WWW= https://cran.r-project.org/web/packages/RSQLite/ LICENSE= LGPL20 CRAN_DEPENDS= R-cran-DBI>=1.1.0:databases/R-cran-DBI \ R-cran-bit64>0:devel/R-cran-bit64 \ R-cran-blob>0:devel/R-cran-blob \ R-cran-memoise>0:devel/R-cran-memoise \ R-cran-Rcpp>0:devel/R-cran-Rcpp \ R-cran-pkgconfig>0:devel/R-cran-pkgconfig \ R-cran-plogr>0:devel/R-cran-plogr BUILD_DEPENDS= ${CRAN_DEPENDS} RUN_DEPENDS= ${CRAN_DEPENDS} USES= cran:auto-plist,compiles .include post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) @${REINPLACE_CMD} -e 's|PKG_CPPFLAGS=|PKG_CPPFLAGS=-Wno-error=enum-constexpr-conversion |g' \ ${WRKSRC}/src/Makevars .endif .include diff --git a/databases/libgda5/Makefile b/databases/libgda5/Makefile index aca18c8b9767..9885c146e4b4 100644 --- a/databases/libgda5/Makefile +++ b/databases/libgda5/Makefile @@ -1,157 +1,157 @@ PORTNAME= libgda DISTVERSION?= 5.2.10 PORTREVISION= 2 CATEGORIES= databases gnome MASTER_SITES= GNOME PKGNAMESUFFIX?= 5 DIST_SUBDIR= gnome MAINTAINER?= gnome@FreeBSD.org COMMENT?= Provides uniform access to different kinds of data sources WWW= https://www.gnome-db.org/ LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING.LIB USES= cpe python readline shebangfix sqlite tar:xz CPE_VENDOR= gnome LIBGDA5_SLAVE?= no SHEBANG_FILES= libgda-report/RML/*/*.py BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ USES+= gettext gmake gnome libtool localbase pathfix pkgconfig USE_GNOME= glib20 libxslt intlhack introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip #MAKE_JOBS_UNSAFE=yes CONFIGURE_ARGS= --without-oracle \ --disable-crypto \ --disable-default-binary \ --enable-introspection .include VERSION= 5.0 PLIST_SUB+= VERSION=${VERSION} .if ${LIBGDA5_SLAVE}!="no" USE_GNOME+= libgda5 .endif .if ${LIBGDA5_SLAVE}==ui LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error CONFIGURE_ARGS+=--with-ui USE_GNOME+= cairo gtk30 .else CONFIGURE_ARGS+=--without-ui .endif .if ${LIBGDA5_SLAVE}==bdb USES+= bdb:5 CONFIGURE_ARGS+= --with-bdb=${LOCALBASE} .else CONFIGURE_ARGS+= --without-bdb .endif .if ${LIBGDA5_SLAVE}==ldap USES+= ldap CONFIGURE_ARGS+= --with-ldap=${LOCALBASE} .else CONFIGURE_ARGS+= --without-ldap .endif .if ${LIBGDA5_SLAVE}==mysql USES+= mysql IGNORE_WITH_MYSQL= 80 CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} .else CONFIGURE_ARGS+= --without-mysql .endif .if ${LIBGDA5_SLAVE}==postgresql USES+= pgsql CONFIGURE_ARGS+= --with-postgres=${LOCALBASE} .else CONFIGURE_ARGS+= --without-postgres .endif # MDB (MS Access) .if ${LIBGDA5_SLAVE}==mdb LIB_DEPENDS+= libmdbsql.so:databases/mdbtools CONFIGURE_ARGS+= --with-mdb=${LOCALBASE} .else CONFIGURE_ARGS+= --without-mdb .endif .if ${LIBGDA5_SLAVE}==jdbc USE_JAVA= yes JAVA_VENDOR= bsdjava openjdk CFLAGS+= -I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd .else CONFIGURE_ARGS+= --without-java .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|-ldl||g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|"db.h|"db${BDB_VER}/db.h|g' \ -e 's|ldb47|l${BDB_LIB_NAME}|g' \ -e 's|ldb|l${BDB_LIB_NAME}|g' \ -e 's|libdb|lib${BDB_LIB_NAME}|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/providers/bdb/gda-bdb-provider.c \ ${WRKSRC}/providers/bdb/gda-bdb-test.c .if ${LIBGDA5_SLAVE} == jdbc @${REINPLACE_CMD} -e 's|lib/amd64|lib/${ARCH:S/powerpc64/ppc64/}|g' \ ${WRKSRC}/getsp.java .endif .if ${LIBGDA5_SLAVE}!="no" @${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} \ -e 's|$$(top_builddir)/libgda/libgda-5.0.la|-lgda-5.0|g' \ -e 's|../libgda/libgda-5.0.la|-lgda-5.0|g' \ -e '/LIBS =/s|-lgda-5.0|gda-5.0|g' \ {} \; .endif .if ${LIBGDA5_SLAVE} == jdbc pre-configure: @cd ${WRKSRC} && ${LOCALBASE}/bin/javac getsp.java .endif pre-build: .if ${LIBGDA5_SLAVE}==postgresql cd ${WRKSRC}/providers/reuseable/postgres && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libgda-postgres.la .endif .if ${LIBGDA5_SLAVE}==mysql cd ${WRKSRC}/providers/reuseable/mysql && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} libgda-mysql.la .endif .if ${LIBGDA5_SLAVE}==ui cd ${WRKSRC}/libgda && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} gda-enum-types.h .endif .if ${LIBGDA5_SLAVE}==no post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/libgda-${VERSION}/config \ ${STAGEDIR}${PREFIX}/etc/libgda-${VERSION}/config.sample .endif .if ${LIBGDA5_SLAVE}==ui post-install: ${INSTALL_DATA} ${WRKSRC}/libgda-ui-5.0.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ .endif .include diff --git a/databases/pxlib/Makefile b/databases/pxlib/Makefile index 06c033034d46..bd2db90d0012 100644 --- a/databases/pxlib/Makefile +++ b/databases/pxlib/Makefile @@ -1,40 +1,39 @@ PORTNAME= pxlib PORTVERSION= 0.6.8 CATEGORIES= databases MASTER_SITES= SF MAINTAINER= bofh@FreeBSD.org COMMENT= C library to read various Paradox files WWW= http://pxlib.sourceforge.net LICENSE= GPLv2 BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser -USES= gmake gnome iconv libtool pathfix perl5 pkgconfig +USES= gmake gnome iconv libtool localbase:ldflags pathfix perl5 pkgconfig USE_GNOME= intltool +USE_LDCONFIG= yes + GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -USE_LDCONFIG= yes +INSTALL_TARGET= install-strip OPTIONS_DEFINE= MANPAGES NLS OPTIONS_SUB= yes MANPAGES_BUILD_DEPENDS= docbook-to-man:textproc/docbook-to-man \ docbook2man:textproc/docbook-utils -NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext -INSTALL_TARGET= install-strip +NLS_CONFIGURE_OFF= --disable-nls .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif pre-build-MANPAGES-off: ${REINPLACE_CMD} -e 's/^DOCDIR =.*/DOCDIR =/' ${WRKSRC}/Makefile .include diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile index 7396ee4a97bc..9eea5f986fbd 100644 --- a/databases/ruby-bdb/Makefile +++ b/databases/ruby-bdb/Makefile @@ -1,70 +1,70 @@ PORTNAME= bdb PORTVERSION= 0.6.6 PORTREVISION= 9 CATEGORIES= databases ruby MASTER_SITES= ftp://ftp.idaemons.org/pub/distfiles/ruby/ \ http://idaemons.org/distfiles/ruby/ \ LOCAL/knu PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby interface to Oracle Berkeley DB revision 2 or later WWW= https://github.com/knu/ruby-bdb LICENSE= RUBY BUILD_DEPENDS= rubygem-rdoc>=0.a:devel/rubygem-rdoc USES= bdb ruby:extconf shebangfix tar:bzip2 SHEBANG_FILES= examples/basic.rb examples/cats.rb examples/cursor.rb \ examples/func.rb examples/join.rb examples/lock.rb \ examples/log.rb examples/queue.rb examples/recno.rb \ examples/record.rb examples/replication/base/b.rb \ examples/replication/base/cl.rb examples/replication/base/ma.rb \ examples/replication/base/mc.rb examples/replication/base/op.rb \ examples/replication/mgr/b.rb examples/txn.rb examples/zeroc.rb CONFIGURE_ARGS= --with-db-include=${BDB_INCLUDE_DIR} \ --with-db-lib=${BDB_LIB_DIR} ALL_TARGET= all rdoc INSTALL_TARGET= site-install DOCS= Changes README.en bdb.rd docs/*.rd DOCSDIR= ${RUBY_MODDOCDIR} EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR} SHAREMODE= 0644 PLIST_FILES= ${RUBY_SITEARCHLIBDIR}/bdb.so PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif post-patch: @${RM} ${WRKSRC}/docs/*.orig post-install: ${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}/bdb.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/doc (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/docs/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/doc) post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -empty") do-test: @${MKDIR} ${BUILD_WRKSRC}/tmp (cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test) .include diff --git a/databases/ruby-tokyocabinet/Makefile b/databases/ruby-tokyocabinet/Makefile index 49c5cedd951d..34fddee3a907 100644 --- a/databases/ruby-tokyocabinet/Makefile +++ b/databases/ruby-tokyocabinet/Makefile @@ -1,38 +1,38 @@ PORTNAME= tokyocabinet PORTVERSION= 1.31 CATEGORIES= databases ruby MASTER_SITES= https://dbmx.net/${PORTNAME}/rubypkg/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}-ruby-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= dgerow@afflictions.org COMMENT= Ruby interface to the Tokyo Cabinet DB engine WWW= https://dbmx.net/tokyocabinet/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet USES= ruby:extconf INSTALL_TARGET= site-install DOCS= doc/* OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif post-install: ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR} .for f in ${DOCS} ${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ .endfor .include diff --git a/deskutils/simpleagenda/Makefile b/deskutils/simpleagenda/Makefile index ca8bf4799453..05948ebfaf53 100644 --- a/deskutils/simpleagenda/Makefile +++ b/deskutils/simpleagenda/Makefile @@ -1,31 +1,31 @@ PORTNAME= simpleagenda PORTVERSION= 0.43 PORTREVISION= 13 CATEGORIES= deskutils gnustep MASTER_SITES= http://coyote.octets.fr/pub/gnustep/ DISTNAME= SimpleAgenda-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Simple calendar and agenda application WWW= http://wiki.gnustep.org/index.php/SimpleAgenda.app LICENSE= GPLv2 LIB_DEPENDS+= libical.so:devel/libical \ libuuid.so:misc/e2fsprogs-libuuid USES= gnustep localbase USE_GNUSTEP= back build GNU_CONFIGURE= yes .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif pre-configure: ${REINPLACE_CMD} -e 's|SimpleAgenda|SimpleAgenda.m|' ${WRKSRC}/configure .include diff --git a/devel/antlr/Makefile b/devel/antlr/Makefile index 12e84da2e33f..136bfebfd35d 100644 --- a/devel/antlr/Makefile +++ b/devel/antlr/Makefile @@ -1,62 +1,55 @@ PORTNAME= antlr PORTVERSION= 2.7.7 PORTREVISION= 2 CATEGORIES= devel java MASTER_SITES= https://www.antlr2.org/download/ MAINTAINER= makc@FreeBSD.org COMMENT= ANother Tool for Language Recognition WWW= https://www.antlr2.org/ LICENSE= PD LICENSE_FILE= ${WRKSRC}/LICENSE.txt CONFLICTS= pccts USES= compiler:c++11-lang gmake +USE_CXXSTD= c++14 USE_JAVA= yes HAS_CONFIGURE= yes CONFIGURE_ENV= JAVAC="${JAVAC}" JAR="${JAR}" JAVA="${JAVA}" CLASSPATH="${PORT_CLASSPATH}" CONFIGURE_ARGS= --disable-csharp --prefix=${PREFIX} PORT_CLASSPATH= ${WRKSRC}/antlrall.jar:. SUB_FILES= antlr.sh PORTDOCS= ANTLRException.gif closure.gif cpp-runtime.html \ csharp-runtime.html err.html glossary.html hidden.stream.gif \ index.html inheritance.html j-guru-blue.jpg jguru-logo.gif \ lexer.html lexer.to.parser.tokens.gif logo.gif metalang.html \ optional.gif options.html posclosure.gif runtime.html sor.html \ stream.perspectives.gif stream.selector.gif \ stream.splitter.gif streams.html subrule.gif trees.html \ vocab.html OPTIONS_DEFINE= DOCS -.include - post-extract: (cd ${WRKSRC} && ${CP} antlr.jar antlrall.jar) -post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|binary_function|__binary_function|' \ - ${WRKSRC}/lib/cpp/antlr/CharScanner.hpp -.endif - do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_DATA} ${WRKSRC}/antlr.jar ${STAGEDIR}${JAVAJARDIR} ${INSTALL_SCRIPT} ${WRKDIR}/antlr.sh ${STAGEDIR}${PREFIX}/bin/antlr @${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/lib/cpp/antlr/*.hpp \ ${STAGEDIR}${PREFIX}/include/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/lib/cpp/src/libantlr.a ${STAGEDIR}${PREFIX}/lib do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/devel/apache-commons-daemon/Makefile b/devel/apache-commons-daemon/Makefile index b8665cdfbf87..df282cf4172a 100644 --- a/devel/apache-commons-daemon/Makefile +++ b/devel/apache-commons-daemon/Makefile @@ -1,43 +1,43 @@ PORTNAME= commons-daemon PORTVERSION= 1.3.2 CATEGORIES= devel java MASTER_SITES= https://archive.apache.org/dist/commons/daemon/source/:src \ https://archive.apache.org/dist/commons/daemon/binaries/:bin PKGNAMEPREFIX= apache- DISTFILES= ${PORTNAME}-${PORTVERSION}-native-src${EXTRACT_SUFX}:src \ ${PORTNAME}-${PORTVERSION}-bin${EXTRACT_SUFX}:bin MAINTAINER= ale@FreeBSD.org COMMENT= Wrapper code to start/stop a Java application as a daemon WWW= https://commons.apache.org/proper/commons-daemon/ LICENSE= APACHE20 OPTIONS_DEFINE= DOCS USE_JAVA= yes JAVA_OS= native GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-java=${JAVA_HOME} WRKSRC= ${WRKDIR}/${DISTNAME}-native-src/unix WRKBIN= ${WRKDIR}/${DISTNAME} PLIST_FILES= bin/jsvc %%JAVAJARDIR%%/${PORTNAME}.jar PORTDOCS= * .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/jsvc ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKBIN}/${DISTNAME}.jar \ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKBIN} && ${COPYTREE_SHARE} apidocs ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/criterion/Makefile b/devel/criterion/Makefile index bf011f60e4f7..df99d0bc3014 100644 --- a/devel/criterion/Makefile +++ b/devel/criterion/Makefile @@ -1,60 +1,60 @@ PORTNAME= criterion DISTVERSIONPREFIX= v DISTVERSION= 2.4.2 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org COMMENT= C and C++ unit testing framework for the 21st century WWW= https://github.com/Snaipe/Criterion LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/klib/khash.h:devel/klib \ ${PYTHON_PKGNAMEPREFIX}protobuf>0:devel/py-protobuf@${PY_FLAVOR} \ nanopb>0:devel/nanopb \ cmake:devel/cmake-core \ protoc:devel/protobuf LIB_DEPENDS= libboxfort.so:devel/boxfort \ libffi.so:devel/libffi \ libgit2.so:devel/libgit2 \ libnanomsg.so:net/nanomsg RUN_DEPENDS= nanopb>0:devel/nanopb USES= gettext localbase:ldflags meson python pkgconfig shebangfix USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= Snaipe GH_PROJECT= Criterion GH_TUPLE= MrAnno:debugbreak:83bf7e9:debugbreak SHEBANG_FILES= src/protocol/gen-pb.py CFLAGS+= -fPIC \ -I${LOCALBASE}/include/klib \ -I${WRKSRC_debugbreak} MESON_ARGS= -Dtests=false -Dsamples=false .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif quick-test: @cd ${TEST_WRKSRC} && \ ${CC} ${CFLAGS} ${LDFLAGS} -I${STAGEDIR}${PREFIX}/include \ ${STAGEDIR}${PREFIX}/lib/libcriterion.a \ -L${LOCALBASE}/lib -lboxfort -lprotobuf-nanopb -lgit2 -lnanomsg -lintl \ ${FILESDIR}/example.c && \ ./a.out # test succeeds when simple::Test fails with assertion do-test: cd ${WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} --reconfigure ${CONFIGURE_ARGS} -Dtests=true && \ cd ${BUILD_WRKSRC} && \ ${DO_MAKE_BUILD} ${ALL_TARGET} test .include diff --git a/devel/csmith/Makefile b/devel/csmith/Makefile index d6672dde2d67..5cda8e795498 100644 --- a/devel/csmith/Makefile +++ b/devel/csmith/Makefile @@ -1,34 +1,34 @@ PORTNAME= csmith PORTVERSION= 2.3.0 CATEGORIES= devel MASTER_SITES= http://embed.cs.utah.edu/csmith/ MAINTAINER= ports@FreeBSD.org COMMENT= Generates random C programs that conform to the C99 standard WWW= https://embed.cs.utah.edu/csmith/ LICENSE= BSD2CLAUSE USES= gmake libtool localbase perl5 shebangfix USE_CXXSTD= c++11 USE_LDCONFIG= yes USE_PERL5= run SHEBANG_FILES= scripts/compiler_test.pl scripts/launchn.pl GNU_CONFIGURE= yes CONFIGURE_ARGS= --docdir=${DOCSDIR} INSTALL_TARGET= install-strip PLIST_SUB= PKGNAME="${PKGNAME}" OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CPPFLAGS+= -Wno-error=enum-constexpr-conversion .endif .include diff --git a/devel/darts/Makefile b/devel/darts/Makefile index 12aaeee8536b..2eeb3dc0b4dc 100644 --- a/devel/darts/Makefile +++ b/devel/darts/Makefile @@ -1,46 +1,46 @@ PORTNAME= darts PORTVERSION= 0.32 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.chasen.org/~taku/software/darts/src/ MAINTAINER= bofh@FreeBSD.org COMMENT= C++ template library that implements Double-Array WWW= http://www.chasen.org/~taku/software/darts/ LICENSE= BSD3CLAUSE LGPL21+ LICENSE_COMB= dual LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/BSD LICENSE_FILE_LGPL21+ = ${WRKSRC}/LGPL USES= autoreconf GNU_CONFIGURE= yes PLIST_FILES= include/darts.h \ libexec/darts/darts \ libexec/darts/mkdarts PORTDOCS= AUTHORS ChangeLog README doc PORTEXAMPLES= darts.cpp mkdarts.cpp OPTIONS_DEFINE= DOCS EXAMPLES .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CPPFLAGS+= -Dregister= .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}/ .endfor .include diff --git a/devel/directfb/Makefile b/devel/directfb/Makefile index 4dee67cfbcf5..76e1a3fe5d7d 100644 --- a/devel/directfb/Makefile +++ b/devel/directfb/Makefile @@ -1,97 +1,94 @@ PORTNAME= directfb PORTVERSION= 1.4.17 PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= http://sources.buildroot.net/ DISTNAME= DirectFB-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Graphic development lightweight API WWW= https://www.directfb.org/ LICENSE= LGPL21 DEPRECATED= Last upstream release was in 2015 EXPIRATION_DATE= 2023-09-30 LIB_DEPENDS= libpng.so:graphics/png USES= compiler cpe gmake jpeg libtool localbase ncurses pathfix perl5 pkgconfig USE_LDCONFIG= yes USE_PERL5= build GNU_CONFIGURE= yes +USE_CXXSTD= c++14 CONFIGURE_ARGS= --disable-osx --disable-extra-warnings --disable-profiling \ --disable-debug --enable-debug-support --disable-trace \ --enable-text --enable-gettid --enable-network \ --disable-multi --enable-voodoo --disable-pure-voodoo \ --enable-devmem --disable-fbdev --disable-vnc --disable-sysfs \ --enable-jpeg --enable-zlib --enable-png --enable-gif \ --disable-linotype --disable-video4linux \ --disable-video4linux2 --with-gfxdrivers=all \ --with-inputdrivers=all --with-smooth-scaling \ --with-dither-rgb16=advanced INSTALL_TARGET= install-strip PLIST_SUB+= DIRECTFB_VERSION="${PORTVERSION}" \ DIRECTFB_RELEASE="${PORTVERSION:R}" \ DIRECTFB_SHLIB="${DIRECTFB_SHLIB}" \ DIRECTFB_BIN="${DIRECTFB_BIN}" PORTDOCS= * OPTIONS_DEFINE= FREETYPE X11 SDL UNIQUE TEST DOCS OPTIONS_DEFAULT= FREETYPE X11 SDL OPTIONS_SUB= yes UNIQUE_DESC= Unique (WM Module) DIRECTFB_SHLIB= 6.0.11 # LT_BINARY.LT_AGE.LT_REVISION DIRECTFB_BIN= ${DIRECTFB_SHLIB:R:R} # LT_BINARY DOCS_BUILD_DEPENDS= man2html:textproc/man2html FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= freetype SDL_USES= sdl SDL_USE= sdl=sdl SDL_CONFIGURE_ENABLE= sdl TEST_CONFIGURE_WITH= tests UNIQUE_CONFIGURE_ENABLE= unique X11_USES= xorg X11_USE= XORG=x11,xext,xorgproto X11_CONFIGURE_ENABLE= x11 .include -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 150 CFLAGS+= -Wno-error=int-conversion .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - # assembly files use old split syntax which clang doesn't like .if ${ARCH:Marmv?} && ${COMPILER_TYPE} == "clang" BUILD_DEPENDS+= as:devel/binutils CFLAGS+= -fno-integrated-as .endif post-patch: @${REINPLACE_CMD} -e \ '/need_libc_r=yes/d ; \ s|/usr/local|${LOCALBASE}|g ; s|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/configure @${GREP} -lr alloca\.h ${WRKSRC} | ${XARGS} \ ${REINPLACE_CMD} -e 's|||g' post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html .for f in AUTHORS ChangeLog NEWS README TODO fb.modes docs/README.screenshots docs/*.html ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .for f in docs/html/*.html docs/html/*.png ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/html .endfor .include diff --git a/devel/gengetopt/Makefile b/devel/gengetopt/Makefile index 1d1f56bad4df..b053fe0f4fdb 100644 --- a/devel/gengetopt/Makefile +++ b/devel/gengetopt/Makefile @@ -1,64 +1,57 @@ PORTNAME= gengetopt PORTVERSION= 2.23 CATEGORIES= devel MASTER_SITES= GNU MAINTAINER= bofh@FreeBSD.org COMMENT= Tool for generating a C function which parses command line arguments WWW= https://www.gnu.org/software/gengetopt/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= makeinfo tar:xz +USE_CXXSTD= c++14 GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE=yes CFLAGS+= -D_GL_SYSTEM_GETOPT INSTALL_WRKSRC= ${WRKSRC}/src INFO= gengetopt PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES DOC_EXAMPLES= README.example cmdline1.c cmdline1.h cmdline2.c cmdline2.h \ main1.cc main2.c multiple_example.c sample1.ggo sample2.ggo TESTS_EXAMPLES= test_manual_help.c test_manual_help_cmd.c \ test_manual_help_cmd.ggo test_manual_help_cmd.h -.include - -post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ - ${WRKSRC}/src/gm_utils.h -.endif - post-install: ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ @${MKDIR} ${STAGEDIR}${PREFIX}/${INFO_PATH} ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.info \ ${STAGEDIR}${PREFIX}/${INFO_PATH} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog NEWS \ README THANKS TODO doc/index.html doc/gengetopt.html \ ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for e in ${DOC_EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/doc/${e} ${STAGEDIR}${EXAMPLESDIR} .endfor .for e in ${TESTS_EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/tests/${e} ${STAGEDIR}${EXAMPLESDIR} .endfor .include diff --git a/devel/genht/Makefile b/devel/genht/Makefile index 502450972338..d5ec7e389717 100644 --- a/devel/genht/Makefile +++ b/devel/genht/Makefile @@ -1,35 +1,35 @@ PORTNAME= genht DISTVERSION= 1.1.3 CATEGORIES= devel MASTER_SITES= http://www.repo.hu/projects/genht/releases/ MAINTAINER= fuz@FreeBSD.org COMMENT= Simple generic hash table implementation in C WWW= http://www.repo.hu/projects/genht/ LICENSE= PD USES= tar:bz2 USE_LDCONFIG= yes MAKE_ARGS+= GENHT_CFLAGS='${CFLAGS}' \ GENHT_LDFLAGS='${STRIP} ${LDFLAGS}' \ PREFIX=${PREFIX} PORTEXAMPLES= Makefile example.c examplev.c OPTIONS_DEFINE= EXAMPLES .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/doc/$f ${STAGEDIR}${EXAMPLESDIR} .endfor .include diff --git a/devel/gorm/Makefile b/devel/gorm/Makefile index 3564b591a5be..c97e086b056d 100644 --- a/devel/gorm/Makefile +++ b/devel/gorm/Makefile @@ -1,29 +1,29 @@ PORTNAME= gorm PORTVERSION= 1.2.23 PORTREVISION= 5 CATEGORIES= devel gnustep USE_GITHUB= yes GH_ACCOUNT= gnustep GH_PROJECT= apps-gorm GH_TAGNAME= 04554d2 MAINTAINER= ports@FreeBSD.org COMMENT= Graphical Object Relationship Modeller WWW= http://www.gnustep.org/experience/Gorm.html LICENSE= GPLv3 USES= gnustep USE_GNUSTEP= back build USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES} DEFAULT_LIBVERSION= 1.1.0 .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CPPFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/devel/ice/Makefile b/devel/ice/Makefile index 597fc068ed4d..e63317ea70c6 100644 --- a/devel/ice/Makefile +++ b/devel/ice/Makefile @@ -1,124 +1,122 @@ PORTNAME= Ice PORTVERSION= 3.6.5 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= grembo@FreeBSD.org COMMENT= Modern alternative to object middleware such as CORBA/COM/DCOM/COM+ WWW= http://www.zeroc.com/ LICENSE= GPLv2 SLAVE_PORT?= no CONFLICTS= Ice37 py*-Ice37 php*-Ice37 MAKE_JOBS_UNSAFE= yes .if ${SLAVE_PORT} == "no" LIB_DEPENDS= libexpat.so:textproc/expat2 \ libmcpp.so:devel/mcpp USES+= compiler:c++11-lang ssl +USE_CXXSTD= c++11 .else LIB_VRS= ${PORTVERSION:R:S|.||g} LIB_DEPENDS+= libIce.so.${LIB_VRS}:devel/ice PLIST_SUB+= LIB_VERSION="${PORTVERSION}" LIB_VRS="${LIB_VRS}" .endif OPTIONS_DEFINE?= DEBUG TEST USES+= bdb iconv gmake USE_LDCONFIG= yes BUILD_WRKSRC?= ${WRKSRC}/cpp INSTALL_WRKSRC?= ${WRKSRC}/cpp PORTSCOUT= limit:^3\.6\. USE_GITHUB= yes GH_TUPLE= zeroc-ice:ice:${DISTVERSIONFULL} TEST_GH_TUPLE= zeroc-ice:ice:v3.7.6:CERTS .include .if ${PORT_OPTIONS:MTEST} && ${SLAVE_PORT} == "no" USES+= python:build BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} .endif CFLAGS+= -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT -I${LOCALBASE}/include .if !${PORT_OPTIONS:MDEBUG} CFLAGS+= -DNDEBUG .endif # determine if we are on a 64-bit arch .if ${ARCH:M*64*} MAKE_ENV+= LP64=yes .endif .if !${PORT_OPTIONS:MTEST} MAKE_ENV+= NOTESTS=yes .endif .if ${SLAVE_PORT} == "no" MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/cpp/lib:$$LD_LIBRARY_PATH -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -USE_CXXSTD= c++11 -.endif .endif .include .if ${PREFIX} != ${LOCALBASE} PYSITEDIR= ${PREFIX}${PYTHON_SITELIBDIR:S|^${LOCALBASE}||} .else PYSITEDIR= ${PYTHON_SITELIBDIR} .endif post-patch: @${SED} 's|%%PREFIX%%|${STAGEDIR}${PREFIX}|g; \ s|%%DATADIR%%|${STAGEDIR}${DATADIR}|g; \ s|%%DOCSDIR%%|${STAGEDIR}${DOCSDIR}|g; \ s|%%ICONV_LIB%%|${ICONV_LIB}|g; \ s|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \ s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \ s|%%OPENSSLLIB%%|${OPENSSLLIB}|g; \ s|%%OPENSSLINC%%|${OPENSSLINC}|g; \ s|%%OPENSSLRPATH%%|${OPENSSLRPATH}|g;' \ ${FILESDIR}/Make.rules.FreeBSD > ${WRKSRC}/cpp/config/Make.rules.FreeBSD @${REINPLACE_CMD} 's|%%BDB_LIB_CXX_NAME%%|${BDB_LIB_CXX_NAME}|g; \ s|%%BDB_LIB_DIR%%|${BDB_LIB_DIR}|g; \ s|%%BDB_INCLUDE_DIR%%|${BDB_INCLUDE_DIR}|g; \ s|%%OPENSSLLIB%%|${OPENSSLLIB}|g; \ s|%%OPENSSLINC%%|${OPENSSLINC}|g; \ s|%%OPENSSLRPATH%%|${OPENSSLRPATH}|g; \ /install_docdir/d' \ ${WRKSRC}/cpp/config/Make.rules @${REINPLACE_CMD} 's|%%OPENSSLBASE%%|${OPENSSLBASE}|g;' \ ${WRKSRC}/cpp/test/IceSSL/configuration/run.py @${REINPLACE_CMD} '/install_configdir/d' \ ${WRKSRC}/cpp/config/Make.rules @${REINPLACE_CMD} '/LICENSE/s/prefix/install_slicedir/; \ s|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g;' \ ${WRKSRC}/config/Make.common.rules @${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \ s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \ s|%%ICONV_LIB%%|${ICONV_LIB}|g; \ s|%%PYTHON_CMD%%|${PYTHON_CMD}|g; \ s|%%PYTHON_SITELIBDIR%%|${STAGEDIR}${PYSITEDIR}|g; \ s|%%PREFIX%%|${PREFIX}|g; \ s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/python/config/Make.rules @${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \ s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \ s|%%PREFIX%%|${PREFIX}|g; \ s|%%LOCALBASE%%|${LOCALBASE}|g;' ${WRKSRC}/php/config/Make.rules.php do-test-TEST-on: @${RM} -r ${WRKSRC}/certs @${CP} -r ${WRKSRC_CERTS}/certs ${WRKSRC}/certs @cd ${BUILD_WRKSRC} && ${PYTHON_CMD} ./allTests.py .if ${SLAVE_PORT} == "no" post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* .endif .include diff --git a/devel/ice37/Makefile b/devel/ice37/Makefile index efc69f6c4d2f..4f72f851a071 100644 --- a/devel/ice37/Makefile +++ b/devel/ice37/Makefile @@ -1,163 +1,147 @@ PORTNAME= Ice PORTVERSION= 3.7.6 DISTVERSIONPREFIX= v CATEGORIES= devel PKGNAMESUFFIX?= 37 MAINTAINER= grembo@FreeBSD.org COMMENT= Modern alternative to object middleware such as CORBA/COM/DCOM/COM+ WWW= http://www.zeroc.com/ LICENSE= GPLv2 SLAVE_PORT?= no CONFLICTS= Ice py*-Ice php*-Ice .if ${SLAVE_PORT} == "no" LIB_DEPENDS= libexpat.so:textproc/expat2 \ liblmdb.so:databases/lmdb \ libmcpp.so:devel/mcpp .else LIB_VRS= ${PORTVERSION:R:S|.||g} LIB_DEPENDS+= libIce.so.${LIB_VRS}:devel/ice37 PLIST_SUB+= LIB_VERSION="${PORTVERSION}" LIB_VRS="${LIB_VRS}" .endif DESTDIRNAME= NOT_USED # setting DESTDIR interferes with Ice's Makefiles OPTIONS_DEFINE?= DEBUG STATIC TEST OPTIONS_SUB= yes USES+= compiler:c++14-lang iconv gmake +USE_CXXSTD= c++14 DEBUG_MAKE_ENV= OPTIMIZE=no TEST_ALL_TARGET_OFF= srcs MAKE_ARGS+= V=1 CONFIGS= shared .if ${SLAVE_PORT} == "no" USES+= ssl CONFIGS+= cpp11-shared STATIC_VARS= configs+="static cpp11-static" TEST_USES= python:build shebangfix TEST_VARS= shebang_glob=*.py TEST_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>0:security/py-passlib@${PY_FLAVOR} .endif .include USE_LDCONFIG= yes BUILD_WRKSRC?= ${WRKSRC}/cpp INSTALL_WRKSRC?= ${WRKSRC}/cpp USE_GITHUB= yes GH_ACCOUNT= zeroc-ice GH_PROJECT= ice # determine if we are on a 64-bit arch .if ${ARCH:M*64*} MAKE_ENV+= LP64=yes .endif .include .if ${PREFIX} != ${LOCALBASE} PYSITEDIR= ${PREFIX}${PYTHON_SITELIBDIR:S|^${LOCALBASE}||} .else PYSITEDIR= ${PYTHON_SITELIBDIR} .endif .if defined(PYTHON_VER) && ${PYTHON_VER} == "2.7" PLIST_SUB+= PYTHONGT27="@comment " .else PLIST_SUB+= PYTHONGT27="" .endif post-patch: @${SED} 's|%%CONFIGS%%|${CONFIGS}|g; \ s|%%DATADIR%%|${STAGEDIR}${DATADIR}|g; \ s|%%DOCSDIR%%|${STAGEDIR}${DOCSDIR}|g; \ s|%%ICONV_LIB%%|${ICONV_LIB}|g; \ s|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \ s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \ s|%%LOCALBASE%%|${LOCALBASE}|g; \ s|%%MANPREFIX%%|${STAGEDIR}${MANPREFIX}|g; \ s|%%OPENSSLLIB%%|${OPENSSLLIB}|g; \ s|%%OPENSSLINC%%|${OPENSSLINC}|g; \ s|%%PREFIX%%|${STAGEDIR}${PREFIX}|g;' \ ${FILESDIR}/Make.rules.FreeBSD > ${WRKSRC}/config/Make.rules.FreeBSD @${REINPLACE_CMD} 's|%%CHMOD%%|${CHMOD}|g; \ s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \ s|%%INSTALL_LIB%%|${INSTALL_LIB}|g; \ s|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \ s|%%MKDIR%%|${MKDIR}|g; \ s|%%MV%%|${MV}|g; \ s|%%RM%%|${RM}|g;' \ ${WRKSRC}/config/Make.project.rules @${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \ s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \ s|%%ICONV_LIB%%|${ICONV_LIB}|g; \ s|%%PYTHON_CMD%%|${PYTHON_CMD}|g; \ s|%%PYTHON_SITELIBDIR%%|${STAGEDIR}${PYSITEDIR}|g; \ s|%%PREFIX%%|${PREFIX}|g; \ s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/python/config/Make.rules @${REINPLACE_CMD} 's|%%CHMOD%%|${CHMOD}|g; \ s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \ s|%%INSTALL_LIB%%|${INSTALL_LIB}|g; \ s|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \ s|%%MKDIR%%|${MKDIR}|g; \ s|%%MV%%|${MV}|g; \ s|%%RM%%|${RM}|g;' \ ${WRKSRC}/python/python/Makefile @${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \ s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \ s|%%PREFIX%%|${PREFIX}|g; \ s|%%LOCALBASE%%|${LOCALBASE}|g;' ${WRKSRC}/php/Makefile @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g;' \ ${WRKSRC}/scripts/Util.py @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g;' \ ${WRKSRC}/scripts/Glacier2Util.py -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|binary_function|__binary_function|g ; s|unary_function|__unary_function|g' \ - ${WRKSRC}/cpp/include/Ice/Proxy.h \ - ${WRKSRC}/cpp/include/IceUtil/Functional.h \ - ${WRKSRC}/cpp/src/IceGrid/AdapterCache.cpp \ - ${WRKSRC}/cpp/src/IceGrid/AllocatableObjectCache.cpp \ - ${WRKSRC}/cpp/src/IceGrid/Database.cpp \ - ${WRKSRC}/cpp/src/IceGrid/DescriptorHelper.cpp \ - ${WRKSRC}/cpp/src/IceGrid/NodeCache.cpp \ - ${WRKSRC}/cpp/src/IceGrid/ObjectCache.cpp \ - ${WRKSRC}/cpp/src/IceGrid/ServerCache.cpp \ - ${WRKSRC}/cpp/src/IceGrid/ServerI.cpp \ - ${WRKSRC}/cpp/src/IceGrid/Util.h \ - ${WRKSRC}/cpp/src/IcePatch2/Calc.cpp \ - ${WRKSRC}/cpp/src/IcePatch2Lib/Util.h \ - ${WRKSRC}/cpp/src/Slice/Parser.h -.endif IS_JAILED_CMD= ${SYSCTL} -n security.jail.jailed JAILED_FILTER= --rfilter=IceDiscovery \ --rfilter=priority \ --rfilter=threadPoolPriority \ --rfilter=udp do-test-TEST-on: .for CONFIG in ${CONFIGS} @${ECHO} Testing configuration ${CONFIG} cd ${BUILD_WRKSRC} && \ ${SETENV} LC_ALL=en_US.UTF-8 ${PYTHON_CMD} ./allTests.py \ --config=${CONFIG} \ $$(${TEST} $$(${IS_JAILED_CMD}) -eq 1 \ && ${ECHO} ${JAILED_FILTER}) .endfor .if ${SLAVE_PORT} == "no" pre-install: @${MKDIR} ${STAGEDIR}${DATADIR} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* @cd ${WRKSRC} && ${GMAKE} install-doc install-slice .endif .include diff --git a/devel/libbinio/Makefile b/devel/libbinio/Makefile index 37ed4e48083c..3bb993d6aada 100644 --- a/devel/libbinio/Makefile +++ b/devel/libbinio/Makefile @@ -1,33 +1,28 @@ PORTNAME= libbinio PORTVERSION= 1.5 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= devel MAINTAINER= ehaupt@FreeBSD.org COMMENT= Binary I/O stream class library WWW= https://adplug.github.io/libbinio/ LICENSE= LGPL21 USES= autoreconf compiler:c11 libtool pathfix +USE_CXXSTD= c++14 USE_GITHUB= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes GH_ACCOUNT= adplug INSTALL_TARGET= install-strip PORTSCOUT= skipv:start -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: @${REINPLACE_CMD} -e 's|^\(SUBDIRS\ =\).*|\1 src|' ${WRKSRC}/Makefile.am .include diff --git a/devel/libgee06/Makefile b/devel/libgee06/Makefile index 0a0bec668d88..5a8a5d77ae36 100644 --- a/devel/libgee06/Makefile +++ b/devel/libgee06/Makefile @@ -1,28 +1,28 @@ PORTNAME= libgee PORTVERSION= 0.6.8 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= GNOME PKGNAMESUFFIX= 06 MAINTAINER= kwm@FreeBSD.org COMMENT= GObject collection library WWW= https://live.gnome.org/Libgee USES= cpe gmake gnome libtool pathfix pkgconfig tar:xz CPE_VENDOR= gnome USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-introspection=yes INSTALL_TARGET= install-strip .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/devel/libs11n/Makefile b/devel/libs11n/Makefile index b16cb8f56611..0d1a61487adf 100644 --- a/devel/libs11n/Makefile +++ b/devel/libs11n/Makefile @@ -1,51 +1,43 @@ PORTNAME= libs11n PORTVERSION= 1.2.10 DISTVERSIONSUFFIX= -nobuildfiles PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/s11n/s11n/${PORTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= C++ library for easily serializing a wide variety of objects WWW= http://s11n.net/ LICENSE= PD USES= uidfix zip -USE_CXXSTD= c++11 +USE_CXXSTD= c++14 USE_LDCONFIG= yes PORTSCOUT= limitw:1,even WRKSRC_SUBDIR= src .include .if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))) PLIST_SUB+= PROFILE="@comment " .else PLIST_SUB+= PROFILE="" .endif post-extract: @${CP} ${PATCHDIR}/Makefile.bsd ${WRKSRC}/Makefile -post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \ - ${WRKSRC}/../include/s11n.net/s11n/algo.tpp \ - ${WRKSRC}/../include/s11n.net/s11n/io/data_node_format.hpp \ - ${WRKSRC}/../include/s11n.net/s11n/io/data_node_io.hpp -.endif - pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/io ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/nodeutil ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/plugin ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/proxy ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/proxy/pod ${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n/proxy/std .include diff --git a/devel/libx86/Makefile b/devel/libx86/Makefile index afcf96d05e8e..668dc90ca3d1 100644 --- a/devel/libx86/Makefile +++ b/devel/libx86/Makefile @@ -1,37 +1,37 @@ PORTNAME= libx86 PORTVERSION= 1.1 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://www.codon.org.uk/~mjg59/libx86/downloads/ \ LOCAL/jkim MAINTAINER= jkim@FreeBSD.org COMMENT= Hardware-independent library for executing real-mode x86 code WWW= http://www.codon.org.uk/~mjg59/libx86/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYRIGHT ONLY_FOR_ARCHS= amd64 i386 USES= gmake USE_LDCONFIG= yes MAKE_ARGS= BACKEND=x86emu ALL_TARGET= default PLIST_FILES= include/libx86.h lib/libx86.a lib/libx86.so lib/libx86.so.1 .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif do-install: ${INSTALL_DATA} ${WRKSRC}/lrmi.h ${STAGEDIR}${PREFIX}/include/libx86.h ${INSTALL_DATA} ${WRKSRC}/libx86.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/libx86.so.1 ${STAGEDIR}${PREFIX}/lib ${LN} -sf libx86.so.1 ${STAGEDIR}${PREFIX}/lib/libx86.so .include diff --git a/devel/mingw32-gcc/Makefile b/devel/mingw32-gcc/Makefile index d3e9a83b0dc9..124672e9b8e1 100644 --- a/devel/mingw32-gcc/Makefile +++ b/devel/mingw32-gcc/Makefile @@ -1,108 +1,108 @@ PORTNAME= gcc PORTVERSION= ${GCCVERSION} PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= GCC PKGNAMEPREFIX= mingw32- MAINTAINER= ports@FreeBSD.org COMMENT= FSF gcc-4 for Windows cross-development WWW= https://www.mingw.org/ LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi BUILD_DEPENDS= ${PKGNAMEPREFIX}as:devel/binutils@${PKGNAMEPREFIX:C/-$//} \ mingwm10.dll:devel/${PKGNAMEPREFIX}bin-msvcrt \ objdump:devel/binutils RUN_DEPENDS= ${PKGNAMEPREFIX}as:devel/binutils@${PKGNAMEPREFIX:C/-$//} LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libmpc.so:math/mpc BROKEN_powerpc64= fails to configure: error: cannot compute suffix of object files: cannot compile GCCVERSION= 4.8.1 SSP_UNSAFE= yes ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64 USE_LDCONFIG= yes USES= bison cpe iconv gmake libtool makeinfo perl5 tar:bzip2 CPE_VENDOR= gnu USE_PERL5= build GCC_TARG= ${PKGNAMEPREFIX:S/-$//} PATCH_WRKSRC= ${SRCDIR} CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure BINARIES= c++ cpp g++ gcc gcov gfortran .include .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .else CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL} .endif .if ${ARCH} == powerpc64 CONFIGURE_ENV+= UNAME_m="powerpc64" .endif LANGUAGES:= c,c++,fortran,objc,obj-c++ SRCDIR= ${WRKDIR}/${PORTNAME}-${GCCVERSION} WRKSRC= ${WRKDIR}/build GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls --target=${GCC_TARG} \ --with-gxx-include-dir=${PREFIX}/${GCC_TARG}/include/c++/${GCCVERSION} \ --disable-build-poststage1-with-cxx \ --includedir=${PREFIX}/${GCC_TARG}/include \ --datadir=${PREFIX}/${GCC_TARG}/share \ --enable-shared --with-gnu-ld \ --enable-lto --disable-multilib \ --enable-languages=${LANGUAGES} \ --disable-sjlj-exceptions \ --with-dwarf2 --disable-win32-registry \ --enable-libstdcxx-debug \ --enable-version-specific-runtime-libs \ --with-gmp=${LOCALBASE} \ --with-system-zlib --with-gnu-as \ --enable-decimal-float=yes \ --disable-libgomp --disable-threads \ ${ICONV_CONFIGURE_ARG} \ --disable-bootstrap MAKE_ARGS+= MAKEINFOFLAGS="--no-split" PLIST_SUB+= GCC_TARG=${GCC_TARG} GCC_REV=${GCCVERSION} INFO_PATH= ${GCC_TARG}/share/info INFO= cpp cppinternals gcc gccinstall gccint gfortran .if ${ARCH} == "i386" || ${ARCH} == "amd64" INFO+= libquadmath .endif INSTALL_TARGET= install-strip -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CPPFLAGS+= -Wno-error=increment-bool \ -Dregister= .endif post-patch: ${REINPLACE_CMD} -e "s,# include ,," \ ${SRCDIR}/libiberty/physmem.c pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch @${RM} ${SRCDIR}/gcc/*/*.info* @${MKDIR} ${CONFIGURE_WRKSRC} post-install: @${RM} ${STAGEDIR}${PREFIX}/lib/libiberty.a @${MKDIR} ${STAGEDIR}${PREFIX}/${GCC_TARG}/bin .for F in ${BINARIES} @${LN} -f ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}$F \ ${STAGEDIR}${PREFIX}/${GCC_TARG}/bin/$F .endfor .include diff --git a/devel/mpatrol/Makefile b/devel/mpatrol/Makefile index 922d1aeec1d1..7774fa0a40eb 100644 --- a/devel/mpatrol/Makefile +++ b/devel/mpatrol/Makefile @@ -1,83 +1,83 @@ PORTNAME= mpatrol PORTVERSION= 1.4.8 PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Dynamic memory debugging and profiling library WWW= http://mpatrol.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../../COPYING ONLY_FOR_ARCHS= amd64 i386 .if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld BROKEN_i386= ld: error: relocation R_386_PC32 cannot be used against symbol __mp_init .endif LIB_DEPENDS= libelf.so.0:devel/libelf WRKSRC= ${WRKDIR}/${PORTNAME}/build/unix USES= gettext gmake USE_LDCONFIG= yes DOCS= README mpatrol.dvi mpatrol.guide mpatrol.html mpatrol.info \ mpatrol.pdf mpatrol.ps mpatrol.texi mpatrol.txt refcard.dvi \ refcard.pdf refcard.ps refcard.tex source.tex \ texinfo.tex DOCSIMG= cc1.eps cc1.jpg cc1.pdf \ collect2.eps collect2.jpg collect2.pdf \ cpp.eps cpp.jpg cpp.pdf \ gcc.eps gcc.jpg gcc.pdf \ mpatrol.eps mpatrol.jpg mpatrol.pdf mpatrol.txt \ test.eps test.jpg test.pdf \ trace.eps trace.jpg trace.pdf MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS .include .if ${ARCH} == "amd64" CFLAGS+= -DENVIRON=\"ENVIRON_64\" -DMP_INIT_SUPPORT=0 .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=dynamic-exception-spec .endif do-install: .for file in hexwords mpedit mpsym mupdate ${INSTALL_SCRIPT} ${WRKSRC}/../../bin/${file} ${STAGEDIR}${PREFIX}/bin .endfor .for file in mpatrol mleak mptrace mprof ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_MAN} ${WRKSRC}/../../man/man1/*.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/../../man/man3/*.3 ${STAGEDIR}${PREFIX}/man/man3 .for lib in mpalloc mpatrol mpatrolmt ${INSTALL_DATA} ${WRKSRC}/lib${lib}.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/lib${lib}.so.1 ${STAGEDIR}${PREFIX}/lib ${LN} -sf lib${lib}.so.1 ${STAGEDIR}${PREFIX}/lib/lib${lib}.so .endfor ${INSTALL_DATA} ${WRKSRC}/libmptools.a ${STAGEDIR}${PREFIX}/lib .for file in mpatrol.h mpalloc.h mpdebug.h ${INSTALL_DATA} ${WRKSRC}/../../src/${file} ${STAGEDIR}${PREFIX}/include .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/include/mpatrol ${INSTALL_DATA} ${WRKSRC}/../../tools/*.h ${STAGEDIR}${PREFIX}/include/mpatrol do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/../../doc/${file} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR}/images .for file in ${DOCSIMG} ${INSTALL_DATA} ${WRKSRC}/../../doc/images/${file} ${STAGEDIR}${DOCSDIR}/images/ .endfor .include diff --git a/devel/p5-Compiler-Lexer/Makefile b/devel/p5-Compiler-Lexer/Makefile index 433d61c57629..b9cd137ac26c 100644 --- a/devel/p5-Compiler-Lexer/Makefile +++ b/devel/p5-Compiler-Lexer/Makefile @@ -1,28 +1,24 @@ PORTNAME= Compiler-Lexer PORTVERSION= 0.23 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl extension for lexical analyzer WWW= https://metacpan.org/release/Compiler-Lexer LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= p5-Module-Build-XSUtil>0:devel/p5-Module-Build-XSUtil USES= perl5 USE_PERL5= modbuild -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CFLAGS+= -Dregister= -.endif +CFLAGS+= --std=c++14 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compiler/Lexer/Lexer.so .include diff --git a/devel/pecl-yac/Makefile b/devel/pecl-yac/Makefile index bfdd7fa61fe5..cd57c9ed6c27 100644 --- a/devel/pecl-yac/Makefile +++ b/devel/pecl-yac/Makefile @@ -1,25 +1,25 @@ PORTNAME= yac PORTVERSION= 2.2.1 PORTEPOCH= 1 CATEGORIES= devel MAINTAINER= oliver@FreeBSD.org COMMENT= Shared memory user data cache for PHP WWW= https://github.com/laruence/yac/wiki LICENSE= PHP301 USES= php:pecl OPTIONS_DEFINE= MSGPACK MSGPACK_DESC= Enable MSGPACK module MSGPACK_BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack@${PHP_FLAVOR} MSGPACK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-msgpack@${PHP_FLAVOR} .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/devel/py-donut-shellcode/Makefile b/devel/py-donut-shellcode/Makefile index d17f837bc721..25af624e2344 100644 --- a/devel/py-donut-shellcode/Makefile +++ b/devel/py-donut-shellcode/Makefile @@ -1,25 +1,25 @@ PORTNAME= donut-shellcode DISTVERSION= 1.0.2 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= acm@FreeBSD.org COMMENT= donut shellcode Python C extension WWW= https://github.com/TheWover/donut LICENSE= BSD3CLAUSE USES= dos2unix python USE_PYTHON= distutils autoplist DOS2UNIX_GLOB= *.py .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/devel/py-fam/Makefile b/devel/py-fam/Makefile index a4bbbb814f37..b981f8c6e142 100644 --- a/devel/py-fam/Makefile +++ b/devel/py-fam/Makefile @@ -1,35 +1,34 @@ PORTNAME= fam PORTVERSION= 1.1.1 PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= SF/python-${PORTNAME}/python-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-fam-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Python Interface to the File Alteration Monitor WWW= http://python-fam.sourceforge.net/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= python fam USE_PYTHON= distutils autoplist .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif pre-patch: ${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_fam*.so .include diff --git a/devel/py-pyyaml5/Makefile b/devel/py-pyyaml5/Makefile index 5e172b4a8147..da0ea93fb036 100644 --- a/devel/py-pyyaml5/Makefile +++ b/devel/py-pyyaml5/Makefile @@ -1,54 +1,54 @@ PORTNAME= pyyaml PORTVERSION= 5.4.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 5 DISTNAME= PyYAML-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Python YAML parser WWW= https://pyyaml.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= python USE_PYTHON= autoplist concurrent cython distutils CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}yaml PORTSCOUT= limit:^5\. OPTIONS_DEFINE= LIBYAML EXAMPLES OPTIONS_DEFAULT=LIBYAML LIBYAML_DESC= Use textproc/libyaml for faster parsing LIBYAML_LIB_DEPENDS= libyaml.so:textproc/libyaml .include .if ${PORT_OPTIONS:MLIBYAML} PYDISTUTILS_SETUP+= --with-libyaml PYDISTUTILS_BUILD_TARGET= build_ext PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include \ --library-dirs=${LOCALBASE}/lib .else PYDISTUTILS_SETUP+= --without-libyaml NO_ARCH= yes .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install-EXAMPLES-on: @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/) post-install-LIBYAML-on: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/yaml/_yaml*.so do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include diff --git a/devel/rubygem-cbor/Makefile b/devel/rubygem-cbor/Makefile index 9a7f8555e951..be5047127d6c 100644 --- a/devel/rubygem-cbor/Makefile +++ b/devel/rubygem-cbor/Makefile @@ -1,20 +1,20 @@ PORTNAME= cbor PORTVERSION= 0.5.9.6 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Library for CBOR binary object representation WWW= https://cbor.io/ LICENSE= APACHE20 USES= gem .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif .include diff --git a/devel/rubygem-curses/Makefile b/devel/rubygem-curses/Makefile index c8e8a1fb2716..bcb8430cc655 100644 --- a/devel/rubygem-curses/Makefile +++ b/devel/rubygem-curses/Makefile @@ -1,21 +1,21 @@ PORTNAME= curses PORTVERSION= 1.3.2 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= freebsd@jonathanprice.org COMMENT= Ruby binding for curses, ncurses and PDCurses WWW= https://rubygems.org/gems/curses LICENSE= RUBY BSD2CLAUSE LICENSE_COMB= dual USES= gem ncurses .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif .include diff --git a/devel/rubygem-mmap2/Makefile b/devel/rubygem-mmap2/Makefile index 864ed2bac381..100da1ec9029 100644 --- a/devel/rubygem-mmap2/Makefile +++ b/devel/rubygem-mmap2/Makefile @@ -1,21 +1,21 @@ PORTNAME= mmap2 PORTVERSION= 2.2.9 PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Implement memory-mapped file objects for Ruby 2.x WWW= https://gitlab.com/lyda/mmap LICENSE= RUBY USES= gem .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif .include diff --git a/devel/rubygem-posix-spawn/Makefile b/devel/rubygem-posix-spawn/Makefile index c271dfe200b8..03eafbe82aca 100644 --- a/devel/rubygem-posix-spawn/Makefile +++ b/devel/rubygem-posix-spawn/Makefile @@ -1,23 +1,23 @@ PORTNAME= posix-spawn PORTVERSION= 0.3.15 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby wrapper for posix_spawnp(2) for faster process spawning WWW= https://github.com/rtomayko/posix-spawn LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= gem PLIST_FILES= bin/posix-spawn-benchmark .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif .include diff --git a/devel/rubygem-prometheus-client-mmap/Makefile b/devel/rubygem-prometheus-client-mmap/Makefile index 60afa52c46fb..4805ca089ebf 100644 --- a/devel/rubygem-prometheus-client-mmap/Makefile +++ b/devel/rubygem-prometheus-client-mmap/Makefile @@ -1,22 +1,22 @@ PORTNAME= prometheus-client-mmap DISTVERSION= 0.25.0 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= mfechner@FreeBSD.org COMMENT= Suite of instrumentation metric primitives WWW= https://gitlab.com/gitlab-org/prometheus-client-mmap LICENSE= APACHE20 RUN_DEPENDS= rubygem-rb_sys>=0.9<1:lang/rubygem-rb_sys USES= gem .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif .include diff --git a/devel/rubygem-rbtrace/Makefile b/devel/rubygem-rbtrace/Makefile index ae92c0f65cfc..46618c15559d 100644 --- a/devel/rubygem-rbtrace/Makefile +++ b/devel/rubygem-rbtrace/Makefile @@ -1,27 +1,27 @@ PORTNAME= rbtrace PORTVERSION= 0.4.14 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Shows method calls inside another ruby process in real time WWW= https://github.com/tmm1/rbtrace LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-ffi>=1.0.6:devel/rubygem-ffi \ rubygem-msgpack>=0.4.3:devel/rubygem-msgpack \ rubygem-optimist>=3.0.0:devel/rubygem-optimist USES= gem PLIST_FILES= bin/rbtrace .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif .include diff --git a/devel/sfml/Makefile b/devel/sfml/Makefile index 7299db5bd74b..b9d8a264b67f 100644 --- a/devel/sfml/Makefile +++ b/devel/sfml/Makefile @@ -1,77 +1,70 @@ PORTNAME= sfml PORTVERSION= 2.5.1 PORTREVISION= 4 CATEGORIES= devel MAINTAINER= amdmi3@FreeBSD.org COMMENT= Simple and Fast Multimedia Library WWW= https://www.sfml-dev.org/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/license.md USE_GITHUB= yes GH_ACCOUNT= SFML GH_PROJECT= SFML USES= cmake compiler:c++11-lang +USE_CXXSTD= c++14 CMAKE_ARGS= -DSFML_INSTALL_PKGCONFIG_FILES=ON \ -DSFML_USE_SYSTEM_DEPS=ON USE_LDCONFIG= yes DATADIR= ${PREFIX}/share/SFML PORTDATA= * PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES DOXYGEN OPTIONS_GROUP= MODULES OPTIONS_GROUP_MODULES= WINDOW GRAPHICS AUDIO NETWORK OPTIONS_DEFAULT=${OPTIONS_GROUP_MODULES} OPTIONS_SUB= yes MODULES_DESC= SFML modules WINDOW_DESC= SFML Window module WINDOW_CMAKE_BOOL= SFML_BUILD_WINDOW WINDOW_USES= gl xorg WINDOW_USE= XORG=x11,xrandr GL=gl GRAPHICS_DESC= SFML Graphics module GRAPHICS_CMAKE_BOOL= SFML_BUILD_GRAPHICS GRAPHICS_LIB_DEPENDS= libfreetype.so:print/freetype2 GRAPHICS_IMPLIES= WINDOW AUDIO_DESC= SFML Audio module AUDIO_CMAKE_BOOL= SFML_BUILD_AUDIO AUDIO_USES= openal:al AUDIO_LIB_DEPENDS= libFLAC.so:audio/flac \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis NETWORK_DESC= SFML Network module NETWORK_CMAKE_BOOL= SFML_BUILD_NETWORK DOXYGEN_CMAKE_BOOL= SFML_BUILD_DOC DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS EXAMPLES_CMAKE_BOOL= SFML_BUILD_EXAMPLES -.include - -post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \ - ${WRKSRC}/src/SFML/Audio/AudioDevice.cpp -.endif - post-install: @${RM} ${STAGEDIR}${PREFIX}/*.pc post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/changelog.md ${WRKSRC}/readme.md \ ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/sope/Makefile b/devel/sope/Makefile index 52c317051d97..b2666788a8ca 100644 --- a/devel/sope/Makefile +++ b/devel/sope/Makefile @@ -1,71 +1,71 @@ PORTNAME= sope PORTVERSION= 5.8.4 CATEGORIES= devel gnustep MASTER_SITES= https://packages.sogo.nu/sources/ DISTNAME= SOPE-${PORTVERSION} MAINTAINER= acm@FreeBSD.org COMMENT= Extensive set of GNUstep web application frameworks WWW= https://sogo.nu/ LICENSE= LGPL20 LIB_DEPENDS= libxml2.so:textproc/libxml2 \ libmemcached.so:databases/libmemcached USES= gmake iconv gnustep USE_GNUSTEP= base build USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES} CONFIGURE_ARGS= --with-gnustep --disable-debug --disable-strip CONFIGURE_ENV+= CC="${CC}" LLD_UNSAFE= yes # PR 230608 CONFLICTS= sope2 SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \ GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES} WRKSRC= ${WRKDIR}/SOPE OPTIONS_DEFINE= LDAP MYSQL PGSQL MEMCACHED OPTIONS_DEFAULT= LDAP PGSQL MEMCACHED OPTIONS_SUB= yes LDAP_DESC= Build with LDAP support MEMCACHED_DESC= Install memcached MYSQL_DESC= Build with MySQL support PGSQL_DESC= Build with PostgreSQL support LDAP_USES= ldap MEMCACHED_RUN_DEPENDS= ${LOCALBASE}/bin/memcached:databases/memcached MYSQL_USES= mysql PGSQL_USES= pgsql .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CPPFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/sope-core/NGStreams/configure .for f in config.guess config.sub @${CP} ${TEMPLATES}/$f ${WRKSRC}/sope-core/NGStreams/ .endfor post-patch-LDAP-off: @${REINPLACE_CMD} -e '/checkLinking "ldap"/d' ${WRKSRC}/configure post-patch-MYSQL-off: @${REINPLACE_CMD} -e '/checkLinking "mysqlclient"/d' ${WRKSRC}/configure post-patch-PGSQL-off: @${REINPLACE_CMD} -e '/checkLinking "pq"/d' ${WRKSRC}/configure do-configure: cd ${WRKSRC} ; . ${GNUSTEP_MAKEFILES}/GNUstep.sh ; ./configure ${CONFIGURE_ARGS} .include diff --git a/devel/tla/Makefile b/devel/tla/Makefile index 1810d12b7a17..0262147dbdb0 100644 --- a/devel/tla/Makefile +++ b/devel/tla/Makefile @@ -1,65 +1,64 @@ PORTNAME= tla PORTVERSION= 1.3.5 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNU/gnu-arch \ http://www.atai.org/gnuarch/releases/ MAINTAINER= bofh@FreeBSD.org COMMENT= Original arch source control management CLI written in C WWW= https://www.gnu.org/software/gnu-arch/ LICENSE= GPLv2+ BUILD_DEPENDS= gpatch:devel/patch \ gdiff:textproc/diffutils \ gtar:archivers/gtar RUN_DEPENDS:= ${BUILD_DEPENDS} USES= gmake pkgconfig ssl HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ../configure CONFIGURE_ARGS= --prefix=${PREFIX} \ --with-gnu-patch gpatch \ --with-gnu-diff gdiff \ --with-gnu-diff3 gdiff3 \ --with-gnu-tar gtar CONFIGURE_ENV= ne_cv_libsfor_SSL_library_init=yes MAKE_JOBS_UNSAFE= yes TEST_TARGET= test PATCH_WRKSRC= ${ORIGWRKSRC}/.. WRKSRC= ${ORIGWRKSRC}/=build OPTIONS_DEFINE= DOCS ORIGWRKSRC= ${WRKDIR}/${DISTNAME}/src .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CPPFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CPPFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif pre-install: ${RM} -r ${ORIGWRKSRC}/docs-tla/PLUGIN \ ${ORIGWRKSRC}/docs-tla/{arch} ${ORIGWRKSRC}/docs-tla/.arch-ids do-install: ${INSTALL_PROGRAM} ${ORIGWRKSRC}/=build/tla/tla/tla ${STAGEDIR}${PREFIX}/bin ${SED} 's,^#!.*$$,#!${AWK} -f,' ${ORIGWRKSRC}/tla/=gpg-check.awk \ > ${WRKDIR}/tla-gpg-check ${INSTALL_SCRIPT} ${WRKDIR}/tla-gpg-check ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${ORIGWRKSRC}/docs-tla && ${FIND} . -name '*.html' | \ ${CPIO} -pdm -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/z80-asm/Makefile b/devel/z80-asm/Makefile index 220e42101ae0..cc422953834c 100644 --- a/devel/z80-asm/Makefile +++ b/devel/z80-asm/Makefile @@ -1,61 +1,61 @@ PORTNAME= z80-asm PORTVERSION= 2.4.p3 CATEGORIES= devel MASTER_SITES= http://wwwhomes.uni-bielefeld.de/achim/z80-asm/ DISTNAME= ${PORTNAME}-2.3 DIST_SUBDIR= z80-asm PATCH_SITES= ${MASTER_SITES} PATCHFILES= diff_2.3_2.4-pre3.gz PATCH_DIST_STRIP= -p1 MAINTAINER= ports@FreeBSD.org COMMENT= Z80 assembly code assembler and disassembler WWW= https://wwwhomes.uni-bielefeld.de/achim/z80-asm.html LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/COPYING USES= gmake PORTDOCS= CHANGELOG README TODO z80-asm.html z80-mon.html OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: @${TOUCH} ${WRKSRC}/hardware/bus_masters post-patch: @${REINPLACE_CMD} -e \ 's|/usr/local|${PREFIX}|g ; \ s|^CC=|CC?=|g ; \ s|=-O2|+=|g ; \ s|make |$$(MAKE) |g ; \ s|gcc |$$(CC) |g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e \ '/LCD=/s|^|#|g ; \ s|^CC=|CC?=|g ; \ s|=-O2|+=|g ; \ s|gcc |$$(CC) |g ; \ s|-lc ||g' ${WRKSRC}/hardware/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/z80-asm ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/z80-mon ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/man/*.3 ${STAGEDIR}${MAN3PREFIX}/man/man3 ${INSTALL_MAN} ${WRKSRC}/doc/man/*.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/editors/aewan/Makefile b/editors/aewan/Makefile index 2cf8078a0634..e7a27dc41249 100644 --- a/editors/aewan/Makefile +++ b/editors/aewan/Makefile @@ -1,49 +1,48 @@ PORTNAME= aewan PORTVERSION= 1.0.01 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Curses-based program for the creation and editing of ASCII art WWW= http://aewan.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake ncurses GNU_CONFIGURE= yes PLIST_FILES= bin/aecat bin/aewan bin/aemakeflic \ man/man1/aecat.1.gz \ man/man1/aewan.1.gz \ man/man1/aemakeflic.1.gz \ man/man5/aewan.5.gz PORTDOCS= * OPTIONS_DEFINE= DOCS .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif post-patch: @${REINPLACE_CMD} -e 's|OSTYPE == |OSTYPE = |g' ${WRKSRC}/configure post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/editors/led/Makefile b/editors/led/Makefile index d869259dcea6..66ab6729ad52 100644 --- a/editors/led/Makefile +++ b/editors/led/Makefile @@ -1,34 +1,34 @@ PORTNAME= led PORTVERSION= 2.0 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}-editor/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tiny text editor, with a number of useful programming features WWW= http://led-editor.sourceforge.net/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= ncurses perl5 GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -E 's,(bin|lib|data)dir),DESTDIR)$$(&,' \ ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/led \ ${STAGEDIR}${PREFIX}/lib/led/modules/perlapi.so .include diff --git a/editors/morla/Makefile b/editors/morla/Makefile index 48c4123b59e2..33c078b5f6fd 100644 --- a/editors/morla/Makefile +++ b/editors/morla/Makefile @@ -1,54 +1,54 @@ PORTNAME= morla PORTVERSION= 0.16.1 PORTREVISION= 14 CATEGORIES= editors textproc MASTER_SITES= http://www.morlardf.net/src/ \ http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/ MAINTAINER= nivit@FreeBSD.org COMMENT= RDF editor WWW= http://www.morlardf.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= dot:graphics/graphviz LIB_DEPENDS= libcurl.so:ftp/curl \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libnxml.so:textproc/libnxml \ libraptor2.so:textproc/raptor2 \ librasqal.so:textproc/rasqal \ librdf.so:textproc/redland RUN_DEPENDS= dot:graphics/graphviz USES= gettext gnome libtool localbase:ldflags pkgconfig USE_GNOME= cairo gdkpixbuf2 gtk20 libxslt USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gconf=none --with-gtkhtml=none DESKTOP_ENTRIES="morla" \ "Edit RDF documents" \ "${DATADIR}/icons/128_color.png" \ "morla" \ "WebDevelopment;" \ true OPTIONS_DEFINE= XULRUNNER XULRUNNER_DESC= Xulrunner as JavaScript engine XULRUNNER_BROKEN= www/libxul is gone, consider using lang/spidermonkey* XULRUNNER_CONFIGURE_ON= --with-javascript=xulrunner XULRUNNER_CONFIGURE_OFF= --with-javascript=none .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/editors/uzap/Makefile b/editors/uzap/Makefile index c6d40adf57de..dc0bbfa9cb61 100644 --- a/editors/uzap/Makefile +++ b/editors/uzap/Makefile @@ -1,30 +1,30 @@ PORTNAME= uzap PORTVERSION= 1.0 CATEGORIES= editors MASTER_SITES= LOCAL/joerg DISTNAME= ${PORTNAME} MAINTAINER= joerg@FreeBSD.org COMMENT= Visual binary file editor # Has been posted to alt.sources in 1989 # http://www.megalextoria.com/usenet-archive/news097f1/b120/alt/sources/00000521.html # Converted from NO_CDROM LICENSE= uzap LICENSE_NAME= uzap LICENSE_TEXT= This software may not be used to make a profit in any way. LICENSE_PERMS= dist-mirror pkg-mirror auto-accept USES= ncurses NO_WRKSUBDIR= yes PLIST_FILES= bin/uzap man/man1/uzap.1.gz .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile index 6edeb5a531e2..586eef301369 100644 --- a/emulators/dosbox/Makefile +++ b/emulators/dosbox/Makefile @@ -1,55 +1,52 @@ PORTNAME= dosbox DISTVERSION= 0.74-3 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} MAINTAINER= knyght@gmail.com COMMENT= Emulator of a PC with DOS WWW= http://dosbox.sourceforge.net/ LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png USES= cpe sdl USE_CXXSTD= c++14 USE_SDL= sdl net sound GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-core-inline DESKTOP_ENTRIES="DOSBox" "${COMMENT}" \ "${PREFIX}/share/pixmaps/dosbox.ico" "dosbox" \ "System;Emulator;" true PLIST_FILES= bin/dosbox man/man1/dosbox.1.gz share/pixmaps/dosbox.ico PORTDOCS= NEWS README OPTIONS_DEFINE= DOCS OPTIONS_RADIO= DEBUGGER OPTIONS_RADIO_DEBUGGER=DEBUGGER_ENABLE DEBUGGER_HEAVY DEBUGGER_ENABLE_DESC=Enable internal debugger DEBUGGER_HEAVY_DESC=Enable internal debugger with extra features DEBUGGER_ENABLE_CONFIGURE_ON= --enable-debug=yes DEBUGGER_HEAVY_CONFIGURE_ON= --enable-debug=heavy -.include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: @${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \ ${WRKSRC}/docs/dosbox.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${STAGEDIR}${PREFIX}/bin/dosbox ${INSTALL_DATA} ${WRKSRC}/src/dosbox.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/hugo/Makefile b/emulators/hugo/Makefile index ddaf65c1bf59..d9da1e934eee 100644 --- a/emulators/hugo/Makefile +++ b/emulators/hugo/Makefile @@ -1,59 +1,58 @@ PORTNAME= hugo PORTVERSION= 2.12 PORTREVISION= 17 CATEGORIES= emulators MASTER_SITES= http://www.zeograd.com/download/ \ http://www.sourcefiles.org/Emulators/Videogames/ MAINTAINER= bofh@FreeBSD.org COMMENT= PC Engine (TurboGrafx 16) emulator WWW= https://www.zeograd.com/ LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= multi LIB_DEPENDS= libargp.so:devel/argp-standalone USES= gmake localbase:ldflags pkgconfig sdl USE_CSTD= gnu89 USE_SDL= sdl GNU_CONFIGURE= yes CFLAGS+= -Wno-return-type CONFLICTS_INSTALL= gohugo OPTIONS_DEFINE= GTK2 DOCS NETPLAY SDL_MIXER OPTIONS_DEFAULT=GTK2 OPTIONS_SUB= yes NETPLAY_DESC= Netplay support SDL_MIXER_DESC= SDL_mixer support GTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 GTK2_USES= gnome GTK2_USE= GNOME=gtk20 cairo gdkpixbuf2 GTK2_CONFIGURE_OFF= --disable-gui --disable-gtktest NETPLAY_IMPLIES= GTK2 NETPLAY_USE= SDL=net NETPLAY_CONFIGURE_ENV_OFF= ac_cv_lib_SDL_net_main=no SDL_MIXER_LIB_DEPENDS= libvorbis.so:audio/libvorbis SDL_MIXER_USE= SDL=mixer SDL_MIXER_CONFIGURE_ENV_OFF= ac_cv_lib_SDL_mixer_main=no \ ac_cv_lib_vorbis_main=no \ ac_cv_lib_vorbisfile_main=no SDL_MIXER_CFLAGS= -DOGG_SUPPORT .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif .include diff --git a/emulators/qemu-cheri/Makefile b/emulators/qemu-cheri/Makefile index 222fff20fb45..9f61afbe73af 100644 --- a/emulators/qemu-cheri/Makefile +++ b/emulators/qemu-cheri/Makefile @@ -1,77 +1,77 @@ PORTNAME= qemu PORTVERSION= 0.d${SNAPDATE} PORTREVISION= 0 CATEGORIES= emulators devel PKGNAMESUFFIX= -cheri MAINTAINER= brooks@FreeBSD.org COMMENT?= QEMU emulator with CHERI CPU support WWW= https://github.com/CTSRD-CHERI/qemu # XXX: disabling gnutls doesn't work so depend on it to avoid breakage. BUILD_DEPENDS= bash:shells/bash \ meson>=0.57.1_1:devel/meson LIB_DEPENDS= libcapstone.so:devel/capstone \ libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy \ libgnutls.so:security/gnutls \ libnettle.so:security/nettle RUN_DEPENDS= qemu-system-i386:emulators/qemu LICENSE= GPLv2 USE_GITHUB= yes GH_TUPLE= CTSRD-CHERI:qemu:${QEMU_COMMIT} \ qemu:dtc:85e5d83:qemu_dtc/dtc \ qemu:libslirp:487f4bf4:qemu_libslirp/slirp \ qemu:berkeley-softfloat-3:b64af41:qemu_berkeley_softfloat_3/tests/fp/berkeley-softfloat-3 \ qemu:berkeley-testfloat-3:ca9fa2b:qemu_berkeley_testfloat_3/tests/fp/berkeley-testfloat-3 \ qemu:keycodemapdb:6b3d716:qemu_keycodemapdb/ui/keycodemapdb \ HAS_CONFIGURE= yes MAKEFILE= GNUmakefile USES= cpe gmake gnome ninja:build perl5 pkgconfig python:build xorg USE_XORG= pixman USE_GNOME+= glib20 libxml2 USE_PERL5= build USE_GL+= gl ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le OPTIONS_DEFINE= DOCS .include "Makefile.snapshot" CONFIGURE_ARGS+= \ --target-list=riscv64cheri-softmmu,morello-softmmu \ --disable-curl \ --disable-git-update \ --disable-gtk \ --disable-linux-user \ --disable-linux-aio \ --disable-kvm \ --disable-opengl \ --disable-vnc-png \ --disable-sdl \ --disable-vte \ --disable-xen \ --meson=${LOCALBASE}/bin/meson \ --smbd=${LOCALBASE}/sbin/smbd \ --extra-cflags="-g ${EXTRA_CFLAGS}" \ --localstatedir=/var EXTRA_CFLAGS= -DCHERI_UNALIGNED PLIST_FILES= bin/qemu-system-morello \ bin/qemu-system-riscv64cheri .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/build/qemu-system-morello \ ${WRKSRC}/build/qemu-system-riscv64cheri \ ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/games/alienarena/Makefile b/games/alienarena/Makefile index 5446bb523df7..0d0b49d9e9ee 100644 --- a/games/alienarena/Makefile +++ b/games/alienarena/Makefile @@ -1,94 +1,94 @@ PORTNAME= alienarena PORTVERSION= 2013.766 PORTREVISION= 12 CATEGORIES= games MASTER_SITES= http://icculus.org/alienarena/Files/ \ http://red.planetarena.org/files/ \ GENTOO DISTNAME= ${PORTNAME}-7.66-linux20130827 MAINTAINER= acm@FreeBSD.org COMMENT= Alien Arena (native version) WWW= http://red.planetarena.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../COPYING RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/data1/default.cfg:games/alienarena-data USES= compiler:c++11-lib dos2unix gmake localbase USE_CXXSTD= c++11 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-xf86vm \ --with-xf86dga \ --with-system-libode MAKE_ENV= WITH_DATADIR=yes WITH_LIBDIR=yes \ DATADIR="${DATADIR}" LIBDIR="${LIBDIR}" # Fix build with clang11 CFLAGS+= -fcommon EXTRACT_AFTER_ARGS= --exclude "data1" SUB_FILES= pkg-message CONFIGURE_WRKSRC=${WRKDIR}/${PORTNAME}-7.66/ WRKSRC= ${WRKDIR}/${PORTNAME}-7.66/source PLIST_SUB+= LIBDIR=${LIBDIR:S|^${PREFIX}/||} OPTIONS_DEFAULT= CLIENT DEDICATED OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT DEDICATED OPTIONS_SUB= yes CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server CLIENT_LIB_DEPENDS= libcurl.so:ftp/curl \ libfreetype.so:print/freetype2 \ libogg.so:audio/libogg \ libpng.so:graphics/png \ libvorbis.so:audio/libvorbis \ libode.so:devel/ode CLIENT_USES= gl jpeg openal:soft,alut pkgconfig xorg CLIENT_USE= GL=glu XORG=x11,xxf86dga,xxf86vm LIBDIR= ${PREFIX}/lib/${PORTNAME} -.include +.include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .if ! ${PORT_OPTIONS:MCLIENT} && ${PORT_OPTIONS:MDEDICATED} CONFIGURE_ARGS+=--disable-client .endif post-patch: @${REINPLACE_CMD} -e "s|(CCLD)|(CXX)|g" ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/client/snd_openal.c @${REINPLACE_CMD} -e "s|.codered|.config/alienarena|g" ${WRKSRC}/qcommon/qcommon.h # Resolve name collision with jpeg-8 ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ ${WRKSRC}/ref_gl/r_image.c ${REINPLACE_CMD} -e 's|inline void IQM_DrawVBO|void IQM_DrawVBO|' \ ${WRKSRC}/ref_gl/r_iqm.c do-install: ${MKDIR} ${STAGEDIR}${LIBDIR}/arena ${STAGEDIR}${LIBDIR}/data1 ${LN} -s ${DATADIR}/arena/* ${STAGEDIR}${LIBDIR}/arena ${LN} -s ${DATADIR}/botinfo ${STAGEDIR}${LIBDIR} ${LN} -s ${DATADIR}/data1/* ${STAGEDIR}${LIBDIR}/data1 do-install-CLIENT-on: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} do-install-DEDICATED-on: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-ded \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-ded -.include +.include diff --git a/games/dxx-rebirth/Makefile b/games/dxx-rebirth/Makefile index 41689ce3133b..7e220e362b46 100644 --- a/games/dxx-rebirth/Makefile +++ b/games/dxx-rebirth/Makefile @@ -1,56 +1,55 @@ PORTNAME= dxx-rebirth PORTVERSION= 20220929 DISTVERSIONSUFFIX= -src PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://www.dxx-rebirth.com/download/dxx/rebirth/ DISTNAME= ${PORTNAME}_${PORTVERSION}${DISTVERSIONSUFFIX} PATCH_SITES= https://github.com/dxx-rebirth/dxx-rebirth/commit/ PATCHFILES= fc4157f56f6acd5e63367974dd4249b88f3a2535.patch:-p1 \ 2dd538eb4d51835ad4c93b96edd374548b0eef67.patch:-p1 MAINTAINER= pkubaj@FreeBSD.org COMMENT= Open source port of Descent and Descent 2 WWW= https://www.dxx-rebirth.com/ LICENSE= GPLv3 PARALLAX LICENSE_COMB= multi LICENSE_NAME_PARALLAX= original Parallax license LICENSE_FILE_GPLv3= ${WRKSRC}/GPL-3.txt LICENSE_FILE_PARALLAX= ${WRKSRC}/COPYING.txt LICENSE_PERMS_PARALLAX= dist-mirror pkg-mirror auto-accept BUILD_DEPENDS= as:devel/binutils LIB_DEPENDS= libphysfs.so:devel/physfs \ libpng.so:graphics/png USES= compiler:c++17-lang gl localbase:ldflags pkgconfig scons sdl \ tar:xz USE_GL= gl glu USE_SDL= image2 mixer2 sdl2 MAKE_ARGS= ignore_unknown_variables=1 sdl2=1 PLIST_FILES= bin/d1x-rebirth \ bin/d2x-rebirth -.include +.include .if ${ARCH} != powerpc64 && ${ARCH} != riscv64 MAKE_ARGS+= lto=1 .endif -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 150 CPPFLAGS+= -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_VERSION} >= 160 CPPFLAGS+= -Wno-error=unused-result .endif +.endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d1x-rebirth \ ${STAGEDIR}${PREFIX}/bin/d2x-rebirth -.include +.include diff --git a/games/falconseye/Makefile b/games/falconseye/Makefile index f00121a090e3..31dcdc0b7e1b 100644 --- a/games/falconseye/Makefile +++ b/games/falconseye/Makefile @@ -1,66 +1,65 @@ PORTNAME= falconseye PORTVERSION= 1.9.3 PORTREVISION= 11 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/NetHack-Falcon_s%20Eye%20%28source%29/${PORTVERSION} DISTNAME= nethack_source_331_jtp_${PORTVERSION:S/.//g} MAINTAINER= ports@FreeBSD.org COMMENT= NetHack derivative WWW= http://falconseye.sourceforge.net/ RUN_DEPENDS= timidity:audio/timidity USES= cpe localbase ncurses perl5 sdl xorg zip CPE_VENDOR= ${PORTNAME}_project USE_PERL5= build USE_SDL= sdl USE_XORG= x11 xaw xext xmu xpm xt MAKE_ARGS= WINTTYLIB="-lncurses" MAKE_ENV= NHDIR="${DATADIR}" NETHACKCONFIG="${NETHACKCONFIG}" MAKE_JOBS_UNSAFE= yes CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include/SDL11 \ -Wno-return-type DATADIR= ${PREFIX}/share/falconseyedir NO_WRKSUBDIR= yes NETHACKCONFIG= ${FILESDIR}/x-config .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif post-patch: @${REINPLACE_CMD} -i '' -e "s|||" \ ${WRKSRC}/include/jtp_gen.h ${WRKSRC}/win/jtp/jtp_dirx.c \ ${WRKSRC}/win/jtp/jtp_keys.c ${WRKSRC}/win/jtp/jtp_sdl.c \ ${WRKSRC}/win/Qt/qt_win.cpp do-configure: @cd ${WRKSRC}/sys/unix && ${SH} setup.sh symlinks post-build: @cd ${WRKSRC}/util && ${LN} -f recover frecover @cd ${WRKSRC}/doc && ${PERL} -p ${FILESDIR}/substitute falconseye.6 @cd ${WRKSRC}/doc && ${PERL} -p ${FILESDIR}/substitute frecover.6 post-install: ${INSTALL_PROGRAM} ${WRKSRC}/util/recover ${STAGEDIR}${PREFIX}/bin/frecover cd ${WRKSRC}/doc && ${INSTALL_MAN} recover.6 \ ${STAGEDIR}${PREFIX}/man/man6/frecover.6 cd ${WRKSRC}/doc && ${INSTALL_MAN} nethack.6 \ ${STAGEDIR}${PREFIX}/man/man6/falconseye.6 ${TOUCH} ${STAGEDIR}${DATADIR}/logfile ${STAGEDIR}${DATADIR}/perm \ ${STAGEDIR}${DATADIR}/record .include diff --git a/games/foobillard/Makefile b/games/foobillard/Makefile index da745cb82710..8a150a927014 100644 --- a/games/foobillard/Makefile +++ b/games/foobillard/Makefile @@ -1,58 +1,58 @@ PORTNAME= foobillard PORTVERSION= 3.0a PORTREVISION= 12 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/FooBillard-Sources/ MAINTAINER= thomas@bsdunix.ch COMMENT= Free OpenGL billiards game WWW= http://foobillard.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 USES= gmake localbase:ldflags pkgconfig xorg USE_XORG= xaw ice GNU_CONFIGURE= yes DESKTOP_ENTRIES= "Foobillard" \ "A free OpenGL-billard game" \ "${DATADIR}/foobillard.png" \ "foobillard" \ "Game;Simulation;" \ false OPTIONS_DEFINE= SDL NVIDIA_BUMPREF NVIDIA_BUMPREF_DESC= NVidia extensions SDL_DESC= SDL instead of glut NVIDIA_BUMPREF_CONFIGURE_OFF= --disable-nvidia NVIDIA_BUMPREF_CFLAGS_OFF= -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 SDL_USES= sdl SDL_USE= SDL=sdl SDL_CONFIGURE_ON= --enable-SDL SDL_USES_OFF= gl SDL_USE_OFF= GL=glut SDL_CONFIGURE_OFF= --enable-glut FREETYPE_CONFIG?= pkg-config freetype2 .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|%%FREETYPE_CONFIG%%|${FREETYPE_CONFIG}|g' \ ${WRKSRC}/src/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/foobillard.6 ${STAGEDIR}${PREFIX}/man/man6/foobillard.6 .include diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile index b474e3209ef1..b057034b63a9 100644 --- a/games/gnuchess/Makefile +++ b/games/gnuchess/Makefile @@ -1,58 +1,50 @@ PORTNAME= gnuchess PORTVERSION= 6.2.9 CATEGORIES= games MASTER_SITES= GNU/chess # The DISTFILES here is explicitly needed because it can be extended later. DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= bofh@FreeBSD.org COMMENT= Classic Gnu Chess WWW= https://savannah.gnu.org/projects/chess LICENSE= GPLv3+ USES= cpe shebangfix CPE_VENDOR= gnu CPE_PRODUCT= chess +USE_CXXSTD= c++14 SHEBANG_FILES= doc/quotes.rb GNU_CONFIGURE= yes CONFIGURE_ENV= MKDIR_P="${MKDIR}" INFO= gnuchess OPTIONS_DEFINE= OPENING_BOOK DOCS NLS OPTIONS_DEFAULT= OPENING_BOOK OPTIONS_SUB= yes OPENING_BOOK_DESC= Install opening book (25 MB download) NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls +OPENING_BOOK_DISTFILES= book_1.02.pgn.gz +OPENING_BOOK_EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -.include - -.if ${PORT_OPTIONS:MOPENING_BOOK} -DISTFILES+= book_1.02.pgn.gz -EXTRACT_ONLY+= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - -post-build: -.if ${PORT_OPTIONS:MOPENING_BOOK} +post-build-OPENING_BOOK-on: zcat ${DISTDIR}/book_1.02.pgn.gz > ${WRKSRC}/src/book.pgn cd ${WRKSRC}/src && ( ${ECHO} book add book.pgn; sleep 1; ${ECHO} quit ) | ./gnuchess @${REINPLACE_CMD} -e '/Book =/s/false/true/' ${WRKSRC}/src/gnuchess.ini -.endif post-install: cd ${STAGEDIR}${PREFIX}/bin && ${LN} -f gnuchess gnuchessx + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} ${RM} ${STAGEDIR}${DOCSDIR}/gnuchess.info .include diff --git a/games/gshisen/Makefile b/games/gshisen/Makefile index 61c0249d527f..a8960499570d 100644 --- a/games/gshisen/Makefile +++ b/games/gshisen/Makefile @@ -1,26 +1,26 @@ PORTNAME= gshisen PORTVERSION= 1.3.0 PORTREVISION= 9 CATEGORIES= games gnustep MASTER_SITES= SAVANNAH/gap DISTNAME= GShisen-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Shisen-sho puzzle game for GNUstep WWW= https://gap.nongnu.org/gshisen/index.html LICENSE= GPLv2+ USES= gnustep USE_GNUSTEP= back build .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/GShisen.app/GShisen .include diff --git a/games/kevedit/Makefile b/games/kevedit/Makefile index 385ffa048691..f82ffb85a27a 100644 --- a/games/kevedit/Makefile +++ b/games/kevedit/Makefile @@ -1,28 +1,28 @@ PORTNAME= kevedit PORTVERSION= 0.5.1 PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Modern ZZT editor with necessary features WWW= https://github.com/cknave/kevedit LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= cdrecord:sysutils/cdrtools RUN_DEPENDS= cdrecord:sysutils/cdrtools USES= sdl USE_SDL= sdl GNU_CONFIGURE= yes .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/games/libgnome-games-support/Makefile b/games/libgnome-games-support/Makefile index a231aab75def..9194b1ddb11e 100644 --- a/games/libgnome-games-support/Makefile +++ b/games/libgnome-games-support/Makefile @@ -1,28 +1,28 @@ PORTNAME= libgnome-games-support DISTVERSION= 1.8.2 PORTREVISION= 1 CATEGORIES= games gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Small library intended for internal use by GNOME Games WWW= https://git.gnome.org/browse/libgnome-games-support LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgee-0.8.so:devel/libgee PORTSCOUT= limitw:1,even USES= gettext gnome meson pkgconfig tar:xz vala:build USE_GNOME= cairo gdkpixbuf2 gtk30 .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/games/libretro-bluemsx/Makefile b/games/libretro-bluemsx/Makefile index e1aea3ed4c80..8e3a77b27e0f 100644 --- a/games/libretro-bluemsx/Makefile +++ b/games/libretro-bluemsx/Makefile @@ -1,34 +1,33 @@ PORTNAME= libretro-bluemsx PORTVERSION= 0.20220213 CATEGORIES= games MAINTAINER= bofh@FreeBSD.org COMMENT= Port of blueMSX to the libretro API WWW= https://github.com/libretro/blueMSX-libretro LICENSE= GPLv3 USES= compiler:c++11-lib gmake USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= blueMSX-libretro GH_TAGNAME= 92d0c41 USE_LDCONFIG= yes PLIST_FILES= lib/libretro/bluemsx_libretro.so -.include +.include -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 150 CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_VERSION} >= 160 CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/bluemsx_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; -.include +.include diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile index a2cf4a77951a..a7fc45c6480a 100644 --- a/games/nethack34/Makefile +++ b/games/nethack34/Makefile @@ -1,144 +1,144 @@ PORTNAME= nethack34 PORTVERSION= 3.4.3 PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF/${TRUEPORTNAME}/${TRUEPORTNAME}/${PORTVERSION} DISTNAME= ${TRUEPORTNAME}-${PORTVERSION:S/.//g}-src MAINTAINER= glewis@FreeBSD.org COMMENT= Dungeon explorin', slashin', hackin' game WWW= https://www.nethack.org/ LICENSE= nethack LICENSE_NAME= NETHACK GENERAL PUBLIC LICENSE LICENSE_FILE= ${WRKSRC}/dat/license LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept WRKSRC= ${WRKDIR}/${TRUEPORTNAME}-${PORTVERSION} USES= alias gmake ncurses tar:tgz MAKE_ENV= GRAPHICS="${GRAPHICS}" PLIST_SUB= HACKNAME="${HACKNAME}" \ HACKEXT="${HACKEXT}" MAKE_JOBS_UNSAFE= yes TRUEPORTNAME= nethack # Configure these variables as you want them to be. HACKEXT?= 34 HACKNAME?= ${TRUEPORTNAME}${HACKEXT} HACKDIR?= share/${HACKNAME} HACKLINK= ${TRUEPORTNAME} DATADIR= ${PREFIX}/${HACKDIR} DOCSDIR= ${PREFIX}/share/doc/${HACKNAME} PKGDEINSTALL= ${WRKDIR}/pkg-deinstall .if !defined(PKGNAMESUFFIX) USES+= xorg USE_XORG= xaw xpm GRAPHICS= X11_GRAPHICS .else .if ${PKGNAMESUFFIX} == "-nox11" GRAPHICS= # none # # Patch notes: # 1) hpmon and statuscolors conflict with one another # 2) menucolors patch must be applied before statuscolors # .if defined(WITH_HPMON) && defined(WITH_STATUSCOLORS) IGNORE= you cannot enable both HPMON and STATUSCOLORS .endif .if defined(WITH_MENUCOLORS) PATCHFILES+= nh343-menucolor.diff PATCH_SITES+= http://bilious.alt.org/~paxed/nethack/ PATCH_DIST_STRIP= -p1 CFLAGS+= -DMENU_COLOR_REGEX_POSIX .endif .if defined(WITH_STATUSCOLORS) PATCHFILES+= nh343-statuscolors.fixed.patch PATCH_SITES+= https://jdc.koitsu.org/nethack/ \ LOCAL/wxs PATCH_DIST_STRIP= -p1 .endif .if defined(WITH_HPMON) PATCHFILES+= hpmon.diff PATCH_SITES+= http://www.netsonic.fi/~walker/nh/ \ LOCAL/wxs PATCH_DIST_STRIP= -p1 CFLAGS+= -DHPMON .endif .endif .endif OPTIONS_DEFINE= DOCS .include .if !exists(${PREFIX}/bin/${HACKLINK}) && ${HACKNAME} != ${HACKLINK} PLIST_SUB+= HACKLINK="" .else PLIST_SUB+= HACKLINK="@comment " .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif pre-everything:: @if [ "${PKGBASE}" != "nethack" ]; then \ ${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" ; \ ${ECHO_MSG} " You cannot install nethack and ${PKGBASE} in parallel " ; \ ${ECHO_MSG} " But ${PKGBASE} reads your prior nethack scores " ; \ ${ECHO_MSG} " Don't forget to backup your nethack libdir if it's " ; \ ${ECHO_MSG} " important for you " ; \ ${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" ; \ fi post-patch: @${REINPLACE_CMD} -e \ 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/include/config.h @${REINPLACE_CMD} -e \ 's|||g' ${WRKSRC}/win/Qt/qt_win.cpp .for f in include/config.h sys/unix/Makefile.doc sys/unix/Makefile.src sys/unix/Makefile.top @${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g' \ -e 's|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' \ -e 's|%%HACKEXT%%|${HACKEXT}|g' \ ${WRKSRC}/${f} .endfor .for f in dgn_comp.6 dlb.6 lev_comp.6 nethack.6 recover.6 @${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g' \ -e 's|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' \ -e 's|%%HACKEXT%%|${HACKEXT}|g' \ ${WRKSRC}/doc/${f} .endfor .if defined(WITHOUT_SHELL) @${REINPLACE_CMD} -e 's|#define SHELL|/* #define SHELL|' ${WRKSRC}/include/unixconf.h .endif .if defined(WITH_MAIL) @${REINPLACE_CMD} -e 's|/\* #define MAIL \*/|#define MAIL|' ${WRKSRC}/include/unixconf.h .endif do-configure: @cd ${WRKSRC}/sys/unix; ${SH} setup.sh pre-install: @${CAT} ${FILESDIR}/pkg-deinstall.in | ${SED} \ -e 's|%%HACKDIR%%|${HACKDIR}|g' > ${PKGDEINSTALL} post-install: .if !exists(${PREFIX}/bin/${HACKLINK}) && ${HACKNAME} != ${HACKLINK} @${LN} -s -f ${PREFIX}/bin/${HACKNAME} ${STAGEDIR}${PREFIX}/bin/${HACKLINK} .endif @cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} manpages @${MKDIR} ${STAGEDIR}${DATADIR}/save # Make "sample" files from records to prevent them being removed # if they have been altered @${CP} ${STAGEDIR}/${DATADIR}/logfile ${STAGEDIR}/${DATADIR}/logfile.sample @${CP} ${STAGEDIR}/${DATADIR}/record ${STAGEDIR}/${DATADIR}/record.sample .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${STAGEDIR}${DOCSDIR} .endif .include diff --git a/games/prboom-plus/Makefile b/games/prboom-plus/Makefile index 0b0c62e51e15..6d2af709b358 100644 --- a/games/prboom-plus/Makefile +++ b/games/prboom-plus/Makefile @@ -1,49 +1,49 @@ PORTNAME= prboom-plus PORTVERSION= 2.5.1.3 PORTREVISION= 11 CATEGORIES= games MASTER_SITES= SF MAINTAINER= thiagohero501@gmail.com COMMENT= Fork of the prboom Doom game engine WWW= http://prboom-plus.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsmpeg.so:multimedia/smpeg \ libpng.so:graphics/png \ libmad.so:audio/libmad \ libfluidsynth.so:audio/fluidsynth \ libvorbisfile.so:audio/libvorbis USES= gmake localbase sdl USE_GL= gl USE_SDL= image mixer net sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-waddir=${DATADIR} DATADIR= ${DMDIR} OPTIONS_DEFINE= DOCS OPENGL OPTIONS_DEFAULT=OPENGL OPENGL_USES= gl OPENGL_USE= GL=glu OPENGL_CONFIGURE_ENABLE= gl .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ -e '/^gamesdir/s|/games|/bin|' \ -e '/^docdir/s/@PACKAGE@-@VERSION@/@PACKAGE@/' .include "${.CURDIR}/Makefile.include" .include diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile index b1666b0a5045..861d1fb26efb 100644 --- a/games/tuxpaint/Makefile +++ b/games/tuxpaint/Makefile @@ -1,69 +1,69 @@ PORTNAME= tuxpaint PORTVERSION= 0.9.28 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}-sdl2 MAINTAINER= wen@FreeBSD.org COMMENT= Drawing program designed for young children WWW= https://www.tuxpaint.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt LIB_DEPENDS= libfribidi.so:converters/fribidi \ libpaper.so:print/libpaper \ libimagequant.so:graphics/libimagequant \ libpng16.so:graphics/png \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= anytopnm:graphics/netpbm \ bash:shells/bash USES= gettext gmake gnome gperf magick:7,build pkgconfig \ python sdl shebangfix SHEBANG_FILES= src/tuxpaint-import.sh \ fonts/locale/zh_tw_docs/maketuxfont.py USE_GNOME= librsvg2 cairo USE_SDL= gfx2 image2 mixer2 sdl2 ttf2 MAKE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ PREFIX="${PREFIX}" \ MAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \ DEVMAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \ X11_ICON_PREFIX="${STAGEDIR}${PREFIX}/share/pixmaps" \ GNOME_PREFIX="${PREFIX}" \ ARCH_INSTALL="" \ OPTFLAGS="${CFLAGS} -DHAVE_STRCASESTR" \ SHARED_FLAGS="-shared -fPIC" \ GPERF="${GPERF}" MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-gettext install-im install-magic-plugins \ install-magic-plugin-dev install-default-config \ install-example-stamps install-example-starters \ install-icon install-bin install-importscript \ install-data install-doc install-man PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: @${RM} -r ${WRKSRC}/fonts/locale/vi_docs post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tuxpaint @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tuxpaint/plugins/*.so .include diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile index fb116f808253..7e3f7b4bbe6b 100644 --- a/games/tuxracer/Makefile +++ b/games/tuxracer/Makefile @@ -1,43 +1,43 @@ PORTNAME= tuxracer PORTVERSION= 0.61 PORTREVISION= 15 CATEGORIES= games MASTER_SITES= SF \ SF/${PORTNAME}/${PORTNAME}-data/${PORTVERSION}:data DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}-data-${PORTVERSION}${EXTRACT_SUFX}:data MAINTAINER= ports@FreeBSD.org COMMENT= 3D penguin racing game using OpenGL WWW= http://tuxracer.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gl gmake sdl tk xorg USE_GL= gl glu USE_SDL= mixer sdl USE_XORG= ice sm x11 xext xi xmu xt GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-tcl-inc="${TCL_INCLUDEDIR}" \ --with-tcl-libs="${LOCALBASE}/lib" \ --with-tcl-lib-name=tcl${TCL_VER:S/.//} \ --with-gl-libs="${LOCALBASE}/lib" \ --with-gl-inc="${LOCALBASE}/include" \ --with-data-dir=${DATADIR} CPPFLAGS+= -DGLX_GLXEXT_LEGACY .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WORKDATA} ${WRKDIR}/${PORTNAME}-data-${PORTVERSION} \ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .include diff --git a/games/xbubble/Makefile b/games/xbubble/Makefile index 00e3542d40ee..a47990e4fb76 100644 --- a/games/xbubble/Makefile +++ b/games/xbubble/Makefile @@ -1,34 +1,34 @@ PORTNAME= xbubble PORTVERSION= 0.5.8 PORTREVISION= 7 CATEGORIES= games MASTER_SITES= GENTOO MAINTAINER= ports@FreeBSD.org COMMENT= Puzzle Bobble clone for Unix/X11 platforms WWW= https://www.nongnu.org/xbubble/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png USES= gmake localbase:ldflags xorg USE_XORG= x11 xmu GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -lintl .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/games/xlennart/Makefile b/games/xlennart/Makefile index 63f4392a2875..16bc7c44fe23 100644 --- a/games/xlennart/Makefile +++ b/games/xlennart/Makefile @@ -1,65 +1,65 @@ PORTNAME= xlennart PORTVERSION= 1.1.1 PORTREVISION= 1 CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= XBill Modification WWW= https://github.com/Xylemon/xlennart LICENSE= GPLv2 USES= pkgconfig USE_GITHUB= yes GH_ACCOUNT= Xylemon GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=${SCORES_DIR} DESKTOP_ENTRIES="xLennart" \ "Save your computers from the evil clutches of Lennart" \ "${DATADIR}/pixmaps/icon.xpm" \ "xlennart" \ "Game;ArcadeGame;" \ false PLIST_FILES= bin/${PORTNAME} \ man/man6/${PORTNAME}.6.gz PORTDATA= * OPTIONS_DEFAULT= GTK OPTIONS_SINGLE= WIDGETSET OPTIONS_SINGLE_WIDGETSET= ATHENA GTK MOTIF ATHENA_DESC= Athena widget set GTK_DESC= GTK widget set MOTIF_DESC= Motif widget set ATHENA_USES= xorg ATHENA_USE= XORG=xaw,xmu,xt,x11,sm,ice ATHENA_CONFIGURE_ON= --disable-gtk --disable-motif MOTIF_USES= motif xorg MOTIF_USE= XORG=xt,x11,sm,ice,xpm MOTIF_CONFIGURE_ON= --disable-athena --disable-gtk GTK_USES= gnome xorg GTK_USE= GNOME=gtk20 XORG=sm,ice GTK_CONFIGURE_ON= --disable-athena --disable-motif SCORES_DIR?= ${DATADIR}/scores .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e '/WIDGET_LIBS=/ s|-lXm"$$|-lXm -lXpm"|' \ ${WRKSRC}/configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xlennart .include diff --git a/games/xpipeman/Makefile b/games/xpipeman/Makefile index 31795e8d60e9..a4cc591c6eee 100644 --- a/games/xpipeman/Makefile +++ b/games/xpipeman/Makefile @@ -1,29 +1,29 @@ PORTNAME= xpipeman PORTVERSION= 1.5 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SUNSITE/games/strategy DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Connect the pipes to stop the leaks LICENSE= MIT USES= imake tar:Z xorg USE_XORG= x11 xaw xext xmu xt sm ice CFLAGS+= -Wno-error=return-type .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xpipeman ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xpipeman.man ${STAGEDIR}${MANPREFIX}/man/man6/xpipeman.6 ${INSTALL} -c ${FILESDIR}/xpipescores ${STAGEDIR}${PREFIX}/lib/X11 .include diff --git a/games/xroach/Makefile b/games/xroach/Makefile index d0787a3d0f69..075cfd830895 100644 --- a/games/xroach/Makefile +++ b/games/xroach/Makefile @@ -1,35 +1,35 @@ PORTNAME= xroach PORTVERSION= 4.4 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= https://cyber.dabamos.de/pub/distfiles/ DISTNAME= ${PORTNAME} MAINTAINER= kidon@posteo.de COMMENT= Cockroaches hide under your windows USES= imake localbase xorg USE_CSTD= gnu99 USE_XORG= x11 xext DPADD+= ${LOCALBASE}/lib/libX11.a ${LIBM} LDADD+= -lX11 -lm BINDIR= ${LOCALBASE}/bin MANDIR= ${LOCALBASE}/man/man BINOWN= bin BINMODE= 755 PLIST_FILES= bin/xroach man/man6/xroach.6.gz .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif do-install: ${INSTALL_PROGRAM} -s ${WRKSRC}/xroach ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${MAN6PREFIX}/man/man6/${PORTNAME}.6 .include diff --git a/games/xtrojka/Makefile b/games/xtrojka/Makefile index 5ad5f0dfd1cc..282c055f3f3f 100644 --- a/games/xtrojka/Makefile +++ b/games/xtrojka/Makefile @@ -1,30 +1,30 @@ PORTNAME= xtrojka PORTVERSION= 1.2.3 PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SUNSITE/games/arcade/tetris DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//g} MAINTAINER= ports@edwinm.ik.nu COMMENT= Game of skill similar to T*tris USES= xorg USE_XORG= x11 xt xorgproto xaw xmu xext MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install PREFIX=${STAGEDIR}${PREFIX} WRKSRC= ${WRKDIR}/${DISTNAME} .include post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) @${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS=-Wno-error=incompatible-function-pointer-types |g' \ ${WRKSRC}/Makefile .endif pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/xtrojka .include diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile index 1564f22d1ed3..d36f004c0749 100644 --- a/graphics/agg/Makefile +++ b/graphics/agg/Makefile @@ -1,37 +1,32 @@ PORTNAME= agg PORTVERSION= 2.5 PORTREVISION= 11 CATEGORIES= graphics MASTER_SITES= http://distfiles.alpinelinux.org/distfiles/ \ http://distfiles.lesslinux.org/ \ http://gentoo.netnitco.net/distfiles/ MAINTAINER= bofh@FreeBSD.org COMMENT= High Quality Rendering Engine for C++ WWW= http://www.antigrain.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/copying LIB_DEPENDS= libfreetype.so:print/freetype2 USES= autoreconf cpe gmake libtool pathfix pkgconfig sdl xorg CPE_VENDOR= antigrain +USE_CXXSTD= c++14 USE_LDCONFIG= yes USE_SDL= sdl USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: @${REINPLACE_CMD} 's/_LDFLAGS/_LDADD/' ${WRKSRC}/examples/Makefile.am .include diff --git a/graphics/anttweakbar/Makefile b/graphics/anttweakbar/Makefile index 046e1d0b0028..a2914a650142 100644 --- a/graphics/anttweakbar/Makefile +++ b/graphics/anttweakbar/Makefile @@ -1,50 +1,50 @@ PORTNAME= anttweakbar DISTVERSION= 1.16 PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/ DISTNAME= AntTweakBar_${DISTVERSION:S/.//} MAINTAINER= yuri@FreeBSD.org COMMENT= C library to add light and GUI into graphic apps WWW= http://anttweakbar.sourceforge.net/doc/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/../License.txt USES= dos2unix gl localbase:ldflags xorg zip DOS2UNIX_FILES= Makefile LoadOGLCore.h TwPrecomp.h USE_GL= gl glu USE_LDCONFIG= yes USE_XORG= x11 LDFLAGS+= -lX11 BINARY_ALIAS= gcc=${CC} WRKSRC= ${WRKDIR}/AntTweakBar WRKSRC_SUBDIR= src PLIST_FILES= include/AntTweakBar.h \ lib/libAntTweakBar.a \ lib/libAntTweakBar.so \ lib/libAntTweakBar.so.${DISTVERSION:R} \ lib/libAntTweakBar.so.${DISTVERSION} .include post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) @${REINPLACE_CMD} -e 's|public binary_function|public __binary_function|' \ ${WRKSRC}/TwMgr.cpp .endif do-install: ${INSTALL_DATA} ${WRKSRC}/../include/AntTweakBar.h ${STAGEDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/../lib/libAntTweakBar.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/../lib/libAntTweakBar.so ${STAGEDIR}${PREFIX}/lib/libAntTweakBar.so.${DISTVERSION} cd ${STAGEDIR}${PREFIX}/lib && \ ${LN} -s libAntTweakBar.so.${DISTVERSION} libAntTweakBar.so.${DISTVERSION:R} && \ ${LN} -s libAntTweakBar.so.${DISTVERSION} libAntTweakBar.so .include diff --git a/graphics/devil/Makefile b/graphics/devil/Makefile index 9e32b36d06bc..38a32d02f057 100644 --- a/graphics/devil/Makefile +++ b/graphics/devil/Makefile @@ -1,78 +1,73 @@ PORTNAME= devil DISTVERSIONPREFIX= v DISTVERSION= 1.8.0 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= graphics MAINTAINER= amdmi3@FreeBSD.org COMMENT= Cross-platform image library WWW= http://openil.sourceforge.net/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake pkgconfig +USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= DentonW GH_PROJECT= DevIL USE_LDCONFIG= yes PORTDOCS= * PORTEXAMPLES= * CMAKE_SOURCE_PATH= ${WRKSRC}/DevIL OPTIONS_DEFINE= JPEG JASPER LCMS2 LIBMNG PNG TIFF SQUISH DOCS EXAMPLES OPTIONS_DEFAULT=JPEG JASPER LCMS2 LIBMNG PNG TIFF SQUISH JPEG_USES= jpeg JPEG_CMAKE_OFF= -DIL_NO_JPG=1 JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_CMAKE_OFF= -DIL_NO_JP2=1 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CMAKE_OFF= -DIL_NO_LCMS=1 LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBMNG_CMAKE_OFF= -DIL_NO_MNG=1 PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_OFF= -DIL_NO_PNG=1 TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_CMAKE_OFF= -DIL_NO_TIF=1 # With OPENEXR the library is not usable from plain C (instant segfault) # (but need to recheck with 1.8.0), also the detection is broken #OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr #OPENEXR_CMAKE_OFF= -DIL_NO_EXR=1 CMAKE_ARGS+= -DIL_NO_EXR=1 SQUISH_DESC= Enable DXT compression via libsquish SQUISH_LIB_DEPENDS= libsquish.so:graphics/squish SQUISH_CMAKE_BOOL= IL_USE_DXTC_SQUISH # Fails to build with NVTT, uses not installed header # (and NVTT is deprecated anyway) #NVTT_DESC= Enable NVidia texture tools support #NVTT_BROKEN= does not build #NVTT_LIB_DEPENDS= libnvtt.so:graphics/nvidia-texture-tools #NVTT_CMAKE_BOOL= IL_USE_DXTC_NVIDIA CMAKE_ARGS+= -DIL_USE_DXTC_NVIDIA=0 -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CXXFLAGS+= -Dregister= -.endif - post-install-DOCS-on: cd ${WRKSRC}/DevIL-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/DevIL && ${INSTALL_DATA} CREDITS NEWS README.md TODO ${STAGEDIR}${DOCSDIR}/ post-install-EXAMPLES-on: cd ${WRKSRC}/DevIL/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/ .include diff --git a/graphics/dia/Makefile b/graphics/dia/Makefile index db387895707d..1d1214ccda8e 100644 --- a/graphics/dia/Makefile +++ b/graphics/dia/Makefile @@ -1,65 +1,65 @@ PORTNAME= dia PORTVERSION= 0.97.3 PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= graphics gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Diagram creation program, similar to Visio WWW= https://live.gnome.org/Dia LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png USES= cpe desktop-file-utils gettext gmake gnome libtool \ localbase:ldflags pathfix pkgconfig tar:xz CPE_VENDOR= gnome USE_GNOME= gtk20 gnomeprefix libxslt libartlgpl2 intlhack GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gnome CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" INSTALL_TARGET= install-strip LDFLAGS+= `pkg-config --libs gmodule-2.0` OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl .include #.if ${ARCH} == "i386" #LIB_DEPENDS+= libEMF.so:graphics/libemf #CONFIGURE_ARGS+= --enable-libemf #PLIST_SUB+= WMF="" #.else CONFIGURE_ARGS+= --disable-libemf PLIST_SUB+= WMF="@comment " #.endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/lib/intl.c @${REINPLACE_CMD} -e 's|glib/gstrfuncs.h>|glib.h>|g' \ -e 's|glib/gtestutils.h|glib.h|g' \ ${WRKSRC}/objects/custom/shape_typeinfo.c \ ${WRKSRC}/tests/test-objects.c \ ${WRKSRC}/tests/test-boundingbox.c @${FIND} ${WRKSRC} -name Makefile.in | \ ${XARGS} ${REINPLACE_CMD} -e \ 's,\(^GTK_LIBS.*\),\1 -lpthread,' @${REINPLACE_CMD} -e 's|http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl|${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl| ; \ s|/usr/include/libEMF|${LOCALBASE}/include/libEMF|g ; \ s|-lstdc++||g' ${WRKSRC}/configure .include diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile index 3dc7fe8f0ef1..54cf4a929c87 100644 --- a/graphics/djvulibre/Makefile +++ b/graphics/djvulibre/Makefile @@ -1,70 +1,65 @@ PORTNAME= djvulibre PORTVERSION= 3.5.28 PORTREVISION= 1 CATEGORIES= graphics www MASTER_SITES= SF/djvu/DjVuLibre/${PORTVERSION} MAINTAINER= nc@FreeBSD.org COMMENT= DjVu base libraries and utilities WWW= http://djvu.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtiff.so:graphics/tiff USES= cpe gmake iconv jpeg libtool +USE_CXXSTD= c++14 USE_LDCONFIG= yes CPE_VENDOR= djvulibre_project PORTDOCS= *.djvu *.pdf *.txt INSTALL_TARGET= install-strip GNU_CONFIGURE= yes CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \ JPEG_LIBS="-L${LOCALBASE}/lib -ljpeg" \ TIFF_CFLAGS="-I${LOCALBASE}/include" \ TIFF_LIBS="-L${LOCALBASE}/lib -ltiff" LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DESKTOPFILES DOCS ANY2DJVU OPTIONS_DEFAULT= DESKTOPFILES OPTIONS_SUB= yes ANY2DJVU_DESC= Install any2djvu script (requires curl) ANY2DJVU_RUN_DEPENDS= curl:ftp/curl DESKTOPFILES_DESC= Install icons and mime types DESKTOPFILES_CONFIGURE_ENABLE= desktopfiles DESKTOPFILES_USES= gnome -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: # Remove custom optimization compiler flags @${REINPLACE_CMD} -e '/-[Og]\*)/d ; \ /^ opt=/s|-O[[:digit:]]*||g' \ ${WRKSRC}/configure # Convert bash to sh script, which uses fetch instead of wget @${REINPLACE_CMD} -e '/^#!/s|bash -f|sh| ; \ s|^function || ; s| == | = |g ; \ s|wget $$wgetopts -O|${FETCH_BINARY} $$wgetopts -o|' \ ${WRKSRC}/tools/any2djvu post-patch-ANY2DJVU-off: @${REINPLACE_CMD} -e 's/any2djvu // ; s/any2djvu\.1 //' \ ${WRKSRC}/tools/Makefile.in post-patch-DESKTOPFILES-on: # Use prebuilt icons, without using conversion tool @${SED} -i.c.bak -e 's/conversion_tool=[[:alpha:]]*/conversion_tool=no/' \ ${WRKSRC}/configure post-install-DOCS-on: (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile index 844cd6ae5305..eac798c22a53 100644 --- a/graphics/gdchart/Makefile +++ b/graphics/gdchart/Makefile @@ -1,62 +1,62 @@ PORTNAME= gdchart PORTVERSION= 0.11.5 PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= http://www.fred.net/brv/chart/ \ ftp://ftp.nuug.no/pub/anders/distfiles/ DISTNAME= ${PORTNAME}${PORTVERSION}dev MAINTAINER= bofh@FreeBSD.org COMMENT= Easy to use fast C API for creating charts and graphs WWW= http://www.fred.net/brv/chart/ LIB_DEPENDS= libgd.so:graphics/gd \ libfreetype.so:print/freetype2 USES= jpeg uidfix USE_LDCONFIG= yes MAKEFILE= ${FILESDIR}/Makefile MAKE_ARGS= PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}" PORTDOCS= README.txt PORTEXAMPLES= ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c OPTIONS_DEFINE= DOCS EXAMPLES .include .if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 ) PLIST_SUB+= PROFILE="@comment " .else PLIST_SUB+= PROFILE="" .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} \ -e 's/^#ifdef HAVE_JPEG/#ifndef NO_JPEG/' \ -e 's/^#ifdef HAVE_LIBFREETYPE/#ifndef NO_LIBFREETYPE/' \ ${WRKSRC}/*.[ch] # ft_samp.c and gdc_samp?.c miss #include "gdcpie.h" @${REINPLACE_CMD} \ -e 's/^#include "gdc\.h"/#include "gdcpie.h"/' \ ${WRKSRC}/ft_samp.c \ ${WRKSRC}/gdc_samp?.c # gdc_pie_samp.c misses #include "gdchart.h" @${REINPLACE_CMD} \ -e 's/^#include "gdc\.h"/#include "gdchart.h"/' \ ${WRKSRC}/gdc_pie_samp.c post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/graphics/gle/Makefile b/graphics/gle/Makefile index 839d2bcb1922..bce3610a8951 100644 --- a/graphics/gle/Makefile +++ b/graphics/gle/Makefile @@ -1,39 +1,39 @@ PORTNAME= gle PORTVERSION= 3.1.0 PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}\ http://linas.org/gle/pub/ \ http://metalab.unc.edu/pub/Linux/libs/X/ \ ftp://tsx-11.mit.edu/pub/linux/sources/libs/ MAINTAINER= ports@dclg.ca COMMENT= GL Tubing and Extrusion Library WWW= https://linas.org/gle/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gl libtool xorg USE_GL= glut USE_LDCONFIG= yes USE_XORG= ice xext xmu xt GNU_CONFIGURE= yes LIBS+= -L${LOCALBASE}/lib -lXext OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: .for file in ex_angle.c ex_cut_round.c ex_raw.c extrude.c round_cap.c segment.c texgen.c @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/src/${file} .endfor .include diff --git a/graphics/mesa-demos/Makefile b/graphics/mesa-demos/Makefile index dbfe288960dd..f8a8bb89904e 100644 --- a/graphics/mesa-demos/Makefile +++ b/graphics/mesa-demos/Makefile @@ -1,31 +1,31 @@ PORTNAME= mesa-demos PORTVERSION= 8.4.0 PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/demos/ #${PORTVERSION}/ MAINTAINER= x11@FreeBSD.org COMMENT= OpenGL demos distributed with Mesa WWW= https://www.mesa3d.org/ LICENSE= MIT LIB_DEPENDS= libdrm.so:graphics/libdrm CONFLICTS_INSTALL= glx-utils USES= gmake gl localbase pkgconfig tar:bzip2 xorg GNU_CONFIGURE= yes USE_GL= egl gbm gl glesv2 glew glu glut USE_XORG= xorgproto x11 xdamage xext xfixes xi xxf86vm CONFIGURE_ARGS+=--disable-gles1 --disable-osmesa --disable-vg --disable-wayland \ --with-system-data-files .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/graphics/opennurbs/Makefile b/graphics/opennurbs/Makefile index 58b6fb58d7c3..bcbb8f284b46 100644 --- a/graphics/opennurbs/Makefile +++ b/graphics/opennurbs/Makefile @@ -1,67 +1,67 @@ PORTNAME= opennurbs PORTVERSION= 20130711 PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= http://files.na.mcneel.com/opennurbs/5.0/2013-07-11/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= fernape@FreeBSD.org COMMENT= Tools to accurately transfer 3-D geometry between applications WWW= https://www.rhino3d.com/opennurbs LICENSE_FILE= ${WRKSRC}/readme.txt USES= iconv:build dos2unix gmake zip MAKE_ARGS= CC="${CC}" CCC="${CXX}" MAKEFILE= makefile OPTIONS_DEFINE= EXAMPLES .include # In r311275 zlib.h was moved to contrib/zlib/zlib.h from lib/libz/zlib.h LIBZ= ${SRC_BASE}/contrib/zlib .if !exists(${LIBZ}/zlib.h) LIBZ= ${SRC_BASE}/sys/contrib/zlib .endif .if !exists(${LIBZ}/zlib.h) LIBZ:= ${SRC_BASE}/lib/libz .endif .if !exists(${LIBZ}/zlib.h) IGNORE= needs SRC_BASE to compile. Install base system sources and try again .endif .if ${ARCH} != i386 MAKE_ARGS+= ON_GNU_OPTIMIZER_FLAGS="-g -fPIC" .endif post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|D_GNU_SOURCE -I|D_GNU_SOURCE -Dregister= -I|g' \ +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) + @${REINPLACE_CMD} -e 's|D_GNU_SOURCE -I|D_GNU_SOURCE --std=c++14 -I|g' \ ${WRKSRC}/makefile .endif pre-build: @${RM} -r ${WRKSRC}/zlib ${CP} -R ${LIBZ} ${WRKSRC}/zlib do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/openNURBS/zlib ${INSTALL_DATA} ${WRKSRC}/libopenNURBS.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/openNURBS ${INSTALL_DATA} ${WRKSRC}/zlib/*.h \ ${STAGEDIR}${PREFIX}/include/openNURBS/zlib do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples_linking_pragmas.h \ ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/opennurbs.h ${STAGEDIR}${EXAMPLESDIR} .for i in brep read roundtrip userdata write @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/example_${i} ${INSTALL_PROGRAM} ${WRKSRC}/example_${i}/example_${i} ${STAGEDIR}${EXAMPLESDIR}/example_${i} cd ${WRKSRC}/example_${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/example_${i} "-name *\.cpp -or -name *\.h" .endfor .include diff --git a/graphics/pixen/Makefile b/graphics/pixen/Makefile index e6e594945e27..dc4ce1d6c78e 100644 --- a/graphics/pixen/Makefile +++ b/graphics/pixen/Makefile @@ -1,33 +1,32 @@ PORTNAME= pixen PORTVERSION= 0.1 PORTREVISION= 11 CATEGORIES= graphics gnustep MASTER_SITES= http://download.gna.org/gsimageapps/ DISTNAME= Pixen-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Graphics editing software for small-scale pictures for GNUstep WWW= https://www.opensword.org/Pixen/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/License.txt USES= tar:bzip2 gnustep USE_GNUSTEP= back build ADDITIONAL_OBJCFLAGS+= -Dlog2=logb .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/Pixen.app/Pixen .include diff --git a/graphics/plotutils/Makefile b/graphics/plotutils/Makefile index b9883a7df9d1..9f40d000611d 100644 --- a/graphics/plotutils/Makefile +++ b/graphics/plotutils/Makefile @@ -1,33 +1,28 @@ PORTNAME= plotutils PORTVERSION= 2.6 PORTREVISION= 9 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= GNU MAINTAINER= stephen@FreeBSD.org COMMENT= Plotting library and toolkit WWW= https://www.gnu.org/software/plotutils/plotutils.html LICENSE= GPLv3 LIB_DEPENDS= libpng.so:graphics/png USES= gmake libtool localbase:ldflags xorg # parallel builds are broken with bmake(1) +USE_CXXSTD= c++14 USE_LDCONFIG= yes USE_XORG= ice sm x11 xaw xext xmu xt GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-libplotter --enable-libxmi TEST_TARGET= check INFO= libxmi plotutils -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - .include diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile index ec3be553b1dc..dd0c62027ea5 100644 --- a/graphics/povray37/Makefile +++ b/graphics/povray37/Makefile @@ -1,120 +1,117 @@ PORTNAME= povray DISTVERSIONPREFIX= v DISTVERSION= 3.7.0.10 PORTREVISION= 8 CATEGORIES= graphics PKGNAMESUFFIX= 37 MAINTAINER= bsd@philippost.de COMMENT= Persistence of Vision Ray Tracer WWW= https://www.povray.org/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs USES= autoreconf:build compiler:c11 gmake +USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= POV-Ray GNU_CONFIGURE= yes CONFIGURE_ARGS= COMPILED_BY=${MAINTAINER} \ --program-transform-name='s/povray/${PKGBASE}/' \ --disable-optimiz VERSION_BASE= ${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/} DATADIR= ${PREFIX}/share/${PORTNAME}-${VERSION_BASE} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${VERSION_BASE} ETCDIR= ${PREFIX}/etc/${PORTNAME}/${VERSION_BASE} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${VERSION_BASE} OPTIONS_DEFINE= X11 PNG JPEG TIFF OPENEXR STATIC IO EXAMPLES DOCS OPTIONS_DEFAULT=PNG JPEG OPTIONS_SUB= yes DOCS_DESC= Install HTML documentation EXAMPLES_DESC= Install example scenes IO_DESC= Without I/O restrictions (security risk) IO_CONFIGURE_ON= --disable-io-restrictions STATIC_CONFIGURE_ON= --enable-static X11_USES= sdl xorg X11_USE= XORG=xpm,sm,ice,x11 SDL=sdl X11_CONFIGURE_OFF= --without-x .include .if ${PORT_OPTIONS:MPNG} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= png>=1.4:graphics/png .else LIB_DEPENDS+= libpng.so:graphics/png .endif .else CONFIGURE_ARGS+=--without-libpng .endif .if ${PORT_OPTIONS:MJPEG} .if ${PORT_OPTIONS:MSTATIC} USES+= jpeg:build .else USES+= jpeg .endif .else CONFIGURE_ARGS+=--without-libjpeg .endif .if ${PORT_OPTIONS:MTIFF} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= tiff>=4:graphics/tiff .else LIB_DEPENDS+= libtiff.so:graphics/tiff .endif .else CONFIGURE_ARGS+=--without-libtiff .endif .if ${PORT_OPTIONS:MOPENEXR} .if ${PORT_OPTIONS:MSTATIC} BUILD_DEPENDS+= openexr>=1.6:graphics/openexr .else LIB_DEPENDS+= libOpenEXR.so:graphics/openexr libImath.so:math/Imath CPPFLAGS+= -I${LOCALBASE}/include/OpenEXR -I${LOCALBASE}/include/Imath -DInt64=uint64_t .endif .else CONFIGURE_ARGS+=--without-openexr .endif .if !${PORT_OPTIONS:MPNG} || !${PORT_OPTIONS:MJPEG} || !${PORT_OPTIONS:MTIFF} CONFIGURE_ARGS+=NON_REDISTRIBUTABLE_BUILD=yes .endif PORTDOCS= * PORTEXAMPLES= * post-patch: ${REINPLACE_CMD} -e 's|@@EXAMPLESDIR@@|${EXAMPLESDIR}|' \ -e 's|@@ETCDIR@@|${ETCDIR}|' \ ${WRKSRC}/unix/povray.conf -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \ - ${WRKSRC}/source/backend/render/trace.cpp -.endif pre-configure: cd ${WRKSRC}/unix && ./prebuild.sh pre-build: .if ${PORT_OPTIONS:MSTATIC} && ${PORT_OPTIONS:MTIFF} # graphics/tiff adds dependencies on libjpeg, libjbig and liblzma @${REINPLACE_CMD} -e 's,^\(LIBS = .*\)-ltiff\(.*\),\1-ltiff -ljpeg -ljbig -llzma\2,' ${WRKSRC}/unix/Makefile .endif post-install: ${MV} ${STAGEDIR}${DATADIR}/scenes ${STAGEDIR}${EXAMPLESDIR} .for i in povray.conf povray.ini ${MV} ${STAGEDIR}${ETCDIR}/${i} ${STAGEDIR}${ETCDIR}/${i}.sample .endfor .include diff --git a/graphics/py-pyvips/Makefile b/graphics/py-pyvips/Makefile index c8567d469065..f4868665baf3 100644 --- a/graphics/py-pyvips/Makefile +++ b/graphics/py-pyvips/Makefile @@ -1,34 +1,34 @@ PORTNAME= pyvips PORTVERSION= 2.2.1 PORTREVISION= 1 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Binding for the libvips image processing library WWW= https://github.com/libvips/pyvips LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.13:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>=0,1:devel/py-pkgconfig@${PY_FLAVOR} LIB_DEPENDS= libvips.so:graphics/vips RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.13:devel/py-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pkgconfig>=0,1:devel/py-pkgconfig@${PY_FLAVOR} USES= gnome python USE_GNOME= glib20 USE_PYTHON= autoplist concurrent distutils .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/graphics/quesoglc/Makefile b/graphics/quesoglc/Makefile index d1f4af37b456..1b7230e876ac 100644 --- a/graphics/quesoglc/Makefile +++ b/graphics/quesoglc/Makefile @@ -1,53 +1,53 @@ PORTNAME= quesoglc PORTVERSION= 0.7.2 PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Free implementation of the OpenGL Character Renderer WWW= http://quesoglc.sourceforge.net/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfribidi.so:converters/fribidi \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= gl gmake libtool localbase pathfix pkgconfig tar:bzip2 xorg GNU_CONFIGURE= yes USE_GL= gl glu USE_XORG= x11 INSTALL_TARGET= install-strip USE_LDCONFIG= yes # needs GLEW MX (multiple rendering contexts), so system glew won't go CONFIGURE_ARGS= --without-glew --with-fribidi PORTDOCS= README OPTIONS_DEFINE= DOCS TEST TEST_CONFIGURE_ENABLE= executables # these libs are only required for building tests, which are not # installed, so no LIB_DEPENDS; tests also require X11 display # and are interactive TEST_BUILD_DEPENDS= ${LOCALBASE}/lib/libglut.so:graphics/freeglut \ ${LOCALBASE}/lib/libSM.so:x11/libSM \ ${LOCALBASE}/lib/libICE.so:x11/libICE \ ${LOCALBASE}/lib/libXi.so:x11/libXi \ ${LOCALBASE}/lib/libXmu.so:x11-toolkits/libXmu TEST_TEST_TARGET= check .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/togl/Makefile b/graphics/togl/Makefile index 3943f03e8d82..2913857f8d5c 100644 --- a/graphics/togl/Makefile +++ b/graphics/togl/Makefile @@ -1,59 +1,59 @@ PORTNAME= togl DISTVERSION= 2.0 DISTVERSIONSUFFIX= -src PORTREVISION= 2 CATEGORIES= graphics tk MASTER_SITES= SF/${PORTNAME}/Togl/${PORTVERSION} DISTNAME= Togl${DISTVERSIONFULL} MAINTAINER= ports@FreeBSD.org COMMENT= Tk OpenGL widget WWW= http://togl.sourceforge.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gl gmake tk:86,tea xorg USE_GL= gl USE_LDCONFIG= ${PREFIX}/lib/Togl2.0 USE_XORG= x11 xt xmu WRKSRC= ${WRKDIR}/Togl2.0 PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES TOGL_INSTDIR= ${PREFIX}/lib/${DISTNAME} .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|wish |${WISH:T} |' ${WRKSRC}/*.tcl @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/g' \ ${WRKSRC}/configure do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/Makefile ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/ben.rgb ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/double.c ${WRKSRC}/double.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/gears.c ${WRKSRC}/gears.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/image.c ${WRKSRC}/image.h ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/index.c ${WRKSRC}/index.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/overlay.c ${WRKSRC}/overlay.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/stereo.c ${WRKSRC}/stereo.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/texture.c ${WRKSRC}/texture.tcl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/togl.c ${WRKSRC}/togl.h ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/tree2.rgba ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile index 45c71ac286d5..ce71b9320344 100644 --- a/irc/bitchx/Makefile +++ b/irc/bitchx/Makefile @@ -1,84 +1,84 @@ PORTNAME= bitchx PORTVERSION= 1.2.1 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES+= irc MASTER_SITES= SF/${PORTNAME}/ircii-pana/${PORTNAME}-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Feature-rich scriptable IRC client WWW= http://www.bitchx.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= cpe gmake ncurses GNU_CONFIGURE= yes CONFIGURE_ARGS+=--exec-prefix="${PREFIX}/share" \ --bindir="${PREFIX}/bin" \ --datadir="${PREFIX}/share" \ --libdir="${PREFIX}/share" MAKE_JOBS_UNSAFE= yes CONFLICTS_INSTALL?= zh-bitchx DATADIR= ${PREFIX}/share/bx DOCSDIR= ${PREFIX}/share/bx/help PLIST_SUB+= DISTVERSION=${DISTVERSION} PORTDOCS= * OPTIONS_DEFINE= DOCS LANG_HE IPV6 LATIN PLUGINS SSL TOGGLES OPTIONS_DEFAULT= PLUGINS SSL OPTIONS_SUB= yes LATIN_DESC= Recommended for ISO-8859-1 display PLUGINS_DESC= Build a handful of BitchX plugins TOGGLES_DESC= Disable annoyance toggles IPV6_CONFIGURE_ENABLE= ipv6 PLUGINS_CONFIGURE_WITH= plugins="${PLUGIN_LIST:C/\$$/,/g}" SSL_USES= ssl SSL_CONFIGURE_WITH= ssl="${OPENSSLBASE}" PLUGIN_LIST= abot acro arcfour autocycle blowfish cavlink cdrom encrypt \ europa fserv hint nap nicklist pkga possum qbx qmail wavplay .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: ${REINPLACE_CMD} -e 's|bzip2|true|g' ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e 's|SSLeay|ERR_get_error|' ${WRKSRC}/configure post-patch-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/bitchx-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} post-patch-LANG_HE-on: ${REINPLACE_CMD} -e 's|#undef WANT_HEBREW|#define WANT_HEBREW|' \ ${WRKSRC}/include/config.h post-patch-LATIN-on: ${REINPLACE_CMD} -e 's|#undef LATIN1|#define LATIN1|' \ ${WRKSRC}/include/config.h post-patch-TOGGLES-on: ${REINPLACE_CMD} -e 's|DEFAULT_AUTO_AWAY ON|DEFAULT_AUTO_AWAY OFF|' \ ${WRKSRC}/include/config.h ${REINPLACE_CMD} -e 's|DEFAULT_KICK_OPS ON|DEFAULT_KICK_OPS OFF|' \ ${WRKSRC}/include/config.h ${REINPLACE_CMD} -e 's|DEFAULT_AUTO_REJOIN ON|DEFAULT_AUTO_REJOIN OFF|' \ ${WRKSRC}/include/config.h post-stage: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/bx/plugins/*.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/bx/wserv .include diff --git a/irc/scrollz/Makefile b/irc/scrollz/Makefile index ff31780f816d..ec5c0b7a511a 100644 --- a/irc/scrollz/Makefile +++ b/irc/scrollz/Makefile @@ -1,69 +1,68 @@ PORTNAME= ScrollZ PORTVERSION= 2.3.1 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= irc # Fix build with clang PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= c0dfa140341cf9a848a6e5f926392623d03d2c28.patch:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Enhanced ircII client that supports scripts, colors, and more WWW= https://www.scrollz.info/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= gmake iconv ncurses USE_GITHUB= yes GNU_CONFIGURE= yes DATADIR= ${PREFIX}/share/${PORTNAME:tl} PLIST_SUB= SCROLLZ_VER="${PORTVERSION}" OPTIONS_DEFINE= IPV6 REGEX UTF8 OPTIONS_DEFAULT= OPENSSL REGEX UTF8 OPTIONS_RADIO= SSL OPTIONS_RADIO_SSL= GNUTLS OPENSSL GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_USES= pkgconfig GNUTLS_CONFIGURE_ON= --with-ssl IPV6_CONFIGURE_ENABLE= ipv6 OPENSSL_USES= ssl OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} REGEX_CONFIGURE_ENABLE= regexp UTF8_CONFIGURE_ENABLE= utf8 .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif .if !empty(ICONV_LIB) CONFIGURE_ENV+=ac_cv_func_iconv_open=yes .endif post-patch: @${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure pre-build: .if !defined(BATCH) @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o SZdist \ SZdist.c) @(cd ${WRKSRC} && ./SZdist) .endif post-install: .for i in scrollz-${PORTVERSION} wservz @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} .endfor .include diff --git a/japanese/FreeWnn-lib/Makefile b/japanese/FreeWnn-lib/Makefile index 1ccf40166e6c..32da107e1cc4 100644 --- a/japanese/FreeWnn-lib/Makefile +++ b/japanese/FreeWnn-lib/Makefile @@ -1,28 +1,28 @@ PORTNAME= FreeWnn PORTVERSION= 1.1.1.a021 PORTREVISION= 14 CATEGORIES?= japanese MASTER_SITES= OSDN/freewnn PKGNAMESUFFIX= -lib DISTNAME= ${PORTNAME}-1.1.1-a021 MAINTAINER= hrs@FreeBSD.org COMMENT?= Japanese/Chinese/Korean input method (Japanese client libraries) WWW= http://freewnn.osdn.jp/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING.LIB USE_LDCONFIG= yes OPTIONS_DEFAULT?= LIB WNN MANLANG?= ja .include "${.CURDIR}/../../japanese/FreeWnn-lib/Makefile.common" .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/japanese/edict/Makefile b/japanese/edict/Makefile index c2466a49c56a..82913c79a868 100644 --- a/japanese/edict/Makefile +++ b/japanese/edict/Makefile @@ -1,102 +1,102 @@ PORTNAME= edict PORTVERSION= 19990714 PORTREVISION= 5 CATEGORIES= japanese MASTER_SITES= \ http://japanology.arts.kuleuven.ac.be/mirrors/monash/ \ http://ftp.edrdg.org/pub/Nihongo/ DISTFILES= ${DICTFILES} ${SRCFILES} ${DOCFILES} DIST_SUBDIR= edict EXTRACT_ONLY= ${SRCFILES} MAINTAINER= ports@FreeBSD.org COMMENT= Japanese-English dictionaries with access and maintenance utilities WWW= http://ftp.monash.edu.au/pub/nihongo/00INDEX.html # Fix build with clang11 CFLAGS+= -fcommon DICTFILES= edict.gz edicth enamdict.gz compdic.gz \ j_places.gz ediclsd3.zip \ kanjidic.gz kanjd212.gz lawgledt.zip \ lingdic.zip geodic.gz pandpdic.zip \ aviation.zip findic.zip mktdic.zip \ 4jword3_edict.zip concrete.zip SRCFILES= xjdic23.tgz DOCFILES= edict_doc.html edicth.doc \ enamdict_doc.txt enamdict_doc.html \ j_places.inf kanjidic.doc kanjd212.doc ediclsd3.rme \ lawgldoc.new lingdic.txt geodic.doc aviation.txt \ findic.doc mktdic.doc 4jword3_inf.txt \ concrete.doc BINFILES= exjdxgen xjdic_cl xjdic_sa xjdserver xjdxgen # Where to install the data files DATADIR= ${PREFIX}/share/dict/edict DOCSDIR= ${PREFIX}/share/doc/xjdic NO_WRKSUBDIR= yes OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${GREP} -l '^main' ${WRKSRC}/*.c | ${XARGS} ${REINPLACE_CMD} \ -e '/argv/s/unsigned//' do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${BINFILES} ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${DATADIR} ${CP} ${_DISTDIR}/edicth ${STAGEDIR}${DATADIR} .for f in edict enamdict compdic j_places kanjidic kanjd212 geodic ${GZIP_CMD} -cd ${_DISTDIR}/${f}.gz > ${STAGEDIR}${DATADIR}/${f} .endfor .for f in ediclsd3 lawgledt lingdic pandpdic aviation findic mktdic \ 4jword3_edict concrete cd ${STAGEDIR}${DATADIR} && \ ${TAR} -xf ${_DISTDIR}/${f}.zip ${f:S|edict|edict.euc|} .endfor .for dict in ${DICTFILES:S|_edict|_edict.euc|} (cd ${STAGEDIR}${DATADIR} && ${STAGEDIR}${PREFIX}/bin/xjdxgen ${dict:R}) (cd ${STAGEDIR}${DATADIR} && ${CHMOD} ${SHAREMODE} \ ${dict:R} ${dict:R}.xjdx) .endfor ${RM} ${STAGEDIR}${PREFIX}/bin/xjdic (cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s xjdic_sa xjdic) (cd ${WRKSRC} && ${INSTALL_DATA} radicals.tm radkfile kanjstroke \ romkana.cnv vconj ${STAGEDIR}${DATADIR}) # # Only 9 dictionaries can be enabled # @${ECHO_CMD} dicdir ${DATADIR} > ${STAGEDIR}${DATADIR}/.xjdicrc @${ECHO_CMD} dicfile edict >> ${STAGEDIR}${DATADIR}/.xjdicrc @${ECHO_CMD} dicfile enamdict >> ${STAGEDIR}${DATADIR}/.xjdicrc @${ECHO_CMD} dicfile compdic >> ${STAGEDIR}${DATADIR}/.xjdicrc @${ECHO_CMD} dicfile ediclsd3 >> ${STAGEDIR}${DATADIR}/.xjdicrc @${ECHO_CMD} dicfile j_places >> ${STAGEDIR}${DATADIR}/.xjdicrc # @${ECHO_CMD} dicfile lawgledt >> ${DATADIR}/.xjdicrc @${ECHO_CMD} dicfile geodic >> ${STAGEDIR}${DATADIR}/.xjdicrc # @${ECHO_CMD} dicfile pandpdic >> ${DATADIR}/.xjdicrc @${ECHO_CMD} dicfile aviation >> ${STAGEDIR}${DATADIR}/.xjdicrc # @${ECHO_CMD} dicfile findic >> ${DATADIR}/.xjdicrc # @${ECHO_CMD} dicfile mktdic >> ${DATADIR}/.xjdicrc @${ECHO_CMD} dicfile 4jword3_edict.euc >> ${STAGEDIR}${DATADIR}/.xjdicrc # @${ECHO_CMD} dicfile concrete.doc >> ${DATADIR}/.xjdicrc # @${ECHO_CMD} dicfile lingdic >> ${DATADIR}/.xjdicrc @${CHMOD} ${SHAREMODE} ${STAGEDIR}${DATADIR}/.xjdicrc ${INSTALL_MAN} ${WRKSRC}/xjdic.1 ${STAGEDIR}${PREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/xjdic23.inf ${STAGEDIR}${DOCSDIR} (cd ${_DISTDIR} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}) .include diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile index c67f05c6f1b4..20e6af8b63d9 100644 --- a/japanese/groff/Makefile +++ b/japanese/groff/Makefile @@ -1,81 +1,77 @@ PORTNAME= groff PORTVERSION= 1.18.1 DISTVERSIONSUFFIX= .1 PORTREVISION= 18 CATEGORIES= japanese print MASTER_SITES= LOCAL/hrs DISTFILES= ${DISTNAME:S,-,_,}.orig${EXTRACT_SUFX} ${TMAC_DISTNAME}.tar.gz PATCH_SITES= LOCAL/hrs PATCHFILES= ${DISTNAME:S,-,_,}-21.diff.gz PATCH_DIST_STRIP= -p1 MAINTAINER= hrs@FreeBSD.org COMMENT= Japanese enhancement of GNU groff LICENSE= GPLv2 -USES= iconv:wchar_t cpe gmake makeinfo shebangfix +USES= iconv:wchar_t cpe gmake localbase makeinfo shebangfix +USE_CXXSTD= c++14 SHEBANG_FILES= src/utils/afmtodit/afmtodit.pl \ contrib/mm/mmroff.pl CPE_VENDOR= gnu GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-multibyte CONFIGURE_ENV= INSTALL_MAN="${INSTALL_MAN}" -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} +LIBS+= ${ICONV_LIB} MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install install_doc PLIST_SUB= GROFF_VERSION=${PORTVERSION} SUB_FILES= mdoc.local SUB_LIST= OSREL=${OSREL} PORTDOCS= * PORTEXAMPLES= * DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}/${PORTVERSION} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}/${PORTVERSION} INFO= groff CONFLICTS= groff heirloom-doctools # bin/groff bin/hpftodit bin/indxbib TMAC_DISTNAME= tmac-20030521_2 TMACFILES= tmac.orig_me tmac.vgrind \ an-old.tmac doc.tmac e.tmac MDOCFILES= ja.eucJP doc-common doc-syms OPTIONS_DEFINE= DOCS EXAMPLES -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: ${REINPLACE_CMD} -E -e 's|^@setfilename +groff|&.info|g;' \ ${WRKSRC}/doc/groff.texinfo post-build: ${RM} ${WRKSRC}/doc/groff ${WRKSRC}/doc/groff-* cd ${WRKSRC}/doc && makeinfo --no-split groff.texinfo cd ${WRKSRC} && ${FIND} font -name DESC \ | ${XARGS} ${REINPLACE_CMD} -E \ -e 's|pro +(gxditview)|pro ${LOCALBASE}/bin/\1|g;' \ -e 's|pro +([^/].*)|pro ${PREFIX}/bin/\1|g;' post-install: cd ${WRKDIR}/${TMAC_DISTNAME} && ${INSTALL_DATA} \ ${TMACFILES} ${STAGEDIR}${DATADIR}/${PORTVERSION}/tmac cd ${WRKDIR}/${TMAC_DISTNAME}/mdoc && ${INSTALL_DATA} \ ${MDOCFILES} ${STAGEDIR}${DATADIR}/${PORTVERSION}/tmac/mdoc ${INSTALL_DATA} ${WRKDIR}/mdoc.local ${STAGEDIR}${DATADIR}/site-tmac ${INSTALL_DATA} ${WRKSRC}/doc/groff.info \ ${STAGEDIR}${PREFIX}/${INFO_PATH} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${INSTALL_WRKSRC} && ${INSTALL_DATA} \ - ChangeLog.jp NEWS PROBLEMS README README.jp ${STAGEDIR}${DOCSDIR} for F in eqn neqn pic tbl; do \ ${LN} -sf $$F ${STAGEDIR}${PREFIX}/bin/g$$F; \ done +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${INSTALL_WRKSRC} && ${INSTALL_DATA} \ + ChangeLog.jp NEWS PROBLEMS README README.jp ${STAGEDIR}${DOCSDIR} + .include diff --git a/japanese/libskk/Makefile b/japanese/libskk/Makefile index d045e9d70004..bdf75d878837 100644 --- a/japanese/libskk/Makefile +++ b/japanese/libskk/Makefile @@ -1,46 +1,46 @@ PORTNAME= libskk DISTVERSION= 1.0.5 CATEGORIES= japanese MAINTAINER= hiroto.kagotani@gmail.com COMMENT= Library to deal with Japanese Kana-to-Kanji conversion method WWW= https://github.com/ueno/libskk LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libjson-glib-1.0.so:devel/json-glib \ libxkbcommon.so:x11/libxkbcommon USES= autoreconf gmake gnome libtool pathfix pkgconfig vala:build USE_GITHUB= yes GH_ACCOUNT= ueno GNU_CONFIGURE= yes USE_GNOME= introspection:build USE_LDCONFIG= yes INSTALL_TARGET= install-strip PORTDOCS= ChangeLog NEWS README CFLAGS+= -Wno-error=int-conversion OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext NLS_USES_OFF= gettext-tools .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile index a86e474e22b1..9fc3ec3c931c 100644 --- a/japanese/mecab/Makefile +++ b/japanese/mecab/Makefile @@ -1,55 +1,48 @@ PORTNAME= mecab PORTVERSION= 0.996 PORTREVISION= 3 CATEGORIES= japanese textproc MASTER_SITES= https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE&dummy=/ MAINTAINER= ports@FreeBSD.org COMMENT= Yet Another Part-of-Speech and Morphological Analyzer WWW= https://code.google.com/p/mecab/ LICENSE= BSD3CLAUSE GPLv2 LGPL21 LICENSE_COMB= multi BROKEN_mips= fails to link: Nonrepresentable section on output BROKEN_mips64= fails to link: Nonrepresentable section on output USES= gettext-tools iconv libtool localbase perl5 +USE_CXXSTD= c++14 USE_LDCONFIG= yes USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ac_cv_lib_stdcpp_main=no INSTALL_TARGET= install-strip PORTDOCS= AUTHORS README *.html OPTIONS_DEFINE= DOCS -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: @${REINPLACE_CMD} '/^libmecab_la_LIBADD =/s/$$/ $$(LTLIBICONV)/' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} \ -e '/CFLAGS/s|-O3|${CFLAGS}|' \ -e '/CXXFLAGS/s|-O3|${CXXFLAGS}|' \ ${WRKSRC}/configure -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \ - ${WRKSRC}/src/dictionary.cpp -.endif post-install: + ${MV} ${STAGEDIR}${PREFIX}/etc/mecabrc \ + ${STAGEDIR}${PREFIX}/etc/mecabrc.sample + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:N*.html:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} - ${MV} ${STAGEDIR}${PREFIX}/etc/mecabrc \ - ${STAGEDIR}${PREFIX}/etc/mecabrc.sample .include diff --git a/japanese/ruby-uconv/Makefile b/japanese/ruby-uconv/Makefile index d41ed161e394..b372f90ba99d 100644 --- a/japanese/ruby-uconv/Makefile +++ b/japanese/ruby-uconv/Makefile @@ -1,39 +1,39 @@ PORTNAME= uconv PORTVERSION= 0.5.3 CATEGORIES= japanese converters ruby MASTER_SITES= http://www.yoshidam.net/ DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Unicode conversion library with Japanese codesets support for Ruby WWW= http://www.yoshidam.net/Ruby.html #uconv LICENSE= RUBY LICENSE_FILE= ${WRKSRC}/README USES= ruby:extconf MAKE_ARGS= INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_PROG="${INSTALL_PROGRAM}" INSTALL_TARGET= site-install WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS .include PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) @${REINPLACE_CMD} -e 's|fdeclspec|fdeclspec -Wno-error=incompatible-function-pointer-types|g' \ ${WRKSRC}/extconf.rb .endif post-install: ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${RUBY_MODDOCDIR}/ ${INSTALL_DATA} ${WRKSRC}/README.ja ${STAGEDIR}${RUBY_MODDOCDIR}/ja/ .include diff --git a/java/jikes/Makefile b/java/jikes/Makefile index 54e4adc31869..4ce1b78f56ed 100644 --- a/java/jikes/Makefile +++ b/java/jikes/Makefile @@ -1,25 +1,20 @@ PORTNAME= jikes PORTVERSION= 1.22 PORTREVISION= 2 CATEGORIES= java MASTER_SITES= SF/${PORTNAME}/Jikes/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Java source to byte-code compiler made available by IBM WWW= http://jikes.sf.net/ USES= autoreconf gmake iconv localbase tar:bzip2 +USE_CXXSTD= c++14 GNU_CONFIGURE= yes CONFIGURE_ARGS= ac_cv_search_iconv=${ICONV_LIB} \ ac_cv_search_libiconv_open=no PLIST_SUB= PORTVERSION=${PORTVERSION} -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - .include diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile index 456fb2e5aed0..3b24de948f99 100644 --- a/java/openjfx14/Makefile +++ b/java/openjfx14/Makefile @@ -1,174 +1,174 @@ PORTNAME= openjfx DISTVERSION= 14.0.2.1+1 PORTREVISION= 12 CATEGORIES= java x11-toolkits devel MASTER_SITES= https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-core/7.7.1/:core \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-grouping/7.7.1/:grouping \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queries/7.7.1/:queries \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-queryparser/7.7.1/:queryparser \ https://repo.maven.apache.org/maven2/org/apache/lucene/lucene-sandbox/7.7.1/:sandbox \ https://repo1.maven.org/maven2/org/antlr/antlr4/4.7.2/:antlr PKGNAMESUFFIX= 14 DISTFILES= lucene-core-7.7.1.jar:core \ lucene-grouping-7.7.1.jar:grouping \ lucene-queries-7.7.1.jar:queries \ lucene-queryparser-7.7.1.jar:queryparser \ lucene-sandbox-7.7.1.jar:sandbox \ antlr4-4.7.2-complete.jar:antlr MAINTAINER= ports@FreeBSD.org COMMENT= JavaFX SDK overlay for OpenJDK 11 WWW= https://openjdk.java.net/projects/openjfx/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= zip:archivers/zip \ apache-ant>0:devel/apache-ant \ gradle62>=6.2:devel/gradle62 \ ${JAVALIBDIR}/junit.jar:java/junit LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= gettext-runtime gl gnome jpeg localbase:ldflags ninja pkgconfig \ sqlite xorg USE_GITHUB= yes GH_ACCOUNT= openjdk GH_PROJECT= jfx USE_GL= gl USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 gtk30 pango USE_JAVA= yes JAVA_VERSION= 11 USE_LDCONFIG= yes USE_XORG= x11 xtst xxf86vm CFLAGS+= -Wno-unused-command-line-argument \ -Wno-int-conversion PLIST_SUB= INSTALLDIR=${_INSTALLDIR} OPTIONS_DEFINE= MEDIA SWT TEST WEBKIT OPTIONS_DEFAULT= MEDIA WEBKIT OPTIONS_SUB= yes MEDIA_DESC= Media module SWT_DESC= SWT support MEDIA_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 \ libsndio.so:audio/sndio MEDIA_USES= gmake MEDIA_VARS= COMPILE_MEDIA=true SWT_BUILD_DEPENDS= swt>0:x11-toolkits/swt SWT_RUN_DEPENDS= swt>0:x11-toolkits/swt SWT_VARS= COMPILE_SWT=true TEST_USES= display:test TEST_VARS= AWT_TEST=true FULL_TEST=true # Gradle calls CMake during the build WEBKIT_IMPLIES= MEDIA WEBKIT_BUILD_DEPENDS= cmake:devel/cmake-core WEBKIT_LIB_DEPENDS= libicui18n.so:devel/icu WEBKIT_USES= bison gmake gperf perl5 python:build ruby:build WEBKIT_USE= GNOME=libxslt,libxml2 \ PERL5=build \ XORG=xcomposite,xdamage,xfixes,xrender,xt WEBKIT_VARS= COMPILE_WEBKIT=true # Move Gradle's home below ${WRKDIR} instead of using ${HOME}/.gradle _GRADLE_ENV= CC=${WRKDIR}/bin/ccwrapper \ CXX=${WRKDIR}/bin/cxxwrapper \ GRADLE_USER_HOME=${WRKDIR}/gradle-home \ JAVA_VERSION=${JAVA_VERSION} _GRADLE_RUN= ${SETENV} ${_GRADLE_ENV} gradle62 --no-daemon _INSTALLDIR= ${PREFIX}/${PKGBASE} .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: ${MKDIR} ${WRKDIR}/jars .for f in core grouping queries queryparser sandbox ${CP} ${DISTDIR}/lucene-${f}-7.7.1.jar ${WRKDIR}/jars .endfor ${CP} ${DISTDIR}/antlr4-4.7.2-complete.jar ${WRKDIR}/jars # The BSD Makefiles for GStreamer-lite and Jfxmedia are based on the # Linux versions. Prepare the tree, so that we only see the changes # from Linux's Makefile in our own patches. pre-patch: @${CP} -r ${WRKSRC}/modules/javafx.media/src/main/native/jfxmedia/projects/linux \ ${WRKSRC}/modules/javafx.media/src/main/native/jfxmedia/projects/bsd @${CP} -r ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/projects/linux \ ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/projects/bsd post-patch: @${MKDIR} ${WRKDIR}/bin @${PRINTF} '#!/bin/sh\nexport CCACHE_DIR=${CCACHE_DIR}\nexec ${CCACHE_BIN} ${CC} ${CFLAGS} ${LDFLAGS} "$$@"\n' > ${WRKDIR}/bin/ccwrapper @${PRINTF} '#!/bin/sh\nexport CCACHE_DIR=${CCACHE_DIR}\nexec ${CCACHE_BIN} ${CXX} ${CXXFLAGS} ${LDFLAGS} "$$@"\n' > ${WRKDIR}/bin/cxxwrapper @${CHMOD} +x ${WRKDIR}/bin/ccwrapper ${WRKDIR}/bin/cxxwrapper @${REINPLACE_CMD} -e 's|gcc|${WRKDIR}/bin/ccwrapper|g' \ -e 's|g\+\+|${WRKDIR}/bin/cxxwrapper|g' \ ${WRKSRC}/buildSrc/bsd.gradle # Add a *BSD native audio sink to GStreamer-lite instead of using the # bundled ALSA sink. Currently we add an sndio sink, but this is an extension # point for eventually adding an OSS backend (or others) as an option as well. # If you add a new one make sure it registers itself as "bsdaudiosink" as defined # in modules/media/src/main/native/jfxmedia/platform/gstreamer/GstPipelineFactory.cpp @${MKDIR} ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio @${CP} ${FILESDIR}/gstsndio.* ${FILESDIR}/sndiosink.* \ ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio @cd ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/ext/bsdaudio && \ ${LN} -s gstsndio.c gstbsdaudio.c && \ ${LN} -s sndiosink.c bsdaudiosink.c # Pull Java dependencies from LOCALBASE @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/build.gradle ${WRKSRC}/buildSrc/build.gradle # Remove bundled libraries. We use the system's versions instead. @cd ${WRKSRC}/modules/javafx.web/src/main/native/Source/ThirdParty && \ ${RM} -r icu libxml libxslt sqlite @${RM} -r ${WRKSRC}/modules/javafx.web/src/main/native/Source/WTF/icu @cd ${WRKSRC}/modules/javafx.media/src/main/native/gstreamer/3rd_party && \ ${RM} -r glib libffi # Environment variables gets lost so hardcode where we can find FFmpeg 4.x @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${PATCH_WRKSRC}/modules/javafx.media/src/main/native/gstreamer/projects/linux/avplugin/Makefile do-configure: @${MKDIR} ${WRKDIR}/gradle-home @${ECHO_CMD} "NUM_COMPILE_THREADS = ${MAKE_JOBS_NUMBER}" > ${WRKSRC}/gradle.properties @${ECHO_CMD} "JFX_DEPS_URL = ${WRKDIR}/jars" > ${WRKSRC}/gradle.properties .for prop in COMPILE_MEDIA COMPILE_WEBKIT AWT_TEST FULL_TEST @${ECHO_CMD} "${prop} = ${${prop}:Ufalse}" >> ${WRKSRC}/gradle.properties .endfor @${ECHO_CMD} "BSD.compileSWT = ${COMPILE_SWT:Ufalse};" >> ${WRKSRC}/buildSrc/bsd.gradle # the java doc are not installed on FreeBSD so exclude the javadoc task # as it'll fail otherwise do-build: @cd ${WRKSRC} && ${_GRADLE_RUN} zips --exclude-task javadoc # it's not recommended to install openjfx inside openjdk directory do-install: @${MKDIR} ${STAGEDIR}${_INSTALLDIR} \ ${STAGEDIR}${_INSTALLDIR}/lib \ ${STAGEDIR}${_INSTALLDIR}/jmods ${INSTALL_DATA} ${WRKSRC}/build/javafx-exports.zip ${STAGEDIR}${_INSTALLDIR} (cd ${WRKSRC}/build/artifacts/javafx-sdk-14.0.2.1/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${_INSTALLDIR}/lib) @${MV} ${STAGEDIR}${_INSTALLDIR}/lib/src.zip ${STAGEDIR}${_INSTALLDIR}/lib/javafx-src.zip (cd ${WRKSRC}/build/artifacts/javafx-jmods-14.0.2.1 && ${COPYTREE_SHARE} . ${STAGEDIR}${_INSTALLDIR}/jmods) @${FIND} ${STAGEDIR}${_INSTALLDIR}/lib -name '*.so' -exec ${STRIP_CMD} \{\} \; do-test-TEST-on: @cd ${WRKSRC} && ${_GRADLE_RUN} check test .include diff --git a/java/sablevm-classpath/Makefile b/java/sablevm-classpath/Makefile index b192a207cdfb..247b7cb6a5cc 100644 --- a/java/sablevm-classpath/Makefile +++ b/java/sablevm-classpath/Makefile @@ -1,58 +1,58 @@ PORTNAME= sablevm-classpath PORTVERSION= 1.13 PORTREVISION= 13 CATEGORIES= java devel MASTER_SITES= SF/sablevm/sablevm/${PORTVERSION} MAINTAINER= java@FreeBSD.org COMMENT= Classpath of SableVM WWW= http://www.sablevm.org/ LICENSE= GPLv2 BROKEN_aarch64= Fails to configure: Endianess not declared BROKEN_riscv64= Fails to configure: Endianess not declared BUILD_DEPENDS= jikes:java/jikes USES= gmake libtool localbase pkgconfig xorg USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME} USE_XORG= x11 ice xtst sm GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa --disable-dssi INSTALL_TARGET= install-strip PLIST_SUB+= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= CAIRO GTK2 ZIP OPTIONS_DEFAULT=GTK2 ZIP OPTIONS_SUB= yes CAIRO_DESC= Use Cairo based Graphics2D GTK2_DESC= Enable Gtk+ AWT peer ZIP_DESC= Compress class library CAIRO_IMPLIES= GTK2 CAIRO_CONFIGURE_ON= --enable-gtk-cairo GTK2_USES= gnome GTK2_USE= GNOME=gtk20 GTK2_CONFIGURE_OFF= --disable-gtk-peer ZIP_BUILD_DEPENDS= zip:archivers/zip ZIP_CONFIGURE_ON= --with-compressed-classes=zip ZIP_CONFIGURE_OFF= --with-compressed-classes=no ZIP_PLIST_SUB= WITHOUT_ZIP="@comment " WITH_ZIP="" ZIP_PLIST_SUB_OFF= WITHOUT_ZIP="" WITH_ZIP="@comment " .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${CP} -f ${WRKSRC}/resource/java/security/classpath.security \ ${WRKSRC}/resource/java/security/SableVM.security .include diff --git a/lang/cim/Makefile b/lang/cim/Makefile index d1ca3f019b0e..81bdfdc85185 100644 --- a/lang/cim/Makefile +++ b/lang/cim/Makefile @@ -1,35 +1,34 @@ PORTNAME= cim PORTVERSION= 3.37 PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= http://simula67.at.ifi.uio.no/Cim/ MAINTAINER= bofh@FreeBSD.org COMMENT= Compiler for the SIMULA programming language WWW= http://folk.uio.no/simula67/cim.shtml LICENSE= GPLv2 USES= libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check-TESTS TEST_WRKSRC= ${WRKSRC}/test INFO= cim .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif .include diff --git a/lang/elk/Makefile b/lang/elk/Makefile index 4b71aa5cc48e..372edd5d5895 100644 --- a/lang/elk/Makefile +++ b/lang/elk/Makefile @@ -1,50 +1,50 @@ PORTNAME= elk PORTVERSION= 3.99.8 PORTREVISION= 2 CATEGORIES= lang scheme MASTER_SITES= http://sam.zoy.org/elk/ MAINTAINER= ports@FreeBSD.org COMMENT= Embeddable Scheme interpreter WWW= http://sam.zoy.org/projects/elk/ #libelf.so:devel/libelf LIB_DEPENDS= libgdbm.so:databases/gdbm \ libXaw.so:x11-toolkits/libXaw USES= libtool localbase:ldflags motif tar:bzip2 xorg USE_CXXSTD= c++14 USE_LDCONFIG= yes USE_XORG= ice sm x11 xext xmu xt GNU_CONFIGURE= yes INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes CPPFLAGS+= -I${LOCALBASE}/include/libelf OPTIONS_DEFINE= EXAMPLES .include .if ${ARCH} == "amd64" CFLAGS= -O0 .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc examples||g' ${WRKSRC}/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/doc/man/elk.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${TAR} -C ${WRKSRC}/examples --exclude "*Makefile*" -cf - . | \ ${TAR} -C ${STAGEDIR}${EXAMPLESDIR} --unlink -xf - @${FIND} ${STAGEDIR}${EXAMPLESDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \; .include diff --git a/lang/squeak/Makefile b/lang/squeak/Makefile index 8e39aeeb579c..e732495a826b 100644 --- a/lang/squeak/Makefile +++ b/lang/squeak/Makefile @@ -1,95 +1,94 @@ PORTNAME= squeak PORTVERSION= 4.10.2 PORTREVISION= 12 CATEGORIES= lang MASTER_SITES= http://www.squeakvm.org/unix/release/:vmsrc \ http://ftp.squeak.org/${IMAGE_VERSION}/:src \ ftp://squeak.org/${IMAGE_VERSION}/:sqsrc \ http://squeak.610t.org/patches/:mainsrc DISTFILES= Squeak-${VM_VERSION}-src${EXTRACT_SUFX}:vmsrc \ Squeak${IMAGE_FULL_VERSION}.zip:src \ ${SQUEAK_SRC}.zip:sqsrc DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= Squeak-${VM_VERSION}-src${EXTRACT_SUFX} MAINTAINER= takeshi.mutoh@gmail.com COMMENT= Full Smalltalk 80 with portability to Unix, Mac, and Windows WWW= https://www.squeak.org/ LICENSE= APACHE20 MIT LICENSE_COMB= multi ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le powerpcspe BUILD_DEPENDS= cmake:devel/cmake-core \ v4l_compat>=1.0.20120501:multimedia/v4l_compat LIB_DEPENDS= libaudio.so:audio/nas \ libdbus-1.so:devel/dbus \ libffi.so:devel/libffi \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libasound.so:audio/alsa-lib \ libpulse-simple.so:audio/pulseaudio \ libv4l2.so:multimedia/libv4l USES= gl gnome iconv:wchar_t pkgconfig xorg USE_GL= gl USE_GNOME= cairo pango USE_XORG= ice sm x11 xext xrender VM_VERSION= ${PORTVERSION}.${SVN_VERSION} SVN_VERSION= 2614 IMAGE_VERSION= 4.6 IMAGE_SVN_VERSION= 15102 IMAGE_FULL_VERSION= ${IMAGE_VERSION}-${IMAGE_SVN_VERSION} SQUEAK_SRC= SqueakV46.sources SQUEAK_LIB_DIR= ${PORTVERSION}-${SVN_VERSION} HAS_CONFIGURE= yes CONFIGURE_SCRIPT= unix/cmake/configure CONFIGURE_ARGS= --prefix=${PREFIX} CONFIGURE_OUTSOURCE= yes SUB_FILES= pkg-message SUB_LIST= SQUEAK_LIB_DIR=${SQUEAK_LIB_DIR} \ IMAGE_FULL_VERSION=${IMAGE_FULL_VERSION} WRKSRC= ${WRKDIR}/Squeak-${VM_VERSION}-src PLIST_SUB= SQUEAK_LIB_DIR=${SQUEAK_LIB_DIR} \ IMAGE_FULL_VERSION=${IMAGE_FULL_VERSION} IMAGES= Squeak${IMAGE_FULL_VERSION}.image \ Squeak${IMAGE_FULL_VERSION}.changes \ ${SQUEAK_SRC} .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif post-patch: @${REINPLACE_CMD} -e 's,,,' \ ${WRKSRC}/unix/plugins/PseudoTTYPlugin/openpty.h @${REINPLACE_CMD} -e 's,return;,return 0;,' \ ${WRKSRC}/Cross/plugins/Mpeg3Plugin/libmpeg/video/idct.c \ ${WRKSRC}/Cross/plugins/Mpeg3Plugin/libmpeg/audio/layer3.c @${REINPLACE_CMD} -e 's,return;,return 1;,' \ ${WRKSRC}/Cross/plugins/Mpeg3Plugin/libmpeg/video/getpicture.c post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/so.* \ ${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/squeakvm \ ${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/ckformat ${UNZIP_NATIVE_CMD} -u ${_DISTDIR}/${SQUEAK_SRC}.zip -d ${WRKDIR} ${UNZIP_NATIVE_CMD} -u ${_DISTDIR}/Squeak${IMAGE_FULL_VERSION}.zip \ -d ${WRKDIR} ${INSTALL_DATA} ${IMAGES:S,^,${WRKDIR}/,} \ ${STAGEDIR}${PREFIX}/lib/squeak .include diff --git a/mail/cclient/Makefile b/mail/cclient/Makefile index 75d6991ac0ba..1d437bb834f1 100644 --- a/mail/cclient/Makefile +++ b/mail/cclient/Makefile @@ -1,116 +1,116 @@ PORTNAME= cclient PORTVERSION= 2007f PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= mail devel MASTER_SITES= ftp://ftp.cac.washington.edu/imap/%SUBDIR%/ \ http://atreides.freenix.no/~anders/%SUBDIR%/ \ ftp://ftp.funet.fi/pub/mirrors/ftp.cac.washington.edu/imap/%SUBDIR%/ \ ftp://ftp.nuug.no/pub/anders/distfiles/%SUBDIR%/ MASTER_SITE_SUBDIR= . old DISTNAME= imap-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= C-client mail access routines by Mark Crispin WWW= http://www.washington.edu/imap/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt CONFLICTS_INSTALL= panda-cclient-20* OPTIONS_DEFINE= SSL SSL_AND_PLAINTEXT IPV6 MBX_DEFAULT OPTIONS_DEFAULT= SSL SSL_AND_PLAINTEXT_DESC= Allow plain text passwords and SSL MBX_DEFAULT_DESC= Use MBX as default mailbox format ALL_TARGET= bsf MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes SSL_USES= ssl .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .if ${PORT_OPTIONS:MSSL} PKGMESSAGE= pkg-message-ssl .endif .if ! ${PORT_OPTIONS:MSSL} MAKE_ARGS+= SSLTYPE=none SSLDIR=${OPENSSLBASE} .else .if ${PORT_OPTIONS:MSSL_AND_PLAINTEXT} MAKE_ARGS+= SSLTYPE=unix SSLDIR=${OPENSSLDIR} .else MAKE_ARGS+= SSLTYPE=unix.nopwd SSLDIR=${OPENSSLDIR} .endif .endif WRKSRC= ${WRKDIR}/${DISTNAME} MAKE_ARGS+= EXTRACFLAGS="${CFLAGS}" SHLIBBASE= c-client4 SHLIBMAJ= 9 SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ} MAKE_ENV+= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE} PLIST_SUB+= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE} post-patch: .for file in Makefile src/osdep/unix/Makefile src/osdep/unix/Makefile.gss @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" ${WRKSRC}/${file} .endfor @${REINPLACE_CMD} -e "s:/etc/ssl/certs:${PREFIX}/certs:g; \ s:/etc/ssl/private:${PREFIX}/certs:g" ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s:/etc/c-client.cf:${PREFIX}/etc/c-client.cf:" \ ${WRKSRC}/src/osdep/unix/env_unix.h .if ${PORT_OPTIONS:MSSL} @${REINPLACE_CMD} -e " \ s:SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib:SSLINCLUDE=${OPENSSLINC} SSLLIB=${OPENSSLLIB}: \ " ${WRKSRC}/Makefile .endif .if ${PORT_OPTIONS:MIPV6} @${REINPLACE_CMD} -e "s|^IP=4|IP=6|" ${WRKSRC}/Makefile \ ${WRKSRC}/src/osdep/unix/Makefile .endif .if ${PORT_OPTIONS:MMBX_DEFAULT} @${REINPLACE_CMD} -e "s|^CREATEPROTO=unixproto|CREATEPROTO=mbxproto|" \ ${WRKSRC}/src/osdep/unix/Makefile .endif post-configure: @${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}" HEADERS= c-client.h dummy.h env.h env_unix.h fdstring.h flockcyg.h \ flocksim.h flstring.h fs.h ftl.h imap4r1.h linkage.c linkage.h \ mail.h misc.h netmsg.h newsrc.h nl.h nntp.h osdep.h pseudo.h \ rfc822.h smtp.h sslio.h tcp.h tcp_unix.h unix.h utf8.h \ utf8aux.h PORTREV_H= ${WRKDIR}/portrevision.h post-build: @${ECHO_CMD} "#define CCLIENT_PORTVERSION \"${PORTVERSION}\"" >${PORTREV_H} .if ${PORT_OPTIONS:MSSL} @${ECHO_CMD} "#define CCLIENT_SSLENABLED \"yes\"" >>${PORTREV_H} .else @${ECHO_CMD} "#define CCLIENT_SSLENABLED \"no\"" >>${PORTREV_H} .endif do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/c-client .for f in ${HEADERS} ${INSTALL_DATA} ${WRKSRC}/c-client/${f} ${STAGEDIR}${PREFIX}/include/c-client .endfor ${INSTALL_LIB} ${WRKSRC}/c-client/${SHLIBNAME} ${STAGEDIR}${PREFIX}/lib ${LN} -sf ${SHLIBNAME} ${STAGEDIR}${PREFIX}/lib/lib${SHLIBBASE}.so ${INSTALL_DATA} ${WRKSRC}/c-client/c-client.a \ ${STAGEDIR}${PREFIX}/lib/lib${SHLIBBASE}.a ${INSTALL_DATA} ${WRKSRC}/c-client/CFLAGS ${STAGEDIR}${PREFIX}/include/c-client ${INSTALL_DATA} ${WRKSRC}/c-client/LDFLAGS ${STAGEDIR}${PREFIX}/include/c-client ${INSTALL_DATA} ${WRKSRC}/c-client/OSCFLAGS ${STAGEDIR}${PREFIX}/include/c-client ${INSTALL_DATA} ${PORTREV_H} ${STAGEDIR}${PREFIX}/include/c-client .include diff --git a/mail/hbiff/Makefile b/mail/hbiff/Makefile index 4e052d168fff..8792e829d8f7 100644 --- a/mail/hbiff/Makefile +++ b/mail/hbiff/Makefile @@ -1,36 +1,35 @@ PORTNAME= hbiff PORTVERSION= 1.2 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/misc/ \ LOCAL/obrien MAINTAINER= bofh@FreeBSD.org COMMENT= Replacement for xbiff that handles popup window with mail headers USES= localbase xorg USE_XORG= x11 CFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -lX11 PLIST_FILES= bin/hbiff man/man1/hbiff.1.gz .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif do-build: ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/hbiff.c -o ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/mail/qmail-rblchk/Makefile b/mail/qmail-rblchk/Makefile index f1c76b242b06..646bc565aee1 100644 --- a/mail/qmail-rblchk/Makefile +++ b/mail/qmail-rblchk/Makefile @@ -1,46 +1,46 @@ PORTNAME= qmail-rblchk PORTVERSION= 2.4.1 PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.morettoni.net/qmail/ \ LOCAL/ehaupt MAINTAINER= ports@FreeBSD.org COMMENT= Qmail RBL filter WWW= http://www.morettoni.net/qmail-rblchk.en.html USES= groff qmail:run ALL_TARGET= default INSTALL_TARGET= setup CFLAGS?= -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized \ -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings LDFLAGS?= -s WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= EXAMPLES .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e '/"cat/d; s|,02755|,0755|' ${WRKSRC}/hier.c do-configure: ${PRINTF} "${STAGEDIR}${PREFIX}\n\n.../bin.\n" > ${WRKSRC}/conf-home ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc ${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in rbllist.sh spam-report.sh dot-qmail-storeip ${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .include diff --git a/mail/xmailbox/Makefile b/mail/xmailbox/Makefile index 340b17166659..ec41818aea9e 100644 --- a/mail/xmailbox/Makefile +++ b/mail/xmailbox/Makefile @@ -1,34 +1,34 @@ PORTNAME= xmailbox PORTVERSION= 2.5 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= XCONTRIB/applications MAINTAINER= ports@FreeBSD.org COMMENT= Mailbox checker with sound and animation for X Window System USES= imake xorg USE_XORG= xaw OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/XMailbox.ad post-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/dingdong.au ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/ugotmail.au ${STAGEDIR}${DATADIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/DISCLAIMER ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/math/alps/Makefile b/math/alps/Makefile index 9180c3dffb4d..24c6e415b514 100644 --- a/math/alps/Makefile +++ b/math/alps/Makefile @@ -1,39 +1,32 @@ PORTNAME= alps DISTVERSIONPREFIX= releases/ DISTVERSION= 2.0.2 CATEGORIES= math PKGNAMEPREFIX= coin-or- MAINTAINER= yuri@FreeBSD.org COMMENT= Abstract Library for Parallel Search (ALPS) WWW= https://github.com/coin-or/CHiPPS-ALPS LICENSE= EPL LICENSE_FILE= ${WRKSRC}/Alps/LICENSE LIB_DEPENDS= libCoinUtils.so:math/coinutils \ libopenblas.so:math/openblas USES= blaslapack gmake libtool pkgconfig +USE_CXXSTD= c++14 USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= coin-or GH_PROJECT= CHiPPS-ALPS GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -.include - -post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ - ${WRKSRC}/Alps/src/AlpsHelperFunctions.h -.endif - post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share .include diff --git a/math/eval/Makefile b/math/eval/Makefile index 1093e38904ea..dc0c0b536928 100644 --- a/math/eval/Makefile +++ b/math/eval/Makefile @@ -1,32 +1,32 @@ PORTNAME= eval PORTVERSION= 113 PORTREVISION= 2 CATEGORIES= math MASTER_SITES= ftp://wuarchive.wustl.edu/pub/aminet/util/cli/ \ http://www.netsw.org/math/calc/ \ http://main.aminet.net/util/cli/ DISTNAME= Eval${PORTVERSION} EXTRACT_SUFX= .lha MAINTAINER= slaven@rezic.de COMMENT= Full featured floating point expression evaluator USES= lha readline WRKSRC= ${WRKDIR}/Eval/source PLIST_FILES= bin/Eval .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: -${LN} -s Makefile.unx ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Eval ${STAGEDIR}${PREFIX}/bin .include diff --git a/math/form/Makefile b/math/form/Makefile index 4957163b59a3..bb946fdc542a 100644 --- a/math/form/Makefile +++ b/math/form/Makefile @@ -1,51 +1,51 @@ PORTNAME= form PORTVERSION= 4.3.1 DISTVERSIONPREFIX= v CATEGORIES= math MAINTAINER= ehaupt@FreeBSD.org COMMENT= Symbolic Manipulation System WWW= https://www.nikhef.nl/~form/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp USES= autoreconf gmake localbase USE_GITHUB= yes GH_ACCOUNT= vermaseren GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-native \ --enable-largefile \ --enable-scalar \ --with-api=posix OPTIONS_DEFINE= DOXYGEN OPENMPI OPTIONS_SUB= yes MPICC?= ${LOCALBASE}/mpi/openmpi/bin/mpicc MPICXX?= ${LOCALBASE}/mpi/openmpi/bin/mpic++ DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen OPENMPI_LIB_DEPENDS= libgcc_s.so.1:lang/gcc9 \ libmpi.so:net/openmpi OPENMPI_CONFIGURE_ENABLE= parform OPENMPI_CONFIGURE_ENV+= MPICC="${MPICC}" \ MPICXX="${MPICXX}" .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-build-DOXYGEN-on: (cd ${WRKSRC}/doc/manual; ${MAKE_CMD} html pdf) post-install-DOXYGEN-on: (cd ${WRKSRC}/doc/manual && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKSRC}/doc/manual/manual.pdf ${STAGEDIR}${DOCSDIR} .include diff --git a/math/lemon/Makefile b/math/lemon/Makefile index a695e8fc07c1..79b26d1b75ea 100644 --- a/math/lemon/Makefile +++ b/math/lemon/Makefile @@ -1,44 +1,39 @@ PORTNAME= lemon DISTVERSION= 1.3.1 PORTREVISION= 4 CATEGORIES= math MASTER_SITES= https://lemon.cs.elte.hu/pub/sources/ PKGNAMEPREFIX= coin-or- MAINTAINER= yuri@FreeBSD.org COMMENT= Library for Efficient Modeling and Optimization in Networks WWW= https://lemon.cs.elte.hu/trac/lemon/ LICENSE= BSL LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libCbc.so:math/cbc \ libCgl.so:math/cgl \ libClp.so:math/clp \ libCoinUtils.so:math/coinutils \ libOsi.so:math/osi USES= cmake +USE_CXXSTD= c++14 USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CONFLICTS_BUILD= SoPlex # Incompatible with SoPlex-4.0.0 optional dependency: https://lemon.cs.elte.hu/trac/lemon/ticket/616 OPTIONS_DEFINE= GLPK OPTIONS_DEFAULT= GLPK GLPK_DESC= Build with GLPK solver GLPK_CMAKE_BOOL= LEMON_ENABLE_GLPK GLPK_LIB_DEPENDS= libglpk.so:math/glpk -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CXXFLAGS+= -Dregister= -.endif - post-install: @${RM} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-0.x-to-1.x.sh .include diff --git a/multimedia/bcmatroska2/Makefile b/multimedia/bcmatroska2/Makefile index 1d81944b033a..5b380b5434b2 100644 --- a/multimedia/bcmatroska2/Makefile +++ b/multimedia/bcmatroska2/Makefile @@ -1,29 +1,29 @@ PORTNAME= bcmatroska2 PORTVERSION= 5.2.1 CATEGORIES= multimedia MAINTAINER= bofh@FreeBSD.org COMMENT= Belledonne Communications Matroska media container support WWW= https://www.linphone.org/ LICENSE= BSD3CLAUSE LIB_DEPENDS= libbctoolbox.so:net/bctoolbox USES= cmake compiler:c++17-lang USE_GITLAB= yes GL_SITE= https://gitlab.linphone.org/BC GL_ACCOUNT= public GL_TAGNAME= 4d125bf2788915325c5ab93b9a97835f96d566d3 USE_LDCONFIG= yes CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE} \ -DENABLE_STATIC=NO -.include +.include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif -.include +.include diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile index f90dba836a4f..ad5165c9a301 100644 --- a/multimedia/mjpegtools/Makefile +++ b/multimedia/mjpegtools/Makefile @@ -1,65 +1,56 @@ PORTNAME= mjpegtools PORTVERSION= 2.1.0 PORTREVISION= 16 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME:S/tools//}/${PORTNAME}/${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= Set of tools to record/playback/edit videos in MPEG format WWW= http://mjpeg.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat CONFLICTS= mplex USES= compiler:c++11-lang gmake gnome jpeg libtool localbase pathfix \ pkgconfig +USE_CXXSTD= c++14 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-dga --without-libquicktime --without-x CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL} INFO= mjpeg-howto OPTIONS_DEFINE= DOCS DV GTK2 PNG SDL OPTIONS_DEFAULT= GTK2 PNG SDL OPTIONS_SUB= yes DV_LIB_DEPENDS= libdv.so:multimedia/libdv DV_CONFIGURE_WITH= libdv GTK2_USE= GNOME=gtk20 GTK2_CONFIGURE_WITH= gtk PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_WITH= libpng SDL_USES= sdl SDL_USE= SDL=gfx,sdl SDL_CONFIGURE_OFF= --without-libsdl --without-sdlgfx -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: @${REINPLACE_CMD} \ -e 's| \*-\*-linux\*)| *-*-*)|' \ -e '/ARCHFLAGS=/d' ${WRKSRC}/configure -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 - @${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \ - ${WRKSRC}/mplex/main.cpp -.endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS BUGS CHANGES ChangeLog HINTS NEWS PLANS README README.DV \ README.avilib README.glav README.AltiVec README.lavpipe \ README.transist TODO (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor .include diff --git a/multimedia/phonon/Makefile b/multimedia/phonon/Makefile index bf39783fee05..d055f723c397 100644 --- a/multimedia/phonon/Makefile +++ b/multimedia/phonon/Makefile @@ -1,41 +1,41 @@ PORTNAME= phonon DISTVERSION= 4.11.1 CATEGORIES= multimedia kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} DIST_SUBDIR= KDE/phonon PKGNAMESUFFIX= -qt5 MAINTAINER= kde@FreeBSD.org COMMENT= KDE multimedia framework WWW= https://userbase.kde.org/Phonon LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB USES= cmake compiler:c++11-lang kde:5 pathfix qt:5 tar:xz CMAKE_ON= PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT \ PHONON_NO_PLATFORMPLUGIN \ PHONON_BUILD_PHONON4QT5 CMAKE_OFF= PHONON_BUILD_DESIGNER_PLUGIN \ PHONON_BUILD_DECLARATIVE_PLUGIN USE_LDCONFIG= yes USE_KDE= ecm USE_QT= core dbus gui opengl widgets \ buildtools:build qmake:build PLIST_SUB= SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_USES= gnome PULSEAUDIO_USE= GNOME=glib20 PULSEAUDIO_CMAKE_BOOL= WITH_PulseAudio -.include +.include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CXXFLAGS+= -Wno-error=enum-constexpr-conversion .endif -.include +.include diff --git a/multimedia/py-librtmp/Makefile b/multimedia/py-librtmp/Makefile index 3306e1c84f32..8ff80c6e2cb8 100644 --- a/multimedia/py-librtmp/Makefile +++ b/multimedia/py-librtmp/Makefile @@ -1,31 +1,31 @@ PORTNAME= librtmp PORTVERSION= 0.3.0 PORTREVISION= 1 CATEGORIES= multimedia python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Python bindings for librtmp, built with cffi WWW= https://github.com/chrippa/python-librtmp LICENSE= BSD2CLAUSE LIB_DEPENDS= librtmp.so:multimedia/librtmp BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} USES= python localbase:ldflags USE_PYTHON= autoplist distutils .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/librtmp/_librtmp*.so .include diff --git a/multimedia/smpeg2/Makefile b/multimedia/smpeg2/Makefile index bc3e63ca92c3..bcfb5ee952ad 100644 --- a/multimedia/smpeg2/Makefile +++ b/multimedia/smpeg2/Makefile @@ -1,42 +1,43 @@ PORTNAME= smpeg2 PORTVERSION= 2.0.0 PORTREVISION= 4 CATEGORIES= multimedia MASTER_SITES= https://www.libsdl.org/projects/smpeg/release/ \ https://distfiles.macports.org/smpeg2/ MAINTAINER= ports@FreeBSD.org COMMENT= Free MPEG1 video player library with sound support WWW= https://icculus.org/smpeg/ LICENSE= MIT LGPL20+ LICENSE_COMB= multi +USES= compiler:features libtool sdl + GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CFLAGS+= ${COMPILER_FEATURES:Mc++11:C/.+/-Wno-error=narrowing/} -USES= compiler:features libtool sdl USE_SDL= sdl2 USE_LDCONFIG= yes OPTIONS_DEFINE= PLAYMPEG OPTIONS_DEFAULT= PLAYMPEG_DESC= Build plaympeg binary (conficts with smpeg) OPTIONS_SUB= yes CONFIGURE_ARGS= --enable-mmx PLAYMPEG_CONFLICTS_INSTALL= smpeg PLAYMPEG_VARS= LICENSE+=GPLv2+ .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CPPFLAGS+= -Dregister= .endif post-patch-PLAYMPEG-off: @${REINPLACE_CMD} -e '/^bin_PROGRAMS =/s/plaympeg$$(EXEEXT)// ; \ /^man_MANS =/s/plaympeg\.1//' ${WRKSRC}/Makefile.in .include diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile index 731fa39e5561..425694d8274d 100644 --- a/multimedia/x264/Makefile +++ b/multimedia/x264/Makefile @@ -1,138 +1,138 @@ # # NOTES FOR UPDATING PORT: # # We use tarballs from the *stable* branch of the upstream git repository. # # X264_BUILD is the "core" number, and can be found in x264.h. # # X264_REV requires a checkout the git revision for the version the port # is being updated to. Then run version.sh against it. # # Bumping PORTREVISION for dependent ports? This is useful: # fgrep -lr --include='*/Makefile*' :multimedia/libx264 $PORTSDIR | # sed 's,/Makefile.*,,' | xargs $PORTSDIR/Tools/scripts/bump-revision.sh # or # rg -l :multimedia/libx264 $PORTSDIR | xargs -n1 portedit bump-revision -i PORTNAME= x264 PORTVERSION= 0.${X264_BUILD}.${X264_REV} PORTREVISION?= 2 CATEGORIES= multimedia MASTER_SITES= https://samples.mplayerhq.hu/yuv4mpeg2/:pgo DIST_SUBDIR= x264 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= bofh@FreeBSD.org COMMENT?= H.264/MPEG-4 AVC Video Encoding (Front End CLI) WWW= https://www.videolan.org/x264.html LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS?= libx264.so:multimedia/libx264 X264_BUILD= 164 X264_REV= 3095 X264_GITVER= ${GL_TAGNAME:C/^(.{7}).*/\1/} USES?= pkgconfig USES+= compiler:c11 gmake localbase shebangfix USE_GITLAB= yes USE_LDCONFIG= yes GL_SITE= https://code.videolan.org GL_ACCOUNT= videolan GL_TAGNAME= baee400fa9ced6f5481a728138fed6e867b0ff7f HAS_CONFIGURE= yes SHEBANG_FILES= configure PLIST_FILES?= bin/x264 OPTIONS_DEFINE+= BASH DEBUG FFMS LAVF PGO SWSCALE OPTIONS_RADIO+= MP4 OPTIONS_RADIO_MP4+= GPAC LSMASH OPTIONS_DEFAULT+= BASH FFMS LAVF LSMASH SWSCALE .if make(makesum) # for optional distfiles .MAKEFLAGS: WITH="${OPTIONS_DEFINE}" .endif FFMS_DESC= FFmpeg Source input support GPAC_DESC= GPAC library support LAVF_DESC= libav* format input support (requires FFmpeg) LSMASH_DESC= L-SMASH library support MP4_DESC= MPEG-4 output SWSCALE_DESC= Resize video filter BASH_BUILD_DEPENDS= bash-completion>0:shells/bash-completion BASH_RUN_DEPENDS= bash-completion>0:shells/bash-completion BASH_CONFIGURE_ENABLE= bashcompletion BASH_PLIST_FILES= share/bash-completion/completions/x264 DEBUG_CONFIGURE_ENABLE= debug DEBUG_CONFIGURE_OFF= --enable-strip FFMS_LIB_DEPENDS= libffms2.so:multimedia/ffms2 FFMS_CONFIGURE_ENABLE= ffms FFMS_IMPLIES= SWSCALE GPAC_LIB_DEPENDS= libgpac.so:multimedia/gpac-libgpac GPAC_CONFIGURE_ENABLE= gpac LAVF_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg LAVF_CONFIGURE_ENABLE= lavf LAVF_IMPLIES= SWSCALE LSMASH_LIB_DEPENDS= liblsmash.so:multimedia/l-smash LSMASH_CONFIGURE_ENABLE=lsmash PGO_DISTFILES= ${Y4M_VIDEO_DISTFILE}:pgo PGO_MAKE_ENV= VIDS="${WRKDIR}/${Y4M_VIDEO}" PGO_ALL_TARGET= fprofiled # y4m sample video Y4M_VIDEO= example.y4m Y4M_VIDEO_DISTFILE= example.y4m.bz2 PGO_VARS= USE_GCC=yes \ LICENSE+=PGO LICENSE_COMB=multi # ${Y4M_VIDEO_DISTFILE} file may not be mirrored LICENSE_NAME_PGO= PGO LICENSE_DISTFILES_PGO= ${Y4M_VIDEO_DISTFILE} LICENSE_PERMS_PGO= auto-accept SWSCALE_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg SWSCALE_CONFIGURE_ENABLE= swscale CONFIGURE_ARGS?= --system-libx264 CONFIGURE_ARGS+= --prefix="${PREFIX}" \ --extra-cflags="${CPPFLAGS} ${CFLAGS}" \ --extra-ldflags="${LDFLAGS}" post-extract-PGO-on: @${BZIP2_CMD} -dc ${DISTDIR}/${DIST_SUBDIR}/${Y4M_VIDEO_DISTFILE} \ >${WRKDIR}/${Y4M_VIDEO} post-patch: @${REINPLACE_CMD} -e ' \ s|gpac_static|gpac|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e ' \ s|bash|sh|; \ s|VER="x"|VER="${X264_REV} ${X264_GITVER}"|; \ s|VERSION=""|VERSION=" r${X264_REV} ${X264_GITVER}"|' \ ${WRKSRC}/version.sh .if !target(pre-build) pre-build: @(${RM} ${WRKSRC}/x264_config.h) .endif -.include +.include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif -.include +.include diff --git a/net-im/libpurple/Makefile b/net-im/libpurple/Makefile index 8397d0312aae..b502a1ec1d0e 100644 --- a/net-im/libpurple/Makefile +++ b/net-im/libpurple/Makefile @@ -1,306 +1,306 @@ PORTNAME?= libpurple PORTVERSION= 2.14.12 CATEGORIES?= net-im MASTER_SITES= SF/pidgin/Pidgin/${PORTVERSION} DISTNAME= pidgin-${PORTVERSION} MAINTAINER?= marcus@FreeBSD.org COMMENT?= Backend library for the Pidgin multi-protocol messaging client WWW= https://www.pidgin.im/ LICENSE= GPLv3 USES+= cpe gettext gmake gnome libtool localbase pathfix pkgconfig \ tar:bzip2 USE_GNOME?= gnomeprefix intltool glib20 libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS?=--disable-gtkui \ --disable-consoleui \ --with-dynamic-prpls=${PRPL_MODULES:S/,$//} \ --enable-static \ --disable-nm \ --with-system-ssl-certs=/usr/share/certs/trusted \ --disable-schemas-install INSTALL_TARGET= install-strip .if !defined(PIDGIN_SLAVE) # Pidgin slave ports that require the following functionality, must explicitly # set these macros themselves. USES+= iconv shebangfix USE_LDCONFIG= yes SHEBANG_FILES= libpurple/purple-remote \ libpurple/purple-url-handler .if defined(PACKAGE_BUILDING) WITH_GNOME= yes .endif .endif PRPL_MODULES= CPE_VENDOR= pidgin OPTIONS_DEFINE= DBUS SASL GSTREAMER VV IDN PERL TCLTK OPTIONS_GROUP= PROTOCOLS OPTIONS_RADIO= TLS OPTIONS_RADIO_TLS= NSS GNUTLS OPTIONS_GROUP_PROTOCOLS=BONJOUR GG SAMETIME SILC IRC JABBER \ NOVELL QQ SIMPLE ZEPHYR OPTIONS_DEFAULT= BONJOUR DBUS NSS GSTREAMER VV IDN GG IRC JABBER \ NOVELL QQ SASL SIMPLE ZEPHYR BONJOUR_DESC= mDNS support and Bonjour protocol GNUTLS_DESC= Use GNUTLS for encryption support NSS_DESC= Use Mozilla NSS for encryption support SASL_DESC= Cyrus SASL support (for jabberd) GSTREAMER_DESC= Use GStreamer for playing sounds VV_DESC= Video and voice support SAMETIME_DESC= The Lotus Sametime chat protocol SILC_DESC= The Secure Internet Live Conferencing protocol GG_DESC= The Gadu-Gadu chat protocol IRC_DESC= The Internet Relay Chat protocol JABBER_DESC= The Jabber/XMPP/Google Talk protocol NOVELL_DESC= The Novell GroupWise chat protocol QQ_DESC= The Tencent QQ chat protocol SIMPLE_DESC= The SIMPLE chat protocol ZEPHYR_DESC= The Zephyr chat protocol PLIST_SUB+= SHLIB_VERSION=${PORTVERSION:R:E}.${PORTVERSION:E} .if defined(WITH_GTKUI) OPTIONS_DEFINE+= GTKSPELL CAP OPTIONS_DEFAULT+= GTKSPELL CAP GTKSPELL_DESC= Spell checking support CAP_DESC= Contact Availability Prediction plugin PLIST_SUB+= GTKUI="" .else PLIST_SUB+= GTKUI="@comment not installed: " .endif .if defined(WITH_CONSOLEUI) USES+= ncurses CONFIGURE_ARGS+=--with-ncurses-headers=${NCURSESINC} PLIST_SUB+= CONSOLEUI="" .else PLIST_SUB+= CONSOLEUI="@comment not installed: " .endif CONFIGURE_ARGS+=--disable-doxygen .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .if ${PORT_OPTIONS:MTCLTK} USES+= tk CFLAGS+= -I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR} CONFIGURE_ARGS+= --with-tclconfig=${TCL_LIBDIR} \ --with-tkconfig=${TK_LIBDIR} PLIST_SUB+= TCL:="" .else CONFIGURE_ARGS+= --disable-tcl PLIST_SUB+= TCL:="@comment not installed: " .endif .if ${PORT_OPTIONS:MPERL} USES+= perl5 CONFIGURE_ARGS+= --with-perl-lib=site PLIST_SUB+= PERL:="" .if !defined(PIDGIN_SLAVE) || defined(WITH_GTKUI) PLIST_SUB+= PERLMAN:="" .else PLIST_SUB+= PERLMAN:="@comment not installed: " .endif .else CONFIGURE_ARGS+= --disable-perl PLIST_SUB+= PERL:="@comment not installed: " \ PERLMAN:="@comment not installed: " .endif .if defined(WITH_GTKUI) USE_GNOME+= evolutiondataserver3 PLIST_SUB+= EVO="" CONFIGURE_ARGS+= --enable-gevolution .else CONFIGURE_ARGS+= --disable-gevolution PLIST_SUB+= EVO="@comment not installed: " .endif .if ${PORT_OPTIONS:MGSTREAMER} USES+= gstreamer USE_GSTREAMER+=core good .else CONFIGURE_ARGS+=--disable-gstreamer .endif .if ${PORT_OPTIONS:MVV} && ${PORT_OPTIONS:MGSTREAMER} LIB_DEPENDS+= libfarstream-0.2.so:net-im/farstream USE_GSTREAMER+=v4l2 PLIST_SUB+= VV="" .else CONFIGURE_ARGS+=--disable-vv PLIST_SUB+= VV="@comment " .endif .if ${PORT_OPTIONS:MIDN} LIB_DEPENDS+= libidn.so:dns/libidn .else CONFIGURE_ARGS+=--disable-idn .endif .if ${PORT_OPTIONS:MCAP} LIB_DEPENDS+= libsqlite3.so:databases/sqlite3 CONFIGURE_ARGS+=--enable-cap PLIST_SUB+= CAP="" .else CONFIGURE_ARGS+=--disable-cap PLIST_SUB+= CAP="@comment not installed: " .endif .if ${PORT_OPTIONS:MGNUTLS} LIB_DEPENDS+= libgnutls.so:security/gnutls CONFIGURE_ARGS+= --enable-gnutls=yes PLIST_SUB+= GNUTLS="" .else CONFIGURE_ARGS+= --enable-gnutls=no PLIST_SUB+= GNUTLS="@comment " .endif .if ${PORT_OPTIONS:MNSS} LIB_DEPENDS+= libnss3.so:security/nss CONFIGURE_ARGS+= --enable-nss=yes \ --with-nspr-includes=${LOCALBASE}/include/nspr \ --with-nspr-libs=${LOCALBASE}/lib \ --with-nss-includes=${LOCALBASE}/include/nss \ --with-nss-libs=${LOCALBASE}/lib PLIST_SUB+= NSS="" .else CONFIGURE_ARGS+= --enable-nss=no PLIST_SUB+= NSS="@comment " .endif .if ${PORT_OPTIONS:MSASL} LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 CONFIGURE_ARGS+= --enable-cyrus-sasl .else CONFIGURE_ARGS+= --disable-cyrus-sasl .endif .if ${PORT_OPTIONS:MBONJOUR} LIB_DEPENDS+= libavahi-client.so:net/avahi-app PLIST_SUB+= BONJOUR="" PRPL_MODULES:= bonjour,${PRPL_MODULES} .else CONFIGURE_ARGS+=--disable-avahi PLIST_SUB+= BONJOUR="@comment not installed: " .endif .if ${PORT_OPTIONS:MGTKSPELL} LIB_DEPENDS+= libgtkspell.so:textproc/gtkspell .else CONFIGURE_ARGS+= --disable-gtkspell .endif .if ${PORT_OPTIONS:MDBUS} USES+= python LIB_DEPENDS+= libdbus-glib-1.so:devel/dbus-glib .if !defined(PIDGIN_SLAVE) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} .endif CONFIGURE_ARGS+= --enable-dbus --with-python3=${PYTHON_CMD} PLIST_SUB+= DBUS="" .else CONFIGURE_ARGS+= --disable-dbus PLIST_SUB+= DBUS="@comment not installed: " .endif .if ${PORT_OPTIONS:MSAMETIME} LIB_DEPENDS+= libmeanwhile.so:net-im/meanwhile PLIST_SUB+= SAMETIME="" PRPL_MODULES:= sametime,${PRPL_MODULES} .else PLIST_SUB+= SAMETIME="@comment not installed: " CONFIGURE_ARGS+=--disable-meanwhile .endif .if ${PORT_OPTIONS:MSILC} LIB_DEPENDS+= libsilcclient.so:devel/silc-toolkit CONFIGURE_ARGS+= --with-silc-includes=${LOCALBASE}/include/silc \ --with-silc-libs=${LOCALBASE}/lib PLIST_SUB+= SILC="" PRPL_MODULES:= silc,${PRPL_MODULES} .else PLIST_SUB+= SILC="@comment not installed: " .endif .if ${PORT_OPTIONS:MGG} PLIST_SUB+= GG="" PRPL_MODULES:= gg,${PRPL_MODULES} .else PLIST_SUB+= GG="@comment not installed: " .endif .if ${PORT_OPTIONS:MIRC} PLIST_SUB+= IRC="" PRPL_MODULES:= irc,${PRPL_MODULES} .else PLIST_SUB+= IRC="@comment not installed: " .endif .if ${PORT_OPTIONS:MJABBER} PLIST_SUB+= JABBER="" PRPL_MODULES:= jabber,${PRPL_MODULES} .else PLIST_SUB+= JABBER="@comment not installed: " .endif .if ${PORT_OPTIONS:MNOVELL} PLIST_SUB+= NOVELL="" PRPL_MODULES:= novell,${PRPL_MODULES} .else PLIST_SUB+= NOVELL="@comment not installed: " .endif #.if ${PORT_OPTIONS:MQQ} #PLIST_SUB+= QQ="" #PRPL_MODULES:= qq,${PRPL_MODULES} #.else #PLIST_SUB+= QQ="@comment not installed: " #.endif .if ${PORT_OPTIONS:MSIMPLE} PLIST_SUB+= SIMPLE="" PRPL_MODULES:= simple,${PRPL_MODULES} .else PLIST_SUB+= SIMPLE="@comment not installed: " .endif .if ${PORT_OPTIONS:MZEPHYR} PLIST_SUB+= ZEPHYR="" PRPL_MODULES:= zephyr,${PRPL_MODULES} .else PLIST_SUB+= ZEPHYR="@comment not installed: " .endif pre-everything:: .if ! ${PORT_OPTIONS:MGNUTLS} && ! ${PORT_OPTIONS:MNSS} @${ECHO_MSG} "WARNING: In order to use MSN, you must enable the GNUTLS and/or NSS options." .endif post-patch: @${REINPLACE_CMD} \ -e 's|-lpthread $$LIBDL|-lpthread ${ICONV_LIB}|' \ ${WRKSRC}/configure .if defined(PIDGIN_SLAVE) @${FIND} ${BUILD_WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ 's|$$(top_builddir)/libpurple/libpurple.la|-lpurple|' .endif .if !defined(PIDGIN_SLAVE) && ${PORT_OPTIONS:MPERL} post-install: @${SED} -i '' -e 's|^${STAGEDIR}||g' \ ${STAGEDIR}${PREFIX}/lib/purple-2/perl/auto/Purple/.packlist .endif .include diff --git a/net-im/libquotient/Makefile b/net-im/libquotient/Makefile index b749b8c89d15..b383fc692926 100644 --- a/net-im/libquotient/Makefile +++ b/net-im/libquotient/Makefile @@ -1,38 +1,38 @@ PORTNAME= libquotient DISTVERSION= 0.8.0 CATEGORIES= net-im MAINTAINER= adridg@FreeBSD.org COMMENT= Matrix IM support library using Qt technologies WWW= https://github.com/quotient-im/libQuotient LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libqt5keychain.so:security/qtkeychain@qt5 \ libolm.so:security/olm USES= cmake compiler:c++20-lang qt:5 tar:xz USE_QT= concurrent core gui multimedia network \ buildtools:build qmake:build testlib:build CONFLICTS= libqmatrixclient\* USE_GITHUB= yes GH_ACCOUNT= quotient-im GH_PROJECT= libQuotient CMAKE_OFF= Quotient_INSTALL_TESTS CMAKE_ON= Quotient_ENABLE_E2EE .include # Work around compiler bug, see pr: 272285 -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) USES+= llvm CC= clang${LLVM_VERSION} CXX= clang++${LLVM_VERSION} CPP= clang-cpp${LLVM_VERSION} .endif .include diff --git a/net-im/neochat/Makefile b/net-im/neochat/Makefile index 024a578fce1c..c0313b51917e 100644 --- a/net-im/neochat/Makefile +++ b/net-im/neochat/Makefile @@ -1,51 +1,51 @@ PORTNAME= neochat DISTVERSION= ${KDE_APPLICATIONS_VERSION} PORTREVISION= 2 CATEGORIES= net-im deskutils kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Glossy Matrix IM client based on KDE technologies WWW= https://invent.kde.org/network/neochat LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-only.txt LIB_DEPENDS= libcmark.so:textproc/cmark \ libqt5keychain.so:security/qtkeychain@qt5 \ libolm.so:security/olm BUILD_DEPENDS= libquotient>=0.8:net-im/libquotient \ kquickimageeditor>=0.2.0:graphics/kquickimageeditor \ kirigami-addons>=0.6.1:x11-toolkits/kirigami-addons \ ${LOCALBASE}/include/qcoro5/qcoro/qcoro.h:devel/qcoro@qt5 # Quotient is a static lib, doesn't need to be in RUN_DEPENDS RUN_DEPENDS= kquickimageeditor>=0.2.0:graphics/kquickimageeditor \ kirigami-addons>=0.6.1:x11-toolkits/kirigami-addons USES= cmake compiler:c++20-lang desktop-file-utils gl kde:5 \ pkgconfig qt:5 tar:xz USE_GL= gl USE_QT= concurrent core dbus declarative graphicaleffects gui imageformats \ multimedia network quickcontrols quickcontrols2 \ sql svg widgets xml \ buildtools:build linguist:build qmake:build USE_KDE= auth codecs completion config configwidgets coreaddons dbusaddons \ i18n itemmodels jobwidgets kio kirigami2 service solid sonnet \ syntaxhighlighting notifications qqc2-desktop-style \ widgetsaddons windowsystem \ ecm:build USE_XORG= x11 .include .if ${ARCH:Mpowerpc*} CXX= clang++${LLVM_VERSION} USES+= llvm:min=16 -.elif ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.elif ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) # Work around compiler bug, see pr: 272285 USES+= llvm CC= clang${LLVM_VERSION} CPP= clang-cpp${LLVM_VERSION} CXX= clang++${LLVM_VERSION} .endif .include diff --git a/net-im/telepathy-gabble/Makefile b/net-im/telepathy-gabble/Makefile index 3491490aa89b..375335c8f905 100644 --- a/net-im/telepathy-gabble/Makefile +++ b/net-im/telepathy-gabble/Makefile @@ -1,55 +1,55 @@ PORTNAME= telepathy-gabble PORTVERSION= 0.18.4 PORTREVISION= 3 CATEGORIES= net-im MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/ MAINTAINER= gnome@FreeBSD.org COMMENT= Jabber Connection Manager for Telepathy Framework WWW= https://telepathy.freedesktop.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= telepathy-glib>=0.22.0:net-im/telepathy-glib \ ca_root_nss>=0:security/ca_root_nss LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libnice.so:net-im/libnice \ libtelepathy-glib.so:net-im/telepathy-glib \ libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus \ libgnutls.so:security/gnutls \ libuuid.so:misc/e2fsprogs-libuuid \ libloudmouth-1.so:net-im/loudmouth RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ libnice-gst1>=0:net-im/libnice-gst1 PORTSCOUT= limitw:1,even USES= alias gmake gnome libtool pathfix pkgconfig python:build \ shebangfix sqlite ssl USE_GNOME= glib20 gtksourceview3 libxslt:build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt CONFIGURE_ENV= LIBS="-pthread" INSTALL_TARGET= install-strip SHEBANG_FILES= plugins/telepathy-gabble-xmpp-console PLIST_SUB= PVERSION=${PORTVERSION} .include .if ${SSL_DEFAULT} == base CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -ssl -crypto" OPENSSL_CFLAGS="-I/usr/include" .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's|-Werror||g' \ ${WRKSRC}/lib/ext/wocky/configure .include diff --git a/net-im/telepathy-glib/Makefile b/net-im/telepathy-glib/Makefile index a18857a34e59..da76aa8ce903 100644 --- a/net-im/telepathy-glib/Makefile +++ b/net-im/telepathy-glib/Makefile @@ -1,32 +1,32 @@ PORTNAME= telepathy-glib PORTVERSION= 0.24.2 CATEGORIES= net-im MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/ MAINTAINER= gnome@FreeBSD.org COMMENT= GLib utility library for the Telepathy framework WWW= https://telepathy.freedesktop.org/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= vapigen:lang/vala LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib RUN_DEPENDS= vapigen:lang/vala PORTSCOUT= limitw:1,even USES= gmake gnome libtool pathfix pkgconfig python:build USE_GNOME= glib20 introspection:build libxslt:build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-vala-bindings INSTALL_TARGET= install-strip .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/net-mgmt/sysmon/Makefile b/net-mgmt/sysmon/Makefile index cba5b6485a22..9600f0225a4f 100644 --- a/net-mgmt/sysmon/Makefile +++ b/net-mgmt/sysmon/Makefile @@ -1,47 +1,47 @@ PORTNAME= sysmon PORTVERSION= 0.93 PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= ftp://puck.nether.net/pub/jared/ \ http://titan.oxeo.com/mirror/sysmon.org/ MAINTAINER= mk@oxeo.com COMMENT= Network tool designed for high performance and accurate monitoring WWW= https://puck.nether.net/sysmon/ LICENSE= GPLv2 USES= alias ssl GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS DOCS= Changes.html binaries.html config.html docs.html index.html \ jclient.jpg net-example.png sysmon.conf.man.html sysmon.jpg \ sysmon.man.html reporting.xml-spec.txt MANPAGE= sysmon.man.8 sysmon.conf.man.8 .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/sysmon ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/src/sysmond ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} \ ${WRKSRC}/examples/sysmon.conf.dist \ ${STAGEDIR}${PREFIX}/etc/sysmon.conf.sample .for man in ${MANPAGE} ${INSTALL_MAN} ${WRKSRC}/docs/${man:S/.8//} ${STAGEDIR}${MANPREFIX}/man/man8/${man} .endfor do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net-mgmt/wmi-client/Makefile b/net-mgmt/wmi-client/Makefile index 13781005989a..83f6ed379b24 100644 --- a/net-mgmt/wmi-client/Makefile +++ b/net-mgmt/wmi-client/Makefile @@ -1,33 +1,33 @@ PORTNAME= wmi PORTVERSION= 1.3.16 PORTREVISION= 4 CATEGORIES= net-mgmt MASTER_SITES= http://dev.zenoss.org/trac/export/26435/trunk/inst/externallibs/ \ http://www.openvas.org/download/wmi/ \ http://mirrors.rit.edu/zi/ PKGNAMESUFFIX= -client MAINTAINER= koichiro@rworks.jp COMMENT= DCOM/WMI client implementation USES= autoreconf:build gmake iconv tar:bzip2 MAKEFILE= GNUmakefile MAKE_ARGS+= ZENHOME="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_LIB="${INSTALL_LIB}" ALL_TARGET= build PROGS= bin/wmic bin/winexe .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif do-install: .for x in ${PROGS} ${INSTALL_PROGRAM} ${WRKSRC}/Samba/source/${x} ${STAGEDIR}${PREFIX}/${x} .endfor .include diff --git a/net-p2p/shx/Makefile b/net-p2p/shx/Makefile index 4fa18f0c331d..ce19d21eda34 100644 --- a/net-p2p/shx/Makefile +++ b/net-p2p/shx/Makefile @@ -1,72 +1,71 @@ PORTNAME= shx PORTVERSION= 0.2.4 PORTREVISION= 2 CATEGORIES= net-p2p MASTER_SITES= http://synhxd.sourceforge.net/releases/ PATCH_SITES= ${MASTER_SITES} PATCHFILES= ${DISTNAME}.diff.gz MAINTAINER= bofh@FreeBSD.org COMMENT= Text based Hotline Communications client for Unix WWW= http://synhxd.sourceforge.net/ LICENSE= GPLv1 USES= readline ssl tar:tgz GNU_CONFIGURE= yes MAKEFILE= makefile CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} CONFLICTS_INSTALL= helix # bin/hx PLIST_FILES= bin/hx \ share/examples/shx/hxrc \ share/examples/shx/hxvars OPTIONS_DEFINE= WARNINGS HTXF_PTHREAD HFS HOPE CIPHER COMPRESS HAL XMMS NOIPV4 OPTIONS_DEFAULT=HTXF_PTHREAD HFS HOPE CIPHER COMPRESS XMMS CIPHER_DESC= Enable Cipher (HOPE required) COMPRESS_DESC= Enable Compress (HOPE required) HAL_DESC= Compile MegaHAL (enables hal command) HFS_DESC= Enable HFS file system emulation HOPE_DESC= Enable HOPE (required by Cipher/Compress) HTXF_PTHREAD_DESC= Use pthread instead of fork or clone for htxf NOIPV4_DESC= IPv6 support (disables IPv4 support) WARNINGS_DESC= Show compiler warnings XMMS_DESC= Enable trackname command CIPHER_IMPLIES= HOPE CIPHER_CONFIGURE_ENABLE= cipher COMPRESS_IMPLIES= HOPE COMPRESS_CONFIGURE_ENABLE= compress HAL_CONFIGURE_ENABLE= hal HFS_CONFIGURE_ENABLE= hfs HOPE_CONFIGURE_ENABLE= hope HTXF_PTHREAD_CONFIGURE_ENABLE= htxf-pthread NOIPV4_CONFIGURE_ENABLE= ipv6 WARNINGS_CONFIGURE_ENABLE= warnings XMMS_CONFIGURE_ENABLE= xmms .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif do-install: ${CP} -fv ${WRKSRC}/run/hx ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME} ${CP} -fv ${WRKSRC}/run/hxrc ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}/ ${CP} -fv ${WRKSRC}/run/hxvars ${STAGEDIR}${PREFIX}/share/examples/${PORTNAME}/ .include diff --git a/net-p2p/tooth/Makefile b/net-p2p/tooth/Makefile index 237665c24e3f..b3e68fd1869d 100644 --- a/net-p2p/tooth/Makefile +++ b/net-p2p/tooth/Makefile @@ -1,39 +1,39 @@ PORTNAME= tooth DISTVERSION= g20230115 PORTREVISION= 1 CATEGORIES= net-p2p MAINTAINER= ehaupt@FreeBSD.org COMMENT= GTK Mastodon Client - Fork of Tootle WWW= https://github.com/GeopJr/Tooth LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= appstream-util:devel/appstream-glib \ valac:lang/vala LIB_DEPENDS= libadwaita-1.so:x11-toolkits/libadwaita \ libgee-0.8.so:devel/libgee \ libgraphene-1.0.so:graphics/graphene \ libjson-glib-1.0.so:devel/json-glib \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup USES= desktop-file-utils gettext gnome meson pkgconfig python:build USE_GITHUB= yes GH_ACCOUNT= GeopJr GH_PROJECT= Tooth GH_TAGNAME= ea4f976 USE_GNOME= gdkpixbuf2 glib20 gtk40 libxml2 pango .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: @${RLN} ${STAGEDIR}${PREFIX}/bin/dev.geopjr.tooth \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/net/afpfs-ng/Makefile b/net/afpfs-ng/Makefile index 8e62727d885a..063eea29fd47 100644 --- a/net/afpfs-ng/Makefile +++ b/net/afpfs-ng/Makefile @@ -1,43 +1,43 @@ PORTNAME= afpfs-ng PORTVERSION= 0.8.1 PORTREVISION= 6 CATEGORIES= net MASTER_SITES= SF MAINTAINER= manuel.creach@icloud.com COMMENT= Apple Filing Protocol client library WWW= https://sourceforge.net/projects/afpfs-ng/ LICENSE= GPLv2 USES= autoreconf gmake iconv libtool localbase readline shebangfix tar:bzip2 USE_LDCONFIG= yes SHEBANG_FILES= fuse/afpfs GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CFLAGS+= -Wno-return-type CPPFLAGS+= -D_FILE_OFFSET_BITS=64 OPTIONS_DEFINE= FUSE GCRYPT OPTIONS_SUB= yes FUSE_LIB_DEPENDS= libfuse.so:sysutils/fusefs-libs FUSE_CONFIGURE_ENABLE= fuse GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CONFIGURE_ENABLE=gcrypt .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-configure: @${REINPLACE_CMD} 's|LIBS = |LIBS = ${ICONV_LIB} |' \ ${WRKSRC}/cmdline/Makefile .include diff --git a/net/ipsvd/Makefile b/net/ipsvd/Makefile index e63fdaa6cfa9..6c36072bf240 100644 --- a/net/ipsvd/Makefile +++ b/net/ipsvd/Makefile @@ -1,57 +1,57 @@ PORTNAME= ipsvd PORTVERSION= 1.0.0 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://smarden.org/ipsvd/ MAINTAINER= ports@FreeBSD.org COMMENT= Internet protocol service daemons WWW= http://smarden.org/ipsvd/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/package/COPYING DEPRECATED= bogus assumption of system type widths, likely crash-prone EXPIRATION_DATE=2023-12-31 BROKEN_armv6= fails to install: Checking udpsvd... drop: unable to read from socket: bad address BROKEN_armv7= fails to install: Checking udpsvd... drop: unable to read from socket: bad address BROKEN_mips64= fails to install: tcpsvd failed BROKEN_riscv64= fails to install: Checking udpsvd... drop: unable to read from socket: bad address USE_CSTD= c89 ALL_TARGET= default WRKSRC= ${WRKDIR}/net/${DISTNAME} DOCS= package/CHANGES package/COPYING package/README doc/*.html OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif do-configure: @${ECHO_CMD} "${CC} ${CFLAGS} -include unistd.h" > ${WRKSRC}/src/conf-cc @${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/src/conf-ld @${ECHO_CMD} "${LOCALBASE}/include/libdjbdns" \ > ${WRKSRC}/src/conf-djbdnsinc @${ECHO_CMD} "${LOCALBASE}/lib" > ${WRKSRC}/src/conf-djbdnslib do-build: cd ${WRKSRC} && package/compile && package/check do-install: ${INSTALL_PROGRAM} ${WRKSRC}/command/* ${STAGEDIR}${PREFIX}/sbin .for n in 5 7 8 ${INSTALL_MAN} ${WRKSRC}/man/*.${n} ${STAGEDIR}${MANPREFIX}/man/man${n} .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/net/mptsd/Makefile b/net/mptsd/Makefile index 178cbe950052..5036e4f022f0 100644 --- a/net/mptsd/Makefile +++ b/net/mptsd/Makefile @@ -1,32 +1,32 @@ PORTNAME= mptsd DISTVERSIONPREFIX=v DISTVERSION= 1.1-27 DISTVERSIONSUFFIX=-g21bf4ea CATEGORIES= net multimedia MASTER_SITES= https://georgi.unixsol.org/programs/mptsd/ MAINTAINER= win2000rus@hotmail.com COMMENT= MPEG TS stream muxer LICENSE= GPLv2 MIT LICENSE_COMB= multi USES= gmake tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= gfto GH_PROJECT= mptsd GH_TUPLE= gfto:libfuncs:0dc8d87080badd7a276316ad7ae6e6f1aed2331b:libfuncs/libfuncs \ gfto:libtsfuncs:45e7e999a17c1954915295bd13b242bbd937cf28:libtsfuncs/libtsfuncs .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}*.conf ${STAGEDIR}${ETCDIR} .include diff --git a/net/py-libdnet/Makefile b/net/py-libdnet/Makefile index a4423d208eb4..58b553c1e3de 100644 --- a/net/py-libdnet/Makefile +++ b/net/py-libdnet/Makefile @@ -1,44 +1,44 @@ PORTREVISION= 4 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} COMMENT= Python module for libdnet LIB_DEPENDS= libdnet.so:net/libdnet USES= autoreconf libtool python MASTERDIR= ${.CURDIR}/../libdnet INSTALL_WRKSRC= ${WRKSRC}/python DESCR= ${.CURDIR}/pkg-descr PLIST= ${NONEXISTENT} PLIST_FILES= ${PYTHON_SITELIBDIR}/dnet%%PYTHON_EXT_SUFFIX%%.so \ ${PYTHON_SITELIBDIR}/dnet-${PORTVERSION}-py${PYTHON_VER}.egg-info/PKG-INFO \ ${PYTHON_SITELIBDIR}/dnet-${PORTVERSION}-py${PYTHON_VER}.egg-info/SOURCES.txt \ ${PYTHON_SITELIBDIR}/dnet-${PORTVERSION}-py${PYTHON_VER}.egg-info/dependency_links.txt \ ${PYTHON_SITELIBDIR}/dnet-${PORTVERSION}-py${PYTHON_VER}.egg-info/top_level.txt LIBDNET_SLAVE= yes USE_PYTHON= cython flavors CONFIGURE_ARGS= --with-python=${PYTHON_CMD} .if defined(MAINTAINER_MODE) regression-test: install ${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py .endif .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: ${REINPLACE_CMD} 's|%%CYTHON%%|cython-${PYTHON_VER}|g' \ ${WRKSRC}/python/Makefile.am post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/dnet*.so .include "${MASTERDIR}/Makefile" diff --git a/net/py-pcapy/Makefile b/net/py-pcapy/Makefile index 8d3dbc03c23b..e71be54ca7cf 100644 --- a/net/py-pcapy/Makefile +++ b/net/py-pcapy/Makefile @@ -1,35 +1,31 @@ PORTNAME= pcapy PORTVERSION= 0.11.1 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= anastasios@mageirias.com COMMENT= Python pcap extension WWW= http://www.coresecurity.com/corelabs-research/open-source-tools/pcapy LICENSE= APACHE11 LICENSE_FILE= ${WRKSRC}/LICENSE USES= python dos2unix USE_PYTHON= autoplist distutils +CFLAGS+= --std=c++14 + DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PORTDOCS= README pcapy.html OPTIONS_DEFINE= DOCS -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pcapy*.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/net/skstream/Makefile b/net/skstream/Makefile index c1444b4163f8..e957c4a4c1e2 100644 --- a/net/skstream/Makefile +++ b/net/skstream/Makefile @@ -1,38 +1,33 @@ PORTNAME= skstream PORTVERSION= 0.3.9 PORTREVISION= 9 CATEGORIES= net MASTER_SITES= SF/worldforge/${PORTNAME}%20%28network%20lib%29/${PORTVERSION} MAINTAINER= oliver@FreeBSD.org COMMENT= iostream based C++ socket library WWW= http://www.worldforge.org/dev/eng/libraries/skstream/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= libtool pathfix pkgconfig compiler:c++11-lib gmake +USE_CXXSTD= c++14 GNU_CONFIGURE= yes USE_LDCONFIG= yes CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing OPTIONS_DEFINE= DOCS -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CXXFLAGS+= -Dregister= -.endif - post-patch: @${REINPLACE_CMD} -e 's| install-docdataDATA | |g' ${WRKSRC}/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in README COPYING AUTHORS NEWS README.FreeSockets @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/net/sniffit/Makefile b/net/sniffit/Makefile index 40b1c93ce961..69e2bf46b32d 100644 --- a/net/sniffit/Makefile +++ b/net/sniffit/Makefile @@ -1,47 +1,46 @@ PORTNAME= sniffit PORTVERSION= 0.5 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= net security MAINTAINER= bofh@FreeBSD.org COMMENT= Packet sniffer program. For educational use LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= autoreconf cpe CPE_VENDOR= sniffit_project USE_GITHUB= yes GH_ACCOUNT= resurrecting-open-source-projects GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/sniffit ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/man/sniffit.5 ${STAGEDIR}${MANPREFIX}/share/man/man5 ${INSTALL_MAN} ${WRKSRC}/man/sniffit.8 ${STAGEDIR}${MANPREFIX}/share/man/man8 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/PLUGIN-HOWTO ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/README.FIRST ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/UPDATE-CHECK ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/sniffit-FAQ ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/sample_config_file ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/net/spread/Makefile b/net/spread/Makefile index 537d4e279fc3..1d02040d51fa 100644 --- a/net/spread/Makefile +++ b/net/spread/Makefile @@ -1,89 +1,89 @@ PORTNAME= spread PORTVERSION= 3.17.4 PORTREVISION= 7 CATEGORIES= net perl5 MASTER_SITES= https://BSDforge.com/projects/source/net/spread/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= portmaster@bsdforge.com COMMENT= The Spread Group Communication System, a network toolkit WWW= http://www.spread.org/ LICENSE= SPREAD_OPEN-SOURCE_LICENSE LICENSE_NAME= Spread Open-Source License LICENSE_FILE= files/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= groff perl5 tar:xz USE_LDCONFIG= yes USE_PERL5= build run USE_RC_SUBR= spread GNU_CONFIGURE= yes # The configure script fails to find nroff in LOCALBASE, but works fine if # 'groff' is used directly CONFIGURE_ENV+= ac_cv_path_NROFF=groff MAKE_ARGS+= PTHREAD_LIBS="-lpthread" MAKE_JOBS_UNSAFE= yes TARGET_ORDER_OVERRIDE= 710:fix-perl-things WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION} USERS= spread GROUPS= spread PKGMESSAGE= ${WRKSRC}/license.txt PLIST_SUB+= USERS=${USERS} GROUPS=${GROUPS} RUNDIR=${RUNDIR} PORTDOCS= Readme.txt LICENSE RUNDIR= /var/run/spread HEADERFILES= sp_func.h sp_func.h sp_events.h OPTIONS_DEFINE= DOCS # bsd.port.mk doesn't allow us to use GNU_CONFIGURE and PERL_CONFIGURE together. PERL_CONFIGURE_ARGS= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \ INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib" .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-configure: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/docs/${PORTNAME}.1 ${WRKSRC}/docs/spmonitor.1 post-build: @cd ${WRKSRC}/perl/Spread && \ ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./Makefile.PL ${PERL_CONFIGURE_ARGS} @cd ${WRKSRC}/perl/Spread && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile @cd ${WRKSRC}/perl/Spread && ${MAKE} post-install: .for f in ${HEADERFILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/include .endfor ${INSTALL_DATA} ${WRKSRC}/sample.spread.conf \ ${STAGEDIR}${PREFIX}/etc/spread.conf.sample ${INSTALL_DATA} ${WRKSRC}/sample.spread.access_ip \ ${STAGEDIR}${PREFIX}/etc/spread.access_ip.sample (cd ${WRKSRC}/perl/Spread && ${MAKE} PREFIX=${STAGEDIR}${PREFIX} install) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/perl/Spread/test.pl ${STAGEDIR}${EXAMPLESDIR} ${INSTALL} -m 750 -d ${STAGEDIR}${RUNDIR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libspread.so.1 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtspread.so.1 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Spread/Spread.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/license.txt ${STAGEDIR}${DOCSDIR}/LICENSE .include diff --git a/net/ss5/Makefile b/net/ss5/Makefile index e3ae3dcf4587..55b0048fe8d8 100644 --- a/net/ss5/Makefile +++ b/net/ss5/Makefile @@ -1,51 +1,51 @@ PORTNAME= ss5 DISTVERSION= 3.8.9-8 PORTREVISION= 3 CATEGORIES= net security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} MAINTAINER= raffaele.delorenzo@libero.it COMMENT= SOCKS v4/v5 application layer gateway with many features WWW= http://ss5.sourceforge.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/License USES= ldap ssl USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-binpathbase=${PREFIX}/sbin \ --with-docpathbase=${PREFIX}/share/doc \ --with-confpathbase=${PREFIX}/etc \ --with-libpath=${PREFIX}/lib MAKE_ARGS+= CC="${CC}" MAKE_ENV= DATADIR=${DATADIR} EXAMPLESDIR=${EXAMPLESDIR} CFLAGS+= -fcommon WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:C/-[0-9]+//} OPTIONS_DEFINE= DOCS EXAMPLES .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's,/usr/local/etc/opt/ss5,${PREFIX}/etc/ss5,' \ ${WRKSRC}/include/config.h.in post-install: ${MKDIR} ${STAGEDIR}/var/log/ss5 ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/conf/ss5.conf \ ${STAGEDIR}${PREFIX}/etc/ss5/ss5.conf.sample ${INSTALL_DATA} ${WRKSRC}/conf/ss5.ha \ ${STAGEDIR}${PREFIX}/etc/ss5/ss5.ha.sample ${INSTALL_DATA} ${WRKSRC}/conf/ss5.passwd \ ${STAGEDIR}${PREFIX}/etc/ss5/ss5.passwd.sample .include diff --git a/net/yptransitd/Makefile b/net/yptransitd/Makefile index c4844f88e880..b7a762c87f90 100644 --- a/net/yptransitd/Makefile +++ b/net/yptransitd/Makefile @@ -1,50 +1,50 @@ PORTNAME= yptransitd PORTVERSION= 0.5 PORTREVISION= 8 CATEGORIES= net MASTER_SITES= SF MAINTAINER= bofh@FreeBSD.org COMMENT= Replacement for nss_ldap WWW= http://yptransitd.sourceforge.net/ LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= ldap bison USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ldap-prefix=${LOCALBASE} MAKE_JOBS_UNSAFE= yes PLIST_FILES= %%ETCDIR%%/ldap.conf %%ETCDIR%%/modules/ldap.so \ %%ETCDIR%%/yptransitd.conf sbin/yptransitd .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's, \($$([A-Z]*DIR)\), $${DESTDIR}\1,g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's,=gcc,=@CC@,' \ ${WRKSRC}/lib/Makefile.in @${REINPLACE_CMD} -e 's,-O2 -g,@CFLAGS@ -fcommon, ; \ s, $${BINDIR}, $${DESTDIR}$${BINDIR},' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -E 's,^([[:blank:]]+)\([^\)]+\) ,\1,' \ ${WRKSRC}/src/modules.c @${REINPLACE_CMD} -e 's,-O2 -g,@CFLAGS@, ; \ s, $$(CONFDIR), $${DESTDIR}$$(CONFDIR),' \ ${WRKSRC}/src/modules/ldap/Makefile.in @${REINPLACE_CMD} -e 's,(void \*) ,,g' \ ${WRKSRC}/src/modules/ldap/cache.c pre-install: @${MKDIR} ${STAGEDIR}${ETCDIR}/modules .include diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile index 31fdd056aeac..4e7dae6b67f2 100644 --- a/print/cups-filters/Makefile +++ b/print/cups-filters/Makefile @@ -1,154 +1,155 @@ PORTNAME= cups-filters PORTVERSION= 1.28.16 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= https://www.openprinting.org/download/cups-filters/ MAINTAINER= tijl@FreeBSD.org COMMENT= Additional backends, filters and other software for CUPS WWW= https://wiki.linuxfoundation.org/openprinting/cups-filters LICENSE= BSD4CLAUSE GPLv2 GPLv2+ GPLv3 GPLv3+ LGPL20 LGPL21+ MIT LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ libqpdf.so:print/qpdf \ libcupsimage.so:print/cups \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c++11-lib cpe gmake gnome iconv libtool localbase \ pkgconfig shebangfix tar:xz USE_GNOME= glib20 USE_LDCONFIG= yes USE_RC_SUBR= cups_browsed CONFLICTS= foomatic-filters # bin/foomatic-rip CPE_VENDOR= linuxfoundation SHEBANG_FILES= filter/braille/drivers/generic/brftoembosser.in \ filter/braille/drivers/index/imageubrltoindexv3.in \ filter/braille/drivers/index/imageubrltoindexv4.in \ filter/braille/drivers/index/textbrftoindexv3.in \ filter/braille/filters/brftopagedbrf.in \ filter/braille/filters/imagetobrf.in \ filter/braille/filters/liblouis1.defs.gen.in \ filter/braille/filters/musicxmltobrf.in \ filter/braille/filters/texttobrf.in \ filter/braille/filters/vectortobrf.in \ filter/braille/filters/vectortopdf.in GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-shell=/bin/sh \ --with-pdftops-path=${LOCALBASE}/bin/pdftops \ --with-test-font-path=${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf INSTALL_TARGET= install-strip OPTIONS_DEFINE= BRAILLE COLORD DOCS OPTIONS_GROUP= FILTERS CUPS_BROWSED OPTIONS_GROUP_FILTERS= GHOSTSCRIPT IMAGES MUPDF POPPLER OPTIONS_GROUP_CUPS_BROWSED= AVAHI LDAP OPTIONS_SINGLE= PDFTOPS OPTIONS_SINGLE_PDFTOPS= PSGHOSTSCRIPT PSHYBRID PSMUPDF PSPOPPLER OPTIONS_DEFAULT= COLORD GHOSTSCRIPT IMAGES POPPLER AVAHI LDAP \ PSHYBRID OPTIONS_SUB= yes BRAILLE_CONFIGURE_ENABLE= braille BRAILLE_DESC= Braille embosser support BRAILLE_USES= magick:run BRAILLE_BUILD_DEPENDS= bash:shells/bash BRAILLE_LIB_DEPENDS= liblouis.so:devel/liblouis \ # liblouisutdml.so:devel/liblouisutdml BRAILLE_RUN_DEPENDS= pdftotext:graphics/poppler-utils \ bash:shells/bash COLORD_CONFIGURE_ENABLE= dbus COLORD_DESC= Get ICC color profiles from colord (via D-Bus) COLORD_LIB_DEPENDS= libdbus-1.so:devel/dbus COLORD_RUN_DEPENDS= colord>0:graphics/colord # Filters FILTERS_DESC= Filters GHOSTSCRIPT_CONFIGURE_ENABLE= ghostscript GHOSTSCRIPT_DESC= PS-to-PDF and PS/PDF-to-raster using Ghostscript GHOSTSCRIPT_USES= ghostscript IMAGES_CONFIGURE_ENABLE= exif imagefilters IMAGES_CONFIGURE_WITH= jpeg png tiff IMAGES_DESC= Accept JPEG, PNG, and TIFF files as input IMAGES_LIB_DEPENDS= libexif.so:graphics/libexif \ libpng.so:graphics/png \ libtiff.so:graphics/tiff IMAGES_USES= jpeg MUPDF_BUILD_DEPENDS= mutool:graphics/mupdf MUPDF_RUN_DEPENDS= mutool:graphics/mupdf MUPDF_CONFIGURE_ENABLE= mutool MUPDF_DESC= PDF-to-raster using MuPDF POPPLER_CONFIGURE_ENABLE= poppler POPPLER_DESC= PDF-to-raster using Poppler POPPLER_LIB_DEPENDS= libpoppler-cpp.so:graphics/poppler # cups-browsed(8) options CUPS_BROWSED_DESC= cups-browsed(8) options AVAHI_CONFIGURE_ENABLE= avahi AVAHI_CONFIGURE_OFF= --with-browseremoteprotocols=cups AVAHI_CONFIGURE_ON= --with-browseremoteprotocols="dnssd cups" AVAHI_DESC= Discover Zeroconf/Bonjour network printers AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_SUB_LIST= AVAHI_DAEMON=avahi_daemon AVAHI_SUB_LIST_OFF= AVAHI_DAEMON= LDAP_CONFIGURE_ENABLE= ldap LDAP_DESC= Get printer locations from an LDAP server LDAP_USES= ldap # Default PDF-to-PostScript renderer PDFTOPS_DESC= Default PDF-to-PostScript renderer PSGHOSTSCRIPT_CONFIGURE_ON= --with-pdftops=gs PSGHOSTSCRIPT_DESC= Ghostscript gs(1) PSGHOSTSCRIPT_IMPLIES= GHOSTSCRIPT PSHYBRID_BUILD_DEPENDS= pdftops:graphics/poppler-utils PSHYBRID_RUN_DEPENDS= pdftops:graphics/poppler-utils PSHYBRID_CONFIGURE_ON= --with-pdftops=hybrid PSHYBRID_DESC= Ghostscript or Poppler depending on printer PSHYBRID_IMPLIES= GHOSTSCRIPT PSMUPDF_CONFIGURE_ON= --with-pdftops=mupdf PSMUPDF_DESC= MuPDF mutool(1) PSMUPDF_IMPLIES= MUPDF PSPOPPLER_BUILD_DEPENDS= pdftops:graphics/poppler-utils PSPOPPLER_RUN_DEPENDS= pdftops:graphics/poppler-utils PSPOPPLER_CONFIGURE_ON= --with-pdftops=pdftops PSPOPPLER_DESC= Poppler pdftops(1) -.include +.include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +#.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CFLAGS+= -Wno-error=dynamic-exception-spec .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ -e 's|/etc|${PREFIX}&|' \ -e 's|README.gz|README|' \ ${WRKSRC}/utils/cups-browsed.8 \ ${WRKSRC}/utils/cups-browsed.conf.5 \ ${WRKSRC}/utils/driverless.1 post-install: @${MV} ${STAGEDIR}${PREFIX}/etc/cups/cups-browsed.conf \ ${STAGEDIR}${PREFIX}/etc/cups/cups-browsed.conf.sample -.include +.include diff --git a/print/openprinting/Makefile b/print/openprinting/Makefile index 7efa1c41bcb0..9f182cb50b19 100644 --- a/print/openprinting/Makefile +++ b/print/openprinting/Makefile @@ -1,101 +1,101 @@ PORTNAME= openprinting PORTVERSION= 1.0 PORTREVISION= 5 CATEGORIES= print net MASTER_SITES= SF/openprinting/papi/1.0%20Beta DISTNAME= papi-${PORTVERSION}_beta DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Sun's implementation of the OpenPrinting API (PAPI) WWW= http://openprinting.sourceforge.net/ USES= gettext gmake iconv libtool localbase tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/papi-${PORTVERSION}_beta LIBS+= -lintl LLD_UNSAFE= yes # TODO: Get mod_ipp to actually work; Sun's example seems to be broken # under both Apache 1.3/2.0, this could be a papi issue; does not build # w/Apache 2.2. # TODO: Fix Apache module install target to instead use APXS # from this file; it is intended only as an example. # TODO: CUPS integration is broken in distfiles (missing papi_int.h). #OPTIONS=\ # MOD_IPP "Build example mod_ipp.so for Apache" Off # PSM_CUPS "Build psm_cups.so for printing to CUPS" Off .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif # NOTE: This has only been tested with www/apache20, with integrated APR. .if defined(WITH_MOD_IPP) IGNORE= no supported apache versions available .else CONFIGURE_ARGS+=--without-apache .endif .if defined(WITH_PSM_CUPS) LIB_DEPENDS+= libcups.so:print/cups CONFIGURE_ARGS+=--with-cups=${LOCALBASE} .else CONFIGURE_ARGS+=--without-cups .endif PLIST_FILES+=\ include/debug.h \ include/http-private.h \ include/http.h \ include/ipp-listener.h \ include/ipp.h \ include/papi.h \ lib/libipp-core.so \ lib/libipp-core.so.0 \ lib/libipp-core.so.0.0.0 \ lib/libipp-listener.so \ lib/libipp-listener.so.0 \ lib/libipp-listener.so.0.0.0 \ lib/libpapi-common.so \ lib/libpapi-common.so.0 \ lib/libpapi-common.so.0.0.0 \ lib/libpapi.so \ lib/libpapi.so.0 \ lib/libpapi.so.0.0.0 \ libexec/lpd-port \ libexec/psm-ipp.so \ libexec/psm-lpd.so \ man/man5/psm-ipp.5.gz .if defined(WITH_PSM_CUPS) PLIST_FILES+= libexec/psm-cups.so .endif .if defined(WITH_MOD_IPP) PLIST_FILES+= lib/mod_ipp.so .endif post-patch: @${REINPLACE_CMD} '/^LIBS =/s,$$, ../libpapi-common/libpapi-common.la @LIBS@,' \ ${WRKSRC}/source/bsd-sysv-commands/Makefile.in \ ${WRKSRC}/source/examples/Makefile.in @${REINPLACE_CMD} -e 's/-ldl//' -e 's/-lnsl//' \ ${WRKSRC}/source/libpapi-cups/Makefile.in \ ${WRKSRC}/source/libpapi-dynamic/Makefile.in post-install: .for unneeded in bin sbin man/man1 man/mani share @${RM} -r ${STAGEDIR}${PREFIX}/${unneeded} .endfor .include diff --git a/print/ttf2pt1/Makefile b/print/ttf2pt1/Makefile index 588b287bd063..952698b5b598 100644 --- a/print/ttf2pt1/Makefile +++ b/print/ttf2pt1/Makefile @@ -1,48 +1,48 @@ PORTNAME= ttf2pt1 PORTVERSION= 3.4.4 PORTREVISION= 7 CATEGORIES= print MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= True Type Font to Postscript Type 1 Converter WWW= http://ttf2pt1.sourceforge.net/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libfreetype.so:print/freetype2 RUN_DEPENDS= t1asm:print/t1utils USES= localbase perl5 pkgconfig shebangfix tar:tgz uidfix SHEBANG_FILES= app/TeX/cjk-latex-config app/TeX/sfd2map other/*.pl \ other/showdf other/showg scripts/forceiso scripts/frommap \ scripts/html2man scripts/inst_dir scripts/t1fdir scripts/trans MAKE_ARGS= CC="${CC}" \ CFLAGS="${CFLAGS} ${CPPFLAGS}" \ GROUP=${BINGRP} \ INSTDIR="${STAGEDIR}${PREFIX}" \ LIBS="${LIBS}" \ LIBXDIR="${STAGEDIR}${PREFIX}/bin" \ OWNER=${BINOWN} CPPFLAGS+= `pkg-config --cflags freetype2` -DUSE_FREETYPE LIBS+= `pkg-config --libs freetype2` -lm .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ttf2pt1 @${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/ttf2pt1_convert \ ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_x2gs.1 \ ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1.1 \ ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_convert.1 \ ${STAGEDIR}${DATADIR}/scripts/convert .include diff --git a/russian/xruskb/Makefile b/russian/xruskb/Makefile index cb8f1b4ac1c6..dbf0c49ecec8 100644 --- a/russian/xruskb/Makefile +++ b/russian/xruskb/Makefile @@ -1,43 +1,43 @@ PORTNAME= xruskb PORTVERSION= 1.15.4 PORTREVISION= 3 CATEGORIES= russian x11 MASTER_SITES= ftp://ftp.yars.free.net/pub/source/xruskb/ \ http://lav.yar.ru/download/xruskb/ MAINTAINER= ports@FreeBSD.org COMMENT= Keyboard layout switcher and indicator WWW= http://lav.yar.ru/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= tar:bzip2 xorg USE_XORG= x11 ice xt xmu xext sm GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${PREFIX}/share PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= MOTIF DOCS MOTIF_USES= motif MOTIF_CONFIGURE_ON= --with-toolkit=motif MOTIF_CONFIGURE_OFF= --with-toolkit=none .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: ${INSTALL_DATA} ${WRKSRC}/Xrus.ad ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/Xrus post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} FAQ NEWS README* TODO xrus.doc-* ${STAGEDIR}${DOCSDIR} .include diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile index c166ff2541f4..baa2b0dbcb40 100644 --- a/science/cgnslib/Makefile +++ b/science/cgnslib/Makefile @@ -1,69 +1,69 @@ PORTNAME= cgnslib PORTVERSION= 4.4.0 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= science MAINTAINER= thierry@FreeBSD.org COMMENT= CFD General Notation System library code WWW= https://cgns.github.io/ LICENSE= AS-IS LICENSE_NAME= AS-IS LICENSE_FILE= ${WRKSRC}/license.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= cmake USE_GITHUB= yes GH_ACCOUNT= CGNS GH_PROJECT= CGNS USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes #CMAKE_ARGS= -DOpenGL_GL_PREFERENCE:STRING="GLVND" CMAKE_ARGS= -DOpenGL_GL_PREFERENCE:STRING="LEGACY" FFLAGS+= -fPIC -std=legacy TEST_TARGET= test OPTIONS_DEFINE= FORTRAN HDF5 TESTS TOOLS OPTIONS_DEFAULT= FORTRAN HDF5 TESTS TOOLS OPTIONS_SUB= yes HDF5_DESC= Enable HDF5 interface TESTS_DESC= Enable test programs TOOLS_DESC= Build the CGNSTools package FORTRAN_USES= fortran FORTRAN_CMAKE_BOOL= CGNS_ENABLE_FORTRAN HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/libaec HDF5_CMAKE_BOOL= CGNS_ENABLE_HDF5 HDF5_CMAKE_ON= -DHDF5_INCLUDE_PATH:PATH="${LOCALBASE}/include" TESTS_CMAKE_BOOL= CGNS_ENABLE_TESTS TOOLS_USES= gl localbase tk xorg TOOLS_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 TOOLS_USE= GL=egl,gl,glu \ XORG=ice,sm,x11,xau,xcomposite,xcursor,xdamage,xdmcp,xext,xfixes,xft,xi,xinerama,xkbfile,xmu,xpm,xrandr,xrender,xres,xscrnsaver,xt,xtst,xv,xxf86vm TOOLS_CMAKE_BOOL= CGNS_BUILD_CGNSTOOLS TOOLS_CMAKE_ON= -DTCL_INCLUDE_PATH:STRING="${TCL_INCLUDEDIR}" \ -DTK_INCLUDE_PATH:STRING="${TK_INCLUDEDIR}" .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R} \ ${STAGEDIR}${PREFIX}/lib/libcgns.so.${PORTVERSION:R:R} do-test: cd ${TEST_WRKSRC} && \ ${SETENV} ${TEST_ENV} ctest -C ${CMAKE_BUILD_TYPE} .include diff --git a/science/gtamsanalyzer/Makefile b/science/gtamsanalyzer/Makefile index 113be78aa9a3..910599381d70 100644 --- a/science/gtamsanalyzer/Makefile +++ b/science/gtamsanalyzer/Makefile @@ -1,37 +1,36 @@ PORTNAME= gtamsanalyzer PORTVERSION= 0.42 PORTREVISION= 12 CATEGORIES= science gnustep MASTER_SITES= SF/tamsys/gnustep%20tams/GTAMSAnalyzer%2${PORTVERSION} DISTNAME= GTAMSAnalyzer.src.${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Qualitative Research Software for the Free World for GNUstep WWW= http://tamsys.sourceforge.net/gtams/ LICENSE= GPLv2 USES= gnustep USE_GNUSTEP= back build WRKSRC= ${WRKDIR}/${DISTNAME}/Source .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif post-patch: ${RM} "${WRKSRC}/obj" @${REINPLACE_CMD} '/^GNUSTEP_INSTALLATION_DIR/ s|=|=$$(DESTDIR)|' \ ${WRKSRC}/GNUmakefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/GTAMSAnalyzer.app/GTAMSAnalyzer .include diff --git a/science/paje/Makefile b/science/paje/Makefile index 5ebcc0992671..884d2f3e7aae 100644 --- a/science/paje/Makefile +++ b/science/paje/Makefile @@ -1,47 +1,47 @@ PORTNAME= paje PORTVERSION= 1.97 PORTREVISION= 12 CATEGORIES= science gnustep MASTER_SITES= SF/${PORTNAME}/Releases DISTNAME= Paje_${PORTVERSION} EXTRACT_SUFX= .tar.gz.gz MAINTAINER= ports@FreeBSD.org COMMENT= Generic visualization tool for GNUstep (Gantt chart and more) WWW= http://www-id.imag.fr/Logiciels/paje/ LICENSE= LGPL21 USES= gnustep USE_GNUSTEP= gui base back build WRKSRC= ${WRKDIR}/${DISTNAME} .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CPPFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: ${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DOMAIN|#GNUSTEP_INSTALLATION_DOMAIN|' \ ${WRKSRC}/GNUmakefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/Paje.app/Paje \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/AggregatingFilter.bundle/AggregatingFilter \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/ContainerFilter.bundle/ContainerFilter \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/EntityTypeFilter.bundle/EntityTypeFilter \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/FieldFilter.bundle/FieldFilter \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/FileReader.bundle/FileReader \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/General.bundle/General \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/ImbricationFilter.bundle/ImbricationFilter \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/OrderFilter.bundle/OrderFilter \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/PajeEventDecoder.bundle/PajeEventDecoder \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/PajeSimulator.bundle/PajeSimulator \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/ReductionFilter.bundle/ReductionFilter \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/SpaceTimeViewer.bundle/SpaceTimeViewer \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/StatViewer.bundle/StatViewer \ ${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/Paje/StorageController.bundle/StorageController .include diff --git a/security/mate-pam-helper/Makefile b/security/mate-pam-helper/Makefile index 46ef0b1c5dad..56f38feec174 100644 --- a/security/mate-pam-helper/Makefile +++ b/security/mate-pam-helper/Makefile @@ -1,24 +1,24 @@ PORTNAME= mate-pam-helper DISTVERSION= 1.3 CATEGORIES= security sysutils MAINTAINER= ericbsd@FreeBSD.org COMMENT= MATE authenticate applications requiring PAM services WWW= https://github.com/ghostbsd/mate-pam-helper LICENSE= BSD2CLAUSE USES= uidfix USE_CSTD= c11 USE_GITHUB= yes GH_ACCOUNT= GhostBSD PLIST_FILES= bin/mate_pam_helper .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=unused-but-set-variable .endif .include diff --git a/security/pam_ocra/Makefile b/security/pam_ocra/Makefile index ebca30991ee4..64b1ecdc8d80 100644 --- a/security/pam_ocra/Makefile +++ b/security/pam_ocra/Makefile @@ -1,31 +1,31 @@ PORTNAME= pam_ocra DISTVERSION= 1.6 CATEGORIES= security MAINTAINER= sg2342@googlemail.com COMMENT= RFC6287 (OCRA) PAM module WWW= https://github.com/sg2342/pam_ocra LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= ssl uidfix USE_GITHUB= yes GH_ACCOUNT= sg2342 CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} PLIST_FILES= lib/pam_ocra.so \ lib/pam_ocra.so.0 \ sbin/ocra_tool \ man/man8/pam_ocra.8.gz \ man/man8/ocra_tool.8.gz .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=cast-align .endif .include diff --git a/security/pks/Makefile b/security/pks/Makefile index ac5482fd76e0..8438a93303f5 100644 --- a/security/pks/Makefile +++ b/security/pks/Makefile @@ -1,54 +1,54 @@ PORTNAME= pks PORTVERSION= 0.9.6.20040312 PORTREVISION= 10 CATEGORIES= security www MASTER_SITES= http://pks.sourceforge.net/ LOCAL/mandree DISTFILES= pks-current.tgz MAINTAINER= tphilipp@potion-studios.com COMMENT= PGP Public Key Server WWW= http://www.mit.edu/people/marc/pks/ LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= bdb ssl USE_RC_SUBR= pksd WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${DATADIR} \ --localstatedir=/var/pks \ --with-db --with-ipv6 --with-libwrap \ --with-openssl=${OPENSSLBASE} CONFIGURE_ENV= DBLIB="-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}" \ DBINC=-I${BDB_INCLUDE_DIR} DBHDR=db.h cflags="${CFLAGS}" SUB_FILES= pkg-message SUB_LIST= PORTNAME="${PORTNAME}" OPTIONS_DEFINE= DOCS PORTDOCS= pks_help.* README EMAIL .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: @${CP} -a ${FILESDIR}/EMAIL ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgpsplit ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pksdctl ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pksclient ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/pksd ${MV} ${STAGEDIR}${PREFIX}/etc/pksd.conf ${STAGEDIR}${PREFIX}/etc/pksd.conf.sample post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/security/rubygem-gpgme/Makefile b/security/rubygem-gpgme/Makefile index 272ea86e2637..167b1344aee3 100644 --- a/security/rubygem-gpgme/Makefile +++ b/security/rubygem-gpgme/Makefile @@ -1,30 +1,30 @@ PORTNAME= gpgme PORTVERSION= 2.0.22 CATEGORIES= security rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby interface to GnuPG Made Easy (GPGME) WWW= https://github.com/ueno/ruby-gpgme LICENSE= LGPL21+ BUILD_DEPENDS= gpgme>=1.1.2:security/gpgme \ libassuan>=2.5.5:security/libassuan \ libgpg-error>=1.45:security/libgpg-error LIB_DEPENDS= libassuan.so:security/libassuan \ libgpg-error.so:security/libgpg-error \ libgpgme.so:security/gpgme USES= gem pkgconfig shebangfix SHEBANG_FILES= test/pinentry CONFIGURE_ARGS= --use-system-libraries .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif .include diff --git a/security/seahorse/Makefile b/security/seahorse/Makefile index 2efede5d53f9..be9bb7677f3d 100644 --- a/security/seahorse/Makefile +++ b/security/seahorse/Makefile @@ -1,63 +1,63 @@ PORTNAME= seahorse PORTVERSION= 41.0 PORTREVISION= 1 CATEGORIES= security gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME application for managing encryption keys (PGP, SSH) WWW= https://wiki.gnome.org/Apps/Seahorse LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gnupg>=2.1.4:security/gnupg \ itstool:textproc/itstool LIB_DEPENDS= libgcr-base-3.so:security/gcr \ libgpgme.so:security/gpgme \ libhandy-1.so:x11-toolkits/libhandy \ libpwquality.so:security/libpwquality \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup RUN_DEPENDS= gnupg>=2.1.4:security/gnupg USES= cpe gettext gnome localbase:ldflags meson pkgconfig \ python:build tar:xz vala:build xorg USE_CSTD= c99 USE_GNOME= gtk30 GLIB_SCHEMAS= org.gnome.seahorse.gschema.xml \ org.gnome.seahorse.manager.gschema.xml \ org.gnome.seahorse.window.gschema.xml USE_LDCONFIG= yes USE_XORG= sm CPE_VENDOR= gnome MESON_ARGS= -Dcheck-compatible-gpg=false \ -Dhkp-support=true \ -Dkeyservers-support=true \ -Dpgp-support=true \ -Dpkcs11-support=true BINARY_ALIAS= python3=${PYTHON_CMD} PORTSCOUT= limitw:1,even OPTIONS_DEFINE= AVAHI LDAP OPTIONS_DEFAULT= AVAHI LDAP OPTIONS_SUB= yes AVAHI_DESC= DNS-SD key sharing LDAP_DESC= LDAP keyserver support (for gpg) AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_MESON_TRUE= key-sharing LDAP_USES= ldap LDAP_MESON_TRUE= ldap-support .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/security/softether/Makefile b/security/softether/Makefile index 1fc3ce0ab78b..36c01f3f3f6f 100644 --- a/security/softether/Makefile +++ b/security/softether/Makefile @@ -1,90 +1,90 @@ PORTNAME= softether DISTVERSION= 4.42-9798 PORTREVISION= 1 CATEGORIES= security net-vpn MASTER_SITES= https://www.softether-download.com/files/softether/v${DISTVERSION}-rtm-2023.06.30-tree/Source_Code/ DISTNAME= ${PORTNAME}-src-v${DISTVERSION}-rtm MAINTAINER= meta@FreeBSD.org COMMENT= SoftEther VPN 4 (RTM version) WWW= https://www.softether.org LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386 powerpc powerpc64 powerpc64le riscv64 USES= dos2unix gmake iconv:wchar_t localbase:ldflags ncurses \ readline ssl USE_RC_SUBR= softether_bridge softether_client \ softether_server softether_trafficserver DOS2UNIX_FILES= ChangeLog LICENSE README *.TXT \ src/Cedar/*.* src/Mayaqua/*.* OPTIONS_DEFINE= DOCS MAKE_JOBS_UNSAFE= yes CONFLICTS_INSTALL= softether-devel-4.* softether5 PORTDOCS= AUTHORS.TXT ChangeLog LICENSE README THIRD_PARTY.TXT WARNING.TXT SE_DBDIR?= /var/db/${PORTNAME} SE_LOGDIR?= /var/log/${PORTNAME} SE_PIDDIR?= /var/run/${PORTNAME} PLIST_SUB= SE_DBDIR="${SE_DBDIR}" SE_LOGDIR="${SE_LOGDIR}" SE_PIDDIR="${SE_PIDDIR}" SUB_LIST= SE_DBDIR="${SE_DBDIR}" SE_LOGDIR="${SE_LOGDIR}" SE_PIDDIR="${SE_PIDDIR}" SUB_FILES= pkg-message vpncmd # a pity the source directory has such a naming scheme, but well WRKSRC= ${WRKDIR}/v${DISTVERSION} ALL_TARGET= build .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: # SoftEther scatters logs, config files and PID files in PREFIX/libexec # directory. To write them in the right place, replace it. ${REINPLACE_CMD} \ -e "s|%%SE_DBDIR%%|${SE_DBDIR}|g" \ -e "s|%%SE_LOGDIR%%|${SE_LOGDIR}|g" \ -e "s|%%SE_PIDDIR%%|${SE_PIDDIR}|g" \ ${WRKSRC}/src/Mayaqua/FileIO.c # skip configure at all and copy the corresponding Makefile in place .if ${ARCH} != "amd64" @${CP} ${WRKSRC}/src/makefiles/freebsd_32bit.mak ${WRKSRC}/Makefile .else @${CP} ${WRKSRC}/src/makefiles/freebsd_64bit.mak ${WRKSRC}/Makefile .endif # pull in user specific CFLAGS and LDFLAGS @${REINPLACE_CMD} -e "s|OPTIONS_COMPILE_RELEASE=|OPTIONS_COMPILE_RELEASE=${CFLAGS} |g" ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s|OPTIONS_LINK_RELEASE=|OPTIONS_LINK_RELEASE=${LDFLAGS} |g" ${WRKSRC}/Makefile # manually install to ${PREFIX}/libexec/softether, then the final install will copy scripts # into ${PREFIX}/sbin do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/softether ${INSTALL_SCRIPT} ${WRKSRC}/bin/vpnbridge/vpnbridge ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/vpnbridge ${INSTALL_SCRIPT} ${WRKSRC}/bin/vpnclient/vpnclient ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/vpnclient ${INSTALL_SCRIPT} ${WRKSRC}/bin/vpncmd/vpncmd ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/vpncmd ${INSTALL_SCRIPT} ${WRKSRC}/bin/vpnserver/vpnserver ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/vpnserver ${INSTALL_DATA} ${WRKSRC}/bin/vpnserver/hamcore.se2 ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/hamcore.se2 ${INSTALL_SCRIPT} ${WRKDIR}/vpncmd ${STAGEDIR}/${PREFIX}/sbin/vpncmd .for i in vpnbridge vpnclient vpncmd vpnserver @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/${i} .endfor @${MKDIR} \ ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${SE_DBDIR} \ ${STAGEDIR}${SE_LOGDIR} \ ${STAGEDIR}${SE_PIDDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/sysutils/gstopd/Makefile b/sysutils/gstopd/Makefile index 607c8488975f..5dc098c07de1 100644 --- a/sysutils/gstopd/Makefile +++ b/sysutils/gstopd/Makefile @@ -1,21 +1,21 @@ PORTNAME= gstopd PORTVERSION= 1.1 CATEGORIES= sysutils MASTER_SITES= LOCAL/mr MAINTAINER= mr@FreeBSD.org COMMENT= GEOM stop daemon PLIST_FILES= sbin/gstopd man/man8/gstopd.8.gz .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=unused-but-set-variable .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gstopd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/gstopd.8 ${STAGEDIR}${PREFIX}/man/man8 .include diff --git a/sysutils/mate-settings-daemon/Makefile b/sysutils/mate-settings-daemon/Makefile index a4bc08fcacc4..cd0be532734a 100644 --- a/sysutils/mate-settings-daemon/Makefile +++ b/sysutils/mate-settings-daemon/Makefile @@ -1,81 +1,81 @@ PORTNAME= mate-settings-daemon PORTVERSION= 1.26.0 PORTREVISION= 2 CATEGORIES= sysutils mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= MATE settings daemon WWW= https://mate-desktop.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libxklavier.so:x11/libxklavier \ libnss3.so:security/nss \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libpolkit-gobject-1.so:sysutils/polkit \ libstartup-notification-1.so:x11/startup-notification \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libnspr4.so:devel/nspr \ libnotify.so:devel/libnotify RUN_DEPENDS= xrdb:x11/xrdb PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool localbase mate pathfix \ pkgconfig tar:xz xorg USE_MATE= desktop libmatekbd mixer USE_XORG= ice sm x11 xext xi USE_GNOME= cairo dconf gtk30 intlhack USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-dbus-services=${PREFIX}/share/dbus-1/services \ --disable-static \ --disable-rfkill INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.SettingsDaemon.plugins.a11y-keyboard.gschema.xml \ org.mate.SettingsDaemon.plugins.a11y-settings.gschema.xml \ org.mate.SettingsDaemon.plugins.background.gschema.xml \ org.mate.SettingsDaemon.plugins.clipboard.gschema.xml \ org.mate.SettingsDaemon.plugins.datetime.gschema.xml \ org.mate.SettingsDaemon.plugins.gschema.xml \ org.mate.SettingsDaemon.plugins.housekeeping.gschema.xml \ org.mate.SettingsDaemon.plugins.keybindings.gschema.xml \ org.mate.SettingsDaemon.plugins.keyboard.gschema.xml \ org.mate.SettingsDaemon.plugins.media-keys.gschema.xml \ org.mate.SettingsDaemon.plugins.mouse.gschema.xml \ org.mate.SettingsDaemon.plugins.mpris.gschema.xml \ org.mate.SettingsDaemon.plugins.rfkill.gschema.xml \ org.mate.SettingsDaemon.plugins.smartcard.gschema.xml \ org.mate.SettingsDaemon.plugins.sound.gschema.xml \ org.mate.SettingsDaemon.plugins.typing-break.gschema.xml \ org.mate.SettingsDaemon.plugins.xrandr.gschema.xml \ org.mate.SettingsDaemon.plugins.xrdb.gschema.xml \ org.mate.SettingsDaemon.plugins.xsettings.gschema.xml \ org.mate.applications-at.gschema.xml \ org.mate.font-rendering.gschema.xml \ org.mate.peripherals-smartcard.gschema.xml \ org.mate.peripherals-touchpad.gschema.xml \ org.mate.peripherals-keyboard.gschema.xml \ org.mate.peripherals-mouse.gschema.xml OPTIONS_DEFINE= PULSEAUDIO OPTIONS_SUB= yes PULSEAUDIO_CONFIGURE_ENABLE= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/sysutils/mtpfs/Makefile b/sysutils/mtpfs/Makefile index b105fa5ad239..34c8db5c99e1 100644 --- a/sysutils/mtpfs/Makefile +++ b/sysutils/mtpfs/Makefile @@ -1,34 +1,34 @@ PORTNAME= mtpfs PORTVERSION= 1.1 PORTREVISION= 4 CATEGORIES= sysutils MAINTAINER= jhixson@FreeBSD.org COMMENT= MTP device filesystem WWW= https://www.adebenham.com/mtpfs/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libmtp.so:multimedia/libmtp \ libid3.so:audio/id3lib \ libid3tag.so:audio/libid3tag \ libmad.so:audio/libmad USES= autoreconf fuse gnome pkgconfig USE_GITHUB= yes GH_ACCOUNT= cjd GH_TAGNAME= fd3864dd6f0e8183fa2598d4cf890401d3a1e09a USE_GNOME= glib20 GNU_CONFIGURE= yes PLIST_FILES= bin/mtpfs .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/sysutils/zeitgeist/Makefile b/sysutils/zeitgeist/Makefile index 42f5711aa03a..016b48a8a020 100644 --- a/sysutils/zeitgeist/Makefile +++ b/sysutils/zeitgeist/Makefile @@ -1,54 +1,54 @@ # NOTE: please keep zeitgeist in sysutils/qzeitgeist in sync PORTNAME= zeitgeist DISTVERSION= 1.0.4 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= kwm@FreeBSD.org COMMENT= Event logging framework WWW= https://wiki.gnome.org/Projects/Zeitgeist LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= dee-tool:devel/dee \ rapper:textproc/raptor2 \ ${PYTHON_PKGNAMEPREFIX}rdflib>=4.1.1:textproc/py-rdflib@${PY_FLAVOR} LIB_DEPENDS= libharfbuzz.so:print/harfbuzz RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:devel/py-xdg@${PY_FLAVOR} \ ${PYTHON_SITELIBDIR}/dbus/__init__.py:devel/py-dbus@${PY_FLAVOR} USES= autoreconf gettext gmake gnome libtool localbase:ldflags pathfix pkgconfig \ python sqlite tar:xz vala:build USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org GL_TAGNAME= 8b89364c077b46734d193c5b8a80f83b0fc917dd USE_GNOME= cairo gdkpixbuf2 glib20 intlhack \ introspection:build USE_LDCONFIG= yes USE_PYTHON= py3kplist GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-fts --disable-telepathy \ --disable-downloads-monitor INSTALL_TARGET= install-strip OPTIONS_SUB= yes OPTIONS_DEFINE= DATAHUB OPTIONS_DEFAULT=DATAHUB DATAHUB_DESC= Passive loggers for Zeitgeist DATAHUB_LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib DATAHUB_USE= gnome=gtk30 DATAHUB_CONFIGURE_ENABLE= datahub .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/textproc/apertium/Makefile b/textproc/apertium/Makefile index 0a7034a9fbae..118f7304d9e3 100644 --- a/textproc/apertium/Makefile +++ b/textproc/apertium/Makefile @@ -1,55 +1,55 @@ PORTNAME= apertium PORTVERSION= 3.8.3 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= bofh@FreeBSD.org COMMENT= Toolbox to build shallow-transfer machine translation systems WWW= https://www.apertium.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_12_powerpc64= fails to configure on powerpc64 elfv1: *** unable to locate pcrecpp library *** BUILD_DEPENDS= bash:shells/bash \ utf8cpp>0:devel/utf8cpp LIB_DEPENDS= libicudata.so:devel/icu \ liblttoolbox.so:textproc/lttoolbox \ libpcre.so:devel/pcre RUN_DEPENDS= bash:shells/bash USES= autoreconf gmake gnome libtool localbase:ldflags pathfix \ pkgconfig python shebangfix USE_GITHUB= yes GH_ACCOUNT= apertium:contrib GH_PROJECT= apertium-get:contrib GH_SUBDIR= apertium/apertium-get:contrib GH_TAGNAME= 74d7d35:contrib USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes SHEBANG_FILES= apertium/apertium-get/apertium-get.sh scripts/apertium-editdist \ scripts/apertium-filter-dix.in scripts/apertium-filter-rules.in \ scripts/apertium-filter-xml scripts/apertium-genvdix \ scripts/apertium-genvldix scripts/apertium-genvrdix \ scripts/apertium-metalrx scripts/apertium-metalrx-to-lrx.in \ scripts/apertium-translate-to-default-equivalent.in GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip CFLAGS+= -I${LOCALBASE}/include/utf8cpp .include post-patch: -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) @${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \ ${WRKSRC}/apertium/perceptron_spec.h .endif .include diff --git a/textproc/gdome2/Makefile b/textproc/gdome2/Makefile index 0f9c4a00c698..90802dbb0c82 100644 --- a/textproc/gdome2/Makefile +++ b/textproc/gdome2/Makefile @@ -1,63 +1,63 @@ PORTNAME= gdome2 PORTVERSION= 0.8.1 PORTREVISION= 14 CATEGORIES= textproc MASTER_SITES= http://gdome2.cs.unibo.it/tarball/ MAINTAINER= bofh@FreeBSD.org COMMENT= Gnome DOM Engine WWW= http://gdome2.cs.unibo.it/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB USES= gnome libtool localbase pathfix pkgconfig USE_GNOME= glib20 libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= GLIB_CONFIG="${LOCALBASE}/bin/pkg-config glib-2.0" INSTALL_TARGET= install-strip CFLAGS+= -fcommon DOCSDIR= ${PREFIX}/share/doc/${DISTNAME} PORTDOCS= * OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${FIND} ${WRKSRC} -type f -and \ '(' -name '*.[ch]' -or -name '*.xml' ')' | \ ${XARGS} ${REINPLACE_CMD} -e ' \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,; \ s,,,' post-patch-DOCS-on: @${REINPLACE_CMD} -E -e \ 's,^(HTML_DIR *= *).*,\1\$$(DESTDIR)$$(prefix)/share/doc,' \ ${WRKSRC}/gtk-doc/Makefile.in post-patch-DOCS-off: @${REINPLACE_CMD} '/gtk-doc/d' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdome.so .include diff --git a/textproc/lttoolbox/Makefile b/textproc/lttoolbox/Makefile index f4cc9306869d..be8e5c2bb804 100644 --- a/textproc/lttoolbox/Makefile +++ b/textproc/lttoolbox/Makefile @@ -1,34 +1,34 @@ PORTNAME= lttoolbox DISTVERSION= 3.7.1 PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://github.com/apertium/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Tool for lexical, morphological analysis and generation of words WWW= https://wiki.apertium.org/wiki/Lttoolbox LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= utf8cpp>0:devel/utf8cpp LIB_DEPENDS= libicuio.so:devel/icu \ libxml2.so:textproc/libxml2 USES= autoreconf compiler:c++14-lang libtool pathfix pkgconfig tar:bz2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CFLAGS+= -I${LOCALBASE}/include/utf8cpp LDFLAGS+= -lpthread -.include +.include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 EXTRA_PATCHES= ${FILESDIR}/extra-patch-llvm16 .endif -.include +.include diff --git a/textproc/mgdiff/Makefile b/textproc/mgdiff/Makefile index 062925748c92..933234dcefae 100644 --- a/textproc/mgdiff/Makefile +++ b/textproc/mgdiff/Makefile @@ -1,35 +1,35 @@ PORTNAME= mgdiff PORTVERSION= 1.0 PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= XCONTRIB/applications DISTNAME= ${PORTNAME} MAINTAINER= portmaster@BSDforge.com COMMENT= Graphical front end to the UNIX diff command WWW= https://BSDforge.com/projects/textproc/mgdiff/ LICENSE= MIT LIB_DEPENDS= libgnuregex.so:devel/libgnuregex USES= imake motif xorg USE_XORG= ice sm x11 xext xmu xt DESKTOP_ENTRIES= "mgdiff" "GUI front end to the UNIX diff command" \ "mgdiff-48x48" \ "mgdiff" "GNOME;GTK;Motif;Development;System;" \ false .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${FILESDIR}/mgdiff-48x48.xpm ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/mgdiff.x[bp]m ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/textproc/p5-Senna/Makefile b/textproc/p5-Senna/Makefile index d035c8578f95..f8d68483e5e5 100644 --- a/textproc/p5-Senna/Makefile +++ b/textproc/p5-Senna/Makefile @@ -1,28 +1,28 @@ PORTNAME= Senna PORTVERSION= 0.51 PORTREVISION= 5 CATEGORIES= textproc perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:DMAKI PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for Embeddable Fulltext Search Engine WWW= https://metacpan.org/release/Senna LICENSE= LGPL21 BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= senna-cfg:textproc/senna USES= perl5 localbase USE_PERL5= modbuild CONFIGURE_ARGS+= -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/textproc/rman/Makefile b/textproc/rman/Makefile index e39d7c96a0f2..d5ed34c6616a 100644 --- a/textproc/rman/Makefile +++ b/textproc/rman/Makefile @@ -1,23 +1,23 @@ PORTNAME= rman PORTVERSION= 3.2 CATEGORIES= textproc MASTER_SITES= SF/polyglotman/polyglotman/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Reverse compile man pages from formatted form MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \ BINDIR="${PREFIX}/bin" MANDIR="${MAN1PREFIX}/man/man1" PLIST_FILES= bin/rman man/man1/rman.1.gz .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rman .include diff --git a/textproc/rubygem-ruby-augeas/Makefile b/textproc/rubygem-ruby-augeas/Makefile index 2643c91f3dd8..d94db10c445a 100644 --- a/textproc/rubygem-ruby-augeas/Makefile +++ b/textproc/rubygem-ruby-augeas/Makefile @@ -1,26 +1,26 @@ PORTNAME= ruby-augeas PORTVERSION= 0.5.0 PORTREVISION= 4 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby bindings for Augeas WWW= https://augeas.net/ LICENSE= LGPL21 LIB_DEPENDS= libaugeas.so:textproc/augeas USES= gem gnome pkgconfig USE_GNOME= libxml2 CONFIGURE_ARGS= --with-opt-include="${LOCALBASE}/include/libxml2" .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif .include diff --git a/textproc/sary/Makefile b/textproc/sary/Makefile index 94f45315f854..7cafd3a4aac4 100644 --- a/textproc/sary/Makefile +++ b/textproc/sary/Makefile @@ -1,36 +1,36 @@ PORTNAME= sary PORTVERSION= 1.2.0 PORTREVISION= 5 CATEGORIES= textproc MASTER_SITES= http://sary.sourceforge.net/ MAINTAINER= ports@FreeBSD.org COMMENT= Suffix array library and tools, which provide fast full-text search WWW= http://sary.sourceforge.net/index.html.en USES= gnome libtool pathfix pkgconfig USE_GNOME= glib20 USE_LDCONFIG= yes GNU_CONFIGURE= yes OPTIONS_DEFINE= DOCS .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsary.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${FIND} . ! -name "*Makefile*" | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} .include diff --git a/textproc/wv/Makefile b/textproc/wv/Makefile index a199e5b67889..b6b9d3181ee7 100644 --- a/textproc/wv/Makefile +++ b/textproc/wv/Makefile @@ -1,38 +1,38 @@ PORTNAME= wv PORTVERSION= 1.2.9 PORTREVISION= 7 CATEGORIES= textproc MASTER_SITES= http://www.abisource.com/downloads/wv/${PORTVERSION}/ MAINTAINER= bofh@FreeBSD.org COMMENT= Library and executables to access Microsoft Word files WWW= http://wvware.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libwmf.so:graphics/libwmf USES= gmake gnome jpeg pkgconfig libtool xorg USE_GNOME= libgsf USE_LDCONFIG= yes USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-png=${LOCALBASE} \ --with-libwmf=${LOCALBASE} CONFIGURE_ENV= MKDIR_P="${MKDIR}" MAKEFILE= GNUmakefile MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ INSTALL_STRIP_FLAG="${STRIP}" .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/www/libwww/Makefile b/www/libwww/Makefile index db8aaf7acc1f..752878a03462 100644 --- a/www/libwww/Makefile +++ b/www/libwww/Makefile @@ -1,35 +1,35 @@ PORTNAME= libwww PORTVERSION= 5.4.2 CATEGORIES= www devel MASTER_SITES= https://www.w3.org/Library/Distribution/ \ https://www.w3.org/Library/Distribution/old/ DISTNAME= w3c-${PORTNAME}-${PORTVERSION} MAINTAINER= dbaio@FreeBSD.org COMMENT= W3C Reference Library WWW= https://www.w3.org/Library/ LICENSE= W3C LICENSE_NAME= W3C IPR SOFTWARE NOTICE LICENSE_FILE= ${WRKSRC}/LICENSE.html LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libexpat.so:textproc/expat2 USES= cpe gmake libtool localbase perl5 ssl tar:tgz USE_PERL5= build USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --with-zlib --with-ssl=${OPENSSLBASE} CPE_VENDOR= w3c .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so .include diff --git a/www/node16/Makefile b/www/node16/Makefile index 89c18633005e..bab79ade808a 100644 --- a/www/node16/Makefile +++ b/www/node16/Makefile @@ -1,137 +1,137 @@ PORTNAME= node DISTVERSIONPREFIX= v DISTVERSION= 16.20.1 PORTREVISION?= 0 CATEGORIES= www MASTER_SITES= https://nodejs.org/dist/v${DISTVERSION}/ PKGNAMESUFFIX= 16 MAINTAINER= otis@FreeBSD.org COMMENT= V8 JavaScript for client and server WWW= https://nodejs.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le BUILD_DEPENDS+= brotli>=1.0.9,1:archivers/brotli \ c-ares>=1.17.2:dns/c-ares \ libnghttp2>=1.45.1:www/libnghttp2 \ libuv>=1.42.0:devel/libuv \ objdump:devel/binutils LIB_DEPENDS+= libbrotlidec.so:archivers/brotli \ libcares.so:dns/c-ares \ libnghttp2.so:www/libnghttp2 \ libuv.so:devel/libuv USES= compiler:c++11-lib gmake localbase pkgconfig python:build \ shebangfix BROKEN_SSL= libressl libressl-devel BROKEN_SSL_REASON= node.js ${PORTVERSION:R:R}.x LTS requires OpenSSL 1.1.x or the BUNDLED_SSL option enabled SHEBANG_FILES= deps/v8/third_party/inspector_protocol/*.py deps/v8/tools/*.py \ tools/*.py tools/inspector_protocol/*.py HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \ --shared-brotli \ --shared-cares \ --shared-libuv \ --shared-nghttp2 \ --shared-zlib \ --without-npm CONFIGURE_ENV+= CC_host="${CCACHE_BIN} ${CC}" \ CFLAGS_host="${CFLAGS}" \ CXX_host="${CCACHE_BIN} ${CXX}" \ CXXFLAGS_host="${CXXFLAGS}" \ LINK_host=${CXX} \ LDFLAGS_host="${LDFLAGS}" MAKE_ARGS+= CC.host="${CCACHE_BIN} ${CC}" \ CFLAGS.host="${CFLAGS}" \ CXX.host="${CCACHE_BIN} ${CXX}" \ CXXFLAGS.host="${CXXFLAGS}" \ LINK.host=${CXX} \ LDFLAGS.host="${LDFLAGS}" CONFLICTS_INSTALL= node[0-9][0-9] REINPLACE_ARGS= -i '' PORTSCOUT= limit:^16\. OPTIONS_DEFINE= BUNDLED_SSL COREPACK DOCS DTRACE NLS OPTIONS_DEFAULT= COREPACK DTRACE .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_aarch64= DTRACE # dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820): arm not implemented OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE OPTIONS_EXCLUDE_powerpc64= DTRACE OPTIONS_EXCLUDE_powerpc64le= DTRACE OPTIONS_SUB= yes BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation COREPACK_DESC= Build and install corepack package manager BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss BUNDLED_SSL_USES_OFF= ssl BUNDLED_SSL_CONFIGURE_OFF= --openssl-use-def-ca-store \ --shared-openssl COREPACK_CONFIGURE_OFF= --without-corepack DTRACE_CONFIGURE_ON= --with-dtrace NLS_BUILD_DEPENDS= icu>=69.1:devel/icu NLS_LIB_DEPENDS= libicui18n.so:devel/icu NLS_CONFIGURE_ON= --with-intl=system-icu PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} -.include +.include .if (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc64le EXTRA_PATCHES= ${PATCHDIR}/extra-patch-common.gypi .endif .if ${ARCH} == armv6 || ${ARCH} == armv7 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tools_v8__gypfiles_v8.gyp .endif .if ${PORT_OPTIONS:MBUNDLED_SSL} && ${ARCH} != amd64 CONFIGURE_ARGS+= --openssl-no-asm .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CXXFLAGS+= -Wno-error=enum-constexpr-conversion .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/tools/v8_gypfiles/v8.gyp post-configure: # Post-process Makefile and *.mk files created by node-gyp and remove # all occurrences of -I${LOCALBASE}/include. C*FLAGS include this # before all -I../deps/* for bundled code. This can cause build # breakages if the dependency is installed in ${LOCALBASE}. The # USES+=localbase # above will ensure that we pick up includes for real # external dependencies. ${FIND} ${WRKSRC}/out -type f -print0 \ | ${XARGS} -0 ${REINPLACE_CMD} -e "s|-I${LOCALBASE}/include||g" post-install: ${RM} -rf ${STAGEDIR}${PREFIX}/share/systemtap ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node post-install-DTRACE-on: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/dtrace ${INSTALL_DATA} ${WRKSRC}/out/Release/node.d ${STAGEDIR}${PREFIX}/lib/dtrace -.include +.include diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile index 30c9f3d0d221..5ccc74e4be9a 100644 --- a/www/p5-CGI-SpeedyCGI/Makefile +++ b/www/p5-CGI-SpeedyCGI/Makefile @@ -1,62 +1,62 @@ PORTNAME= CGI-SpeedyCGI PORTVERSION= 2.22 PORTREVISION= 9 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Speed up perl CGI scripts by running them persistently WWW= http://daemoninc.com/SpeedyCGI/ LICENSE= GPLv2 MAKE_JOBS_UNSAFE= yes USES= perl5 USE_PERL5= configure patch OPTIONS_DEFINE= APACHE OPTIONS_DEFAULT=APACHE APACHE_DESC= Build mod_speedycgi OPTIONS_SUB= yes APACHE_USES= apache APACHE_CONFIGURE_ENV_OFF= WITHOUT_APACHE=yes .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's/__inline__//g' \ ${WRKSRC}/src/speedy_inc.h @${PERL} -pi -e 's,apxs -q,${APXS} -q,;' \ ${WRKSRC}/src/SpeedyMake.pl @${PERL} -pi -e 's,APXS=apxs,APXS=${APXS},;' \ ${WRKSRC}/mod_speedycgi/Makefile.tmpl ${CP} ${FILESDIR}/speedy_dump.c ${WRKSRC}/speedy_dump/ @${REINPLACE_CMD} -i '' -e 's=New(123,=Newx(=g' \ ${WRKSRC}/src/speedy_backend_main.h ${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \ ${WRKSRC}/mod_speedycgi/Makefile.tmpl pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} post-configure: @${PERL} -pi -e 's,^PREFIX = /usr$$,PREFIX = ${PREFIX},g;' \ ${WRKSRC}/Makefile ${WRKSRC}/*/Makefile post-build: @(cd ${WRKSRC}/speedy_dump && ${CC} ${CFLAGS} -o speedy_dump \ -I../src speedy_dump.c) post-install: @${INSTALL_PROGRAM} ${WRKSRC}/speedy/speedy ${STAGEDIR}${PREFIX}/bin/speedy_suidperl @${CHMOD} 4755 ${STAGEDIR}${PREFIX}/bin/speedy_suidperl @${INSTALL_PROGRAM} ${WRKSRC}/speedy_dump/speedy_dump \ ${STAGEDIR}${PREFIX}/bin/speedy_dump .include diff --git a/www/webkit2-gtk4/Makefile b/www/webkit2-gtk4/Makefile index b0d7445a16b7..611f191b829c 100644 --- a/www/webkit2-gtk4/Makefile +++ b/www/webkit2-gtk4/Makefile @@ -1,127 +1,127 @@ PORTNAME= webkit DISTVERSION= 2.38.3 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://webkitgtk.org/releases/ PKGNAMESUFFIX= 2-gtk4 DISTNAME= ${PORTNAME}gtk-${PORTVERSION} DIST_SUBDIR= gnome PATCH_SITES= https://github.com/WebKit/WebKit/commit/ PATCHFILES= 285ff73b5f6d46d6e502aca30061667e41a3114b.diff:-p1 MAINTAINER= gnome@FreeBSD.org COMMENT= Opensource browser engine using the GTK+ 4 toolkit WWW= https://webkitgtk.org/ LICENSE= BSD2CLAUSE GPLv2 LICENSE_COMB= dual BROKEN_riscv64= error: Unknown Architecture BUILD_DEPENDS= ${LOCALBASE}/bin/ar:devel/binutils \ ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} LIB_DEPENDS= libenchant-2.so:textproc/enchant2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libgcrypt.so:security/libgcrypt \ libharfbuzz-icu.so:print/harfbuzz-icu \ libharfbuzz.so:print/harfbuzz \ libhyphen.so:textproc/hyphen \ libicutu.so:devel/icu \ libnotify.so:devel/libnotify \ libopenjp2.so:graphics/openjpeg \ libpng.so:graphics/png \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 \ libtasn1.so:security/libtasn1 \ libwebp.so:graphics/webp \ libwoff2dec.so:devel/woff2 PORTSCOUT= limitw:1,even USES= bison cmake compiler:c++20-lang cpe gettext gl gnome gperf jpeg \ localbase:ldflags perl5 pkgconfig python:build ruby:build \ sqlite tar:xz xorg USE_GNOME= cairo gdkpixbuf2 gtk40 libxml2 libxslt introspection:build USE_GL= egl gl glesv2 USE_LDCONFIG= yes USE_PERL5= build USE_XORG= ice x11 xcomposite xdamage xext xrender xt CPE_VENDOR= webkitgtk CPE_PRODUCT= webkitgtk BINARY_ALIAS= python=${PYTHON_CMD} CXXFLAGS+= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 CXXFLAGS_powerpc= -DENABLE_YARR_JIT=0 CXXFLAGS_powerpc64= -DENABLE_YARR_JIT=0 CMAKE_ARGS= -DPORT=GTK CMAKE_OFF= ${CMAKE_OFF_${ARCH}:U} ENABLE_GAMEPAD ENABLE_GLES2 \ ENABLE_JOURNALD_LOG USE_LD_GOLD USE_SYSTEMD CMAKE_ON= ENABLE_MINIBROWSER USE_GTK4 USE_SYSTEM_MALLOC CMAKE_OFF_armv6= ENABLE_JIT CMAKE_OFF_armv7= ENABLE_JIT CMAKE_OFF_powerpc= ENABLE_JIT CMAKE_OFF_powerpc64= ENABLE_JIT INSTALL_TARGET= install OPTIONS_DEFINE= DEBUG GEOIP GSTREAMER WAYLAND OPTIONS_DEFAULT= GEOIP GSTREAMER WAYLAND OPTIONS_SUB= yes # Building WebKit with debugging symbols requires ar and ld with # support for thin archives. Also see # https://bugs.webkit.org/show_bug.cgi?id=140384 DEBUG_CMAKE_ON= -DCMAKE_AR=${LOCALBASE}/bin/ar \ -DCMAKE_LINKER=${LOCALBASE}/bin/ld \ -DCMAKE_RANLIB=${LOCALBASE}/bin/ranlib DEBUG_CXXFLAGS= -B${LOCALBASE}/bin DEBUG_CMAKE_OFF= -DCMAKE_AR=/usr/bin/ar \ -DCMAKE_LINKER=/usr/bin/ld \ -DCMAKE_RANLIB=/usr/bin/ranlib DEBUG_CXXFLAGS_OFF= -B/usr/bin DEBUG_CFLAGS_OFF= -DNDEBUG GEOIP_CMAKE_BOOL= ENABLE_GEOLOCATION GEOIP_BUILD_DEPENDS= geoclue>=2.4.3:net/geoclue GEOIP_RUN_DEPENDS= geoclue>=2.4.3:net/geoclue GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad,gl GSTREAMER_CMAKE_BOOL= ENABLE_VIDEO ENABLE_WEB_AUDIO WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND_TARGET WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.12:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libwpe-1.0.so:www/libwpe \ libWPEBackend-fdo-1.0.so:www/wpebackend-fdo -.include +.include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 CXXFLAGS+= -Wno-error=enum-constexpr-conversion .endif pre-configure: # .if !exists() evaluates too early before cairo has a chance to be installed @if ! pkg-config --exists cairo-egl; then \ ${ECHO_MSG} "${PKGNAME}: Needs cairo with OPENGL support enabled."; \ ${FALSE}; \ fi post-install: @${RLN} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-5.0/jsc \ ${STAGEDIR}${PREFIX}/bin/jsc-5 @${RLN} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-5.0/MiniBrowser \ ${STAGEDIR}${PREFIX}/bin/MiniBrowser-5 @${MV} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver \ ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-5 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-5.0/injected-bundle/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-5.0/* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver-5 -.include +.include diff --git a/x11-drivers/xf86-video-savage/Makefile b/x11-drivers/xf86-video-savage/Makefile index fe577e67a954..7e543b225bb4 100644 --- a/x11-drivers/xf86-video-savage/Makefile +++ b/x11-drivers/xf86-video-savage/Makefile @@ -1,25 +1,25 @@ PORTNAME= xf86-video-savage PORTVERSION= 2.3.9 PORTREVISION= 7 CATEGORIES= x11-drivers PATCH_SITES= https://gitlab.freedesktop.org/xorg/driver/${PORTNAME}/-/commit/ PATCHFILES+= 0ece556daa8a88771b669d8104396abd9166d2d0.patch:-p1 MAINTAINER= x11@FreeBSD.org COMMENT= X.Org savage display driver WWW= https://www.x.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING USES= gl xorg-cat:driver USE_GL= gl .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/x11-toolkits/blt/Makefile b/x11-toolkits/blt/Makefile index 1ad5dd1f0cf8..782bca3d9a81 100644 --- a/x11-toolkits/blt/Makefile +++ b/x11-toolkits/blt/Makefile @@ -1,53 +1,53 @@ PORTNAME= blt PORTVERSION= 2.5.3 PORTREVISION= 5 CATEGORIES= x11-toolkits tk MASTER_SITES= SF/wize DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= doconnor@gsoft.com.au COMMENT= Extension to the Tk toolkit WWW= https://wiki.tcl-lang.org/page/BLT LICENSE= MIT WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R} USES= gmake jpeg shebangfix tk:tea xorg zip USE_XORG+= x11 SHEBANG_FILES= demos/scripts/xcolors.tcl SHEBANG_LANG= bltwish bltwish_OLD_CMD=../bltwish bltwish_CMD= ${PREFIX}/bin/bltwish # installed by this port, so not LOCALBASE USE_LDCONFIG= yes CFLAGS+= -fPIC -I${TCL_INCLUDEDIR}/generic \ -I${TK_INCLUDEDIR}/generic \ -I${TK_INCLUDEDIR}/unix MAKE_JOBS_UNSAFE=yes PLIST_SUB+= BLTVER=${PORTVERSION:R} \ BLTSHORTVER=${PORTVERSION:R:S/.//} CONFIGURE_ARGS= --enable-jpeg=${LOCALBASE} \ post-patch: ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e '/^INSTALL_ROOT/s|$$|$${DESTDIR}|' ${FIND} ${WRKSRC}/demos -name "*.tcl" | ${XARGS} \ ${REINPLACE_CMD} -e 's|../src/bltwish|${LOCALBASE}/bin/bltwish|' post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so .include .if ${TCL_VER} > 8.5 CFLAGS+= -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/x11-toolkits/granite/Makefile b/x11-toolkits/granite/Makefile index 0928ebed7846..3a2270b0b790 100644 --- a/x11-toolkits/granite/Makefile +++ b/x11-toolkits/granite/Makefile @@ -1,33 +1,33 @@ PORTNAME= granite DISTVERSION= 6.2.0 PORTREVISION= 1 CATEGORIES= x11-toolkits MAINTAINER= desktop@FreeBSD.org COMMENT= Extensions of GTK+3 toolkit WWW= https://github.com/elementary/granite LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgee-0.8.so:devel/libgee RUN_DEPENDS= contractor:sysutils/contractor \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= gettext gnome meson pkgconfig python:build tar:xz vala:build USE_GITHUB= yes GH_ACCOUNT= elementary USE_GNOME= cairo glib20 gtk30 gdkpixbuf2 introspection:build USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_CMD} PORTSCOUT= limit:^6 PLIST_SUB= DISTVERSION=${DISTVERSION} .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/x11-toolkits/irrlicht/Makefile b/x11-toolkits/irrlicht/Makefile index e6da6e43c716..955a370b1972 100644 --- a/x11-toolkits/irrlicht/Makefile +++ b/x11-toolkits/irrlicht/Makefile @@ -1,64 +1,59 @@ PORTNAME= irrlicht PORTVERSION= 1.8.5 CATEGORIES= x11-toolkits graphics MASTER_SITES= SF/${PORTNAME}/Irrlicht%20SDK/${PORTVERSION:R}/${PORTVERSION}/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= High performance realtime 3D engine WWW= http://irrlicht.sourceforge.net/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/readme.txt LIB_DEPENDS= libpng.so:graphics/png USES= alias cpe dos2unix gl gmake jpeg zip xorg +USE_CXXSTD= gnu++11 DOS2UNIX_GLOB= Makefile *.cpp *.h *.txt USE_GL= gl USE_XORG= x11 xxf86vm USE_LDCONFIG= yes ALL_TARGET= sharedlib PLIST_SUB= PORTVERSION=${PORTVERSION} SOVERSION=${PORTVERSION:R} SUB_FILES= pkg-message BUILD_WRKSRC= ${WRKSRC}/source/Irrlicht INSTALL_WRKSRC= ${BUILD_WRKSRC} EXAMPLEDIRS= 01.HelloWorld 02.Quake3Map 03.CustomSceneNode 04.Movement \ 05.UserInterface 06.2DGraphics 07.Collision 08.SpecialFX \ 09.Meshviewer 10.Shaders 11.PerPixelLighting \ 12.TerrainRendering 13.RenderToTexture 15.LoadIrrFile Demo OPTIONS_DEFINE= DEBUG EXAMPLES DEBUG_MAKE_ENV_OFF= NDEBUG=1 -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-extract: .for bundled in bzip2 jpeglib libpng zlib @${RM} -r ${WRKSRC}/source/Irrlicht/${bundled} .endfor post-patch: @${REINPLACE_CMD} -e '/#define.*_IRR_USE_NON_SYSTEM_JPEG_LIB_/ d' \ -e '/#define.*_IRR_USE_NON_SYSTEM_LIB_PNG_/ d' \ -e '/#define.*_IRR_USE_NON_SYSTEM_ZLIB_/ d' \ -e '/#define.*_IRR_USE_NON_SYSTEM_BZLIB_/ d' \ -e '/#define.*_IRR_COMPILE_WITH_JOYSTICK_EVENTS_/ d' \ ${WRKSRC}/include/IrrCompileConfig.h post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libIrrlicht.so post-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "${EXAMPLEDIRS}" \ ${STAGEDIR}${EXAMPLESDIR} \ "( -name Makefile -or -name *\.cpp -or -name *\.h )" cd ${WRKSRC} && ${COPYTREE_SHARE} media ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/x11-toolkits/itk/Makefile b/x11-toolkits/itk/Makefile index 14dd675a42fa..c3fa794e3016 100644 --- a/x11-toolkits/itk/Makefile +++ b/x11-toolkits/itk/Makefile @@ -1,51 +1,51 @@ PORTNAME= itk PORTVERSION= 3.4.2 PORTREVISION= 0 CATEGORIES= x11-toolkits tk MASTER_SITES= SF/incrtcl/%5BIncr%20Tcl_Tk%5D-source/Itk%20${PORTVERSION} DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= erik@bz.bzflag.bz COMMENT= Object-oriented extension to Tk [incr Tk] WWW= https://sourceforge.net/projects/incrtcl/ LIB_DEPENDS= libitcl.so.${MAJOR}:lang/itcl USES= tk:85,86 uidfix USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R} MAKE_ENV+= ${PLIST_SUB} \ SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \ TK_SHLIB_VER=${TK_SHLIB_VER} TCL_INCLUDEDIR=${TCL_INCLUDEDIR} \ TK_INCLUDEDIR=${TK_INCLUDEDIR} MAKEFILE= ${FILESDIR}/Makefile.lib SHLIB_MAJOR= ${MAJOR} SHLIB_MINOR= ${MINOR} MAJOR= ${PORTVERSION:R:R} MINOR= ${PORTVERSION:R:E} PLIST_SUB+= MAJOR=${MAJOR} MINOR=${MINOR} ITK_LIB= libitk.so.${MAJOR} ITK_LIB_FILE= ${ITK_LIB}.${SHLIB_MAJOR} .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .if defined(DISPLAY) post-build: test .else post-build: # # DISPLAY is not set, so post-build testing is impossible # .endif test: cd ${WRKSRC} && ${SETENV} ITK_LIBRARY=${WRKSRC}/library \ ${WISH} tests/all.tcl -load "load ./${ITK_LIB}; package require Tk" .include diff --git a/x11-toolkits/ntk/Makefile b/x11-toolkits/ntk/Makefile index e18439e5eba0..4e71247c4ef5 100644 --- a/x11-toolkits/ntk/Makefile +++ b/x11-toolkits/ntk/Makefile @@ -1,55 +1,50 @@ PORTNAME= ntk DISTVERSIONPREFIX= v DISTVERSION= 1.3.1001 MASTER_SITES= https://git.kx.studio/non/ntk/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ # was at GH_ACCOUNT=original-male CATEGORIES= x11-toolkits MAINTAINER= yuri@FreeBSD.org COMMENT= Fork of FLTK 1.3.0 which adds graphics rendering via Cairo, etc WWW= https://github.com/original-male/ntk LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png USES= gnome jpeg localbase:ldflags pkgconfig waf xorg +USE_CXXSTD= c++14 USE_GNOME= cairo USE_XORG= x11 xft USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_SUB= SHLIB_VER=${PORTVERSION:R} -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: @${REINPLACE_CMD} -e " \ s|conf\.env\['LIB_DL'\] = \['dl'\]|conf.env['LIB_DL'] = []|; \ s|bld.add_post_fun( run_ldconfig )|#bld.add_post_fun( run_ldconfig )|" \ ${WRKSRC}/wscript post-install: # Removing items that are there by mistake: https://github.com/original-male/ntk/issues/13 @${REINPLACE_CMD} -e ' \ /^Requires.*/d; \ s| -lglu||; \ s| -lgl||; \ s| -D_LARGEFILE64_SOURCE||; \ s| -D_FILE_OFFSET_BITS=64||' \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ntk*.pc @${RM} ${STAGEDIR}${PREFIX}/lib/libntk*.a* # https://github.com/original-male/ntk/issues/12 @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/bin/ntk-chtheme \ ${STAGEDIR}${PREFIX}/bin/ntk-fluid \ ${STAGEDIR}${PREFIX}/lib/libntk.so.${PORTVERSION} \ ${STAGEDIR}${PREFIX}/lib/libntk_images.so.${PORTVERSION} .include diff --git a/x11-toolkits/plib/Makefile b/x11-toolkits/plib/Makefile index d19072835cde..e238686d8465 100644 --- a/x11-toolkits/plib/Makefile +++ b/x11-toolkits/plib/Makefile @@ -1,44 +1,39 @@ PORTNAME= plib PORTVERSION= 1.8.5 PORTREVISION= 8 CATEGORIES= x11-toolkits MASTER_SITES= http://plib.sourceforge.net/dist/ MAINTAINER= bofh@FreeBSD.org COMMENT= Portable library for joystick/sound/OpenGL GUI/3D math WWW= http://plib.sourceforge.net/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe gl gmake localbase:ldflags xorg +USE_CXXSTD= c++14 CPE_VENDOR= ${PORTNAME}_project USE_GL= glu USE_XORG= xt xi xmu xext x11 GNU_CONFIGURE= yes CXXFLAGS+= -fPIC LDFLAGS+= -lpthread EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-js-jsBSD.cxx -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CPPFLAGS+= -Dregister= -.endif - post-patch: @${REINPLACE_CMD} -e 's|-lpthread||g ; \ s|-ldl||g ; \ s|-lc_r||g' ${WRKSRC}/configure @${ECHO} "JS component is not compiled with new usb stack" post-build: ${CC} ${CFLAGS} -o ${WRKDIR}/plib-jscal ${FILESDIR}/jsBSDCal.c post-install: ${INSTALL_PROGRAM} ${WRKDIR}/plib-jscal ${STAGEDIR}${PREFIX}/bin .include diff --git a/x11-toolkits/rubygem-gtk2/Makefile b/x11-toolkits/rubygem-gtk2/Makefile index 25845c278341..f9f16722cc59 100644 --- a/x11-toolkits/rubygem-gtk2/Makefile +++ b/x11-toolkits/rubygem-gtk2/Makefile @@ -1,27 +1,27 @@ PORTNAME= gtk2 PORTVERSION= 3.4.3 PORTREVISION= 2 CATEGORIES= x11-toolkits rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby binding of GTK+ 2.x WWW= https://ruby-gnome2.osdn.jp/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB RUN_DEPENDS= rubygem-atk>=${PORTVERSION}:accessibility/rubygem-atk \ rubygem-gdk_pixbuf2>=${PORTVERSION}:graphics/rubygem-gdk_pixbuf2 \ rubygem-pango>=${PORTVERSION}:x11-toolkits/rubygem-pango USES= gem gnome USE_GNOME= gtk20 .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" .endif .include diff --git a/x11-toolkits/tix/Makefile b/x11-toolkits/tix/Makefile index 236788c1d526..2f1f5f125232 100644 --- a/x11-toolkits/tix/Makefile +++ b/x11-toolkits/tix/Makefile @@ -1,55 +1,55 @@ PORTNAME= tix PORTVERSION= 8.4.3 PORTREVISION= 1 CATEGORIES= x11-toolkits tk MASTER_SITES= SF DISTNAME= Tix${DISTVERSION}-src${DISTVERSIONSUFFIX} MAINTAINER= doconnor@gsoft.com.au COMMENT= Extension to the Tk toolkit WWW= http://tix.sourceforge.net/ USES= tk:tea USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/Tix${DISTVERSION} TIX_LIB= libTix${PORTVERSION}.so TIX_LIB_FILE= ${TIX_LIB}.0 +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + pre-configure: @(cd ${WRKSRC} && \ CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \ INSTALL="${INSTALL} -c -o ${BINOWN} -g ${BINGRP}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS}) post-configure: @${REINPLACE_CMD} -e "s|package require Tcl 8\.4|package require Tcl ${TCL_VER}|g" ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s,TCL_SRC_DIR .*,TCL_SRC_DIR=${TCL_INCLUDEDIR},g" \ -e "s,TK_SRC_DIR .*,TK_SRC_DIR=${TK_INCLUDEDIR},g" \ -e "s,\$$(TCL_BIN_DIR)/tclsh,${TCLSH},g" \ ${WRKSRC}/Makefile post-install: ${INSTALL_MAN} ${WRKSRC}/man/*.n ${STAGEDIR}${PREFIX}/man/mann/ ${RM} ${STAGEDIR}${PREFIX}/lib/Tix${PORTVERSION}/${TIX_LIB} ${CP} -p ${WRKSRC}/${TIX_LIB} ${WRKSRC}/${TIX_LIB_FILE} ${INSTALL_LIB} ${WRKSRC}/${TIX_LIB_FILE} ${STAGEDIR}${PREFIX}/lib ${LN} -fs ${PREFIX}/lib/${TIX_LIB_FILE} ${STAGEDIR}${PREFIX}/lib/${TIX_LIB} ${LN} -fs ${PREFIX}/lib/${TIX_LIB_FILE} ${STAGEDIR}${PREFIX}/lib/Tix${PORTVERSION}/${TIX_LIB} .for dir in generic unix ${MKDIR} ${STAGEDIR}${PREFIX}/include/tix/${dir} ${INSTALL_DATA} ${WRKSRC}/${dir}/*.h ${STAGEDIR}${PREFIX}/include/tix/${dir} .endfor ${LN} -sf ${PREFIX}/include/tix/generic/tix.h ${STAGEDIR}${PREFIX}/include/tix.h ${RMDIR} ${STAGEDIR}${PREFIX}/lib/Tix${PORTVERSION}/html -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CFLAGS+= -Wno-error=incompatible-function-pointer-types -.endif - .include diff --git a/x11-toolkits/tktable/Makefile b/x11-toolkits/tktable/Makefile index 36610f8dec8f..40b78fcbe74b 100644 --- a/x11-toolkits/tktable/Makefile +++ b/x11-toolkits/tktable/Makefile @@ -1,33 +1,33 @@ PORTNAME= tktable PORTVERSION= 2.10 PORTREVISION= 1 CATEGORIES= x11-toolkits tk MASTER_SITES= SF DISTNAME= ${PORTNAME:S/tk/Tk/}${PORTVERSION} MAINTAINER= portmaster@BSDforge.com COMMENT= Table/matrix widget extension to Tk WWW= http://tktable.sourceforge.net/ LICENSE= TclTk LICENSE_NAME= Tcl/Tk License LICENSE_FILE= ${WRKSRC}/license.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= tk:tea TCL_PKG= ${DISTNAME} USE_LDCONFIG= ${PREFIX}/lib/${DISTNAME} TEST_TARGET= test .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-patch: @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/' \ ${WRKSRC}/configure .include diff --git a/x11-toolkits/xmhtml/Makefile b/x11-toolkits/xmhtml/Makefile index 409035c88147..ea777b2305bd 100644 --- a/x11-toolkits/xmhtml/Makefile +++ b/x11-toolkits/xmhtml/Makefile @@ -1,49 +1,49 @@ PORTNAME= XmHTML PORTVERSION= 1.1.10 CATEGORIES= x11-toolkits www MASTER_SITES= SF/${PORTNAME:tl} MAINTAINER= bofh@FreeBSD.org COMMENT= Motif widget set for displaying HTML 3.2 documents WWW= https://sourceforge.net/projects/xmhtml/ LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libpng.so:graphics/png USES= gmake jpeg libtool:build motif pkgconfig tar:tgz xorg USE_LDCONFIG= yes USE_XORG= xft xmu xpm xt MAKE_ENV= LIBTOOL=${LIBTOOL} OPTIONS_DEFINE= DOCS EXAMPLES LIBTOOL= libtool .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif do-install: (cd ${WRKSRC}/lib && ${LIBTOOL} --mode=install ${INSTALL_DATA} \ libXmHTML.la ${STAGEDIR}${PREFIX}/lib) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libXmHTML.so @${MKDIR} ${STAGEDIR}${PREFIX}/include/XmHTML ${INSTALL_DATA} ${WRKSRC}/include/XmHTML/*.h \ ${STAGEDIR}${PREFIX}/include/XmHTML do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/html && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}) do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "book contrib examples" \ ${STAGEDIR}${EXAMPLESDIR} "! -name Makefile" .include diff --git a/x11-wm/compiz/Makefile b/x11-wm/compiz/Makefile index 2e2360f1a7cb..16da3445787a 100644 --- a/x11-wm/compiz/Makefile +++ b/x11-wm/compiz/Makefile @@ -1,88 +1,88 @@ PORTNAME= compiz PORTVERSION= 0.8.8 PORTREVISION= 15 CATEGORIES= x11-wm MASTER_SITES= https://BSDforge.com/projects/source/x11-wm/compiz/ MAINTAINER= portmaster@BSDforge.com COMMENT= Compiz Composite/Window Manager WWW= http://www.compiz.org/ LICENSE= GPLv2+ LGPL21+ MIT LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.GPL LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LGPL LICENSE_FILE_MIT= ${WRKSRC}/COPYING.MIT LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtop-2.0.so:devel/libgtop \ libpng.so:graphics/png \ libstartup-notification-1.so:x11/startup-notification RUN_DEPENDS= glxinfo:graphics/mesa-demos \ ${RUN_DEPENDS_${ARCH}} RUN_DEPENDS_amd64= nvidia-settings:x11/nvidia-settings RUN_DEPENDS_i386= nvidia-settings:x11/nvidia-settings USES= gettext-runtime gettext-tools gl gmake gnome libtool \ localbase pathfix tar:bzip2 xorg xorg-cat:app USE_GL= gl glu USE_GNOME= cairo intltool libxslt USE_LDCONFIG= yes USE_XORG= ice sm x11 xcomposite xdamage xext xfixes xinerama \ xorgproto xrandr xrender GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-kde4 \ --disable-kde \ --disable-gconf \ --disable-gnome \ --disable-gnome-keybindings \ --disable-metacity \ --disable-inotify INSTALL_TARGET= install-strip SUB_FILES= compiz-manager DESKTOP_ENTRIES= "Compiz Manager" \ "Wrapper script for starting compiz" \ "" \ "compiz-manager" \ "System;Core;" \ false OPTIONS_DEFINE= DBUS FUSE GTK2 SVG OPTIONS_DEFAULT=DBUS GTK2 SVG OPTIONS_SUB= yes DBUS_CONFIGURE_ENABLE= dbus DBUS_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus DBUS_RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-1.pc:devel/dbus FUSE_CONFIGURE_ENABLE= fuse FUSE_USES= fuse GTK2_CONFIGURE_ENABLE= gtk GTK2_USE= GNOME=glib20 GTK2_LIB_DEPENDS= libwnck-1.so:x11-toolkits/libwnck SVG_CONFIGURE_ENABLE= librsvg SVG_USE= GNOME=librsvg2 .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .if ${PORT_OPTIONS:MDBUS} && ${PORT_OPTIONS:MGTK2} CONFIGURE_ARGS+= --enable-dbus-glib BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib .else CONFIGURE_ARGS+= --disable-dbus-glib .endif post-install: ${INSTALL_SCRIPT} ${WRKDIR}/compiz-manager ${STAGEDIR}${PREFIX}/bin/compiz-manager .include diff --git a/x11/budgie-desktop/Makefile b/x11/budgie-desktop/Makefile index 411ea080d915..c42ba0e700ee 100644 --- a/x11/budgie-desktop/Makefile +++ b/x11/budgie-desktop/Makefile @@ -1,89 +1,89 @@ PORTNAME= budgie-desktop DISTVERSION= 10.7.2 DISTVERSIONPREFIX= v CATEGORIES= x11 budgie MASTER_SITES= BUDGIE MAINTAINER= duchateau.olivier@gmail.com COMMENT= Modern and familiar desktop environment WWW= https://github.com/BuddiesOfBudgie/budgie-desktop LICENSE_COMB= multi LICENSE= GPLv2 LGPL21 BUILD_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ sassc:textproc/sassc \ zenity>0:x11/zenity LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit \ libpeas-1.0.so:devel/libpeas \ libuuid.so:misc/e2fsprogs-libuuid \ libnotify.so:devel/libnotify \ libaccountsservice.so:sysutils/accountsservice \ libpulse.so:audio/pulseaudio \ libasound.so:audio/alsa-lib \ libmutter-10.so:x11-wm/mutter \ libgraphene-1.0.so:graphics/graphene \ libupower-glib.so:sysutils/upower \ libibus-1.0.so:textproc/ibus \ libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libgee-0.8.so:devel/libgee RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ gnome-session>0:x11/gnome-session \ consolekit2>0:sysutils/consolekit2 \ zenity>0:x11/zenity \ xdotool>0:x11/xdotool USES= budgie gettext gnome gstreamer meson pkgconfig tar:xz \ vala:build xorg USE_BUDGIE= screensaver:build USE_GNOME= cairo gdkpixbuf2 glib20 gnomedesktop3 gnomemenus3 \ gtk30 intltool introspection libwnck3 USE_GSTREAMER= libgstreamer USE_XORG= x11 xcomposite MESON_ARGS= -Dwith-gtk-doc=false \ -Dwith-bluetooth=false \ -Dwith-hibernate=false \ -Dwith-libuuid-time-safe=false # If zenity >= 3.90 → build against Gtk4 (new API) MESON_ARGS+= -Duse-old-zenity=true GLIB_SCHEMAS= 20_buddiesofbudgie.budgie-desktop.notifications.gschema.override \ 20_solus-project.budgie.wm.gschema.override \ com.solus-project.budgie-menu.gschema.xml \ com.solus-project.budgie-panel.gschema.xml \ com.solus-project.budgie.raven.gschema.xml \ com.solus-project.budgie.wm.gschema.xml \ com.solus-project.clock.gschema.xml \ com.solus-project.icon-tasklist.gschema.xml \ com.solus-project.places-indicator.gschema.xml \ com.solus-project.spacer.gschema.xml \ com.solus-project.status.gschema.xml \ com.solus-project.tray.gschema.xml \ com.solus-project.workspaces.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.Calendar.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.SoundOutput.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.UsageMonitor.gschema.xml \ org.buddiesofbudgie.budgie-desktop.screenshot.gschema.xml \ 25_org.buddiesofbudgie-default-settings.gschema.override .include -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: ${CP} ${FILESDIR}/25_org.buddiesofbudgie-default-settings.gschema.override \ ${WRKSRC}/data post-patch: ${REINPLACE_CMD} -i "" -e 's|%%PREFIX%%|${LOCALBASE}|g' \ ${WRKSRC}/src/wm/20_solus-project.budgie.wm.gschema.override ${REINPLACE_CMD} -i "" -e 's|start-here|view-grid|' \ ${WRKSRC}/src/panel/applets/budgie-menu/com.solus-project.budgie-menu.gschema.xml .include diff --git a/x11/xdtm/Makefile b/x11/xdtm/Makefile index 2bfb3e801af0..7892b44fae30 100644 --- a/x11/xdtm/Makefile +++ b/x11/xdtm/Makefile @@ -1,30 +1,29 @@ PORTNAME= xdtm PORTVERSION= 2.5.8 PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= XCONTRIB/applications MAINTAINER= bofh@FreeBSD.org COMMENT= Graphical shell for the X Window System LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/Copyright USES= imake xorg USE_XORG= xaw MAKE_JOBS_UNSAFE= yes WRKSRC= ${WRKDIR}/${PORTNAME} .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion -.endif - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +.endif .include