Index: head/Mk/Scripts/qa.sh =================================================================== --- head/Mk/Scripts/qa.sh (revision 450350) +++ head/Mk/Scripts/qa.sh (revision 450351) @@ -1,879 +1,876 @@ #!/bin/sh # MAINTAINER: portmgr@FreeBSD.org # $FreeBSD$ if [ -z "${STAGEDIR}" -o -z "${PREFIX}" -o -z "${LOCALBASE}" ]; then echo "STAGEDIR, PREFIX, LOCALBASE required in environment." >&2 exit 1 fi [ -n "${DEBUG_MK_SCRIPTS}" -o -n "${DEBUG_MK_SCRIPTS_QA}" ] && set -x LF=$(printf '\nX') LF=${LF%X} notice() { echo "Notice: $@" >&2 } warn() { echo "Warning: $@" >&2 } err() { echo "Error: $@" >&2 } list_stagedir_elfs() { cd ${STAGEDIR} && find -s . -type f \( -perm +111 -o -name '*.so*' \) "$@" } shebangonefile() { local f interp interparg badinterp rc f="$@" rc=0 # whitelist some files case "${f}" in *.pm|*.pod|*.txt|${STAGEDIR}${LINUXBASE}/*) return 0 ;; esac interp=$(sed -n -e '1s/^#![[:space:]]*\([^[:space:]]*\).*/\1/p;2q' "${f}") badinterp="" case "${interp}" in "") ;; /bin/rc) # whitelist some interpreters ;; ${LOCALBASE}/bin/python|${PREFIX}/bin/python) badinterp="${interp}" ;; ${LINUXBASE}/*) ;; ${LOCALBASE}/bin/perl5.* | ${PREFIX}/bin/perl5.*) # lang/perl5* are allowed to have these shebangs. if ! expr ${PKGORIGIN} : '^lang/perl5.*' > /dev/null; then err "'${interp}' is an invalid shebang for '${f#${STAGEDIR}${PREFIX}/}' you must use ${LOCALBASE}/bin/perl." err "Either pass \${PERL} to the build or use USES=shebangfix" rc=1 fi ;; ${LOCALBASE}/*) ;; ${PREFIX}/*) ;; /bin/csh) ;; /bin/sh) ;; /bin/tcsh) ;; /usr/bin/awk) ;; /usr/bin/env) interparg=$(sed -n -e '1s/^#![[:space:]]*[^[:space:]]*[[:space:]]*\([^[:space:]]*\).*/\1/p;2q' "${f}") case "${interparg}" in python) badinterp="${interp} ${interparg}" ;; esac ;; /usr/bin/nawk) ;; /usr/bin/sed) ;; /usr/sbin/dtrace) ;; *) badinterp="${interp}" ;; esac if [ -n "${badinterp}" ]; then err "'${badinterp}' is an invalid shebang you need USES=shebangfix for '${f#${STAGEDIR}${PREFIX}/}'" rc=1 fi return ${rc} } shebang() { local f l link rc rc=0 while read f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue shebangonefile "${f}" || rc=1 # Use heredoc to avoid losing rc from find|while subshell done <<-EOF $(find ${STAGEDIR}${PREFIX} \ -type f -perm +111 2>/dev/null) EOF # Split stat(1) result into 2 lines and read each line separately to # retain spaces in filenames. while read l; do # No results presents a blank line [ -z "${l}" ] && continue read link case "${link}" in /*) f="${STAGEDIR}${link}" ;; *) f="${l%/*}/${link}" ;; esac if [ -f "${f}" ]; then shebangonefile "${f}" || rc=1 fi # Use heredoc to avoid losing rc from find|while subshell done <<-EOF $(find ${STAGEDIR}${PREFIX} \ -type l -exec stat -f "%N${LF}%Y" {} + 2>/dev/null) EOF return ${rc} } baselibs() { local rc local found_openssl local file [ "${PKGBASE}" = "pkg" -o "${PKGBASE}" = "pkg-devel" ] && return while read f; do case ${f} in File:\ .*) file=${f#File: .} ;; *NEEDED*\[libarchive.so.[56]]) err "Bad linking on ${f##* } for ${file} please add USES=libarchive" rc=1 ;; *NEEDED*\[libedit.so.7]) err "Bad linking on ${f##* } for ${file} please add USES=libedit" rc=1 ;; *NEEDED*\[libcrypto.so.*]|*NEEDED*\[libssl.so.*]) found_openssl=1 ;; esac done <<-EOF $(list_stagedir_elfs -exec readelf -d {} + 2>/dev/null) EOF if [ -z "${USESSSL}" -a -n "${found_openssl}" ]; then warn "you need USES=ssl" elif [ -n "${USESSSL}" -a -z "${found_openssl}" ]; then warn "you may not need USES=ssl" fi return ${rc} } symlinks() { local rc rc=0 # Split stat(1) result into 2 lines and read each line separately to # retain spaces in filenames. while read l; do # No results presents a blank line from heredoc. [ -z "${l}" ] && continue read link case "${link}" in ${STAGEDIR}*) err "Bad symlink '${l#${STAGEDIR}${PREFIX}/}' pointing inside the stage directory" rc=1 ;; /*) # Only warn for symlinks within the package. if [ -e "${STAGEDIR}${link}" ]; then warn "Bad symlink '${l#${STAGEDIR}}' pointing to an absolute pathname '${link}'" fi # Also warn if the symlink exists nowhere. if [ ! -e "${STAGEDIR}${link}" -a ! -e "${link}" ]; then warn "Symlink '${l#${STAGEDIR}}' pointing to '${link}' which does not exist in the stage directory or in localbase" fi ;; esac # Use heredoc to avoid losing rc from find|while subshell. done <<-EOF $(find ${STAGEDIR} -type l -exec stat -f "%N${LF}%Y" {} +) EOF return ${rc} } paths() { local rc rc=0 while read f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue # Ignore false-positive/harmless files case "${f}" in */lib/ruby/gems/*) continue ;; */share/texmf-var/web2c/*/*.fmt) continue ;; */share/texmf-var/web2c/*/*.log) continue ;; esac err "'${f#${STAGEDIR}${PREFIX}/}' is referring to ${STAGEDIR}" rc=1 # Use heredoc to avoid losing rc from find|while subshell done <<-EOF $(find ${TMPPLIST} ${STAGEDIR} -type f -exec grep -l "${STAGEDIR}" {} +) EOF return ${rc} } # For now do not raise an error, just warnings stripped() { [ -x /usr/bin/file ] || return # this is fatal [ -n "${STRIP}" ] || return 0 # Split file and result into 2 lines and read separately to ensure # files with spaces are kept intact. # Using readelf -h ... /ELF Header:/ will match on all ELF files. find ${STAGEDIR} -type f ! -name '*.a' ! -name '*.o' \ -exec readelf -S {} + 2>/dev/null | awk '\ /File:/ {sub(/File: /, "", $0); file=$0} \ /SYMTAB/ {print file}' | while read f; do warn "'${f#${STAGEDIR}${PREFIX}/}' is not stripped consider trying INSTALL_TARGET=install-strip or using \${STRIP_CMD}" done } desktopfileutils() { if [ -z "${USESDESKTOPFILEUTILS}" ]; then grep -q MimeType= ${STAGEDIR}${PREFIX}/share/applications/*.desktop 2>/dev/null && warn "you need USES=desktop-file-utils" else grep -q MimeType= ${STAGEDIR}${PREFIX}/share/applications/*.desktop 2>/dev/null || warn "you may not need USES=desktop-file-utils" fi return 0 } sharedmimeinfo() { local f found found=0 for f in ${STAGEDIR}${PREFIX}/share/mime/packages/*.xml; do [ "${f}" = "${STAGEDIR}${PREFIX}/share/mime/packages/*.xml" ] && break #no matches [ "${f}" = "${STAGEDIR}${PREFIX}/share/mime/packages/freedesktop.org.xml" ] && continue found=1 break done if [ -z "${USESSHAREDMIMEINFO}" -a ${found} -eq 1 ]; then warn "you need USES=shared-mime-info" elif [ -n "${USESSHAREDMIMEINFO}" -a ${found} -eq 0 ]; then warn "you may not need USES=shared-mime-info" fi return 0 } suidfiles() { local filelist filelist=`find ${STAGEDIR} -type f \ \( -perm -u+x -or -perm -g+x -or -perm -o+x \) \ \( -perm -u+s -or -perm -g+s \)` if [ -n "${filelist}" ]; then warn "setuid files in the stage directory (are these necessary?):" ls -liTd ${filelist} fi return 0 } libtool() { if [ -z "${USESLIBTOOL}" ]; then find ${STAGEDIR} -name '*.la' | while read f; do grep -q 'libtool library' "${f}" && err ".la libraries found, port needs USES=libtool" && return 1 || true done # The return above continues here. fi } libperl() { local has_some_libperl_so files found if [ -n "${SITE_ARCH_REL}" -a -d "${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}" ]; then has_some_libperl_so=0 files=0 while read f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue files=$((files+1)) found=`readelf -d ${f} | awk "BEGIN {libperl=1; rpath=10; runpath=100} /NEEDED.*${LIBPERL}/ { libperl = 0 } /RPATH.*perl.*CORE/ { rpath = 0 } /RUNPATH.*perl.*CORE/ { runpath = 0 } END {print libperl+rpath+runpath} "` case "${found}" in *1) warn "${f} is not linked with ${LIBPERL}, not respecting lddlflags?" ;; *0) has_some_libperl_so=1 # Older Perl did not USE_LDCONFIG. if [ ! -f ${LOCALBASE}/${LDCONFIG_DIR}/perl5 ]; then case "${found}" in *1?) warn "${f} does not have a rpath to ${LIBPERL}, not respecting lddlflags?" ;; esac case "${found}" in 1??) warn "${f} does not have a runpath to ${LIBPERL}, not respecting lddlflags?" ;; esac fi ;; esac # Use heredoc to avoid losing rc from find|while subshell done <<-EOT $(find ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} -name '*.so') EOT if [ ${files} -gt 0 -a ${has_some_libperl_so} -eq 0 ]; then err "None of the .so in ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} are linked with ${LIBPERL}, see above for the full list." return 1 else return 0 fi fi } prefixvar() { if [ ${PREFIX} != ${LINUXBASE} -a -d ${STAGEDIR}${PREFIX}/var ]; then warn "port uses ${PREFIX}/var instead of /var" fi } terminfo() { local f found for f in ${STAGEDIR}${PREFIX}/share/misc/*.terminfo; do [ "${f}" = "${STAGEDIR}${PREFIX}/share/misc/*.terminfo" ] && break #no matches found=1 break done for f in ${STAGEDIR}${PREFIX}/share/misc/terminfo.db*; do [ "${f}" = "${STAGEDIR}${PREFIX}/share/misc/terminfo.db*" ] && break #no matches found=1 break done if [ -z "${USESTERMINFO}" -a -n "${found}" ]; then warn "you need USES=terminfo" elif [ -n "${USESTERMINFO}" -a -z "${found}" ]; then warn "you may not need USES=terminfo" fi return 0 } listcontains() { local str lst elt str=$1 lst=$2 for elt in ${lst} ; do if [ ${elt} = ${str} ]; then return 0 fi done return 1 } proxydeps_suggest_uses() { local pkg=$1 local lib_file=$2 # miscellaneous USE clauses if [ ${pkg} = 'devel/gettext-runtime' ]; then warn "you need USES+=gettext-runtime" elif [ ${pkg} = 'databases/sqlite3' ]; then warn "you need USES+=sqlite" elif [ ${pkg} = 'databases/sqlite2' ]; then warn "you need USES+=sqlite:2" # Gnome -> same as port # grep LIB_DEPENDS= Mk/Uses/gnome.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|[ "\1" = "\3" ] \&\& echo "\\${pkg} = \\\"\2/\3\\\" -o \\\\"|'|sort|sh elif [ ${pkg} = "accessibility/atk" -o \ ${pkg} = "accessibility/atkmm" -o \ ${pkg} = "graphics/cairo" -o \ ${pkg} = "graphics/cairomm" -o \ ${pkg} = "devel/dconf" -o \ ${pkg} = "audio/esound" -o \ ${pkg} = "devel/gconf2" -o \ ${pkg} = "devel/gconfmm26" -o \ ${pkg} = "devel/glib12" -o \ ${pkg} = "devel/glib20" -o \ ${pkg} = "devel/glibmm" -o \ ${pkg} = "audio/gsound" -o \ ${pkg} = "x11-toolkits/gtk12" -o \ ${pkg} = "x11-toolkits/gtk20" -o \ ${pkg} = "x11-toolkits/gtk30" -o \ ${pkg} = "www/gtkhtml3" -o \ ${pkg} = "www/gtkhtml4" -o \ ${pkg} = "x11-toolkits/gtkmm20" -o \ ${pkg} = "x11-toolkits/gtkmm24" -o \ ${pkg} = "x11-toolkits/gtkmm30" -o \ ${pkg} = "x11-toolkits/gtksourceview" -o \ ${pkg} = "x11-toolkits/gtksourceview2" -o \ ${pkg} = "x11-toolkits/gtksourceview3" -o \ ${pkg} = "x11-toolkits/gtksourceviewmm3" -o \ ${pkg} = "devel/libbonobo" -o \ ${pkg} = "x11-toolkits/libbonoboui" -o \ ${pkg} = "databases/libgda5" -o \ ${pkg} = "databases/libgda5-ui" -o \ ${pkg} = "databases/libgdamm5" -o \ ${pkg} = "devel/libglade2" -o \ ${pkg} = "x11/libgnome" -o \ ${pkg} = "graphics/libgnomecanvas" -o \ ${pkg} = "x11/libgnomekbd" -o \ ${pkg} = "print/libgnomeprint" -o \ ${pkg} = "x11-toolkits/libgnomeprintui" -o \ ${pkg} = "x11-toolkits/libgnomeui" -o \ ${pkg} = "devel/libgsf" -o \ ${pkg} = "www/libgtkhtml" -o \ ${pkg} = "x11-toolkits/libgtksourceviewmm" -o \ ${pkg} = "graphics/librsvg2" -o \ ${pkg} = "devel/libsigc++12" -o \ ${pkg} = "devel/libsigc++20" -o \ ${pkg} = "x11-toolkits/libwnck" -o \ ${pkg} = "x11-toolkits/libwnck3" -o \ ${pkg} = "textproc/libxml++26" -o \ ${pkg} = "textproc/libxml2" -o \ ${pkg} = "textproc/libxslt" -o \ ${pkg} = "x11-wm/metacity" -o \ ${pkg} = "x11-toolkits/pango" -o \ ${pkg} = "x11-toolkits/pangomm" -o \ ${pkg} = "x11-toolkits/pangox-compat" -o \ ${pkg} = "x11-toolkits/vte" -o \ ${pkg} = "x11-toolkits/vte3" ]; then warn "you need USE_GNOME+=${pkg#*/}" # Gnome different as port # grep LIB_DEPENDS= Mk/Uses/gnome.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|[ "\1" = "\3" ] \|\| echo "elif [ \\${pkg} = \\\"\2/\3\\\" ]; then; warn \\\"you need USE_GNOME+=\1\\\""|'|sort|sh elif [ ${pkg} = "databases/evolution-data-server" ]; then warn "you need USE_GNOME+=evolutiondataserver3" elif [ ${pkg} = "graphics/gdk-pixbuf" ]; then warn "you need USE_GNOME+=gdkpixbuf" elif [ ${pkg} = "graphics/gdk-pixbuf2" ]; then warn "you need USE_GNOME+=gdkpixbuf2" elif [ ${pkg} = "x11/gnome-desktop" ]; then warn "you need USE_GNOME+=gnomedesktop3" elif [ ${pkg} = "devel/gnome-vfs" ]; then warn "you need USE_GNOME+=gnomevfs2" elif [ ${pkg} = "devel/gobject-introspection" ]; then warn "you need USE_GNOME+=introspection" elif [ ${pkg} = "graphics/libart_lgpl" ]; then warn "you need USE_GNOME+=libartlgpl2" elif [ ${pkg} = "devel/libIDL" ]; then warn "you need USE_GNOME+=libidl" elif [ ${pkg} = "x11-fm/nautilus" ]; then warn "you need USE_GNOME+=nautilus3" elif [ ${pkg} = "devel/ORBit2" ]; then warn "you need USE_GNOME+=orbit2" # mate # grep LIB_DEPENDS= Mk/Uses/mate.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|elif [ ${pkg} = "\2/\3" ]; then warn "you need USE_MATE+=\1"|' elif [ ${pkg} = "x11-fm/caja" ]; then warn "you need USE_MATE+=caja" elif [ ${pkg} = "sysutils/mate-control-center" ]; then warn "you need USE_MATE+=controlcenter" elif [ ${pkg} = "x11/mate-desktop" ]; then warn "you need USE_MATE+=desktop" elif [ ${pkg} = "x11/libmatekbd" ]; then warn "you need USE_MATE+=libmatekbd" elif [ ${pkg} = "net/libmateweather" ]; then warn "you need USE_MATE+=libmateweather" elif [ ${pkg} = "x11-wm/marco" ]; then warn "you need USE_MATE+=marco" elif [ ${pkg} = "x11/mate-menus" ]; then warn "you need USE_MATE+=menus" elif [ ${pkg} = "x11/mate-panel" ]; then warn "you need USE_MATE+=panel" elif [ ${pkg} = "sysutils/mate-polkit" ]; then warn "you need USE_MATE+=polkit" # KDE # grep -B1 _LIB= Mk/Uses/kde.mk | grep _PORT=|sed -e 's/^\(.*\)_PORT=[[:space:]]*\([^[:space:]]*\).*/elif [ ${pkg} = "\2" ]; then warn "you need to use USE_KDE+=\1"/' elif [ ${pkg} = "sysutils/baloo" ]; then warn "you need to use USE_KDE+=baloo" elif [ ${pkg} = "sysutils/baloo-widgets" ]; then warn "you need to use USE_KDE+=baloo-widgets" elif [ ${pkg} = "x11/kactivities" ]; then warn "you need to use USE_KDE+=kactivities" elif [ ${pkg} = "editors/kate" ]; then warn "you need to use USE_KDE+=kate" elif [ ${pkg} = "x11/kdelibs4" ]; then warn "you need to use USE_KDE+=kdelibs" elif [ ${pkg} = "sysutils/kfilemetadata" ]; then warn "you need to use USE_KDE+=kfilemetadata" elif [ ${pkg} = "audio/libkcddb" ]; then warn "you need to use USE_KDE+=libkcddb" elif [ ${pkg} = "audio/libkcompactdisc" ]; then warn "you need to use USE_KDE+=libkcompactdisc" elif [ ${pkg} = "graphics/libkdcraw-kde4" ]; then warn "you need to use USE_KDE+=libkdcraw" elif [ ${pkg} = "misc/libkdeedu" ]; then warn "you need to use USE_KDE+=libkdeedu" elif [ ${pkg} = "games/libkdegames" ]; then warn "you need to use USE_KDE+=libkdegames" elif [ ${pkg} = "graphics/libkexiv2-kde4" ]; then warn "you need to use USE_KDE+=libkexiv2" elif [ ${pkg} = "graphics/libkipi-kde4" ]; then warn "you need to use USE_KDE+=libkipi" elif [ ${pkg} = "x11/libkonq" ]; then warn "you need to use USE_KDE+=libkonq" elif [ ${pkg} = "graphics/libksane" ]; then warn "you need to use USE_KDE+=libksane" elif [ ${pkg} = "astro/marble" ]; then warn "you need to use USE_KDE+=marble" elif [ ${pkg} = "sysutils/nepomuk-core" ]; then warn "you need to use USE_KDE+=nepomuk-core" elif [ ${pkg} = "sysutils/nepomuk-widgets" ]; then warn "you need to use USE_KDE+=nepomuk-widgets" elif [ ${pkg} = "graphics/okular" ]; then warn "you need to use USE_KDE+=okular" elif [ ${pkg} = "deskutils/kdepimlibs4" ]; then warn "you need to use USE_KDE+=pimlibs" elif [ ${pkg} = "devel/ruby-qtruby" ]; then warn "you need to use USE_KDE+=qtruby" elif [ ${pkg} = "devel/smokegen" ]; then warn "you need to use USE_KDE+=smokegen" elif [ ${pkg} = "devel/smokekde" ]; then warn "you need to use USE_KDE+=smokekde" elif [ ${pkg} = "devel/smokeqt" ]; then warn "you need to use USE_KDE+=smokeqt" elif [ ${pkg} = "x11/kde4-workspace" ]; then warn "you need to use USE_KDE+=workspace" elif [ ${pkg} = "databases/akonadi" ]; then warn "you need to use USE_KDE+=akonadi" elif [ ${pkg} = "x11-toolkits/attica" ]; then warn "you need to use USE_KDE+=attica" elif [ ${pkg} = "x11/qimageblitz" ]; then warn "you need to use USE_KDE+=qimageblitz" elif [ ${pkg} = "textproc/soprano" ]; then warn "you need to use USE_KDE+=soprano" elif [ ${pkg} = "deskutils/libstreamanalyzer" ]; then warn "you need to use USE_KDE+=strigi" # KDE Frameworks elif [ ${pkg} = "devel/kf5-extra-cmake-modules" ]; then warn "you need to use USE_KDE+=ecm" elif [ ${pkg} = "devel/kf5-kcmutils" ]; then warn "you need to use USE_KDE+=kcmutils" elif [ ${pkg} = "devel/kf5-kdeclarative" ]; then warn "you need to use USE_KDE+=kdeclarative" elif [ ${pkg} = "devel/kf5-kfilemetadata" ]; then warn "you need to use USE_KDE+=filemetadata5" elif [ ${pkg} = "devel/kf5-kio" ]; then warn "you need to use USE_KDE+=kio" elif [ ${pkg} = "devel/kf5-solid" ]; then warn "you need to use USE_KDE+=solid" elif [ ${pkg} = "devel/kf5-threadweaver" ]; then warn "you need to use USE_KDE+=threadweaver" elif [ ${pkg} = "devel/kio-extras-kf5" ]; then warn "you need to use USE_KDE+=kio-extras" elif [ ${pkg} = "graphics/kf5-kimageformats" ]; then warn "you need to use USE_KDE+=kimageformats" elif [ ${pkg} = "lang/kf5-kross" ]; then warn "you need to use USE_KDE+=kross" elif [ ${pkg} = "security/kf5-kdesu" ]; then warn "you need to use USE_KDE+=kdesu" elif [ ${pkg} = "sysutils/kf5-baloo" ]; then warn "you need to use USE_KDE+=baloo5" elif [ ${pkg} = "sysutils/kf5-bluez-qt" ]; then warn "you need to use USE_KDE+=bluez-qt" elif [ ${pkg} = "textproc/kf5-sonnet" ]; then warn "you need to use USE_KDE+=sonnet" elif [ ${pkg} = "www/kf5-kdewebkit" ]; then warn "you need to use USE_KDE+=kdewebkit" elif [ ${pkg} = "www/kf5-khtml" ]; then warn "you need to use USE_KDE+=khtml" elif [ ${pkg} = "x11-themes/kf5-breeze-icons" ]; then warn "you need to use USE_KDE+=breeze-icons" elif [ ${pkg} = "x11-themes/kf5-oxygen-icons5" ]; then warn "you need to use USE_KDE+=oxygen-icons5" elif [ ${pkg} = "x11-toolkits/kf5-attica" ]; then warn "you need to use USE_KDE+=attica5" elif [ ${pkg} = "x11/kf5-frameworkintegration" ]; then warn "you need to use USE_KDE+=frameworkintegration" elif [ ${pkg} = "x11/kf5-kded" ]; then warn "you need to use USE_KDE+=kded" elif [ ${pkg} = "x11/kf5-kdelibs4support" ]; then warn "you need to use USE_KDE+=kdelibs4support" elif [ ${pkg} = "x11/kf5-plasma-framework" ]; then warn "you need to use USE_KDE+=plasma-framework" elif expr ${pkg} : '.*/kf5-.*' > /dev/null; then warn "you need USE_KDE+=$(echo ${pkg} | sed -E 's|.*/kf5-k||')" # GStreamer 0.10 elif [ ${pkg} = "multimedia/gstreamer" ]; then warn "you need to use USE_GSTREAMER+=yes" elif [ ${pkg} = "multimedia/gstreamer-plugins" ]; then warn "you need to use USE_GSTREAMER+=yes" elif [ ${pkg} = "multimedia/gstreamer-plugins-bad" ]; then warn "you need to use USE_GSTREAMER+=bad" # GStreamer 1 elif [ ${pkg} = "multimedia/gstreamer1" ]; then warn "you need to use USE_GSTREAMER1+=yes" elif [ ${pkg} = "multimedia/gstreamer1-plugins" ]; then warn "you need to use USE_GSTREAMER1+=yes" elif [ ${pkg} = "multimedia/gstreamer1-plugins-bad" ]; then warn "you need to use USE_GSTREAMER1+=bad" # sdl-related elif [ ${pkg} = 'devel/sdl12' ]; then warn "you need USE_SDL+=sdl" elif echo ${pkg} | grep -E '/sdl_(console|gfx|image|mixer|mm|net|pango|sound|ttf)$' > /dev/null; then warn "you need USE_SDL+=$(echo ${pkg} | sed -E 's|.*/sdl_||')" elif [ ${pkg} = 'devel/sdl20' ]; then warn "you need USE_SDL+=sdl2" elif echo ${pkg} | grep -E '/sdl2_(gfx|image|mixer|net|ttf)$' > /dev/null; then warn "you need USE_SDL+=$(echo ${pkg} | sed -E 's|.*/sdl2_||')2" # gl-related elif expr ${lib_file} : "${LOCALBASE}/lib/libGL.so.*$" > /dev/null; then warn "you need USE_GL+=gl" elif expr ${lib_file} : "${LOCALBASE}/lib/libgbm.so.*$" > /dev/null; then warn "you need USE_GL+=gbm" elif expr ${lib_file} : "${LOCALBASE}/lib/libGLESv2.so.*$" > /dev/null; then warn "you need USE_GL+=glesv2" elif expr ${lib_file} : "${LOCALBASE}/lib/libEGL.so.*$" > /dev/null; then warn "you need USE_GL+=egl" elif [ ${pkg} = 'graphics/glew' ]; then warn "you need USE_GL+=glew" elif [ ${pkg} = 'graphics/libGLU' ]; then warn "you need USE_GL+=glu" elif [ ${pkg} = 'graphics/libGLw' ]; then warn "you need USE_GL+=glw" elif [ ${pkg} = 'graphics/freeglut' ]; then warn "you need USE_GL+=glut" # Xorg-libraries: this should be by XORG_MODULES @ bsd.xorg.mk elif echo ${pkg} | grep -E '/lib(X11|Xau|Xdmcp|Xext|SM|ICE|Xfixes|Xft|Xdamage|Xcomposite|Xcursor|Xinerama|Xmu|Xmuu|Xpm|Xt|Xtst|Xi|Xrandr|Xrender|Xres|XScrnSaver|Xv|Xxf86vm|Xxf86dga|Xxf86misc|xcb)$' > /dev/null; then warn "you need USE_XORG+=$(echo ${pkg} | sed -E 's|.*/lib||' | tr '[:upper:]' '[:lower:]')" elif [ ${pkg} = 'x11/pixman' ]; then warn "you need USE_XORG+=pixman" # Qt4 elif expr ${pkg} : '.*/qt4-.*' > /dev/null; then warn "you need USE_QT4+=$(echo ${pkg} | sed -E 's|.*/qt4-||')" elif expr ${pkg} : '.*/.*-qt4' > /dev/null; then warn "you need USE_QT4+=$(echo ${pkg} | sed -E 's|.*/(.*)-qt4|\1|')" # Qt5 elif expr ${pkg} : '.*/qt5-.*' > /dev/null; then warn "you need USE_QT5+=$(echo ${pkg} | sed -E 's|.*/qt5-||')" elif expr ${pkg} : '.*/.*-qt5' > /dev/null; then warn "you need USE_QT5+=$(echo ${pkg} | sed -E 's|.*/(.*)-qt5|\1|')" # MySQL elif expr ${lib_file} : "${LOCALBASE}/lib/mysql/[^/]*$" > /dev/null; then warn "you need USES+=mysql" # postgresql elif expr ${pkg} : "^databases/postgresql.*-client" > /dev/null; then warn "you need USES+=pgsql" # bdb elif expr ${pkg} : "^databases/db[456]" > /dev/null; then warn "you need USES+=bdb" - # execinfo - elif [ ${pkg} = "devel/libexecinfo" ]; then - warn "you need USES+=execinfo" # fam/gamin elif [ ${pkg} = "devel/fam" -o ${pkg} = "devel/gamin" ]; then warn "you need USES+=fam" # firebird elif [ ${pkg} = "databases/firebird25-client" ]; then warn "you need USES+=firebird" # fuse elif [ ${pkg} = "sysutils/fusefs-libs" ]; then warn "you need USES+=fuse" # gnustep elif [ ${pkg} = "lang/gnustep-base" ]; then warn "you need USES+=gnustep and USE_GNUSTEP+=base" elif [ ${pkg} = "x11-toolkits/gnustep-gui" ]; then warn "you need USES+=gnustep and USE_GNUSTEP+=gui" # iconv elif [ ${pkg} = "converters/libiconv" ]; then warn "you need USES+=iconv, USES+=iconv:wchar_t, or USES+=iconv:translit depending on needs" # jpeg elif [ ${pkg} = "graphics/jpeg" -o ${pkg} = "graphics/jpeg-turbo" ]; then warn "you need USES+=jpeg" # libarchive elif [ ${pkg} = "archivers/libarchive" ]; then warn "you need USES+=libarchive" elif [ ${pkg} = "devel/libedit" ]; then warn "you need USES+=libedit" # lua elif expr ${pkg} : "^lang/lua" > /dev/null; then warn "you need USES+=lua" # motif elif [ ${pkg} = "x11-toolkits/lesstif" -o ${pkg} = "x11-toolkits/open-motif" ]; then warn "you need USES+=motif" # ncurses elif [ ${pkg} = "devel/ncurses" ]; then warn "you need USES+=ncurses" # objc elif [ ${pkg} = "lang/libobjc2" ]; then warn "you need USES+=objc" # openal elif [ ${pkg} = "audio/openal" -o ${pkg} = "audio/openal-soft" -o ${pkg} = "audio/freealut" ]; then warn "you need USES+=openal" # pure elif [ ${pkg} = "lang/pure" ]; then warn "you need USES+=pure" # readline elif [ ${pkg} = "devel/readline" ]; then warn "you need USES+=readline" # ssl elif [ ${pkg} = "security/openssl" -o ${pkg} = "security/openssl-devel" \ -o ${pkg} = "security/libressl" -o ${pkg} = "security/libressl-devel" \ ]; then warn "you need USES=ssl" # Tcl elif expr ${pkg} : "^lang/tcl" > /dev/null; then warn "you need USES+=tcl" # Tk elif expr ${pkg} : "^x11-toolkits/tk" > /dev/null; then warn "you need USES+=tk" # Xfce # grep LIB_DEPENDS= Mk/Uses/xfce.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|elif [ ${pkg} = "\2/\3" ]; then warn "you need USE_XFCE+=\1"|' elif [ ${pkg} = "sysutils/garcon" ]; then warn "you need USE_XFCE+=garcon" elif [ ${pkg} = "x11/libexo" ]; then warn "you need USE_XFCE+=libexo" elif [ ${pkg} = "x11-toolkits/libxfce4gui" ]; then warn "you need USE_XFCE+=libgui" elif [ ${pkg} = "x11/libxfce4menu" ]; then warn "you need USE_XFCE+=libmenu" elif [ ${pkg} = "x11/libxfce4util" ]; then warn "you need USE_XFCE+=libutil" elif [ ${pkg} = "x11-wm/xfce4-panel" ]; then warn "you need USE_XFCE+=panel" elif [ ${pkg} = "x11-fm/thunar" ]; then warn "you need USE_XFCE+=thunar" elif [ ${pkg} = "x11/xfce4-conf" ]; then warn "you need USE_XFCE+=xfconf" # default elif expr ${lib_file} : "${LOCALBASE}/lib/[^/]*$" > /dev/null; then lib_file=${lib_file#${LOCALBASE}/lib/} lib_file=${lib_file%.so*}.so warn "you need LIB_DEPENDS+=${lib_file}:${pkg}" fi } proxydeps() { local file dep_file dep_file_pkg already rc rc=0 # Check all dynamicaly linked ELF files # Some .so are not executable, but we want to check them too. while read file; do # No results presents a blank line from heredoc. [ -z "${file}" ] && continue while read dep_file; do # No results presents a blank line from heredoc. [ -z "${dep_file}" ] && continue # Skip files we already checked. if listcontains ${dep_file} "${already}"; then continue fi if $(pkg which -q ${dep_file} > /dev/null 2>&1); then dep_file_pkg=$(pkg which -qo ${dep_file}) # Check that the .so we need has a SONAME if [ "${dep_file_pkg}" != "${PKGORIGIN}" ]; then if ! readelf -d "${dep_file}" | grep -q SONAME; then err "${file} is linked to ${dep_file} which does not have a SONAME. ${dep_file_pkg} needs to be fixed." fi fi # If we don't already depend on it, and we don't provide it if ! listcontains ${dep_file_pkg} "${LIB_RUN_DEPENDS} ${PKGORIGIN}"; then err "${file} is linked to ${dep_file} from ${dep_file_pkg} but it is not declared as a dependency" proxydeps_suggest_uses ${dep_file_pkg} ${dep_file} rc=1 fi else err "${file} is linked to ${dep_file} that does not belong to any package" rc=1 fi already="${already} ${dep_file}" done <<-EOT $(ldd -a "${STAGEDIR}${file}" | \ awk '\ BEGIN {section=0}\ /^\// {section++}\ !/^\// && section<=1 && ($3 ~ "^'${PREFIX}'" || $3 ~ "^'${LOCALBASE}'") {print $3}') EOT done <<-EOT $(list_stagedir_elfs | \ file -F $'\1' -f - | \ grep -a 'ELF.*FreeBSD.*dynamically linked' | \ cut -f 1 -d $'\1'| \ sed -e 's/^\.//') EOT [ -z "${PROXYDEPS_FATAL}" ] && return 0 return ${rc} } sonames() { [ ! -d ${STAGEDIR}${PREFIX}/lib -o -n "${BUNDLE_LIBS}" ] && return 0 while read f; do # No results presents a blank line from heredoc. [ -z "${f}" ] && continue # Ignore symlinks [ -f "${f}" -a ! -L "${f}" ] || continue if ! readelf -d ${f} | grep -q SONAME; then warn "${f} doesn't have a SONAME." warn "pkg(8) will not register it as being provided by the port." warn "If another port depend on it, pkg will not be able to know where it comes from." case "${f}" in ${STAGEDIR}${PREFIX}/lib/*/*) warn "It is in a subdirectory, it may not be used in another port." ;; *) warn "It is directly in ${PREFIX}/lib, it is probably used by other ports." ;; esac fi # Use heredoc to avoid losing rc from find|while subshell done <<-EOT $(find ${STAGEDIR}${PREFIX}/lib -name '*.so.*') EOT } perlcore_port_module_mapping() { case "$1" in Net) echo "Net::Config" ;; libwww) echo "LWP" ;; *) echo "$1" | sed -e 's/-/::/g' ;; esac } perlcore() { local portname version module gotsome [ -x "${LOCALBASE}/bin/corelist" ] || return 0 for dep in ${UNIFIED_DEPENDS}; do portname=$(expr "${dep}" : ".*/p5-\(.*\)") if [ -n "${portname}" ]; then gotsome=1 module=$(perlcore_port_module_mapping "${portname}") version=$(expr "${dep}" : ".*>=*\([^:<]*\)") while read l; do case "${l}" in *was\ not\ in\ CORE*) # This never was with Perl # CORE, so nothing to do here ;; *and\ removed*) # This was in Perl CORE but has # been removed since. warn "${dep##*:} was in Perl CORE. Check with \`corelist ${module} ${version}\` and \`corelist -a ${module}\` if it should be conditionally added depending on PERL_LEVEL" ;; *deprecated*in*) # This is in Perl CORE but is # deprecated. warn "${dep##*:} is in Perl CORE but deprecated. Check with \`corelist ${module} ${version}\` and \`corelist -a ${module}\` if the dependency is really needed or if it should be conditionally added depending on PERL_LEVEL" ;; *was\ first\ released*) # This is in Perl CORE and is # maybe not needed. warn "${dep##*:} is present in Perl CORE. Check with \`corelist ${module} ${version}\` and \`corelist -a ${module}\` if the dependency is really needed or if it should be conditionally added depending on PERL_LEVEL" ;; *) err "This line is not handled: \"${l}\"" esac done <<-EOT $(${LOCALBASE}/bin/corelist "${module}"|tail -1) EOT fi done if [ -n "${gotsome}" ] && ! pkg info -e devel/p5-Module-CoreList; then notice "You have some Perl modules as dependencies but you do not have devel/p5-Module-CoreList installed, the perlcore QA check gets better results when using it, especially with older Perl versions." fi } no_arch() { [ -z "$NO_ARCH" ] && return rc=0 while read f; do [ -z "$f" ] && continue if [ -n "$NO_ARCH_IGNORE" ]; then skip= for blacklist in $NO_ARCH_IGNORE; do case $f in *$blacklist) skip=1; break;; esac done [ "$skip" ] && continue fi err "'${f#.}' is a architecture specific binary file and you have set NO_ARCH. Either remove NO_ARCH or add '$(basename $f)' to NO_ARCH_IGNORE." rc=1 done <<-EOF $(list_stagedir_elfs \ | file -F $'\1' -f - -N \ | grep -aE 'ELF .* [LM]SB .*, .*, version [0-9]+ \(FreeBSD\)' \ | cut -f 1 -d $'\1') EOF return $rc } gemdeps() { rc=0 if [ "${PKGBASE%%-*}" = "rubygem" ]; then while read -r l; do if [ -n "${l}" ]; then name=${l%% *} vers=${l#* } while read -r v; do if ! while read -r p; do ${LOCALBASE}/bin/ruby -e "puts 'OK' if Gem::Dependency.new('${name}','${v}').match?('${name}','${p}')" done | grep -qFx OK; then err RubyGem dependency ${name} ${v} is not satisfied. rc=1 fi <<-EOF $(${LOCALBASE}/bin/gem list -e "${name}" \ | sed "s|.*(\(.*\))|\1|" \ | tr -d ' ' \ | tr , '\n') EOF done <<-EOF $(while echo "${vers}" | grep -q '"'; do echo "${vers}" | cut -d '"' -f2 vers=$(echo "${vers}"|cut -d '"' -f3-) done) EOF fi done <<-EOF $(grep -a 'add_runtime_dependency' ${STAGEDIR}${PREFIX}/lib/ruby/gems/*/specifications/${PORTNAME}-*.gemspec \ | sed 's|.*<\(.*\)>.*\[\(.*\)\])|\1 \2|' \ | sort -u) EOF fi return $rc } checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo" checks="$checks suidfiles libtool libperl prefixvar baselibs terminfo" checks="$checks proxydeps sonames perlcore no_arch gemdeps" ret=0 cd ${STAGEDIR} for check in ${checks}; do ${check} || ret=1 done exit ${ret} Index: head/Mk/Uses/execinfo.mk =================================================================== --- head/Mk/Uses/execinfo.mk (revision 450350) +++ head/Mk/Uses/execinfo.mk (nonexistent) @@ -1,27 +0,0 @@ -# $FreeBSD$ -# -# handle dependency on libexecinfo -# -# Feature: execinfo -# Usage: USES=execinfo -# -# Takes no arguments -# -# Exported variables: -# -# EXECINFO_CPPFLAGS - preprocessor flags needed to correctly use -# execinfo library -# EXECINFO_LDFLAGS - linker flags needed to correctly use -# execinfo library -# - -.if !defined(_INCLUDE_USES_EXECINFO_MK) -_INCLUDE_USES_EXECINFO_MK= yes - -.if !exists(/usr/lib/libexecinfo.so) -LIB_DEPENDS+= libexecinfo.so:devel/libexecinfo -EXECINFO_CPPFLAGS= -I${LOCALBASE}/include -EXECINFO_LDFLAGS= -L${LOCALBASE}/lib -.endif - -.endif Property changes on: head/Mk/Uses/execinfo.mk ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/astro/opencpn/Makefile =================================================================== --- head/astro/opencpn/Makefile (revision 450350) +++ head/astro/opencpn/Makefile (revision 450351) @@ -1,43 +1,43 @@ # $FreeBSD$ PORTNAME= opencpn PORTVERSION= 4.4.0 DISTVERSIONPREFIX= v PORTREVISION= 4 CATEGORIES= astro geography MAINTAINER= ml@netfence.it COMMENT= Concise ChartPlotter/Navigator LICENSE= GPLv2+ LIB_DEPENDS= libportaudio.so:audio/portaudio \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libtinyxml.so:textproc/tinyxml USE_GITHUB= yes GH_ACCOUNT= ${GH_PROJECT} GH_PROJECT= OpenCPN -USES= cmake compiler:c++11-lib execinfo gettext-tools localbase +USES= cmake compiler:c++11-lib gettext-tools localbase USE_CXXSTD= c++11 USE_GL= gl USE_GNOME= cairo gdkpixbuf2 gtk20 USE_WX= 3.0+ USE_XORG= x11 INSTALLS_ICONS= yes CMAKE_ARGS= -DBUNDLE_DOCS=ON -DBUNDLE_GSHHS=CRUDE -DBUNDLE_TCDATA=ON LDFLAGS+= -Wl,-E # plugins LDFLAGS+= -Wl,--as-needed # ICE, SM, Xext BROKEN_aarch64= Fails to compile: use of undeclared identifier rand post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/src/mygdal/cpl_csv.cpp \ ${WRKSRC}/src/mygdal/cpl_findfile.cpp \ ${WRKSRC}/data/doc/help_en_US.html .include Index: head/audio/clementine-player/Makefile =================================================================== --- head/audio/clementine-player/Makefile (revision 450350) +++ head/audio/clementine-player/Makefile (revision 450351) @@ -1,209 +1,208 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= clementine PORTVERSION= 1.3.1 PORTREVISION= 12 CATEGORIES= audio PKGNAMESUFFIX= -player MAINTAINER= sbruno@FreeBSD.org COMMENT= Cross-platform music player based on Amarok 1.4 LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libtag.so:audio/taglib \ libchromaprint.so:audio/chromaprint \ libprotobuf.so:devel/protobuf \ libqca.so:devel/qca \ libqjson.so:devel/qjson \ libfftw3.so:math/fftw3 \ libechonest.so:audio/libechonest \ libcryptopp.so:security/cryptopp BROKEN_powerpc64= fails to compile: tagreader.cpp: undefined reference to TagLib::String::String USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}${PKGNAMESUFFIX} GH_PROJECT= Clementine USES= cmake \ compiler:c++11-lib \ desktop-file-utils \ - execinfo \ gettext-tools \ pkgconfig \ sqlite USE_GL= glew CONFLICTS_BUILD= qt-3.* USE_QT4= corelib \ dbus \ gui \ imageformats \ qmake_build \ linguist_build \ moc_build \ network \ opengl \ qtestlib \ rcc_build \ sql \ uic_build \ webkit \ xml USE_GSTREAMER1= cdparanoia \ chromaprint \ faac \ faad \ flac \ lame \ mpg123 \ neon \ shout2 \ soup \ taglib \ twolame \ vorbis INSTALLS_ICONS= yes CFLAGS+= -Wno-inconsistent-missing-override \ -Wno-unused-variable \ -Wno-unused-function CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib" \ -DENABLE_DBUS=ON \ -DENABLE_SPOTIFY_BLOB=OFF \ -DCRYPTOPP_LIBS=${LOCALBASE}/lib/libcryptopp.so \ -DCRYPTOPP_INCLUDEDIR=${LOCALBASE}/include/cryptopp \ -DCRYPTOPP_LIBDIR=${LOCALBASE}/lib \ -DCRYPTOPP_LDFLAGS=-lcryptopp \ -DCRYPTOPP_LIBRARIES=cryptopp \ -DCRYPTOPP_LIBRARY_DIRS=${LOCALBASE}/lib \ -DCRYPTOPP_cryptopp_INCLUDEDIR=${LOCALBASE}/include/cryptopp \ -DCRYPTOPP_cryptopp_LIBDIR=${LOCALBASE}/lib \ -DCRYPTOPP_FOUND=1 OPTIONS_DEFINE= AMAZON \ AUDIOCD \ BOX \ BREAKPAD \ DEVICEKIT \ DROPBOX \ GIO \ GOOGLE_DRIVE \ GPOD \ LASTFM \ MOODBAR \ MTP \ PULSEAUDIO \ SKYDRIVE \ VISUALISATION \ WIIMOTEDEV OPTIONS_SUB= VISUALISATION AMAZON_DESC= Amazon Drive support AUDIOCD_DESC= Devices: Audio CD support BOX_DESC= Box Drive support BREAKPAD_DESC= Crash reporting DEVICEKIT_DESC= Devices: DeviceKit backend DROPBOX_DESC= Dropbox Support GIO_DESC= Devices: GIO device backend GOOGLE_DRIVE_DESC= Google Drive support GPOD_DESC= iPod support LASTFM_DESC= Support Last.fm service (requires ruby) MOODBAR_DESC= Moodbar Support MTP_DESC= MTP device support PULSEAUDIO_DESC= Enable Pulseaudio Support SKYDRIVE_DESC= Microsoft SkyDrive Support VISUALISATION_DESC= Visualisations from projectM WIIMOTEDEV_DESC= Wiimote support OPTIONS_DEFAULT= AMAZON \ AUDIOCD \ BOX \ DEVICEKIT \ DROPBOX \ GIO \ GOOGLE_DRIVE \ GPOD \ LASTFM \ MOODBAR \ MTP \ SKYDRIVE \ VISUALISATION \ WIIMOTEDEV AMAZON_CMAKE_ON= -DENABLE_AMAZON_CLOUD_DRIVE=ON AMAZON_CMAKE_OFF= -DENABLE_AMAZON_CLOUD_DRIVE=OFF AUDIOCD_LIB_DEPENDS= libcdio.so:sysutils/libcdio AUDIOCD_CMAKE_ON= -DENABLE_AUDIOCD=ON AUDIOCD_CMAKE_OFF= -DENABLE_AUDIOCD=OFF BOX_BUILD_DEPENDS= sparsehash>=2.0.2:devel/sparsehash BOX_CMAKE_ON= -DENABLE_BOX=ON BOX_CMAKE_OFF= -DENABLE_BOX=OFF BREAKPAD_CMAKE_ON= -DENABLE_BREAKPAD=ON BREAKPAD_CMAKE_OFF= -DENABLE_BREAKPAD=OFF DEVICEKIT_CMAKE_ON= -DENABLE_DEVICEKIT=ON DEVICEKIT_CMAKE_OFF= -DENABLE_DEVICEKIT=OFF DROPBOX_BUILD_DEPENDS= sparsehash>=2.0.2:devel/sparsehash DROPBOX_CMAKE_ON= -DENABLE_DROPBOX=ON DROPBOX_CMAKE_OFF= -DENABLE_DROPBOX=OFF GIO_USE= GNOME=glib20 GIO_CMAKE_ON= -DENABLE_GIO=ON GIO_CMAKE_OFF= -DENABLE_GIO=OFF GOOGLE_DRIVE_BUILD_DEPENDS= sparsehash>=2.0.2:devel/sparsehash GOOGLE_DRIVE_CMAKE_ON= -DENABLE_GOOGLE_DRIVE=ON GOOGLE_DRIVE_CMAKE_OFF= -DENABLE_GOOGLE_DRIVE=OFF GPOD_LIB_DEPENDS= libgpod.so:audio/libgpod \ libplist.so:devel/libplist \ libusbmuxd.so:comms/libusbmuxd GPOD_CMAKE_ON= -DENABLE_LIBGPOD=ON GPOD_CMAKE_OFF= -DENABLE_LIBGPOD=OFF LASTFM_LIB_DEPENDS= liblastfm.so:audio/liblastfm LASTFM_CMAKE_ON= -DENABLE_LIBLASTFM=ON LASTFM_CMAKE_OFF= -DENABLE_LIBLASTFM=OFF MOODBAR_CMAKE_ON= -DENABLE_MOODBAR=ON MOODBAR_CMAKE_OFF= -DENABLE_MOODBAR=OFF MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp MTP_CMAKE_ON= -DENABLE_LIBMTP=ON MTP_CMAKE_OFF= -DENABLE_LIBMTP=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_ON= -DENABLE_LIBPULSE=ON PULSEAUDIO_CMAKE_OFF= -DENABLE_LIBPULSE=OFF SKYDRIVE_BUILD_DEPENDS= sparsehash>=2.0.2:devel/sparsehash SKYDRIVE_CMAKE_ON= -DENABLE_SKYDRIVE=ON SKYDRIVE_CMAKE_OFF= -DENABLE_SKYDRIVE=OFF VISUALISATION_CMAKE_ON= -DENABLE_VISUALISATIONS=ON VISUALISATION_CMAKE_OFF=-DENABLE_VISUALISATIONS=OFF WIIMOTEDEV_CMAKE_ON= -DENABLE_WIIMOTEDEV=ON WIIMOTEDEV_CMAKE_OFF= -DENABLE_WIIMOTEDEV=OFF .include .if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS+= -Wno-unknown-warning-option -Wno-undefined-var-template .endif .include Index: head/audio/deadbeef/Makefile =================================================================== --- head/audio/deadbeef/Makefile (revision 450350) +++ head/audio/deadbeef/Makefile (revision 450351) @@ -1,229 +1,229 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= deadbeef PORTVERSION= 0.7.2 PORTREVISION= 6 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= vg@FreeBSD.org COMMENT= Ultimate music player for Unix-like systems LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual GNU_CONFIGURE= yes -USES= compiler:c11 desktop-file-utils execinfo gettext gmake iconv libtool \ +USES= compiler:c11 desktop-file-utils gettext gmake iconv libtool \ pkgconfig shebangfix tar:bzip2 USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-alsa --disable-nullout --disable-static CPPFLAGS+= -I../dumb/dumb-kode54/include -I../../plugins/libmp4ff \ -I../../plugins/gme/game-music-emu-0.6pre \ -I./sidplay-libs/libsidplay/include/sidplay \ -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lexecinfo -lintl USE_GNOME= intltool INSTALLS_ICONS= yes SHEBANG_FILES= yasmwrapper.sh INSTALL_TARGET= install-strip BROKEN_aarch64= Fails to compile: error in backend: Do not know how to split this operator's operand! BROKEN_armv6= Fails to compile: error: invalid conversion between vector type and integer type OPTIONS_DEFINE= PULSEAUDIO GUI VFS LASTFM ART SUPEREQ SID FFAP VTX \ HOTKEYS OGG FFMPEG FLAC SNDFILE WAVPACK CDDA GME DUMB NOTIFY \ MUSEPACK WILDMIDI TTA DCA AAC MMS SHN SHELLEXEC NLS M3U \ PSF ADPLUG DSP MONO2STEREO CONVERTER VFS_ZIP ALAC PLTBROWSER \ WMA SC68 OPTIONS_DEFAULT=MAD GTK2 VFS LASTFM ART SUPEREQ SID FFAP VTX HOSTKEYS \ OGG FLAC SNDFILE WAVPACK CDDA GME DUMB NOTIFY MUSEPACK \ WILDMIDI TTA DCA AAC MMS SHN SHELLEXEC M3U PSF ADPLUG DSP \ MONO2STEREO CONVERTER VFS_ZIP HOTKEYS ALAC PLTBROWSER WMA SC68 PULSEAUDIO_DESC= PulseAudio output plugin (unsupported) GUI_DESC= Standard GUI plugin VFS_DESC= HTTP streaming VFS plugin LASTFM_DESC= Last.fm/Libre.fm scrobbler plugin ART_DESC= Cover artwork loader plugin SUPEREQ_DESC= SuperEQ DSP plugin (equalizer) SID_DESC= Commodore 64 SID music player plugin FFAP_DESC= ${APE_DESC} VTX_DESC= VTX ZX-Spectrum music player plugin ADPLUG_DESC= AdPlug audio format (OPL2/OPL3) support HOTKEYS_DESC= Local and global hotkeys support GME_DESC= Chiptune music support (based on GME) DUMB_DESC= D.U.M.B. plugin for MOD, S3M, etc. NOTIFY_DESC= OSD notification support in GTKUI plugin WILDMIDI_DESC= WildMIDI synthesizer plugin SC68_DESC= sc68 Atari ST And Amiga player SHN_DESC= Shorten waveform encoder support SHELLEXEC_DESC= Shell commands execution plugin M3U_DESC= M3U and PLS playlist format support PSF_DESC= AOSDK-based PSF(,QSF,SSF,DSF) plugin DSP_DESC= High-quality sample rate conversion support MONO2STEREO_DESC= Mono to stereo converter DSP plugin CONVERTER_DESC= Plugin for converting files from/to any formats VFS_ZIP_DESC= Play files directly from ZIP archives PLTBROWSER_DESC= Playlist browser GUI plugin OPTIONS_SUB= yes OPTIONS_RADIO+= GUI OPTIONS_RADIO_GUI= GTK2 GTK3 GUI_IMPLIES= CONVERTER OPTIONS_GROUP+= MP3 OPTIONS_GROUP_MP3= MAD MPG123 MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CONFIGURE_OFF= --disable-libmad MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 MPG123_CONFIGURE_OFF= --disable-libmpg123 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse GTK2_USE= gnome=gtk20,glib20 GTK2_CONFIGURE_OFF= --disable-gtk2 GTK2_CONFIGURE_ON= --enable-gtk2 GTK2_VARS= GTK_VER=2 GTK2_IMPLIES= GUI GTK3_USE= gnome=gtk30 GTK3_CONFIGURE_OFF= --disable-gtk3 GTK3_CONFIGURE_ON= --enable-gtk3 GTK3_VARS= GTK_VER=3 GTK3_IMPLIES= GUI PLIST_SUB+= GTK_VER=${GTK_VER} GUI_CONFIGURE_OFF= --disable-gtk2 --disable-gtk3 GUI_LIB_DEPENDS= libjansson.so:devel/jansson VFS_LIB_DEPENDS= libcurl.so:ftp/curl VFS_CONFIGURE_OFF= --disable-vfs-curl LASTFM_LIB_DEPENDS= libcurl.so:ftp/curl LASTFM_CONFIGURE_OFF= --disable-lfm ART_LIB_DEPENDS= libcurl.so:ftp/curl \ libImlib2.so:graphics/imlib2 ART_USES= jpeg ART_CONFIGURE_OFF= --disable-artwork --disable-artwork-imlib2 ART_IMPLIES= VFS SUPEREQ_CONFIGURE_OFF= --disable-supereq SID_CONFIGURE_OFF= --disable-sid FFAP_BUILD_DEPENDS= yasm:devel/yasm FFAP_CONFIGURE_OFF= --disable-ffap VTX_CONFIGURE_OFF= --disable-vtx ADPLUG_CONFIGURE_OFF= --disable-adplug HOTKEYS_CONFIGURE_OFF= --disable-hotkeys OGG_LIB_DEPENDS= libvorbis.so:audio/libvorbis OGG_CONFIGURE_OFF= --disable-vorbis FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg FFMPEG_CONFIGURE_ENABLE= ffmpeg FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_OFF= --disable-flac SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CONFIGURE_OFF= --disable-sndfile WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_OFF= --disable-wavpack CDDA_LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libcddb.so:audio/libcddb CDDA_CONFIGURE_OFF= --disable-cdda GME_CONFIGURE_OFF= --disable-gme DUMB_CONFIGURE_OFF= --disable-dumb NOTIFY_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib NOTIFY_CONFIGURE_OFF= --disable-notify MUSEPACK_CONFIGURE_OFF= --disable-musepack WILDMIDI_RUN_DEPENDS= ${LOCALBASE}/share/freepats/crude.cfg:audio/freepats WILDMIDI_CONFIGURE_OFF= --disable-wildmidi TTA_CONFIGURE_OFF= --disable-tta DCA_CONFIGURE_OFF= --disable-dca AAC_LIB_DEPENDS= libfaad.so:audio/faad AAC_CONFIGURE_OFF= --disable-aac MMS_CONFIGURE_OFF= --disable-mms SC68_CONFIGURE_ON= --enable-sc68 SC68_CONFIGURE_OFF= --disable-sc68 SHN_CONFIGURE_OFF= --disable-shn SHELLEXEC_CONFIGURE_ARGS+= --disable-shellexec NLS_CONFIGURE_OFF= --disable-nls M3U_CONFIGURE_OFF= --disable-m3u SPF_CONFIGURE_OFF= --disable-psf DSP_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate DSP_CONFIGURE_OFF= --disable-src MONO2STEREO_CONFIGURE_OFF= --disable-mono2stereo CONVERTER_CONFIGURE_OFF= --disable-converter VFS_ZIP_LIB_DEPENDS= libzip.so:archivers/libzip VFS_ZIP_CONFIGURE_OFF= --disable-vfs-zip ALAC_CONFIGURE_OFF= --disable-alac PLTBROWSER_CONFIGURE_OFF= --disable-pltbrowser WMA_CONFIGURE_OFF= --disable-wma .include .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} PORT_OPTIONS:= ${PORT_OPTIONS:NGUI} .endif .if !${PORT_OPTIONS:MMAD} && !${PORT_OPTIONS:MMPG123} CONFIGURE_ARGS+= --disable-mp3 PLIST_SUB+= MP3="@comment " .else PLIST_SUB+= MP3="" .endif post-patch: # Do not link to libsupc++ which may be PIC-unsafe (breaks 64-bit arches) @${REINPLACE_CMD} -e 's, -lsupc++,,' \ ${WRKSRC}/plugins/adplug/Makefile.in \ ${WRKSRC}/plugins/gme/Makefile.in \ ${WRKSRC}/plugins/sid/Makefile.in \ ${WRKSRC}/plugins/supereq/Makefile.in @${REINPLACE_CMD} -e 's,/etc/timidity++/timidity-freepats.cfg:/etc/timidity/freepats.cfg:/etc/timidity/,${LOCALBASE}/share/,' \ ${WRKSRC}/plugins/wildmidi/wildmidiplug.c @${REINPLACE_CMD} \ -e '/HAVE_OGG" = "yes"/ {n; n; /HAVE_VORBISPLUGIN=yes/d;}' \ ${WRKSRC}/configure # Fix build with libzip-1.0 @${REINPLACE_CMD} 's,zip_file_t,zip_file_DB,g' \ ${WRKSRC}/plugins/vfs_zip/vfs_zip.c .include Index: head/audio/pulseaudio/Makefile =================================================================== --- head/audio/pulseaudio/Makefile (revision 450350) +++ head/audio/pulseaudio/Makefile (revision 450351) @@ -1,116 +1,116 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # # !!!NOTE!!! Any PORTVERSION update to this port must be accompanied by # PORTREVISION bumps of depending ports. PORTNAME= pulseaudio PORTVERSION= 11.0 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= Sound server for UNIX LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL LIB_DEPENDS= libsndfile.so:audio/libsndfile \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libdbus-1.so:devel/dbus \ libltdl.so:devel/libltdl \ libck-connector.so:sysutils/consolekit2 USE_GNOME= glib20 intltool USE_XORG= ice sm x11 xcb xtst USE_LDCONFIG= yes -USES= compiler:c11 cpe execinfo gettext gmake gnome iconv libtool \ +USES= compiler:c11 cpe gettext gmake gnome iconv libtool \ pathfix pkgconfig python:run shebangfix ssl tar:xz GNU_CONFIGURE= yes CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ LIBS="-lm -lintl" \ ac_cv_header_linux_input_h="" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip SHEBANG_FILES= shell-completion/bash/pulseaudio \ src/utils/qpaeq bash_CMD= ${SETENV} bash SUB_FILES= pkg-message CONFIGURE_ARGS= --localstatedir=/var \ --without-caps \ --disable-udev \ --disable-gtk3 \ --disable-systemd-daemon \ --disable-systemd-journal \ --disable-systemd-login \ --disable-neon-opt \ --disable-lirc # untested USERS= pulse GROUPS= pulse pulse-access pulse-rt OPTIONS_SUB= yes OPTIONS_DEFINE= AVAHI GCONF SIMD OPTIONS_DEFAULT=AVAHI SIMD SIMPLE SOXR SPEEX AVAHI_CONFIGURE_ENABLE= avahi AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app GCONF_CONFIGURE_ENABLE= gconf GCONF_USE= GNOME=gconf2 SIMD_CONFIGURE_ENABLE= orc SIMD_LIB_DEPENDS= liborc-0.4.so:devel/orc OPTIONS_GROUP= AUDIO COMPLETIONS OPTIONS_GROUP_AUDIO= ALSA JACK SOXR SPEEX OPTIONS_GROUP_COMPLETIONS= BASH ZSH AUDIO_DESC= Audio support COMPLETIONS_DESC= Programmable completions ALSA_CONFIGURE_ENABLE= alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib JACK_CONFIGURE_ENABLE= jack JACK_LIB_DEPENDS= libjack.so:audio/jack SOXR_CONFIGURE_WITH= soxr SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SPEEX_DESC= Speex resampler and AEC support SPEEX_CONFIGURE_WITH= speex SPEEX_LIB_DEPENDS= libspeexdsp.so:audio/speexdsp ZSH_CONFIGURE_OFF= --without-zsh-completion-dir OPTIONS_SINGLE= DATABASE OPTIONS_SINGLE_DATABASE= TDB GDBM SIMPLE DATABASE_DESC= Database support GDBM_DESC= GNU database manager support GDBM_CONFIGURE_ON= --with-database=gdbm GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm SIMPLE_DESC= Simple database support SIMPLE_CONFIGURE_ON= --with-database=simple TDB_DESC= Trivial database support TDB_CONFIGURE_ON= --with-database=tdb TDB_LIB_DEPENDS= libtdb.so:databases/tdb PULSE_VERSION= ${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} PLIST_SUB= PULSE_VERSION=${PULSE_VERSION} post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ ${WRKSRC}/src/daemon/default.pa.in @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/pulse .for ii in default.pa daemon.conf client.conf system.pa ${INSTALL_DATA} ${WRKSRC}/src/${ii} \ ${STAGEDIR}${PREFIX}/etc/pulse/${ii}.sample .endfor post-install-BASH-off: @${RM} -r ${STAGEDIR}${PREFIX}/share/bash-completion .include Index: head/audio/sayonara/Makefile =================================================================== --- head/audio/sayonara/Makefile (revision 450350) +++ head/audio/sayonara/Makefile (revision 450351) @@ -1,34 +1,34 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= sayonara PORTVERSION= 0.9.2 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= http://www.sayonara-player.com/sw/ DISTNAME= ${PORTNAME}-player-${PORTVERSION}-git11-20161030 MAINTAINER= ports@FreeBSD.org COMMENT= Small, clear, and fast Qt-based audio player LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libtag.so:audio/taglib \ libmtp.so:multimedia/libmtp -USES= cmake compiler:c++11-lib execinfo pkgconfig +USES= cmake compiler:c++11-lib pkgconfig USE_GSTREAMER1= flac mpg123 ogg opus vorbis # XXX: likely incomplete USE_QT5= dbus core gui network sql sql-sqlite3_run widgets xml \ buildtools_build qmake_build linguisttools_build INSTALLS_ICONS= yes WRKSRC= ${WRKDIR}/${PORTNAME}-player post-patch: @${REINPLACE_CMD} -e '/man1/s,share/,,' \ ${WRKSRC}/resources/CMakeLists.txt @${REINPLACE_CMD} -e '/DESTINATION/s,/usr/,,' \ ${WRKSRC}/src/GUI/Resources/Icons/CMakeLists.txt .include Index: head/biology/seqtools/Makefile =================================================================== --- head/biology/seqtools/Makefile (revision 450350) +++ head/biology/seqtools/Makefile (revision 450351) @@ -1,31 +1,31 @@ # $FreeBSD$ PORTNAME= seqtools PORTVERSION= 4.44.1 PORTREVISION= 2 CATEGORIES= biology MASTER_SITES= ftp://ftp.sanger.ac.uk/pub4/resources/software/seqtools/PRODUCTION/ MAINTAINER= pi@FreeBSD.org COMMENT= Tools for visualising sequence alignments LICENSE= GPLv3 LIB_DEPENDS= libcurl.so:ftp/curl \ libsqlite3.so:databases/sqlite3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 BROKEN_powerpc64= fails to compile: jsoncpp.cpp: 'snprintf' is not a member of 'std' -USES= compiler:c++14-lang execinfo gettext libtool pkgconfig +USES= compiler:c++14-lang gettext libtool pkgconfig GNU_CONFIGURE= yes USE_GNOME= cairo gdkpixbuf2 gtk20 USE_XORG= x11 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo -lcurl -lsqlite3 -lm MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS .include Index: head/biology/ugene/Makefile =================================================================== --- head/biology/ugene/Makefile (revision 450350) +++ head/biology/ugene/Makefile (revision 450351) @@ -1,78 +1,78 @@ # Created by: Hannes Hauswedell # $FreeBSD$ PORTNAME= ugene DISTVERSION= 1.22.0 PORTREVISION= 2 CATEGORIES= biology science MASTER_SITES= http://ugene.unipro.ru/downloads/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} QueryDesigner_UserManual.pdf \ UniproUGENE_UserManual.pdf WorkflowDesigner_UserManual.pdf DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= h2+fbsdports@fsfe.org COMMENT= Free, open-source, cross-platform bioinformatics toolkit LICENSE= GPLv2 RUN_DEPENDS= bash:shells/bash BROKEN_aarch64= Fails to build: invokes x86 asm -USES= desktop-file-utils execinfo qmake +USES= desktop-file-utils qmake USE_GL= glu USE_QT5= buildtools_build linguisttools_build scripttools_build \ gui network printsupport script sql svg webkit widgets xml \ imageformats_run QMAKE_ARGS= INSTALL_PREFIX="${PREFIX}" UGENE_INSTALL_DATA="${DATADIR}" \ INSTALL_MANDIR="${MAN1PREFIX}/man" LRELEASE="${LRELEASE}" \ LUPDATE="${LUPDATE}" ALL_TARGET= release # Required for Google Test code CXXFLAGS+= -std=c++11 DOCSDIR= ${DATADIR}/manuals OPTIONS_DEFINE= DOCS DOCS_DESC= Install official UGENE documentation (PDF) .include .if ${ARCH} == amd64 # XXX: need to manually tell the build we are on x64 QMAKE_ARGS+= CONFIG+=x64 PLIST_SUB+= NOX64="@comment " .else PLIST_SUB+= NOX64="" .endif .if ${MACHINE_CPU:Msse2} QMAKE_ARGS+= UGENE_SSE2_DETECTED=1 PLIST_SUB+= SSE2="" .else PLIST_SUB+= SSE2="@comment " .endif post-extract: @${MKDIR} ${WRKSRC}/data/manuals ${CP} -p ${_DISTDIR}/*.pdf ${WRKSRC}/data/manuals post-patch: # yes, bash is required, stuff will not execute with sh @${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' \ ${WRKSRC}/src/gen_bin_script.cmd \ ${WRKSRC}/installer/_common_data/ugene @${REINPLACE_CMD} -e 's|-bit version|& for ${OPSYS}/${ARCH}|' \ ${WRKSRC}/src/ugeneui/src/main_window/AboutDialogController.cpp @${REINPLACE_CMD} -e '/unix_not_mac/,+11d' \ ${WRKSRC}/src/corelibs/U2Core/U2Core.pri @${REINPLACE_CMD} 's, -lbreakpad,,' \ ${WRKSRC}/src/corelibs/U2Private/U2Private.pri \ ${WRKSRC}/src/plugins_checker/plugins_checker.pri \ ${WRKSRC}/src/ugenecl/ugenecl.pri \ ${WRKSRC}/src/ugeneui/ugeneui.pri .include Index: head/cad/klayout/Makefile =================================================================== --- head/cad/klayout/Makefile (revision 450350) +++ head/cad/klayout/Makefile (revision 450351) @@ -1,52 +1,52 @@ # $FreeBSD$ PORTNAME= klayout PORTVERSION= 0.24.9 PORTREVISION= 2 CATEGORIES= cad MASTER_SITES= http://www.klayout.org/downloads/source/ MAINTAINER= hrs@FreeBSD.org COMMENT= Qt-based GDS2 Viewer LICENSE= GPLv2 -USES= compiler:c++0x execinfo gmake python +USES= compiler:c++0x gmake python USE_RUBY= yes USE_QT4= corelib designer gui network moc_build sql uic_build \ rcc_build qt3support xml USE_LDCONFIG= yes PLIST_FILES= bin/klayout \ bin/strm2cif \ bin/strm2dxf \ bin/strm2gds \ bin/strm2oas \ bin/strm2txt \ bin/strmclip \ bin/strmcmp \ bin/strmxor \ lib/libklayout.so PLATFORMKEYWORD=freebsd-32-gcc-release BROKEN_sparc64= Does not compile on sparc64: gcc bug do-build: cd ${WRKSRC} && \ ${SETENV} CC=${CC} CXX=${CXX} CFLAGS="${CFLAGS}" \ CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ _MAKE_JOBS="${_MAKE_JOBS}" LOCALBASE="${LOCALBASE}" \ ${SH} build.sh -platform ${PLATFORMKEYWORD} \ -qtbin ${QT_BINDIR} \ -qtinc ${QT_INCDIR} \ -qtlib ${QT_LIBDIR} \ -python ${PYTHON_CMD} do-install: cd ${WRKSRC}/bin.${PLATFORMKEYWORD} && \ ${INSTALL_PROGRAM} ${PLIST_FILES:Mbin/*:S,^bin/,,} \ ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC}/build.${PLATFORMKEYWORD}/main && \ ${INSTALL_LIB} ${PLIST_FILES:Mlib/*:S,^lib/,,} \ ${STAGEDIR}${PREFIX}/lib .include Index: head/cad/qcad/Makefile =================================================================== --- head/cad/qcad/Makefile (revision 450350) +++ head/cad/qcad/Makefile (revision 450351) @@ -1,80 +1,80 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= qcad PORTVERSION= 3.17.3.6 DISTVERSIONPREFIX= v #PORTREVISION= 1 CATEGORIES= cad DIST_SUBDIR= ${PORTNAME} MAINTAINER= mr@FreeBSD.org COMMENT= Professional CAD system LICENSE= GPLv3 BUILD_DEPENDS= bash:shells/bash \ ${LOCALBASE}/lib/libopenNURBS.a:graphics/opennurbs LIB_DEPENDS= libquazip.so:archivers/quazip MAKE_JOBS_UNSAFE=yes -USES= execinfo gmake qmake +USES= gmake qmake USE_GITHUB= yes USE_LDCONFIG= yes USE_QT4= qmake_build codecs-cn codecs-jp codecs-kr codecs-tw corelib \ designer gui help imageformats moc_build network opengl rcc_build script \ scripttools sql svg uic_build xml xmlpatterns webkit USE_GL= glu DESKTOP_ENTRIES="QCad" \ "" \ "${DATADIR}/scripts/qcad_icon.png" \ "${PREFIX}/bin/qcad-bin" \ "" \ true .if defined(WITH_DEBUG) RESDIR= ${WRKSRC}/debug .else RESDIR= ${WRKSRC}/release .endif SHRLIBS= qcadcore qcadecmaapi qcadentity qcadgrid qcadgui qcadoperations \ qcadsnap qcadspatialindex qcadstemmer spatialindexnavel qcadzip STALIBS= dxflib stemmer SHRDIR= fonts libraries linetypes patterns plugins scripts ts #QSCRIPTS should not be installed to avoid conflicts with texlive-base QSCRIPTS= bbox dwg2bmp dwg2pdf dwg2svg pre-configure: ${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \ ${WRKSRC}/src/core/RS.cpp ${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" \ ${WRKSRC}/src/core/RSettings.cpp # Temporary hack for Qt 4.8.7 support while upstream does not add proper # bindings. # (cd ${WRKSRC}/src/3rdparty/qt-labs-qtscriptgenerator-4.8.5 && \ # ${COPYTREE_SHARE} . ../qt-labs-qtscriptgenerator-4.8.7) # (cd ${WRKSRC}/src/3rdparty/qt-labs-qtscriptgenerator-4.8.7 && \ # mv qt-labs-qtscriptgenerator-4.8.5.pro qt-labs-qtscriptgenerator-4.8.7.pro) do-install: ${INSTALL_PROGRAM} ${RESDIR}/qcad-bin ${STAGEDIR}${PREFIX}/bin/ ${LN} -sf qcad-bin ${STAGEDIR}${PREFIX}/bin/qcad .for lib in ${SHRLIBS:C|^|lib|:C|$|.so|} ${INSTALL_LIB} ${RESDIR}/${lib} ${STAGEDIR}${PREFIX}/lib/${lib}.0 ${LN} -sf ${lib}.0 ${STAGEDIR}${PREFIX}/lib/${lib} .endfor .for lib in ${STALIBS:C|^|lib|:C|$|.a|} ${INSTALL_DATA} ${RESDIR}/${lib} ${STAGEDIR}${PREFIX}/lib/ .endfor ${MKDIR} ${STAGEDIR}${DATADIR} .for dir in ${SHRDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include Index: head/chinese/fcitx/Makefile =================================================================== --- head/chinese/fcitx/Makefile (revision 450350) +++ head/chinese/fcitx/Makefile (revision 450351) @@ -1,125 +1,125 @@ # Created by: Shen Chuan-Hsing # $FreeBSD$ PORTNAME= fcitx PORTVERSION= 4.2.9.1 PORTREVISION= 4 CATEGORIES= chinese x11 MASTER_SITES= http://download.fcitx-im.org/fcitx/:fcitx \ http://download.fcitx-im.org/data/:data DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:fcitx \ en_dict-${_DICT_VER}.tar.gz:data \ pinyin.tar.gz:data \ py_stroke-${_PYSTROKE_VER}.tar.gz:data \ py_table-${_PYTABLE_VER}.tar.gz:data \ table.tar.gz:data DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= lichray@gmail.com COMMENT= Flexible Input Method Framework LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes LIB_DEPENDS= libcairo.so:graphics/cairo \ libdbus-1.so:devel/dbus \ libXfixes.so:x11/libXfixes \ libXinerama.so:x11/libXinerama \ libXrender.so:x11/libXrender \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= xdg-open:devel/xdg-utils SUB_FILES= pkg-message SUB_LIST+= PORTSDIR=${PORTSDIR} CONFLICTS= zh-scim-fcitx-3.* USE_GNOME= pango intltool libxml2 introspection USE_KDE= ecm USE_XORG= x11 xext xkbfile sm ice USE_LDCONFIG= yes -USES= tar:xz cmake:noninja desktop-file-utils execinfo \ +USES= tar:xz cmake:noninja desktop-file-utils \ gettext-tools:build,run gettext-runtime iconv:wchar_t \ kde:5 pkgconfig shared-mime-info INSTALLS_ICONS= yes OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC DOCS OPTIONS_DEFAULT=GTK2 GTK3 QT4 OPTIONS_SUB= yes GTK2_DESC= Enable Gtk2 IM module GTK2_USE= GNOME=gtk20 GTK2_CMAKE_ON= -DENABLE_GTK2_IM_MODULE=ON GTK3_DESC= Enable Gtk3 IM module GTK3_USE= GNOME=gtk30 GTK3_CMAKE_ON= -DENABLE_GTK3_IM_MODULE=ON QT4_DESC= Enable Qt4 IM module OPENCC_DESC= Enable OpenCC for Chinese Transform TPUNC_DESC= Use traditional quotation marks .include CMAKE_ARGS+= -DENABLE_XDGAUTOSTART=OFF -DFORCE_ENCHANT=ON \ -DLIBICONV_LIBC_HAS_ICONV_OPEN=OFF \ -DDATADIR=${DATADIR} \ -DDOCSDIR=${DOCSDIR} \ -DGOBJECT_INTROSPECTION_GIRDIR=${PREFIX}/share/gir-1.0 \ -DGOBJECT_INTROSPECTION_TYPELIBDIR=${PREFIX}/lib/girepository-1.0 \ -DMANPREFIX=${MANPREFIX} \ -DPREFIX=${PREFIX} \ -DQT_PLUGINS_DIR=${PREFIX}/lib/qt4/plugins .if ${PORT_OPTIONS:MGTK2} SUB_LIST+= GTK2_IM=fcitx .else SUB_LIST+= GTK2_IM=xim .endif .if ${PORT_OPTIONS:MGTK3} PLIST_SUB+= GTK3="" SUB_LIST+= GTK3_IM=fcitx .else PLIST_SUB+= GTK3="@comment " SUB_LIST+= GTK3_IM=xim .endif .if ${PORT_OPTIONS:MQT4} USE_QT4+= qmake_build moc_build rcc_build uic_build dbus gui inputmethods corelib USE_LDCONFIG+= ${PREFIX}/lib/fcitx/qt PLIST_SUB+= QT4="" .else CMAKE_ARGS+= -DENABLE_QT=OFF -DENABLE_QT_IM_MODULE=OFF -DENABLE_QT_GUI=OFF PLIST_SUB+= QT4="@comment " .endif .if ${PORT_OPTIONS:MOPENCC} LIB_DEPENDS+= libopencc.so:chinese/opencc .else CMAKE_ARGS+= -DENABLE_OPENCC=OFF .endif .if ${PORT_OPTIONS:MTPUNC} EXTRA_PATCHES+= ${FILESDIR}/tpunc-data_punc.mb.zh_CN .endif .if defined(WITH_DEBUG) CMAKE_ARGS+= -DENABLE_DEBUG=ON .endif DOCS_EXTRA_PATCHES_OFF= ${FILESDIR}/nodocs-doc_CMakeLists.txt _DICT_VER= 20121020 _PYSTROKE_VER= 20121124 _PYTABLE_VER= 20121124 post-patch: @${CP} ${_DISTDIR}/en_dict-${_DICT_VER}.tar.gz ${WRKSRC}/src/module/spell/dict/. @${CP} ${_DISTDIR}/pinyin.tar.gz ${WRKSRC}/src/im/pinyin/data/. @${CP} ${_DISTDIR}/py_stroke-${_PYSTROKE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/. @${CP} ${_DISTDIR}/py_table-${_PYTABLE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/. @${CP} ${_DISTDIR}/table.tar.gz ${WRKSRC}/src/im/table/data/. .include Index: head/comms/fldigi/Makefile =================================================================== --- head/comms/fldigi/Makefile (revision 450350) +++ head/comms/fldigi/Makefile (revision 450351) @@ -1,68 +1,68 @@ # $FreeBSD$ PORTNAME= fldigi PORTVERSION= 4.0.9 PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= SF/${PORTNAME}/${PORTNAME} MAINTAINER= hamradio@FreeBSD.org COMMENT= Digital decoder for psk, cw, psk31, olivia LICENSE= GPLv3 BUILD_DEPENDS= asciidoc:textproc/asciidoc\ docbook-xsl>=1.0:textproc/docbook-xsl\ xsltproc:textproc/libxslt LIB_DEPENDS= libboost_system.so:devel/boost-libs\ libpng16.so:graphics/png \ libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig \ libportaudio.so:audio/portaudio \ libsndfile.so:audio/libsndfile \ libsamplerate.so:audio/libsamplerate USE_CXXSTD= gnu++0x GNU_CONFIGURE= yes -USES= autoreconf compiler:c++11-lib execinfo jpeg gmake perl5 pkgconfig shebangfix +USES= autoreconf compiler:c++11-lib jpeg gmake perl5 pkgconfig shebangfix USE_XORG= x11 xft xext xfixes xcursor xinerama CONFIGURE_ENV= FLTK_CONFIG="${LOCALBASE}/bin/fltk-config" \ EXTRA_LIBS="-lexecinfo" OPTIONS_DEFINE= NATIVE_OPT FLARQ PULSEAUDIO HAMLIB NLS DOCS NATIVE_OPT_DESC= Enable Native Optimizations FLARQ_DESC= Compile flarq PULSEAUDIO_DESC= PulseAudio support HAMLIB_DESC= Support rig control via hamlib OPTIONS_DEFAULT= FLARQ HAMLIB OPTIONS_SUB= yes NATIVE_OPT_CONFIGURE_ON= --enable-optimizations=native NATIVE_OPT_CONFIGURE_OFF= --enable-optimizations=none FLARQ_CONFIGURE_ENABLE= flarq OSS_CONFIGURE_ENABLE= oss PULSEAUDIO_CONFIGURE_WITH= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio HAMLIB_CONFIGURE_WITH= hamlib HAMLIB_LIB_DEPENDS= libhamlib.so:comms/hamlib NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext # Always need asciidoc for man pages CONFIGURE_ARGS+=--with-asciidoc # Upstream as of 4.0.5 always uses portaudio and sndfile now # Which makes fldigi configure options portaudio & oss useless CONFIGURE_ARGS+=--with-portaudio --disable-oss post-configure: # force rebuild of man pages ${RM} ${WRKSRC}/doc/*.1 post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/guide.html ${STAGEDIR}${DOCSDIR} .include Index: head/databases/akonadi/Makefile =================================================================== --- head/databases/akonadi/Makefile (revision 450350) +++ head/databases/akonadi/Makefile (revision 450351) @@ -1,66 +1,66 @@ # Created by: miwi # $FreeBSD$ PORTNAME= akonadi PORTVERSION= 1.13.0 PORTREVISION= 3 CATEGORIES= databases kde MASTER_SITES= KDE/stable/${PORTNAME}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Storage server for KDE-Pim LICENSE= LGPL21 LIB_DEPENDS= libboost_thread.so:devel/boost-libs # Let process generate meaningful backtrace on core dump. BUILD_DEPENDS= xsltproc:textproc/libxslt -USES= cmake:outsource execinfo kde:4 shared-mime-info \ +USES= cmake:outsource kde:4 shared-mime-info \ compiler:c++11-lang pathfix tar:bzip2 USE_KDE= automoc4 soprano USE_QT4= corelib dbus gui network qtestlib_build sql xml \ moc_build qmake_build rcc_build uic_build CMAKE_ARGS+= -DAKONADI_BUILD_TESTS:BOOL=FALSE \ -DINSTALL_QSQLITE_IN_QT_PREFIX:BOOL=TRUE \ -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" USE_LDCONFIG= yes OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE OPTIONS_SUB= yes # SQLITE MYSQL_DESC= Install MySQL Qt plugin and server MYSQL_USE= QT4=sql-mysql_run MYSQL_USES= mysql:server PGSQL_DESC= Install PostgreSQL Qt plugin # Do not add a dependency on PostgreSQL server as someone preferring # it over MySQL might like to use some advanced configuration, like a # remote server. #PGSQL_USE= PGSQL=server PGSQL_USE= QT4=sql-pgsql_run SQLITE_DESC= Enable SQLite backend SQLITE_USES= sqlite:3 SQLITE_CMAKE_OFF= -DAKONADI_BUILD_QSQLITE=off OPTIONS_DEFAULT= MYSQL post-patch: ${REINPLACE_CMD} -e '/find_program/ s|mysqld|mysqld_safe ${LOCALBASE}/bin|g' \ ${PATCH_WRKSRC}/server/CMakeLists.txt ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${PATCH_WRKSRC}/server/src/storage/dbconfigmysql.cpp # To avoid overflow, MySQL settings need to be lower than # INT_MAX / kern.hz. This setting assumes kern.hz=2000, and # it's nothing but a temporary hack. ${REINPLACE_CMD} -e '/wait_timeout/ s|31536000|1073741|' \ ${PATCH_WRKSRC}/server/src/storage/*.conf # Prevent updating MIME during build. ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \ -e '/find_package(SharedMimeInfo/ d' \ ${PATCH_WRKSRC}/CMakeLists.txt .include Index: head/databases/galera/Makefile =================================================================== --- head/databases/galera/Makefile (revision 450350) +++ head/databases/galera/Makefile (revision 450351) @@ -1,86 +1,86 @@ # Created by: Horia Racoviceanu # $FreeBSD$ PORTNAME= galera PORTVERSION?= 25.3.21 DISTVERSIONPREFIX?= release_ CATEGORIES= databases MAINTAINER= devel@galeracluster.com COMMENT= Synchronous multi-master replication engine LICENSE= GPLv2 BUILD_DEPENDS= checkmk:devel/check \ ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libboost_date_time.so:devel/boost-libs BROKEN_aarch64= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' BROKEN_armv6= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' NOT_FOR_ARCHS= i386 # On i386 older versions of clang produce: # cannot compile this atomic library call yet ... __atomic_add_fetch # whereas newer ones generate a call to __atomic_add_fetch which ends up with # undefined reference at link time: # undefined reference to `__atomic_fetch_add_8' # https://bugs.llvm.org//show_bug.cgi?id=23262 # https://bugs.llvm.org//show_bug.cgi?id=24908 # https://tracker.crystax.net/issues/1263 NOT_FOR_ARCHS_REASON_i386=Uses 64 bit atomics that clang cannot generate on i386 -USES= execinfo python:build scons ssl +USES= python:build scons ssl USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= codership LDFLAGS+= -lboost_program_options -lboost_system MAKE_ARGS+= revno=${GH_TAGNAME} system_asio=0 tests=0 USE_RC_SUBR= garb.sh # Abuse TEST_TARGET to append tests=1 (which is not a target, strictly # speaking) at the end of the "scons ..." command so that it overrides # tests=0 from ${MAKE_ARGS}. To rerun the tests a second time, remove # all *.passed files: find ./work -name *.passed -print -delete TEST_TARGET= deterministic_tests=1 tests=1 PLIST_FILES= bin/garbd \ lib/libgalera.so \ lib/libgalera_smm.so OPTIONS_DEFINE= BOOSTPOOL BPOSTATIC DEBUG BOOSTPOOL_DESC= Use boost pool allocator BPOSTATIC_DESC= Use static boost_program_options .include # Clang is available on FreeBSD 9.x but the default # compiler (e.g. /usr/bin/cc) is GCC. Force the usage of Clang. .if ${OSVERSION} < 1000024 CC= clang CXX= clang++ CPP= clang-cpp .endif .if ${PORT_OPTIONS:MBOOSTPOOL} MAKE_ARGS+= boost_pool=1 .endif .if ${PORT_OPTIONS:MBPOSTATIC} MAKE_ARGS+= bpostatic=${LOCALBASE}/lib/libboost_program_options.a .endif .if ${PORT_OPTIONS:MDEBUG} MAKE_ARGS+= debug=0 .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/garb/garbd ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_LIB} ${WRKSRC}/libgalera_smm.so ${STAGEDIR}${PREFIX}/lib/ @(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libgalera_smm.so \ libgalera.so) .include Index: head/databases/libmemcached/Makefile =================================================================== --- head/databases/libmemcached/Makefile (revision 450350) +++ head/databases/libmemcached/Makefile (revision 450351) @@ -1,63 +1,63 @@ # $FreeBSD$ PORTNAME= libmemcached PORTVERSION= 1.0.18 PORTREVISION= 6 CATEGORIES= databases MASTER_SITES= http://launchpad.net/${PORTNAME}/1.0/${PORTVERSION}/+download/ MAINTAINER= m.tsatsenko@gmail.com COMMENT= C and C++ client library to the memcached server LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS?= libevent.so:devel/libevent TEST_DEPENDS= memcached:databases/memcached -USES= autoreconf execinfo gmake libtool localbase pathfix pkgconfig +USES= autoreconf gmake libtool localbase pathfix pkgconfig USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-memcached \ --without-sphinx-build \ --enable-libmemcachedprotocol LIBS+= -L${LOCALBASE}/lib -lexecinfo CXXFLAGS+= -D__STDC_CONSTANT_MACROS -pthread OPTIONS_DEFINE= DEBUG DTRACE MEMASLAP SASL OPTIONS_DEFAULT= MEMASLAP SASL MURMUR FNV64 OPTIONS_GROUP= HASH OPTIONS_GROUP_HASH= FNV64 HSIEH MURMUR DTRACE_DESC= Enable DTrace support MEMASLAP_DESC= Load generation and benchmark tool FNV64_DESC= Enable fnv64 hashing HSIEH_DESC= Enable hsieh hashing MURMUR_DESC= Enable murmur hashing DEBUG_CONFIGURE_ENABLE= debug DTRACE_CONFIGURE_ENABLE= dtrace MEMASLAP_CONFIGURE_ENABLE= memaslap FNV64_CONFIGURE_ENABLE= fnv64_hash HSIEH_CONFIGURE_ENABLE= hsieh_hash MURMUR_CONFIGURE_ENABLE= murmur_hash SASL_CONFIGURE_ENABLE= sasl SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 PATHFIX_MAKEFILEIN= include.am post-patch: @${REINPLACE_CMD} -e '/^LDFLAGS *=/ s/$$/ $${LTLIBSASL2}/' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} '/MAKE.*man/d' ${WRKSRC}/man/include.am post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* regression-test: build @cd ${WRKSRC} && ${GMAKE} check .include Index: head/databases/mariadb100-server/Makefile =================================================================== --- head/databases/mariadb100-server/Makefile (revision 450350) +++ head/databases/mariadb100-server/Makefile (revision 450351) @@ -1,178 +1,178 @@ # $FreeBSD$ PORTNAME?= mariadb PORTVERSION= 10.0.32 PORTREVISION?= 2 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \ http://mirrors.supportex.net/${SITESDIR}/ \ http://mirror2.hs-esslingen.de/pub/Mirrors/${SITESDIR}/ \ http://gd.tuwien.ac.at/db/${SITESDIR}/ \ http://mirrors.fe.up.pt/pub/${SITESDIR}/ \ http://mirror.de.gsnw.de:56431/${SITESDIR}/ \ http://mirror.layerjet.com/${SITESDIR}/ \ http://mirror.switch.ch/mirror/${SITESDIR}/ PKGNAMESUFFIX?= 100-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 #LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_NAME_PerconaFT= PerconaFT patents license LICENSE_FILE_PerconaFT= ${WRKSRC}/storage/tokudb/PerconaFT/PATENTS LICENSE_PERMS_PerconaFT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= Fails to link: missing sbrk SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message SLAVEDIRS= databases/mariadb100-client -USES= bison:build cmake:noninja compiler:c++11-lib cpe execinfo \ +USES= bison:build cmake:noninja compiler:c++11-lib cpe \ ncurses shebangfix ssl USE_LDCONFIG= ${PREFIX}/lib/mysql ${PREFIX}/lib/mysql/plugin SHEBANG_FILES= scripts/*.sh SITESDIR= mariadb/mariadb-${PORTVERSION}/source OPTIONS_DEFINE= FASTMTX NO_OPTIONS_SORT= yes FASTMTX_DESC= Replace mutexes with spinlocks CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mariadb" \ -DINSTALL_DOCREADMEDIR="share/doc/mariadb" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_UNIT_TESTS=0 \ -DWITH_LIBEDIT=0 \ -DWITH_SSL=${OPENSSLBASE} \ -DWITH_LIBWRAP=1 \ -DEXECINFO_ROOT=${LOCALBASE} \ -DCOMPILATION_COMMENT="FreeBSD Ports" DATADIR= ${PREFIX}/share/mysql .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. This leads to a circular dependency. Please undefine and try again. .endif CONFLICTS_INSTALL= mariadb5*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mariadb10[1-9]-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysqlwsrep* \ percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ .if !defined(CLIENT_ONLY) # MySQL-Server options OPTIONS_DEFINE+= MAXKEY OPTIONS_DEFAULT+= MAXKEY OPTIONS_GROUP= ENGINES OPTIONS_GROUP_ENGINES= INNOBASE MROONGA OQGRAPH SPHINX SPIDER TOKUDB ENGINES_DESC= Optional MariaDB storage engines INNOBASE_DESC= Build InnoDB engine next to XtraDB MAXKEY_DESC= Change max key length from 1000 to 4000 MROONGA_DESC= Mroonga Full Text Search engine OQGRAPH_DESC= Open Query Graph Computation engine (Requires GCC) SPHINX_DESC= SphinxSE engine SPIDER_DESC= Partitioning and XA-transactions engine TOKUDB_DESC= Fractal tree index tree data structure engine OPTIONS_SUB= yes .endif FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 .if defined(CLIENT_ONLY) # MySQL-Client part USES+= readline .else # MySQL-Server part BROKEN_powerpc64= Does not build: fatal error: sys/platform/ppc.h: No such file or directory USES+= mysql:100m USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" \ -DCMAKE_SKIP_BUILD_RPATH:BOOL=YES \ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 .for ENGINE in ${OPTIONS_GROUP_ENGINES} ${ENGINE}_CMAKE_OFF= -DWITHOUT_${ENGINE}=1 .endfor MAXKEY_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_my__compare.h MROONGA_CMAKE_OFF= -DWITHOUT_MROONGA=1 MROONGA_LIB_DEPENDS= liblz4.so:archivers/liblz4 OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libJudy.so:devel/judy # Currently OQGraph does not build using clang. # See See https://mariadb.atlassian.net/browse/MDEV-8051. OQGRAPH_USE= gcc OQGRAPH_BROKEN= OQGraph does not build TOKUDB_LIB_DEPENDS= libsnappy.so:archivers/snappy TOKUDB_PORTDOCS= PATENTS README.md TOKUDB_VARS= LICENSE+=PerconaFT LICENSE_COMB=multi post-install: # Remove programs to avoid conflict with mariadb100-client # These are "client" components, so there should be a switch that # prevents them from being installed but it's unknown right now . for f in bin/msql2mysql bin/mysql_config bin/mysql_find_rows \ bin/mysqlaccess COPYING.AGPLv3 COPYING.GPLv2 share/aclocal/mysql.m4 ${RM} ${STAGEDIR}${PREFIX}/${f} . endfor ${RM} -r ${STAGEDIR}${DATADIR}/SELinux .endif .include .if ${OPSYS} == FreeBSD CMAKE_ARGS+= -DWITH_JEMALLOC="system" .else CMAKE_ARGS+= -DWITH_JEMALLOC="no" .endif .if ${PORT_OPTIONS:MTOKUDB} NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= TokuDB not supported on 32-bit platforms, see \ https://github.com/percona/PerconaFT/blob/master/README.md .endif .if ${ARCH} == 'i386' # Server segfaults on i386 when built with clang >= 3.4 USE_GCC= yes .endif post-extract-OQGRAPH-off: @${RM} -r ${WRKSRC}/storage/oqgraph post-patch: @${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/my_default.c @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/scripts/mysql_config.sh .if ${OPSYS} == DragonFly ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ ${WRKSRC}/cmake/os/DragonFly.cmake ${MV} ${WRKSRC}/storage/tokudb ${WRKSRC}/skip-tokudb .endif post-configure-MROONGA-on: ${REINPLACE_CMD} 's|-llz4|-L${LOCALBASE}/lib -llz4|' \ ${WRKSRC}/storage/mroonga/CMakeFiles/mroonga.dir/link.txt .include Index: head/databases/mariadb101-server/Makefile =================================================================== --- head/databases/mariadb101-server/Makefile (revision 450350) +++ head/databases/mariadb101-server/Makefile (revision 450351) @@ -1,194 +1,194 @@ # $FreeBSD$ PORTNAME?= mariadb PORTVERSION= 10.1.26 PORTREVISION?= 1 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \ http://mirrors.supportex.net/${SITESDIR}/ \ http://mirror2.hs-esslingen.de/pub/Mirrors/${SITESDIR}/ \ http://gd.tuwien.ac.at/db/${SITESDIR}/ \ http://mirrors.fe.up.pt/pub/${SITESDIR}/ \ http://mirror.de.gsnw.de:56431/${SITESDIR}/ \ http://mirror.layerjet.com/${SITESDIR}/ \ http://mirror.switch.ch/mirror/${SITESDIR}/ PKGNAMESUFFIX?= 101-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 LICENSE_NAME_PerconaFT= PerconaFT patents license LICENSE_FILE_PerconaFT= ${WRKSRC}/storage/tokudb/PerconaFT/PATENTS LICENSE_PERMS_PerconaFT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= Fails to link: missing sbrk SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message SLAVEDIRS= databases/mariadb101-client -USES= bison:build cmake compiler:c++11-lib cpe execinfo libedit ncurses \ +USES= bison:build cmake compiler:c++11-lib cpe libedit ncurses \ shebangfix ssl USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES= scripts/*.sh SITESDIR= mariadb/mariadb-${PORTVERSION}/source DOCSDIR= ${PREFIX}/share/doc/mysql OPTIONS_DEFINE= FASTMTX OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_DEFAULT= GSSAPI_BASE FASTMTX_DESC= Replace mutexes with spinlocks .if !defined(CLIENT_ONLY) # MySQL-Server options OPTIONS_DEFINE+= CONNECT_EXTRA MAXKEY OPTIONS_DEFAULT+= MAXKEY SPHINX SPIDER OPTIONS_GROUP= COMPRESSION ENGINES GROONGA OPTIONS_GROUP_COMPRESSION= LZ4 LZO SNAPPY OPTIONS_GROUP_ENGINES= INNOBASE MROONGA OQGRAPH SPHINX SPIDER TOKUDB OPTIONS_GROUP_GROONGA= ZMQ MSGPACK OPTIONS_EXCLUDE_i386= TOKUDB CONNECT_EXTRA_DESC= Enable ODBC and XML in CONNECT engine COMPRESSION_DESC= Optional page compression ENGINES_DESC= Optional MariaDB storage engines GROONGA_DESC= Optional Mroonga features INNOBASE_DESC= Build InnoDB engine next to XtraDB MAXKEY_DESC= Change max key length from 1000 to 4000 MROONGA_DESC= Mroonga Full Text Search engine MSGPACK_DESC= MsgPack support OQGRAPH_DESC= Open Query Graph Computation engine SPHINX_DESC= SphinxSE engine SPIDER_DESC= Partitioning and XA-transactions engine TOKUDB_DESC= Fractal tree index tree data structure engine ZMQ_DESC= ZeroMQ support .endif GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_UNIT_TESTS=0 \ -DWITH_LIBWRAP=1 \ -DWITH_SSL=${OPENSSLBASE} \ -DKRB5_CONFIG=${KRB5CONFIG} \ -DEXECINFO_ROOT=${LOCALBASE} \ -DCOMPILATION_COMMENT="FreeBSD Ports" DATADIR= ${PREFIX}/share/mysql .ifdef USE_MYSQL .error You have 'USE_MYSQL' variable defined either in environment or in make(1) arguments. This leads to a circular dependency. Please undefine and try again. .endif CONFLICTS_INSTALL= mariadb5*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mariadb10[02-9]-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysqlwsrep* \ percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 OPTIONS_SUB= yes .if defined(CLIENT_ONLY) # MySQL-Client part USES+= readline GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI_CLIENT=NO .else # MySQL-Server part BROKEN_powerpc64= Does not build: fatal error: sys/platform/ppc.h: No such file or directory USES+= mysql:101m USE_GNOME= libxml2 USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" \ -DPLUGIN_AUTH_GSSAPI_CLIENT=NO \ -DCMAKE_SKIP_BUILD_RPATH:BOOL=YES \ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 .for ENGINE in ${OPTIONS_GROUP_ENGINES} ${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO \ -DWITHOUT_${ENGINE}=1 .endfor CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC CONNECT_EXTRA_USE= gnome=libxml2 GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI=NO LZ4_CMAKE_OFF= -DGRN_WITH_LZ4=OFF -DWITH_INNODB_LZ4=OFF LZ4_CMAKE_ON= -DGRN_WITH_LZ4=${LOCALBASE}/lib -DWITH_INNODB_LZ4=${LOCALBASE}/lib LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZO_CMAKE_OFF= -DWITH_INNODB_LZO=OFF LZO_CMAKE_ON= -DWITH_INNODB_LZO=${LOCALBASE}/lib LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 MAXKEY_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_my__compare.h MROONGA_LIB_DEPENDS= liblz4.so:archivers/liblz4 MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libJudy.so:devel/judy SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=${LOCALBASE}/lib SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy TOKUDB_IMPLIES= SNAPPY TOKUDB_PORTDOCS= README.md TOKUDB_VARS= LICENSE+=PerconaFT LICENSE_COMB=multi ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= currently does not compile on i386, see \ https://mariadb.atlassian.net/browse/MDEV-9627 post-install: # Remove programs to avoid conflict with mariadb101-client # These are "client" components, so there should be a switch that # prevents them from being installed but it's unknown right now ${RM} ${STAGEDIR}${PREFIX}/bin/msql2mysql \ ${STAGEDIR}${PREFIX}/bin/mysql_config \ ${STAGEDIR}${PREFIX}/bin/mysql_find_rows \ ${STAGEDIR}${PREFIX}/bin/mysqlaccess \ ${STAGEDIR}${PREFIX}/lib/mysql/plugin/client_ed25519.so ${RM} -r ${STAGEDIR}${PREFIX}/share/mysql/policy \ ${STAGEDIR}${PREFIX}/share/pkgconfig \ ${STAGEDIR}${PREFIX}/mysql/mysql-test \ ${STAGEDIR}${PREFIX}/mysql/sql-bench .endif # defined(CLIENT_ONLY) .include .if ${SSL_DEFAULT} != base && ${PORT_OPTIONS:MGSSAPI_BASE} IGNORE= BASE_GSSAPI is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system .endif .if ${OPSYS} == FreeBSD CMAKE_ARGS+= -DWITH_JEMALLOC="system" .endif post-patch: @${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/my_default.c @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/scripts/mysql_config.sh .if ${OPSYS} == DragonFly ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ ${WRKSRC}/cmake/os/DragonFly.cmake .endif .include Index: head/databases/mariadb102-server/Makefile =================================================================== --- head/databases/mariadb102-server/Makefile (revision 450350) +++ head/databases/mariadb102-server/Makefile (revision 450351) @@ -1,209 +1,209 @@ # $FreeBSD$ PORTNAME?= mariadb PORTVERSION= 10.2.7 PORTREVISION?= 1 CATEGORIES= databases ipv6 MASTER_SITES= http://mirrors.supportex.net/${SITESDIR}/ \ http://mirror2.hs-esslingen.de/pub/Mirrors/${SITESDIR}/ \ http://gd.tuwien.ac.at/db/${SITESDIR}/ \ http://mirrors.fe.up.pt/pub/${SITESDIR}/ \ http://mirror.de.gsnw.de:56431/${SITESDIR}/ \ http://mirror.layerjet.com/${SITESDIR}/ \ http://mirror.switch.ch/mirror/${SITESDIR}/ \ http://ftp.osuosl.org/pub/${SITESDIR}/ PKGNAMESUFFIX?= 102-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 LICENSE_NAME_PerconaFT= PerconaFT patents license LICENSE_FILE_PerconaFT= ${WRKSRC}/storage/tokudb/PerconaFT/PATENTS LICENSE_PERMS_PerconaFT= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BROKEN_aarch64= fails to link: stacktrace.c: undefined reference to 'sbrk' SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message SLAVEDIRS= databases/mariadb102-client -USES= bison:build cmake compiler:c++11-lib cpe execinfo iconv:translit libedit ncurses shebangfix ssl +USES= bison:build cmake compiler:c++11-lib cpe iconv:translit libedit ncurses shebangfix ssl USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES= scripts/*.sh SITESDIR= mariadb/mariadb-${PORTVERSION}/source DOCSDIR= ${PREFIX}/share/doc/mysql OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE OPTIONS_DEFAULT= GSSAPI_BASE .if !defined(CLIENT_ONLY) # MySQL-Server options OPTIONS_DEFAULT+= CONNECT_EXTRA INNOBASE SPHINX SPIDER OPTIONS_GROUP= COMPRESSION ENGINES GROONGA OPTIONS_DEFINE= CONNECT_EXTRA OPTIONS_GROUP_COMPRESSION= LZ4 LZO SNAPPY ZSTD OPTIONS_GROUP_ENGINES= INNOBASE MROONGA OQGRAPH ROCKSDB SPHINX SPIDER TOKUDB XTRADB OPTIONS_GROUP_GROONGA= ZMQ MSGPACK OPTIONS_EXCLUDE_i386= TOKUDB CONNECT_EXTRA_DESC= Enable ODBC and XML in CONNECT engine COMPRESSION_DESC= Optional page compression ENGINES_DESC= Optional MariaDB storage engines GROONGA_DESC= Optional Mroonga features INNOBASE_DESC= InnoDB default engine MROONGA_DESC= Mroonga Full Text Search engine MSGPACK_DESC= MsgPack support OQGRAPH_DESC= Open Query Graph Computation engine ROCKSDB_DESC= RocksDB LSM engine (Alpha) SPHINX_DESC= SphinxSE engine SPIDER_DESC= Partitioning and XA-transactions engine TOKUDB_DESC= Fractal tree index tree data structure engine XTRADB_DESC= Build XtraDB engine next to InnoDB ZMQ_DESC= ZeroMQ support ZSTD_DESC+= Zstandard compression support (RocksDB only) .endif GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DDEFAULT_SYSCONFDIR="${PREFIX}/etc" \ -DWITH_JEMALLOC="system" \ -DWITH_LIBWRAP=1 \ -DWITH_SSL="${OPENSSLBASE}" \ -DWITH_UNIT_TESTS=0 \ -DWITHOUT_DOCS=1 \ -DCURSES_CURSES_LIBRARY="/usr/lib/libcurses.so" \ -DCURSES_FORM_LIBRARY="/usr/lib/libform.so" \ -DCURSES_CURSES_LIBRARY="/usr/lib/libncurses.so" \ -DEXECINFO_ROOT="${LOCALBASE}" \ -DICONV_LIBRARIES="${ICONV_LIB_PATH}" \ -DKRB5_CONFIG="${KRB5CONFIG}" \ -DCURSES_NCURSES_LIBRARY="${NCURSESLIB}/libncurses.so" \ -DOPENSSL_ROOT_DIR="${OPENSSLBASE}" \ -DOPENSSL_CRYPTO_LIBRARY="${OPENSSLBASE}/lib/libcrypto.so" \ -DOPENSSL_SSL_LIBRARY="${OPENSSLBASE}/lib/libssl.so" \ -DREMOTEIO_PLUGIN_TYPE="NO" \ -DCOMPILATION_COMMENT="FreeBSD Ports" \ -DCMAKE_PREFIX_PATH=${PREFIX} DATADIR= ${PREFIX}/share/mysql .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. This leads to a circular dependency. Please undefine and try again. .endif CONFLICTS_INSTALL= mariadb5*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mariadb10[013-9]-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysql[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* \ mysqlwsrep* \ percona[0-9]*-${PKGNAMESUFFIX:C/^[0-9]*-//}-* FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 OPTIONS_SUB= yes .if defined(CLIENT_ONLY) # MySQL-Client part USES+= readline GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI_CLIENT=NO .else # MySQL-Server part USES+= mysql:102m USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" \ -DPLUGIN_AUTH_GSSAPI_CLIENT=NO \ -DCMAKE_SKIP_BUILD_RPATH:BOOL=YES \ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \ -DWITHOUT_CLIENT=1 .for ENGINE in ${OPTIONS_GROUP_ENGINES:NINNOBASE} ${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO \ -DWITHOUT_${ENGINE}=1 ${ENGINE}_CMAKE_ON= -DPLUGIN_${ENGINE}=DYNAMIC .endfor INNOBASE_CMAKE_OFF= -DPLUGIN_INNOBASE=NO -DWITHOUT_INNOBASE=1 CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC CONNECT_EXTRA_USE= gnome=libxml2 GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI=NO -DPLUGIN_AUTH_GSSAPI_CLIENT=NO LZ4_CMAKE_OFF= -DGRN_WITH_LZ4=OFF -DWITH_INNODB_LZ4=OFF -DWITH_ROCKSDB_LZ4=OFF LZ4_CMAKE_ON= -DGRN_WITH_LZ4=ON -DWITH_INNODB_LZ4=ON -DWITH_ROCKSDB_LZ4=ON LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZO_CMAKE_OFF= -DWITH_INNODB_LZO=OFF LZO_CMAKE_ON= -DWITH_INNODB_LZO=ON LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 MROONGA_IMPLIES= LZ4 MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libJudy.so:devel/judy SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF -DWITH_ROCKSDB_snappy=OFF SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON -DWITH_ROCKSDB_snappy=ON SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy TOKUDB_IMPLIES= SNAPPY TOKUDB_PORTDOCS= README.md TOKUDB_VARS= LICENSE+=PerconaFT LICENSE_COMB=multi ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 ZSTD_CMAKE_ON= -DWITH_ROCKSDB_ZSTD=ON ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= currently does not compile on i386, see \ https://jira.mariadb.org/browse/MDEV-9627 post-install: # Remove programs to avoid conflict with mariadb102-client # These are "client" components, so there should be a switch that # prevents them from being installed but it's unknown right now ${RM} ${STAGEDIR}${PREFIX}/bin/msql2mysql \ ${STAGEDIR}${PREFIX}/bin/mysql_config \ ${STAGEDIR}${PREFIX}/bin/mysql_find_rows \ ${STAGEDIR}${PREFIX}/bin/mysqlaccess ${RM} -r ${STAGEDIR}/${PREFIX}/share/mysql/policy \ ${STAGEDIR}/${PREFIX}/share/pkgconfig ${RM} ${STAGEDIR}${LOCALBASE}/lib/mysql/libmysqlclient* .endif # defined(CLIENT_ONLY) .if defined(WITH_OPENSSL_PORT) GSSAPI_BASE_IGNORE= BASE_GSSAPI is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system .endif .include .if ${OPSYS} == DragonFly CMAKE_ARGS+= -DWITHOUT_TOKUDB .endif post-patch: ${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt ${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/my_default.c ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/scripts/mysql_config.sh .if ${OPSYS} == DragonFly ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \ ${WRKSRC}/cmake/os/DragonFly.cmake .endif #post-configure-MROONGA-on: # ${REINPLACE_CMD} 's|-llz4|-L${LOCALBASE}/lib -llz4|' \ # ${WRKSRC}/storage/mroonga/CMakeFiles/mroonga.dir/link.txt .include Index: head/databases/mariadb55-server/Makefile =================================================================== --- head/databases/mariadb55-server/Makefile (revision 450350) +++ head/databases/mariadb55-server/Makefile (revision 450351) @@ -1,126 +1,126 @@ # $FreeBSD$ PORTNAME?= mariadb PORTVERSION= 5.5.57 PORTREVISION?= 1 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirrors.supportex.net/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirror.aarnet.edu.au/pub/MariaDB/${PORTNAME}-${PORTVERSION}/source/ \ http://mirror2.hs-esslingen.de/pub/Mirrors/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://gd.tuwien.ac.at/db/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirrors.fe.up.pt/pub/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirror.de.gsnw.de:56431/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirror.layerjet.com/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirror.switch.ch/mirror/mariadb/${PORTNAME}-${PORTVERSION}/source/ PKGNAMESUFFIX?= 55-server MAINTAINER= brnrd@FreeBSD.org COMMENT?= Multithreaded SQL database (server) LICENSE= GPLv2 SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message SLAVEDIRS= databases/mariadb55-client -USES= cmake:noninja execinfo shebangfix ssl +USES= cmake:noninja shebangfix ssl USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES= scripts/*.sh sql-bench/[a-km-z]* CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ -DINSTALL_INCLUDEDIR="include/mysql" \ -DINSTALL_INFODIR="info" \ -DINSTALL_LIBDIR="lib/mysql" \ -DINSTALL_MANDIR="man" \ -DINSTALL_MYSQLDATADIR="/var/db/mysql" \ -DINSTALL_MYSQLSHAREDIR="share/mysql" \ -DINSTALL_MYSQLTESTDIR= \ -DINSTALL_PLUGINDIR="lib/mysql/plugin" \ -DINSTALL_SBINDIR="libexec" \ -DINSTALL_SCRIPTDIR="bin" \ -DINSTALL_SHAREDIR="share" \ -DINSTALL_SQLBENCHDIR="share/mysql" \ -DINSTALL_SUPPORTFILESDIR="share/mysql" \ -DWITH_UNIT_TESTS=0 \ -DWITH_LIBWRAP=1 \ -DWITH_SSL=yes \ -DEXECINFO_ROOT=${LOCALBASE} \ -DCOMPILATION_COMMENT="FreeBSD Ports" DATADIR= ${PREFIX}/share/mysql BROKEN_aarch64= Fails to link: missing sbrk BROKEN_armv6= Does not compile on armv6 BROKEN_sparc64= Does not compile: Unsupported platform .if defined(USE_MYSQL) .error You have 'USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif OPTIONS_DEFINE+= FASTMTX OPTIONS_SUB= yes NO_OPTIONS_SORT= yes FASTMTX_DESC= Replace mutexes with spinlocks FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 .if !defined(CLIENT_ONLY) # MySQL-Server part USES+= mysql:55m USE_LDCONFIG|= ${PREFIX}/lib/mysql/plugin CONFLICTS_INSTALL= mariadb5[0-46-9]-server-* \ mariadb1*-server-* \ mysql[0-9]*-server-* \ mysqlwsrep* \ percona[0-9]*-server-* USE_RC_SUBR= mysql-server USERS= mysql GROUPS= mysql CMAKE_ARGS+= -DREADLINE_INCLUDE_DIR=/usr/include \ -DWITH_EMBEDDED_SERVER="ON" \ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 # MySQL-Server options OPTIONS_DEFINE+= MAXKEY OQGRAPH OPTIONS_DEFAULT+= MAXKEY MAXKEY_DESC= Change max key length from 1000 to 4000 OQGRAPH_DESC= Open Query Graph Computation engine OQGRAPH_USE= GCC=yes OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs OQGRAPH_BROKEN= OQGraph does not build MAXKEY_EXTRA_PATCHES= ${FILESDIR}/extra-patch-include_my__compare.h .endif .include .if ${OPSYS} == FreeBSD CMAKE_ARGS+= -DWITH_JEMALLOC="system" .else CMAKE_ARGS+= -DWITH_JEMALLOC="no" .endif # Server segfaults on i386 when built with clang >= 3.4 .if ${ARCH} == 'i386' USE_GCC= yes .endif post-extract-OQGRAPH-off: @${RM} -r ${WRKSRC}/storage/oqgraph post-patch: @${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/default.c @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/scripts/mysql_config.sh .include Index: head/databases/mongodb/Makefile =================================================================== --- head/databases/mongodb/Makefile (revision 450350) +++ head/databases/mongodb/Makefile (revision 450351) @@ -1,81 +1,81 @@ # Created by: Mirko Zinn # $FreeBSD$ PORTNAME= mongodb PORTVERSION= 2.6.12 CATEGORIES= databases net MASTER_SITES= http://downloads.mongodb.org/src/ DISTNAME= ${PORTNAME}-src-r${PORTVERSION} PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME:S|db$||}/commit/ PATCHFILES= 0ee4735ab8fb.patch:-p1 MAINTAINER= ale@FreeBSD.org COMMENT= NOSQL distributed document-oriented database # mongodb is AGPLv3, C++ driver is APACHE20 LICENSE= AGPLv3 APACHE20 LICENSE_COMB= multi LIB_DEPENDS= libpcre.so:devel/pcre \ libsnappy.so:archivers/snappy \ libv8.so:lang/v8 \ # boost 1.52/1.55 from ports make mongod segfaulting with many tests # LIB_DEPENDS+= libboost_system.so:devel/boost-libs # MAKE_ARGS+= --use-system-boost # use bundled yaml # MAKE_ARGS+= --use-system-yaml # LIB_DEPENDS+= libyaml-cpp.so:devel/yaml-cpp ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" OPTIONS_DEFINE= SSL SASL TEST OPTIONS_DEFAULT=SSL TEST_DESC= Add support for running regression test -USES= cpe execinfo scons +USES= cpe scons MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} --cc=${CC} --cxx=${CXX} \ --use-system-pcre --use-system-snappy --use-system-v8 USERS= mongodb GROUPS= mongodb USE_RC_SUBR= mongod PORTSCOUT= limitw:1,even .include .if ${PORT_OPTIONS:MSSL} USES+= ssl MAKE_ARGS+= --ssl .endif .if ${PORT_OPTIONS:MSASL} MAKE_ARGS+= --use-sasl-client LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 .endif .if ${PORT_OPTIONS:MTEST} USES+= python:build BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>=2.5:databases/pymongo TEST_TARGET= smokeAll smokeCppUnittests . if ${PORT_OPTIONS:MSSL} TEST_TARGET+= smokeSsl . endif .else ALL_TARGET= core tools .endif post-patch: @${REINPLACE_CMD} 's/\["-O3"\]/"${CXXFLAGS}"/' \ ${WRKSRC}/SConstruct .if ${PORT_OPTIONS:MTEST} test: build-depends build @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${TEST_TARGET} .endif .include Index: head/databases/mongodb32/Makefile =================================================================== --- head/databases/mongodb32/Makefile (revision 450350) +++ head/databases/mongodb32/Makefile (revision 450351) @@ -1,82 +1,82 @@ # Created by: Brendan Molloy # $FreeBSD$ PORTNAME= mongodb32 PORTVERSION= 3.2.11 DISTVERSIONPREFIX= r CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ \ http://download.mongodb.org/src/ DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${PORTVERSION} MAINTAINER= brendan+freebsd@bbqsrc.net COMMENT= Distributed document-oriented "NoSQL" database # mongodb is AGPLv3, C++ driver is APACHE20 LICENSE= AGPLv3 APACHE20 LICENSE_COMB= multi LIB_DEPENDS= libpcre.so:devel/pcre \ libsnappy.so:archivers/snappy TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo CHOSEN_COMPILER_TYPE= clang ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)" CONFLICTS_BUILD= mongo-cxx-driver OPTIONS_DEFINE= SASL SSL OPTIONS_DEFAULT= SASL SSL SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_MAKE_ARGS= --use-sasl-client SSL_USE= yes SSL_MAKE_ARGS= --ssl -USES= compiler cpe execinfo python:build scons +USES= compiler cpe python:build scons MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ --use-system-pcre --use-system-snappy \ --release USERS= mongodb GROUPS= mongodb USE_RC_SUBR= mongod ALL_TARGET= core TEST_TARGET= unittests .include # Bugs when compiled with < Clang 3.7 # - https://jira.mongodb.org/browse/SERVER-21217 # - https://jira.mongodb.org/browse/SERVER-22740 .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 37 BUILD_DEPENDS+= ${LOCALBASE}/bin/clang40:devel/llvm40 CPP= ${LOCALBASE}/bin/clang-cpp40 CC= ${LOCALBASE}/bin/clang40 CXX= ${LOCALBASE}/bin/clang++40 .endif post-install: .for f in mongo mongod mongoperf mongos mongosniff ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} .endfor ${CP} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample do-test: @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${TEST_TARGET} &&\ ${PYTHON_CMD} ${BUILD_WRKSRC}/buildscripts/resmoke.py\ --suites=unittests --jobs=${MAKE_JOBS_NUMBER} PORTSCOUT= limitw:1,even CPE_PRODUCT= mongodb .include Index: head/databases/mongodb34/Makefile =================================================================== --- head/databases/mongodb34/Makefile (revision 450350) +++ head/databases/mongodb34/Makefile (revision 450351) @@ -1,78 +1,78 @@ # $FreeBSD$ PORTNAME= mongodb DISTVERSIONPREFIX= r DISTVERSION= 3.4.6 PORTREVISION= 1 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ \ http://download.mongodb.org/src/ PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION} MAINTAINER= eric@camachat.org COMMENT= Distributed document-oriented "NoSQL" database # mongodb is AGPLv3, C++ driver is APACHE20 LICENSE= AGPLv3 APACHE20 LICENSE_COMB= multi ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)" LIB_DEPENDS= libpcre.so:devel/pcre \ libsnappy.so:archivers/snappy \ libboost_system.so:devel/boost-libs TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo CONFLICTS_BUILD= mongo-cxx-driver CHOSEN_COMPILER_TYPE= clang -USES= compiler:c++14-lang cpe execinfo python:build scons +USES= compiler:c++14-lang cpe python:build scons USE_RC_SUBR= mongod MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ --use-system-pcre --use-system-snappy \ --use-system-boost --use-system-zlib \ --cxx-std=14 --libc++ \ --runtime-hardening=on \ --disable-warnings-as-errors \ VERBOSE=on WITH_DEBUG= yes USERS= mongodb GROUPS= mongodb OPTIONS_DEFINE= SASL SSL OPTIONS_DEFAULT= SASL SSL SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_MAKE_ARGS= --use-sasl-client SSL_USES= ssl SSL_MAKE_ARGS= --ssl ALL_TARGET= core TEST_TARGET= unittests PORTSCOUT= limitw:1,even CPE_PRODUCT= mongodb post-install: .for f in mongo mongod mongoperf mongos ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} .endfor ${CP} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample do-test: @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${TEST_TARGET} &&\ ${PYTHON_CMD} ${BUILD_WRKSRC}/buildscripts/resmoke.py\ --suites=unittests --jobs=${MAKE_JOBS_NUMBER} .include Index: head/databases/mongodb34-rocks/Makefile =================================================================== --- head/databases/mongodb34-rocks/Makefile (revision 450350) +++ head/databases/mongodb34-rocks/Makefile (revision 450351) @@ -1,87 +1,87 @@ # $FreeBSD$ PORTNAME= mongodb PORTVERSION= 3.4.6 PORTREVISION= 1 DISTVERSIONPREFIX= r CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ \ http://download.mongodb.org/src/ PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}-rocks DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= numisemis@yahoo.com COMMENT= Distributed document-oriented database with a RocksDB Storage Engine # mongodb is AGPLv3, C++ driver is APACHE20 LICENSE= AGPLv3 APACHE20 LICENSE_COMB= multi ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)" LIB_DEPENDS= libpcre.so:devel/pcre \ libsnappy.so:archivers/snappy \ libboost_system.so:devel/boost-libs \ librocksdb.so:databases/rocksdb \ liblz4.so:archivers/liblz4 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo -USES= compiler:c++14-lang cpe execinfo python:build scons +USES= compiler:c++14-lang cpe python:build scons USE_RC_SUBR= mongod \ mongos USE_GITHUB= nodefault GH_TUPLE= mongodb-partners:mongo-rocks:r${PORTVERSION}:module/src/mongo/db/modules/rocks CHOSEN_COMPILER_TYPE= clang CXXSTD= c++14 CONFLICTS_BUILD= mongo-cxx-driver CONFLICTS_INSTALL= mongodb \ mongodb32 \ mongodb34 WITH_DEBUG=yes MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ --use-system-pcre --use-system-snappy \ --use-system-boost --use-system-zlib \ --libc++ --runtime-hardening=on \ --disable-warnings-as-errors \ VERBOSE=on USERS= mongodb GROUPS= mongodb PORTSCOUT= limitw:1,even CPE_PRODUCT= mongodb OPTIONS_DEFINE= SASL SSL OPTIONS_DEFAULT= SASL SSL SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_MAKE_ARGS= --use-sasl-client SSL_MAKE_ARGS= --ssl SSL_USES= ssl ALL_TARGET= core TEST_TARGET= unittests post-install: .for f in mongo mongod mongoperf mongos ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} .endfor ${CP} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongod.conf.sample do-test: @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${TEST_TARGET} &&\ ${PYTHON_CMD} ${BUILD_WRKSRC}/buildscripts/resmoke.py\ --suites=unittests --jobs=${MAKE_JOBS_NUMBER} .include Index: head/databases/pgmodeler/Makefile =================================================================== --- head/databases/pgmodeler/Makefile (revision 450350) +++ head/databases/pgmodeler/Makefile (revision 450351) @@ -1,37 +1,37 @@ # Created by: Loïc BARTOLETTI # $FreeBSD$ PORTNAME= pgmodeler PORTVERSION= 0.9.0 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= databases MAINTAINER= lbartoletti@tuxfamily.org COMMENT= PostgreSQL Database Modeler LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= compiler:c++11-lib execinfo pgsql qmake pkgconfig gmake +USES= compiler:c++11-lib pgsql qmake pkgconfig gmake USE_GITHUB= yes USE_GNOME= libxml2 USE_QT5= gui network sql svg printsupport widgets core buildtools_build uitools testlib USE_GL= gl USE_XORG= x11 xext USE_LDCONFIG= yes QMAKE_SOURCE_PATH= ${WRKSRC}/${PORTNAME}.pro post-patch: @${REINPLACE_CMD} -e 's|linux|unix|g' ${WRKSRC}/${PORTNAME}.pri pre-install: @${MKDIR} ${STAGEDIR}/${LOCALBASE}/lib/${PORTNAME}/plugins post-install: @${RM} ${STAGEDIR}${PREFIX}/bin/tests .include Index: head/databases/redis/Makefile =================================================================== --- head/databases/redis/Makefile (revision 450350) +++ head/databases/redis/Makefile (revision 450351) @@ -1,108 +1,106 @@ # Created by: Sergey Skvortsov # $FreeBSD$ PORTNAME= redis DISTVERSION= 3.2.10 CATEGORIES= databases MASTER_SITES= http://download.redis.io/releases/ MAINTAINER= osa@FreeBSD.org COMMENT= Persistent key-value database with built-in net interface LICENSE= BSD3CLAUSE -USES= execinfo - OPTIONS_DEFINE= TESTS TRIB OPTIONS_RADIO= EXTLUA OPTIONS_RADIO_EXTLUA= LUA LUAJIT OPTIONS_SUB= yes LUA_DESC= Use lang/lua instead of builtin lua LUAJIT_DESC= Use lang/luajit instead of builtin lua TESTS_DESC= Install lang/tcl for redis unit tests TRIB_DESC= Install redis-trib.rb (lang/ruby req.) .include .if ${PORT_OPTIONS:MTRIB} CATEGORIES+= ruby USE_RUBY= yes RUN_DEPENDS= rubygem-redis>=2.2:databases/rubygem-redis .endif .if ${PORT_OPTIONS:MLUA} USES+= lua:51 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src-Makefile.lua .endif .if ${PORT_OPTIONS:MLUAJIT} LIB_DEPENDS+= libluajit-5.1.so:lang/luajit EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src-Makefile.luajit .endif .if ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MLUAJIT} CFLAGS+= -fPIC LDFLAGS+= -Wl,-E .endif .if ${PORT_OPTIONS:MTESTS} USES+= tcl:build .endif CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpthread -lm -lexecinfo CONFLICTS?= redis-devel-3.* USES+= gmake MAKE_ENV= "V=yo" USE_RC_SUBR= redis sentinel BIN_FILES= redis-benchmark redis-check-aof redis-check-rdb \ redis-cli redis-sentinel redis-server PKGMESSAGE= ${WRKDIR}/pkg-message USERS= redis GROUPS= redis REDIS_DBDIR?= /var/db/redis REDIS_RUNDIR?= /var/run/redis REDIS_LOGDIR?= /var/log/redis SUB_FILES= pkg-message SUB_LIST+= PORTNAME=${PORTNAME} \ REDIS_USER=${USERS} \ REDIS_DBDIR=${REDIS_DBDIR} \ REDIS_LOGDIR=${REDIS_LOGDIR} \ REDIS_RUNDIR=${REDIS_RUNDIR} PLIST_SUB+= REDIS_USER=${USERS} \ REDIS_GROUP=${GROUPS} \ REDIS_LOGDIR=${REDIS_LOGDIR} \ REDIS_DBDIR=${REDIS_DBDIR} \ REDIS_RUNDIR=${REDIS_RUNDIR} .if ${PORT_OPTIONS:MLUAJIT} || ${PORT_OPTIONS:MLUA} post-patch: @cd ${WRKSRC}/deps/lua/src && ${CP} fpconv.* lua_* strbuf.* ${WRKSRC}/src/ .endif post-build: ${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/redis.conf > ${WRKDIR}/redis.conf do-install: ${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${STAGEDIR}${PREFIX}/bin/ .if ${PORT_OPTIONS:MTRIB} ${INSTALL_SCRIPT} ${WRKSRC}/src/redis-trib.rb ${STAGEDIR}${PREFIX}/bin/ .endif ${INSTALL_DATA} ${WRKDIR}/redis.conf ${STAGEDIR}${PREFIX}/etc/redis.conf.sample ${INSTALL_DATA} ${WRKSRC}/sentinel.conf ${STAGEDIR}${PREFIX}/etc/sentinel.conf.sample ${MKDIR} ${STAGEDIR}${REDIS_LOGDIR} \ ${STAGEDIR}${REDIS_DBDIR} \ ${STAGEDIR}${REDIS_RUNDIR} regression-test: build @cd ${WRKSRC} && ${TCLSH} tests/test_helper.tcl .include Index: head/databases/redis-devel/Makefile =================================================================== --- head/databases/redis-devel/Makefile (revision 450350) +++ head/databases/redis-devel/Makefile (revision 450351) @@ -1,116 +1,117 @@ # Created by: Sergey Skvortsov # $FreeBSD$ PORTNAME= redis DISTVERSION= 4.0.1 CATEGORIES= databases MASTER_SITES= http://download.redis.io/releases/ PKGNAMESUFFIX= -devel MAINTAINER= osa@FreeBSD.org COMMENT= Persistent key-value database with built-in net interface LICENSE= BSD3CLAUSE BROKEN_i386= undefined reference to __atomic_fetch_add_8 -USES= execinfo +USE_GITHUB= yes +GH_ACCOUNT= antirez OPTIONS_DEFINE= TESTS TRIB OPTIONS_RADIO= EXTLUA OPTIONS_RADIO_EXTLUA= LUA LUAJIT OPTIONS_SUB= yes LUA_DESC= Use lang/lua instead of builtin lua LUAJIT_DESC= Use lang/luajit instead of builtin lua TESTS_DESC= Install lang/tcl for redis unit tests TRIB_DESC= Install redis-trib.rb (lang/ruby req.) .include .if ${ARCH} == i386 && ! ${CFLAGS:M-march=*} # Needed for __atomic_fetch_add_8 CFLAGS+= -march=i586 .endif .if ${PORT_OPTIONS:MTRIB} CATEGORIES+= ruby USE_RUBY= yes RUN_DEPENDS= rubygem-redis>=2.2:databases/rubygem-redis .endif .if ${PORT_OPTIONS:MLUA} USES+= lua:51 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src-Makefile.lua .endif .if ${PORT_OPTIONS:MLUAJIT} LIB_DEPENDS+= libluajit-5.1.so:lang/luajit EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src-Makefile.luajit .endif .if ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MLUAJIT} CFLAGS+= -fPIC LDFLAGS+= -Wl,-E .endif .if ${PORT_OPTIONS:MTESTS} USES+= tcl:build .endif CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpthread -lm -lexecinfo CONFLICTS?= redis-3.* USES+= gmake MAKE_ENV= "V=yo" USE_RC_SUBR= redis sentinel BIN_FILES= redis-benchmark redis-check-aof redis-check-rdb \ redis-cli redis-sentinel redis-server PKGMESSAGE= ${WRKDIR}/pkg-message USERS= redis GROUPS= redis REDIS_DBDIR?= /var/db/redis REDIS_RUNDIR?= /var/run/redis REDIS_LOGDIR?= /var/log/redis SUB_FILES= pkg-message SUB_LIST+= PORTNAME=${PORTNAME} \ REDIS_USER=${USERS} \ REDIS_DBDIR=${REDIS_DBDIR} \ REDIS_LOGDIR=${REDIS_LOGDIR} \ REDIS_RUNDIR=${REDIS_RUNDIR} PLIST_SUB+= REDIS_USER=${USERS} \ REDIS_GROUP=${GROUPS} \ REDIS_LOGDIR=${REDIS_LOGDIR} \ REDIS_DBDIR=${REDIS_DBDIR} \ REDIS_RUNDIR=${REDIS_RUNDIR} .if ${PORT_OPTIONS:MLUAJIT} || ${PORT_OPTIONS:MLUA} post-patch: @cd ${WRKSRC}/deps/lua/src && ${CP} fpconv.* lua_* strbuf.* ${WRKSRC}/src/ .endif post-build: ${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/redis.conf > ${WRKDIR}/redis.conf do-install: ${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${STAGEDIR}${PREFIX}/bin/ .if ${PORT_OPTIONS:MTRIB} ${INSTALL_SCRIPT} ${WRKSRC}/src/redis-trib.rb ${STAGEDIR}${PREFIX}/bin/ .endif ${INSTALL_DATA} ${WRKDIR}/redis.conf ${STAGEDIR}${PREFIX}/etc/redis.conf.sample ${INSTALL_DATA} ${WRKSRC}/sentinel.conf ${STAGEDIR}${PREFIX}/etc/sentinel.conf.sample ${MKDIR} ${STAGEDIR}${REDIS_LOGDIR} \ ${STAGEDIR}${REDIS_DBDIR} \ ${STAGEDIR}${REDIS_RUNDIR} regression-test: build @cd ${WRKSRC} && ${TCLSH} tests/test_helper.tcl .include Index: head/databases/rubygem-bdb1/Makefile =================================================================== --- head/databases/rubygem-bdb1/Makefile (revision 450350) +++ head/databases/rubygem-bdb1/Makefile (revision 450351) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= bdb1 PORTVERSION= 0.2.5 PORTREVISION= 1 CATEGORIES= databases rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby interface to Berkeley DB revision 1.8x with full feature support LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual USE_RUBY= yes -USES= execinfo gem shebangfix +USES= gem shebangfix SHEBANG_FILES= examples/*.rb .include .if ${RUBY_VER} >= 2.2 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ext_bdb1_recnum.c .endif .include Index: head/databases/twemproxy/Makefile =================================================================== --- head/databases/twemproxy/Makefile (revision 450350) +++ head/databases/twemproxy/Makefile (revision 450351) @@ -1,33 +1,33 @@ # Created by: Steven Kreuzer # $FreeBSD$ PORTNAME= twemproxy PORTVERSION= 0.4.1 DISTVERSIONPREFIX= v CATEGORIES= databases MAINTAINER= skreuzer@FreeBSD.org COMMENT= Fast, light-weight proxy for memcached and redis LICENSE= APACHE20 USE_GITHUB= yes GH_ACCOUNT= twitter -USES= execinfo autoreconf libtool +USES= autoreconf libtool CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo PLIST_FILES= sbin/nutcracker \ man/man8/nutcracker.8.gz \ etc/nutcracker.yml.sample HAS_CONFIGURE= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/nutcracker ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/man/nutcracker.8 ${STAGEDIR}${MANPREFIX}/man/man8/ ${INSTALL_DATA} ${WRKSRC}/conf/nutcracker.yml ${STAGEDIR}${PREFIX}/etc/nutcracker.yml.sample .include Index: head/databases/virtuoso/Makefile =================================================================== --- head/databases/virtuoso/Makefile (revision 450350) +++ head/databases/virtuoso/Makefile (revision 450351) @@ -1,107 +1,107 @@ # Created by: Max Khon # $FreeBSD$ PORTNAME= virtuoso PORTVERSION= 7.2.4.2 PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= SF DISTNAME= ${PORTNAME}-opensource-${PORTVERSION} MAINTAINER= fjoe@FreeBSD.org COMMENT= Universal SQL/Application Server LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gawk:lang/gawk\ htmldoc:textproc/htmldoc\ flex>2.5.4:textproc/flex\ gperf>=3.0.3:devel/gperf LIB_DEPENDS= libxml2.so:textproc/libxml2 BROKEN_aarch64= Fails to link: missing sbrk BROKEN_powerpc64= Does not compile: error: DV_INT_TAG_WORD undeclared BROKEN_sparc64= Does not compile: error: DV_INT_TAG_WORD undeclared NOT_FOR_ARCHS= arm armv6 i386 mips powerpc NOT_FOR_ARCHS_REASON= can only be built on 64bit platforms -USES= execinfo gmake libtool readline uidfix ssl +USES= gmake libtool readline uidfix ssl USE_AUTOTOOLS= autoheader aclocal GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-readline\ --without-internal-zlib\ --without-jdk2\ --without-jdk3\ --without-jdk4\ --disable-hslookup\ --disable-wbxml2\ --with-layout=freebsd\ --datadir="${PREFIX}"\ --localstatedir="${PREFIX}" CPPFLAGS+= -std=gnu89 ${IODBC_CPPFLAGS} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo MAKE_ENV= PATH=${LOCALBASE}/bin:${PATH}\ ISQL=isql-vt USE_RC_SUBR= virtuoso USERS= virtuoso GROUPS= virtuoso SUB_FILES= pkg-message CHECK_PORT= nc -z localhost $$\1 2>\&1 OPTIONS_DEFINE= IMAGEMAGICK KERBEROS LDAP IODBC post-patch: ${REINPLACE_CMD} -e 's,-lruby,-lruby${RUBY_SUFFIX},g'\ ${WRKSRC}/configure ${FIND} ${WRKSRC} -name '*.sh' | ${XARGS} ${GREP} -l 'netstat -an.*grep LISTEN' |\ ${XARGS} ${REINPLACE_CMD}\ -e 's,expr \$$,expr -- $$,'\ -e 's,netstat -an.*grep.*$$\([a-zA-Z0-9]*\).*grep LISTEN,${CHECK_PORT},' check: ${SETENV} -u HOST ${MAKE_ENV} ${MAKE} -C ${WRKSRC} check .include .if ${PORT_OPTIONS:MIMAGEMAGICK} CONFIGURE_ARGS+=--enable-imagemagick=${LOCALBASE} LIB_DEPENDS+= libMagickWand-6.so:graphics/ImageMagick PLIST_SUB+= WITH_IMAGEMAGICK="" .else CONFIGURE_ARGS+=--disable-imagemagick PLIST_SUB+= WITH_IMAGEMAGICK="@comment " .endif .if ${PORT_OPTIONS:MIODBC} CONFIGURE_ARGS+=--with-iodbc=${LOCALBASE} LIB_DEPENDS+= libiodbc.so:databases/libiodbc IODBC_CPPFLAGS= -I${LOCALBASE}/include/libiodbc PLIST_SUB+= WITH_IODBC="" .else IODBC_CPPFLAGS= -I../../libsrc/odbcsdk/include PLIST_SUB+= WITH_IODBC="@comment " .endif .if ${PORT_OPTIONS:MKERBEROS} CONFIGURE_ARGS+=--enable-krb=${LOCALBASE} LIB_DEPENDS+= libkrb5.so:security/krb5 .else CONFIGURE_ARGS+=--disable-krb .endif .if ${PORT_OPTIONS:MLDAP} CONFIGURE_ARGS+=--enable-openldap=${LOCALBASE} USE_OPENLDAP= yes .else CONFIGURE_ARGS+=--disable-openldap .endif post-install: ${FIND} ${STAGEDIR} -name "*.ini" -exec ${MV} {} {}.sample \; -print ${RMDIR} ${STAGEDIR}${PREFIX}/virtuoso/doc/html .include Index: head/deskutils/pinot/Makefile =================================================================== --- head/deskutils/pinot/Makefile (revision 450350) +++ head/deskutils/pinot/Makefile (revision 450351) @@ -1,102 +1,102 @@ # Created by: Thierry Thomas # $FreeBSD$ PORTNAME= pinot PORTVERSION= 1.09 PORTREVISION= 5 CATEGORIES= deskutils MAINTAINER= thierry@FreeBSD.org COMMENT= Personal search and metasearch for the Free Desktop LICENSE= GPLv2 BUILD_DEPENDS= desktop-file-install:devel/desktop-file-utils \ update-mime-database:misc/shared-mime-info LIB_DEPENDS= libxapian.so:databases/xapian-core \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libexttextcat-2.0.so:textproc/libexttextcat \ libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus \ libxml++-2.6.so:textproc/libxml++26 \ libboost_thread.so:devel/boost-libs \ libexif.so:graphics/libexif \ libexiv2.so:graphics/exiv2 \ libgmime-2.4.so:mail/gmime24 \ libtag.so:audio/taglib \ libcurl.so:ftp/curl RUN_DEPENDS= update-mime-database:misc/shared-mime-info \ antiword:textproc/antiword \ xdg-open:devel/xdg-utils \ catppt:textproc/catdoc \ unrtf:textproc/unrtf \ catdvi:print/catdvi \ bash:shells/bash \ ${LOCALBASE}/libexec/xpdf/pdftotext:graphics/xpdf USE_GITHUB= yes GH_ACCOUNT= FabriceColin GH_TAGNAME= c14d6d5 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-http=curl --with-ssl=${OPENSSLBASE} --enable-libarchive \ --enable-mempool=no CONFIGURE_ENV= MKDIR_P="${MKDIR}" TEXTCAT_LIBS="-lexttextcat-2.0" CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lboost_system -USES= compiler:c++11-lang autoreconf execinfo gettext libarchive \ +USES= compiler:c++11-lang autoreconf gettext libarchive \ libtool pkgconfig python shebangfix sqlite:3 ssl USE_CXXSTD= c++11 USE_XORG= pixman USE_GNOME= atkmm cairo cairomm glibmm gtk20 gtkmm24 libsigc++20 libxml2 pangomm USE_LDCONFIG= ${PREFIX}/lib/pinot/backends ${PREFIX}/lib/pinot/filters SHEBANG_FILES= scripts/bash/*.sh OPTIONS_DEFINE= DEBUG CHMLIB DOCS OPTIONS_SUB= yes DEBUG_CONFIGURE_ON= --enable-debug=yes CHMLIB_CONFIGURE_ON= --enable-chmlib=yes CHMLIB_CONFIGURE_OFF= --disable-chmlib CHMLIB_LIB_DEPENDS= libchm.so:misc/chmlib INSTALLS_ICONS= yes DOCS= AUTHORS ChangeLog ChangeLog-dijon INSTALL NEWS README TODO LM2FIX= textcat_conf.txt textcat3_conf.txt textcat31_conf.txt textcat32_conf.txt SHR2FIX= Core/pinot-search.1 README UL2FIX= Utils/xdgmime/xdgmime.c post-extract: # remove pre-generated messages catalogs ${FIND} ${WRKSRC}/po -name "*.gmo" -delete post-patch: ${REINPLACE_CMD} -e \ '//s|pdftotext|${LOCALBASE}/libexec/xpdf/pdftotext|' \ ${WRKSRC}/Tokenize/filters/external-filters.xml pre-configure: ${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \ ${LM2FIX:S|^|${WRKSRC}/|} ${REINPLACE_CMD} -e 's|libtextcat/|libtextcat/LM/|' \ ${WRKSRC}/textcat_conf.txt ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${UL2FIX:S|^|${WRKSRC}/|} ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${SHR2FIX:S|^|${WRKSRC}/|} ${REINPLACE_CMD} -e 's|Icon=pinot.png|Icon=pinot|g' \ ${WRKSRC}/*.desktop post-install: ${TOUCH} ${STAGEDIR}${DATADIR}/stopwords/.empty_file post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/devel/clanlib/Makefile =================================================================== --- head/devel/clanlib/Makefile (revision 450350) +++ head/devel/clanlib/Makefile (revision 450351) @@ -1,56 +1,56 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= clanlib PORTVERSION= 2.3.7 PORTREVISION= 15 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= http://www.clanlib.org/download/releases-2.0/ DISTNAME= ClanLib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform game SDK LICENSE= ZLIB LIB_DEPENDS= libpng.so:graphics/png \ libmikmod.so:audio/libmikmod \ libvorbis.so:audio/libvorbis \ libfontconfig.so:x11-fonts/fontconfig \ libpcre.so:devel/pcre -USES= compiler:c++11-lib execinfo gmake jpeg libtool localbase:ldflags \ +USES= compiler:c++11-lib gmake jpeg libtool localbase:ldflags \ pathfix pkgconfig sqlite tar:tgz USE_XORG= x11 USE_LDCONFIG= yes USE_GL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docs \ --enable-clanDisplay \ --enable-clanGL \ --enable-clanGL1 \ --enable-clanSound \ --enable-clanDatabase \ --enable-clanSqlite \ --enable-clanRegExp \ --enable-clanNetwork \ --enable-clanGUI \ --enable-clanCSSLayout \ --enable-clanSWRender \ --enable-clanMikMod \ --enable-clanVorbis \ --enable-getaddr INSTALL_TARGET= install-strip PLIST_SUB+= VER=${PORTVERSION:R} \ SHORT_VER=${PORTVERSION:R:R}${PORTVERSION:R:E} post-patch: @${REINPLACE_CMD} -e 's|LIBS="-lsqlite3 -ldl"|LIBS="-lsqlite3"|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e '114 s|/proc/self/exe|/proc/curproc/file|g' \ ${WRKSRC}/Sources/Core/System/Unix/init_linux.cpp .include Index: head/devel/cmake/Makefile =================================================================== --- head/devel/cmake/Makefile (revision 450350) +++ head/devel/cmake/Makefile (revision 450351) @@ -1,72 +1,72 @@ # Created by: Kyle Martin # $FreeBSD$ PORTNAME= cmake DISTVERSION= 3.9.2 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://www.cmake.org/files/v${PORTVERSION:R}/ MAINTAINER= kde@FreeBSD.org COMMENT= Cross-platform Makefile generator LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/Copyright.txt CONFIGURE_ENV= MAKE=make CONFIGURE_ARGS= --prefix=${PREFIX} \ --datadir="/${DATADIR_REL}" \ --docdir="/${DOCSDIR_REL}" \ --system-libs \ --parallel=${MAKE_JOBS_NUMBER} \ --init="${PATCHDIR}/InitialCache.cmake" OPTIONS_DEFINE= DOCS MANPAGES OPTIONS_DEFAULT=MANPAGES OPTIONS_SUB= yes -USES= execinfo libarchive ncurses +USES= libarchive ncurses HAS_CONFIGURE= yes LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libjsoncpp.so:devel/jsoncpp \ libuv.so:devel/libuv \ librhash.so:security/rhash MANPAGES_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx MANPAGES_CONFIGURE_ON= --sphinx-man CONFLICTS_INSTALL= cmake-modules-* .include .if defined(STRIP) && ${STRIP} != "" && !defined(WITH_DEBUG) INSTALL_TARGET= install/strip .endif post-patch: @(${FIND} ${WRKSRC}/Modules -name "*.cmake" -print0; \ ${FIND} ${WRKSRC}/Tests -name "CMakeLists.txt" -print0 ) | \ ${XARGS} -0 -n 100 ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g; \ s,/usr/X11R6,${LOCALBASE},g' @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ ${WRKSRC}/Source/cmLocalGenerator.cxx \ ${WRKSRC}/Source/CPack/cmCPackGenerator.cxx \ ${WRKSRC}/bootstrap @${REINPLACE_CMD} -e 's,/opt/kde4,${PREFIX},g' \ ${WRKSRC}/Modules/FindKDE4.cmake @${REINPLACE_CMD} -e 's,/usr/include,${LOCALBASE}/include,' \ ${WRKSRC}/Modules/FindDCMTK.cmake @${FIND} ${WRKSRC} -name "*.bak" -delete -o -name "*.orig" -delete # cmake-gui(1) is installed by devel/cmake-gui. Remove the man page's source to # prevent it from being built/installed by devel/cmake. ${RM} ${WRKSRC}/Help/manual/cmake-gui.1.rst post-install: ${INSTALL_DATA} ${WRKSRC}/Auxiliary/cmake-mode.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp # The .NoDartCoverage is supposed to suppress testing in the # source directories, but gets accidentally installed. @${FIND} ${STAGEDIR}${PREFIX} -name ".NoDartCoverage" -delete .include Index: head/devel/cmake-gui/Makefile =================================================================== --- head/devel/cmake-gui/Makefile (revision 450350) +++ head/devel/cmake-gui/Makefile (revision 450351) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= cmake DISTVERSION= 3.9.2 CATEGORIES= devel MASTER_SITES= https://www.cmake.org/files/v${PORTVERSION:R}/ PKGNAMESUFFIX= -gui MAINTAINER= kde@FreeBSD.org COMMENT= Qt-based GUI for CMake LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/Copyright.txt BUILD_DEPENDS= sphinx-build:textproc/py-sphinx LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libjsoncpp.so:devel/jsoncpp \ libuv.so:devel/libuv \ librhash.so:security/rhash USE_QT5= core gui widgets buildtools_build qmake_build -USES= cmake:run desktop-file-utils execinfo libarchive \ +USES= cmake:run desktop-file-utils libarchive \ shared-mime-info CMAKE_ARGS= -DBUILD_QtDialog:bool=on \ -DBUILD_CursesDialog:BOOL=OFF \ -DSPHINX_MAN:BOOL=ON \ -DCMAKE_USE_SYSTEM_LIBRARIES:BOOL=ON \ -DCMAKE_DATA_DIR:STRING="/${DATADIR_REL}" \ -DCMAKE_DOC_DIR:STRING="/${DOCSDIR_REL}" \ -DCMake_SPHINX_DEPEND_ON_EXECUTABLES:BOOL=OFF ALL_TARGET= cmake-gui documentation INSTALL_WRKSRC= ${WRKSRC}/Source/QtDialog DISTINFO_FILE= ${.CURDIR}/../cmake/distinfo post-patch: @(${FIND} ${WRKSRC}/Modules -name "*.cmake" -print0; \ ${FIND} ${WRKSRC}/Tests -name "CMakeLists.txt" -print0 ) | \ ${XARGS} -0 -n 100 ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g; \ s,/usr/X11R6,${LOCALBASE},g' pre-install: ${LN} -sf ${CMAKE_BIN} ${WRKSRC}/bin post-install: ${INSTALL_MAN} ${WRKSRC}/Utilities/Sphinx/man/cmake-gui.1 \ ${STAGEDIR}${PREFIX}/man/man1 .include Index: head/devel/gearmand/Makefile =================================================================== --- head/devel/gearmand/Makefile (revision 450350) +++ head/devel/gearmand/Makefile (revision 450351) @@ -1,117 +1,117 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= gearmand PORTVERSION= 1.0.6 PORTREVISION= 10 CATEGORIES= devel MASTER_SITES= http://launchpad.net/gearmand/1.0/${PORTVERSION}/+download/ MAINTAINER= bdrewery@FreeBSD.org COMMENT= Gearman C Server and Library BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \ libevent.so:devel/libevent \ libuuid.so:misc/e2fsprogs-libuuid CONFLICTS= p5-Gearman-Server-1.* gearmand-1.1.* USERS= gearmand GROUPS= gearmand BROKEN_sparc64= Does not build: cannot link with boost USE_PERL5= build GNU_CONFIGURE= yes -USES= pathfix gmake perl5 python:build libtool execinfo +USES= pathfix gmake perl5 python:build libtool USE_LDCONFIG= yes USE_RC_SUBR= gearmand SUB_LIST+= USERS=${USERS} GROUPS=${GROUPS} CONFIGURE_ARGS+=--with-lib-prefix=${LOCALBASE} --with-boost=${LOCALBASE} \ --localstatedir=/var/db/${PORTNAME} --enable-static CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo OPTIONS_DEFINE= DRIZZLE MEMCACHED PGSQL SQLITE MYSQL HIREDIS TOKYOCAB OPTIONS_DEFAULT=SQLITE DRIZZLE_DESC= Drizzle support for persistent queue MEMCACHED_DESC= memcached support for persistent queue MYSQL_DESC= MySQL support for persistent queue PGSQL_DESC= PostgreSQL support for persistent queue SQLITE_DESC= SQLite support for persistent queue HIREDIS_DESC= Hiredis support for persistent queue TOKYOCAB_DESC= Tokyo Cabinet support for persistent queue .include .if ${PORT_OPTIONS:MDRIZZLE} LIB_DEPENDS+= libdrizzle.so:databases/libdrizzle CONFIGURE_ARGS+= --enable-libdrizzle .else CONFIGURE_ARGS+= --disable-libdrizzle .endif .if ${PORT_OPTIONS:MMEMCACHED} LIB_DEPENDS+= libmemcached.so:databases/libmemcached BUILD_DEPENDS+= memcached>=0:databases/memcached CONFIGURE_ARGS+= --enable-libmemcached # This hack is required for the test programs invoked by configure, # in the event that libmemcached was compiled with SASL support. .if exists(${LOCALBASE}/lib/libsasl.so) LDFLAGS+= -L${LOCALBASE}/lib -lsasl CONFIGURE_ARGS+= --with-memcached-sasl=${LOCALBASE}/bin/memcached .elif exists(${LOCALBASE}/lib/libsasl2.a) LDFLAGS+= -L${LOCALBASE}/lib -lsasl2 CONFIGURE_ARGS+= --with-memcached-sasl=${LOCALBASE}/bin/memcached .else LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --with-memcached=${LOCALBASE}/bin/memcached .endif .else CONFIGURE_ARGS+= --disable-libmemcached .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql=yes .else CONFIGURE_ARGS+= --with-mysql=no .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+= --enable-libpq .else CONFIGURE_ARGS+= --disable-libpq .endif .if ${PORT_OPTIONS:MSQLITE} BUILD_DEPENDS+= sqlite3>=3.0.0:databases/sqlite3 LIB_DEPENDS+= libsqlite3.so:databases/sqlite3 CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE} .else CONFIGURE_ARGS+= --without-sqlite3 .endif .if ${PORT_OPTIONS:MTOKYOCAB} LIB_DEPENDS+= libtokyocabinet.so:databases/tokyocabinet CONFIGURE_ARGS+= --enable-libtokyocabinet CONFIGURE_ENV+= LIBTOKYOCABINET_CPPFLAGS=-I${LOCALBASE}/include \ LIBTOKYOCABINET_LDFLAGS=-L${LOCALBASE}/lib .else CONFIGURE_ARGS+= --disable-libtokyocabinet .endif .if ${PORT_OPTIONS:MHIREDIS} LIB_DEPENDS+= libhiredis.so:databases/hiredis CONFIGURE_ARGS+= --enable-hires CONFIGURE_ENV+= LIBHIREDIS_CPPFLAGS=-I${LOCALBASE}/include/hiredis \ LIBHIREDIS_LDFLAGS=-L${LOCALBASE}/lib .else CONFIGURE_ARGS+= --disable-hires .endif .include Index: head/devel/gearmand-devel/Makefile =================================================================== --- head/devel/gearmand-devel/Makefile (revision 450350) +++ head/devel/gearmand-devel/Makefile (revision 450351) @@ -1,118 +1,118 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= gearmand PORTVERSION= 1.1.8 PORTREVISION= 9 CATEGORIES= devel MASTER_SITES= http://launchpad.net/gearmand/1.2/${PORTVERSION}/+download/ PKGNAMESUFFIX= -devel MAINTAINER= bdrewery@FreeBSD.org COMMENT= Gearman C Server and Library BUILD_DEPENDS= boost-libs>=0:devel/boost-libs \ ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx LIB_DEPENDS= libevent.so:devel/libevent \ libuuid.so:misc/e2fsprogs-libuuid CONFLICTS= p5-Gearman-Server-1.* gearmand-1.0.* USERS= gearmand GROUPS= gearmand BROKEN_sparc64= Does not build: cannot link with boost USE_PERL5= build GNU_CONFIGURE= yes -USES= pathfix perl5 gmake gperf libtool execinfo python:build +USES= pathfix perl5 gmake gperf libtool python:build USE_LDCONFIG= yes USE_RC_SUBR= gearmand SUB_LIST+= USERS=${USERS} GROUPS=${GROUPS} CONFIGURE_ARGS+=--with-lib-prefix=${LOCALBASE} --with-boost=${LOCALBASE} \ --localstatedir=/var/db/${PORTNAME} --enable-static CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo OPTIONS_DEFINE= DRIZZLE MEMCACHED PGSQL SQLITE MYSQL HIREDIS TOKYOCAB OPTIONS_DEFAULT=SQLITE DRIZZLE_DESC= Drizzle support for persistent queue MEMCACHED_DESC= memcached support for persistent queue MYSQL_DESC= MySQL support for persistent queue PGSQL_DESC= PostgreSQL support for persistent queue SQLITE_DESC= SQLite support for persistent queue HIREDIS_DESC= Hiredis support for persistent queue TOKYOCAB_DESC= Tokyo Cabinet support for persistent queue .include .if ${PORT_OPTIONS:MDRIZZLE} LIB_DEPENDS+= libdrizzleso:databases/libdrizzle CONFIGURE_ARGS+= --enable-libdrizzle .else CONFIGURE_ARGS+= --disable-libdrizzle .endif .if ${PORT_OPTIONS:MMEMCACHED} LIB_DEPENDS+= libmemcached.so:databases/libmemcached BUILD_DEPENDS+= memcached>=0:databases/memcached CONFIGURE_ARGS+= --enable-libmemcached # This hack is required for the test programs invoked by configure, # in the event that libmemcached was compiled with SASL support. .if exists(${LOCALBASE}/lib/libsasl.so) LDFLAGS+= -L${LOCALBASE}/lib -lsasl CONFIGURE_ARGS+= --with-memcached-sasl=${LOCALBASE}/bin/memcached .elif exists(${LOCALBASE}/lib/libsasl2.a) LDFLAGS+= -L${LOCALBASE}/lib -lsasl2 CONFIGURE_ARGS+= --with-memcached-sasl=${LOCALBASE}/bin/memcached .else LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --with-memcached=${LOCALBASE}/bin/memcached .endif .else CONFIGURE_ARGS+= --disable-libmemcached .endif .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes CONFIGURE_ARGS+= --with-mysql=yes .else CONFIGURE_ARGS+= --with-mysql=no .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+= --enable-libpq .else CONFIGURE_ARGS+= --disable-libpq .endif .if ${PORT_OPTIONS:MSQLITE} BUILD_DEPENDS+= sqlite3>=3.0.0:databases/sqlite3 LIB_DEPENDS+= libsqlite3.so:databases/sqlite3 CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE} .else CONFIGURE_ARGS+= --without-sqlite3 .endif .if ${PORT_OPTIONS:MTOKYOCAB} LIB_DEPENDS+= libtokyocabinet.so:databases/tokyocabinet CONFIGURE_ARGS+= --enable-libtokyocabinet CONFIGURE_ENV+= LIBTOKYOCABINET_CPPFLAGS=-I${LOCALBASE}/include \ LIBTOKYOCABINET_LDFLAGS=-L${LOCALBASE}/lib .else CONFIGURE_ARGS+= --disable-libtokyocabinet .endif .if ${PORT_OPTIONS:MHIREDIS} LIB_DEPENDS+= libhiredis.so:databases/hiredis CONFIGURE_ARGS+= --enable-hires CONFIGURE_ENV+= LIBHIREDIS_CPPFLAGS=-I${LOCALBASE}/include/hiredis \ LIBHIREDIS_LDFLAGS=-L${LOCALBASE}/lib .else CONFIGURE_ARGS+= --disable-hires .endif .include Index: head/devel/glog/Makefile =================================================================== --- head/devel/glog/Makefile (revision 450350) +++ head/devel/glog/Makefile (revision 450351) @@ -1,34 +1,34 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= glog PORTVERSION= 0.3.5 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library of C++ classes for flexible logging LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgflags.so:devel/gflags OPTIONS_DEFINE= DOCS GNU_CONFIGURE= yes INSTALL_TARGET= install-strip LDFLAGS+= -lexecinfo TEST_TARGET= check USE_LDCONFIG= yes -USES= execinfo libtool localbase pathfix +USES= libtool localbase pathfix PORTDOCS= * GH_ACCOUNT= google USE_GITHUB= yes post-patch: @${REINPLACE_CMD} -e '/^docdir = / s| = .*| = ${DOCSDIR}|' ${WRKSRC}/Makefile.in .include Index: head/devel/google-perftools/Makefile =================================================================== --- head/devel/google-perftools/Makefile (revision 450350) +++ head/devel/google-perftools/Makefile (revision 450351) @@ -1,87 +1,87 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= google-perftools PORTVERSION= 2.6.1 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://github.com/gperftools/gperftools/releases/download/gperftools-${PORTVERSION}/ DISTNAME= gperftools-${PORTVERSION} MAINTAINER= yuri@rawbw.com COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc= fails to build: assembly not supported, see PR#94: http://code.google.com/p/google-perftools/issues/detail?id=94&can=1 BROKEN_powerpc64= fails to build: assembly not supported, see PR#94: http://code.google.com/p/google-perftools/issues/detail?id=94&can=1 BROKEN_sparc64= fails to build: assembly not supported, see PR#94: http://code.google.com/p/google-perftools/issues/detail?id=94&can=1 LIB_DEPENDS= libunwind.so:devel/libunwind WRKSRC= ${WRKDIR}/gperftools-${PORTVERSION} DOCSDIR= ${PREFIX}/share/doc/gperftools GNU_CONFIGURE= yes -USES= compiler execinfo gmake libtool +USES= compiler gmake libtool USE_LDCONFIG= yes TEST_TARGET= check CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lexecinfo OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT=PAGE8K ALIGN16 OPTIONS_SINGLE= PAGESIZE ALIGN OPTIONS_SINGLE_ALIGN= ALIGN8 ALIGN16 OPTIONS_SINGLE_PAGESIZE=PAGE8K PAGE32K PAGE64K ALIGN_DESC= The tcmalloc allocation alignment ALIGN8_DESC= 8 bytes allocation alignment ALIGN16_DESC= 16 bytes allocation alignment PAGESIZE_DESC= The tcmalloc internal page size PAGE8K_DESC= 8K page size PAGE32K_DESC= 32K page size PAGE64K_DESC= 64K page size ALIGN8_CONFIGURE_ON= --with-tcmalloc-alignment=8 ALIGN16_CONFIGURE_ON= --with-tcmalloc-alignment=16 PAGE8K_CONFIGURE_ON= --with-tcmalloc-pagesize=8 PAGE32K_CONFIGURE_ON= --with-tcmalloc-pagesize=32 PAGE64K_CONFIGURE_ON= --with-tcmalloc-pagesize=64 .include .if ${COMPILER_TYPE} == "clang" && !defined(USE_GCC) # clang cannot disable builtins individually CXXFLAGS+= -fno-builtin .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+=--enable-frame-pointers .endif post-patch: .if ${COMPILER_TYPE} == "clang" && !defined(USE_GCC) @${REINPLACE_CMD} -Ee \ 's|-fno-builtin-[a-z_]+||g' \ ${WRKSRC}/Makefile.in .endif post-patch-DOCS-off: @${REINPLACE_CMD} -e \ '/^install-data-am:/ s|install-dist_docDATA||' \ ${WRKSRC}/Makefile.in post-build: @${ECHO} @${ECHO} "Please run 'make check' (requires bash)." @${ECHO} "Two testcases are known to fail. Testsuite is known to be" @${ECHO} "unreliable and give false positives and negatives (PR#661)." @${ECHO} post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/pprof ${STAGEDIR}${PREFIX}/bin/perftools-pprof @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.* .include Index: head/devel/libCello/Makefile =================================================================== --- head/devel/libCello/Makefile (revision 450350) +++ head/devel/libCello/Makefile (revision 450351) @@ -1,24 +1,22 @@ # Created by: matthew.closson@gmail.com # $FreeBSD$ PORTNAME= libCello PORTVERSION= 1.1.7 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://libcello.org/static/ MAINTAINER= matthew.closson@gmail.com COMMENT= Higher level programming in C LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md -USES= dos2unix execinfo gmake +USES= dos2unix gmake DOS2UNIX_FILES= Makefile - -CFLAGS+= ${EXECINFO_CPPFLAGS} post-patch: ${REINPLACE_CMD} -E 's| abs\(| labs\(|' ${WRKSRC}/src/*.c .include Index: head/devel/libosmocore/Makefile =================================================================== --- head/devel/libosmocore/Makefile (revision 450350) +++ head/devel/libosmocore/Makefile (revision 450351) @@ -1,32 +1,32 @@ # $FreeBSD$ PORTNAME= libosmocore PORTVERSION= 0.9.0 CATEGORIES= devel MASTER_SITES= http://git.osmocom.org/libosmocore/snapshot/ \ http://chaosophia.net/downloads/osmocom/${PORTNAME}/ MAINTAINER= koue@chaosophia.net COMMENT= Common library for all Osmocom projects LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite -USES= alias autoreconf execinfo gmake libtool pathfix pkgconfig +USES= alias autoreconf gmake libtool pathfix pkgconfig GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo USE_LDCONFIG= yes INSTALL_TARGET= install-strip PORTDOCS= * OPTIONS_DEFINE= DOXYGEN DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz DOXYGEN_CONFIGURE_ENV_OFF=ac_cv_path_DOXYGEN=false post-patch: ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version .include Index: head/devel/llvm-devel/Makefile =================================================================== --- head/devel/llvm-devel/Makefile (revision 450350) +++ head/devel/llvm-devel/Makefile (revision 450351) @@ -1,468 +1,467 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= llvm PORTVERSION= ${LLVM_MAJOR}.d${SNAPDATE} CATEGORIES= devel lang PKGNAMESUFFIX= -devel MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang BROKEN_powerpc64= Does not build: error: vsnprintf was not declared in this scope LLVM_SUFFIX= -devel LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} USES= cmake:outsource compiler:c++11-lib libedit perl5 \ shebangfix USE_LDCONFIG= ${LLVM_PREFIX}/lib _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in \ tools/clang/tools/scan-view/bin/scan-view \ tools/clang/tools/clang-format/git-clang-format \ tools/clang/tools/clang-format/clang-format-diff.py \ tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py \ tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON # Following commit https://github.com/kitware/cmake/commit/956054 # we need to either change the whole man-shuffle below, or simply # redefine CMAKE_INSTALL_MANDIR CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="share/man" USE_GITHUB= yes GH_ACCOUNT= llvm-mirror GH_TAGNAME= ${LLVM_COMMIT} .include "Makefile.snapshot" OPTIONS_DEFINE= CLANG DOCS EXTRAS LIT LLD LLDB OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPTIONS_EXCLUDE_FreeBSD_10= LLDB OPTIONS_SUB= yes PLIST_FILES= CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= \ ${PATCHDIR}/clang-patch-fformat_extensions.diff \ ${PATCHDIR}/clang-patch-fopenmp.diff \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format.py \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format-sublime.py \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_git-clang-format \ ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_GH_PROJECT= clang:clang CLANG_GH_SUBDIR= tools/clang:clang CLANG_GH_TAGNAME= ${CLANG_COMMIT}:clang CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_IMPLIES= CLANG COMPILER_RT_GH_PROJECT= compiler-rt:compiler_rt COMPILER_RT_GH_TAGNAME= ${COMPILER_RT_COMMIT}:compiler_rt COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_GH_PROJECT= clang-tools-extra:extras EXTRAS_GH_SUBDIR= tools/clang/tools/extra:extras EXTRAS_GH_TAGNAME= ${EXTRAS_COMMIT}:extras LIT_DESC= Install lit and FileCheck test tools LLD_DESC= Install lld, the LLVM linker LLD_GH_PROJECT= lld:lld LLD_GH_SUBDIR= tools/lld:lld LLD_GH_TAGNAME= ${LLD_COMMIT}:lld LLDB_BUILD_DEPENDS= swig3.0:devel/swig30 LLDB_DESC= Install lldb, the LLVM debugger LLDB_GH_PROJECT= lldb:lldb LLDB_GH_SUBDIR= tools/lldb:lldb LLDB_GH_TAGNAME= ${LLDB_COMMIT}:lldb LLDB_IMPLIES= CLANG -LLDB_USES= execinfo LLDB_VARS= _USES_PYTHON=python OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_CONFLICTS_INSTALL= libiomp5-devel-* OPENMP_GH_PROJECT= openmp:openmp OPENMP_GH_SUBDIR= projects/openmp:openmp OPENMP_GH_TAGNAME= ${OPENMP_COMMIT}:openmp OPENMP_EXTRA_PATCHES= \ ${PATCHDIR}/openmp-patch-bug32279 GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx PLIST_SUB+= LLVM_LIB_VER=${LLVM_MAJOR:C/\..*//} \ LLVM_MAJOR=${LLVM_MAJOR} \ LLVM_RELEASE=${LLVM_RELEASE} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-cat \ llvm-config \ llvm-cov \ llvm-cvtres \ llvm-diff \ llvm-dis \ llvm-dlltool \ llvm-dwarfdump \ llvm-dwp \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-modextract \ llvm-mt \ llvm-nm \ llvm-objcopy \ llvm-objdump \ llvm-opt-report \ llvm-pdbutil \ llvm-profdata \ llvm-ranlib \ llvm-rc \ llvm-readelf \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-split \ llvm-stress \ llvm-strings \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt \ sancov FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_COMMANDS= \ clang-apply-replacements \ clang-change-namespace \ clang-include-fixer \ clang-modernize \ clang-query \ clang-rename \ clang-reorder-fields \ clang-tidy \ find-all-symbols \ modularize EXTRAS_LIBS= \ libclangApplyReplacements \ libclangIncludeFixer \ libclangRename \ libclangQuery \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g} .include .if ${PORT_OPTIONS:MCLANG} COMMANDS+= c-index-test \ clang \ clang++ \ clang-check \ clang-cpp \ clang-format \ clang-import-test \ clang-offload-bundler \ clangd \ scan-build \ scan-view MAN1SRCS+= clang.1 \ scan-build.1 CLANG_PATTERN= (c-index-test|clang|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer) .endif .if ${PORT_OPTIONS:MCOMPILER_RT} COMPILER_RT_PATTERN= (asan_blacklist.txt|sanitizer|include.xray) .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= ld.lld .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= lldb \ lldb-argdumper \ lldb-mi \ lldb-server .endif .if ! ${OPTIONS_DEFINE:MCOMPILER_RT} # Hack to disable COMPILER_RT in plist of unsupported architectures PLIST_SUB+= COMPILER_RT="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MGOLD} # Hack to disable GOLD in plist of unsupported architectures PLIST_SUB+= GOLD="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-lib.1 llvm-link.1 llvm-nm.1 \ llvm-pdbutil.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 .include .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif _CRTLIBDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/lib/clang/${LLVM_RELEASE}/lib/freebsd .if ${ARCH} == "amd64" _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.lsan-x86_64.a \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_minimal-x86_64.a \ libclang_rt.ubsan_minimal-x86_64.a.syms \ libclang_rt.ubsan_minimal-x86_64.so \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.so \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms \ libclang_rt.ubsan_standalone_cxx-x86_64.so .endif .if ${ARCH} == "i386" _COMPILER_RT_LIBS+= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.lsan-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_minimal-i386.a \ libclang_rt.ubsan_minimal-i386.so \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone-i386.so \ libclang_rt.ubsan_standalone_cxx-i386.a \ libclang_rt.ubsan_standalone_cxx-i386.so .endif .if ${PORT_OPTIONS:MEXTRAS} COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= extraclangtools.1 PORTDOCS+= clang-tools .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= lld \ lld-link PORTDOCS+= lld .endif post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_SUFFIX%%|${LLVM_SUFFIX}|' \ ${PATCH_WRKSRC}/tools/clang/tools/clang-format/clang-format.py \ ${PATCH_WRKSRC}/tools/clang/tools/clang-format/clang-format-sublime.py \ ${PATCH_WRKSRC}/tools/clang/tools/clang-format/git-clang-format post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ ${CMAKE_BIN} ${CMAKE_ARGS} \ -DLLVM_CONFIG_PATH=${CONFIGURE_WRKSRC}/bin/llvm-config \ ${WRKSRC_compiler_rt} && \ ${MAKE_ENV} ${MAKE_CMD} post-install: ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp post-install-COMPILER_RT-on: cd ${WRKDIR}/compiler-rt-build && \ ${MAKE_ENV} ${MAKE_CMD} ${INSTALL_TARGET} .if ${ARCH} == "amd64" ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/libclang_rt*i386* .endif ${MKDIR} ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/* \ ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} post-install-LLDB-on: ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/lldb/API TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' \ -e 's|\.${LLVM_MAJOR:C/\..*//}|.%%LLVM_LIB_VER%%|' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' | \ ${SORT} >> ${PLIST}.tmp awk '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /omp.h|${EXTRAS_PATTERN}|libclang_rt/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /(lib[ig]*omp|omp.h)/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \ if ($$0 !~ /libclang_rt/) {print} \ }' ${PLIST}.tmp >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .include Index: head/devel/llvm33/Makefile =================================================================== --- head/devel/llvm33/Makefile (revision 450350) +++ head/devel/llvm33/Makefile (revision 450351) @@ -1,275 +1,275 @@ # $FreeBSD$ PORTNAME= llvm PORTVERSION= 3.3 PORTREVISION= 12 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine BROKEN_powerpc64= Does not build: c++: Internal error: Killed (program cc1plus) LLVM_SUFFIX= ${PORTVERSION:S/.//g} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -USES= execinfo gmake perl5 shebangfix +USES= gmake perl5 shebangfix GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" # Suggested tweaks from http://llvm.org/docs/Packaging.html CONFIGURE_ARGS+= --enable-shared MAKE_ARGS+= REQUIRES_RTTI=1 LIBNAME= libLLVM-${DISTVERSION:C/\rc[0-9]//}.so CONFIGURE_ARGS+= --enable-bindings=none CONFIGURE_ARGS+= --enable-optimized OPTIONS_DEFINE= ASSERTS CMAKE DOCS LIT LTOPLUGIN MANPAGES ASSERTS_DESC= Enable assertions (thread unsafe) CMAKE_DESC= Build cmake support files LIT_DESC= Install lit and FileCheck test tools (requires python) LTOPLUGIN_DESC= Build LTO plugin (requires gold) OPTIONS_DEFAULT= CMAKE LIT MANPAGES OPTIONS_SUB= yes PLIST_SUB+= PORTVERSION=${PORTVERSION} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-prof \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ libLLVM-${PORTVERSION}.so.0 \ libLTO.so \ libprofile_rt.so # Enable AMD r600 backend used by the r600/radeonsi graphics/dri gallium drivers CONFIGURE_ARGS+=--enable-experimental-targets=R600 .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MASSERTS} CONFIGURE_ARGS+= --enable-assertions RELEASE_TYPE= Release+Asserts .else CONFIGURE_ARGS+= --disable-assertions RELEASE_TYPE= Release .endif .if ${PORT_OPTIONS:MCMAKE} BUILD_DEPENDS+= cmake:devel/cmake PORTDATA+= cmake .endif .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= sphinx-build:textproc/py-sphinx .endif .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --enable-docs .else CONFIGURE_ARGS+= --disable-docs .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 USES+= python:-2.9 LIT_COMMANDS= lit llvm-lit FileCheck .else USES+= python:-2.9,build .endif .if ${PORT_OPTIONS:MLTOPLUGIN} BUILD_DEPENDS+= ld.gold:devel/binutils RUN_DEPENDS+= ld.gold:devel/binutils CONFIGURE_ARGS+= --with-binutils-include=${LOCALBASE}/include PLIST_FILES+= llvm${LLVM_SUFFIX}/lib/LLVMgold.so .endif .if ${PORT_OPTIONS:MMANPAGES} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-config.1 llvm-cov.1 llvm-diff.1 \ llvm-dis.1 llvm-extract.1 llvm-link.1 llvm-nm.1 \ llvm-prof.1 llvm-ranlib.1 llvm-stress.1 opt.1 tblgen.1 PLIST_FILES+= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} .endif .include .if ${ARCH} == "aarch64" BROKEN= Does not compile on aarch64 .elif ${ARCH} == "arm" BROKEN= Does not compile on arm .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-pic --with-pic .endif .if ${ARCH} == "i386" CONFIGURE_ARGS+= --with-optimize-option=-O2 .endif post-patch: ${REINPLACE_CMD} -e 's|${PORTVERSION}svn|${PORTVERSION}|g' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt .if ${PORT_OPTIONS:MCMAKE} post-configure: ${MKDIR} ${WRKDIR}/cmake cd ${WRKDIR}/cmake && cmake -DPYTHON_EXECUTABLE=${PYTHON_CMD} -G "Unix Makefiles" ${WRKSRC} ${REINPLACE_CMD} -e 's|${WRKDIR}/cmake|${LLVM_PREFIX}|' \ -e 's|${WRKSRC}/cmake/modules|${DATADIR}/cmake|' \ ${WRKDIR}/cmake/share/llvm/cmake/LLVMConfig.cmake .endif post-build: .if ${PORT_OPTIONS:MMANPAGES} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx man .endif .if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx html .endif post-install: ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} \ ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME}.0 ${LN} -sf ${LIBNAME}.0 ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} ${STRIP_CMD} ${STRIP_LIBS:S|^|${STAGEDIR}${LLVM_PREFIX}/lib/|} ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor .if ${PORT_OPTIONS:MCMAKE} ${MKDIR} ${STAGEDIR}${DATADIR}/cmake ${INSTALL_DATA} ${WRKSRC}/cmake/modules/*.cmake \ ${WRKDIR}/cmake/share/llvm/cmake/*.cmake \ ${STAGEDIR}${DATADIR}/cmake/ .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${FIND} ${WRKSRC}/docs/_build/html -type f | \ ${XARGS} -I _DOC_ ${INSTALL_DATA} _DOC_ ${STAGEDIR}${DOCSDIR}/html/ .endif .if ${PORT_OPTIONS:MLIT} ${INSTALL_SCRIPT} ${WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} .endif .if ${PORT_OPTIONS:MMANPAGES} for man in ${MAN1SRCS}; do \ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/$${man} \ ${STAGEDIR}${MANPREFIX}/man/man1/$${man%.1}${LLVM_SUFFIX}.1 ; \ done .endif TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST} .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}${LLVM_SUFFIX} >> ${PLIST} ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST} .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${DOCSDIR} -type f | \ ${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | \ ${SORT} >> ${PLIST} .if make(svn-patch) .if !defined(PATCH_REV) .error svn-patch requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch: ${PRINTF} "$$%s$$\n" FreeBSD > ${_PATCH_FILE} svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm34/Makefile =================================================================== --- head/devel/llvm34/Makefile (revision 450350) +++ head/devel/llvm34/Makefile (revision 450351) @@ -1,286 +1,286 @@ # $FreeBSD$ PORTNAME= llvm PORTVERSION= 3.4.2 PORTREVISION= 7 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine BROKEN_powerpc64= does not compile: libLLVMMipsCodeGen.a: sibling call optimization does not allow automatic multiple TOCs BROKEN_sparc64= does not compile: llvm::Function::lookupIntrinsicID() Function.cpp: internal compiler error: Abort trap LLVM_SUFFIX= ${PORTVERSION:C/([0-9]\.[0-9]).*/\1/:S/.//g:C/r.//} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} WRKSRC= ${WRKDIR}/llvm-${PORTVERSION}.src -USES= execinfo gmake perl5 shebangfix +USES= gmake perl5 shebangfix GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" # Suggested tweaks from http://llvm.org/docs/Packaging.html CONFIGURE_ARGS+= --enable-shared MAKE_ARGS+= REQUIRES_RTTI=1 LIBNAME= libLLVM-${DISTVERSION:C/([0-9]\.[0-9]).*/\1/:C/rc[0-9]//}.so CONFIGURE_ARGS+= --enable-bindings=none CONFIGURE_ARGS+= --enable-optimized OPTIONS_DEFINE= ASSERTS CMAKE DOCS LIT LTOPLUGIN MANPAGES ASSERTS_DESC= Enable assertions (thread unsafe) CMAKE_DESC= Build cmake support files LIT_DESC= Install lit and FileCheck test tools (requires python) LTOPLUGIN_DESC= Build LTO plugin (requires gold) OPTIONS_DEFAULT= CMAKE LIT MANPAGES OPTIONS_SUB= yes PLIST_SUB+= LLVM_SUFFIX=${LLVM_SUFFIX} \ PORTVERSION=${PORTVERSION} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so # Enable AMD r600 backend used by the r600/radeonsi graphics/dri gallium drivers CONFIGURE_ARGS+=--enable-experimental-targets=R600 .include .if ${ARCH} == powerpc USE_GCC= yes .endif # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MASSERTS} CONFIGURE_ARGS+= --enable-assertions RELEASE_TYPE= Release+Asserts .else CONFIGURE_ARGS+= --disable-assertions RELEASE_TYPE= Release .endif .if ${PORT_OPTIONS:MCMAKE} BUILD_DEPENDS+= cmake:devel/cmake PORTDATA+= cmake .endif .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= sphinx-build:textproc/py-sphinx .endif .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --enable-docs .else CONFIGURE_ARGS+= --disable-docs .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 USES+= python LIT_COMMANDS= lit llvm-lit FileCheck .else USES+= python:build .endif .if ${PORT_OPTIONS:MLTOPLUGIN} BUILD_DEPENDS+= ld.gold:devel/binutils RUN_DEPENDS+= ld.gold:devel/binutils CONFIGURE_ARGS+= --with-binutils-include=${LOCALBASE}/include PLIST_FILES+= llvm${LLVM_SUFFIX}/lib/LLVMgold.so .endif .if ${PORT_OPTIONS:MMANPAGES} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-config.1 llvm-cov.1 llvm-diff.1 \ llvm-dis.1 llvm-extract.1 llvm-link.1 llvm-nm.1 \ llvm-prof.1 llvm-stress.1 opt.1 tblgen.1 PLIST_FILES+= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} .endif .include .if ${ARCH} == "aarch64" BROKEN= Does not compile on aarch64 .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-pic --with-pic .endif .if ${ARCH} == "i386" CONFIGURE_ARGS+= --with-optimize-option=-O2 .endif post-patch: ${REINPLACE_CMD} -e 's|${PORTVERSION}svn|${PORTVERSION}|g' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt .if ${PORT_OPTIONS:MCMAKE} post-configure: ${MKDIR} ${WRKDIR}/cmake cd ${WRKDIR}/cmake && cmake -G "Unix Makefiles" ${WRKSRC} ${REINPLACE_CMD} -e 's|${WRKDIR}/cmake|${LLVM_PREFIX}|' \ -e 's|${WRKSRC}/cmake/modules|${DATADIR}/cmake|' \ ${WRKDIR}/cmake/share/llvm/cmake/LLVMConfig.cmake .endif post-build: .if ${PORT_OPTIONS:MMANPAGES} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx man .endif .if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx html .endif post-install: ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} \ ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME}.0 ${LN} -sf ${LIBNAME}.0 ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} ${STRIP_CMD} ${STRIP_LIBS:S|^|${STAGEDIR}${LLVM_PREFIX}/lib/|} ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor .if ${PORT_OPTIONS:MCMAKE} ${MKDIR} ${STAGEDIR}${DATADIR}/cmake ${INSTALL_DATA} ${WRKSRC}/cmake/modules/*.cmake \ ${WRKDIR}/cmake/share/llvm/cmake/*.cmake \ ${STAGEDIR}${DATADIR}/cmake/ .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${FIND} ${WRKSRC}/docs/_build/html -type f | \ ${XARGS} -I _DOC_ ${INSTALL_DATA} _DOC_ ${STAGEDIR}${DOCSDIR}/html/ .endif .if ${PORT_OPTIONS:MLIT} ${INSTALL_SCRIPT} ${WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} .endif .if ${PORT_OPTIONS:MMANPAGES} for man in ${MAN1SRCS}; do \ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/$${man} \ ${STAGEDIR}${MANPREFIX}/man/man1/$${man%.1}${LLVM_SUFFIX}.1 ; \ done .endif TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST} .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST} ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} \ >> ${PLIST} .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${DOCSDIR} -type f | \ ${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | \ ${SORT} >> ${PLIST} .if make(svn-patch) .if !defined(PATCH_REV) .error svn-patch requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch: ${PRINTF} "$$%s$$\n" FreeBSD > ${_PATCH_FILE} svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm35/Makefile =================================================================== --- head/devel/llvm35/Makefile (revision 450350) +++ head/devel/llvm35/Makefile (revision 450351) @@ -1,284 +1,284 @@ # $FreeBSD$ PORTNAME= llvm DISTVERSION= 3.5.2 PORTREVISION= 5 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/3.5.2/ DISTNAME= ${PORTNAME}-${DISTVERSION}.src PKGNAMESUFFIX= ${LLVM_SUFFIX} MAINTAINER= brooks@FreeBSD.org COMMENT= Low Level Virtual Machine LLVM_SUFFIX= ${PORTVERSION:C/([0-9]\.[0-9]).*/\1/:S/.//g:C/r.//} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} WRKSRC= ${WRKDIR}/llvm-${DISTVERSION}.src -USES= compiler:c++11-lib execinfo gmake perl5 tar:xz libedit \ +USES= compiler:c++11-lib gmake perl5 tar:xz libedit \ shebangfix GNU_CONFIGURE= yes GNU_CONFIGURE_PREFIX= ${LLVM_PREFIX} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" # Suggested tweaks from http://llvm.org/docs/Packaging.html CONFIGURE_ARGS+= --enable-shared MAKE_ARGS+= REQUIRES_RTTI=1 LIBNAME= libLLVM-3.5.so CONFIGURE_ARGS+= --enable-bindings=none CONFIGURE_ARGS+= --enable-optimized OPTIONS_DEFINE= ASSERTS CMAKE DOCS LIT LTOPLUGIN MANPAGES ASSERTS_DESC= Enable assertions (thread unsafe) CMAKE_DESC= Build cmake support files LIT_DESC= Install lit and FileCheck test tools (requires python) LTOPLUGIN_DESC= Build LTO plugin (requires gold) OPTIONS_DEFAULT= LIT MANPAGES OPTIONS_SUB= yes PLIST_SUB+= LLVM_SUFFIX=${LLVM_SUFFIX} \ PORTVERSION=${PORTVERSION} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so # Enable AMD r600 backend used by the r600/radeonsi graphics/dri gallium drivers CONFIGURE_ARGS+=--enable-experimental-targets=R600 .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MASSERTS} CONFIGURE_ARGS+= --enable-assertions RELEASE_TYPE= Release+Asserts .else CONFIGURE_ARGS+= --disable-assertions RELEASE_TYPE= Release .endif .if ${PORT_OPTIONS:MCMAKE} BUILD_DEPENDS+= cmake:devel/cmake PORTDATA+= cmake .endif .if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= sphinx-build:textproc/py-sphinx .endif .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --enable-docs .else CONFIGURE_ARGS+= --disable-docs .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 USES+= python LIT_COMMANDS= lit llvm-lit FileCheck .else USES+= python:build .endif .if ${PORT_OPTIONS:MLTOPLUGIN} BUILD_DEPENDS+= ld.gold:devel/binutils RUN_DEPENDS+= ld.gold:devel/binutils CONFIGURE_ARGS+= --with-binutils-include=${LOCALBASE}/include PLIST_FILES+= llvm${LLVM_SUFFIX}/lib/LLVMgold.so .endif .if ${PORT_OPTIONS:MMANPAGES} MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-config.1 llvm-cov.1 llvm-diff.1 \ llvm-dis.1 llvm-extract.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-stress.1 opt.1 tblgen.1 PLIST_FILES+= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} .endif .include .if ${PORT_OPTIONS:MCMAKE} && ${CHOSEN_COMPILER_TYPE} != clang BROKEN= CMake support only works with clang .endif .if ${ARCH} == "aarch64" BROKEN= Does not compile on aarch64 .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+= --enable-pic --with-pic .endif .if ${ARCH} == "i386" CONFIGURE_ARGS+= --with-optimize-option=-O2 .endif post-patch: ${REINPLACE_CMD} -e 's|${PORTVERSION}svn|${PORTVERSION}|g' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \ ${WRKSRC}/Makefile.config.in ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt .if ${PORT_OPTIONS:MCMAKE} post-configure: ${MKDIR} ${WRKDIR}/cmake cd ${WRKDIR}/cmake && cmake -G "Unix Makefiles" -DCMAKE_C_COMPILER:STRING="${CC}" -DCMAKE_CXX_COMPILER:STRING="${CXX}" ${WRKSRC} ${REINPLACE_CMD} -e 's|${WRKDIR}/cmake|${LLVM_PREFIX}|' \ -e 's|${WRKSRC}/cmake/modules|${DATADIR}/cmake|' \ ${WRKDIR}/cmake/share/llvm/cmake/LLVMConfig.cmake .endif post-build: .if ${PORT_OPTIONS:MMANPAGES} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx man .endif .if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC}/docs && ${MAKE_CMD} -f Makefile.sphinx html .endif post-install: ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} \ ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME}.0 ${LN} -sf ${LIBNAME}.0 ${STAGEDIR}${LLVM_PREFIX}/lib/${LIBNAME} ${STRIP_CMD} ${STRIP_LIBS:S|^|${STAGEDIR}${LLVM_PREFIX}/lib/|} ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor .if ${PORT_OPTIONS:MCMAKE} ${MKDIR} ${STAGEDIR}${DATADIR}/cmake ${INSTALL_DATA} ${WRKSRC}/cmake/modules/*.cmake \ ${WRKDIR}/cmake/share/llvm/cmake/*.cmake \ ${STAGEDIR}${DATADIR}/cmake/ .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${FIND} ${WRKSRC}/docs/_build/html -type f | \ ${XARGS} -I _DOC_ ${INSTALL_DATA} _DOC_ ${STAGEDIR}${DOCSDIR}/html/ .endif .if ${PORT_OPTIONS:MLIT} ${INSTALL_SCRIPT} ${WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKSRC}/${RELEASE_TYPE}/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} .endif .if ${PORT_OPTIONS:MMANPAGES} for man in ${MAN1SRCS}; do \ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/$${man} \ ${STAGEDIR}${MANPREFIX}/man/man1/$${man%.1}${LLVM_SUFFIX}.1 ; \ done .endif TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST} .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST} ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} \ >> ${PLIST} .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v 'lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' \ -e 's|${PORTVERSION}|%%PORTVERSION%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \ ${SORT} >> ${PLIST} ${FIND} ${STAGEDIR}${DOCSDIR} -type f | \ ${SED} -e 's|${STAGEDIR}${DOCSDIR}|%%PORTDOCS%%%%DOCSDIR%%|' | \ ${SORT} >> ${PLIST} .if make(svn-patch) .if !defined(PATCH_REV) .error svn-patch requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch: ${PRINTF} "$$%s$$\n" FreeBSD > ${_PATCH_FILE} svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm39/Makefile =================================================================== --- head/devel/llvm39/Makefile (revision 450350) +++ head/devel/llvm39/Makefile (revision 450351) @@ -1,506 +1,505 @@ # $FreeBSD$ PORTNAME= llvm DISTVERSION= 3.9.1 PORTREVISION= 7 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} DISTNAME= ${PORTNAME}-${DISTVERSION}.src DISTFILES= ${PORTNAME}-${DISTVERSION}.src${EXTRACT_SUFX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang LICENSE= LLVM LICENSE_NAME= LLVM Release License LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LLVM_RELEASE= ${DISTVERSION:C/rc.*//} LLVM_MAJOR= ${LLVM_RELEASE:C/\.[0-9]$//} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} PRE_= ${DISTVERSION:C/.*rc.*/pre-/:N*[0-9]*} LLVM_SUFFIX= ${DISTVERSION:R:S/.//} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in \ tools/clang/tools/scan-view/bin/scan-view \ tools/clang/tools/clang-format/git-clang-format \ tools/clang/tools/clang-format/clang-format-diff.py SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON # Following commit https://github.com/kitware/cmake/commit/956054 # we need to either change the whole man-shuffle below, or simply # redefine CMAKE_INSTALL_MANDIR CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="share/man" OPTIONS_DEFINE= CLANG DOCS EXTRAS LIT LLD LLDB OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPTIONS_SUB= yes CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= \ ${PATCHDIR}/clang-patch-fformat_extensions.diff \ ${PATCHDIR}/clang-patch-fopenmp.diff \ ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format.py \ ${PATCHDIR}/clang-patch-tools_clang_tools_scan-build_libexec_ccc-analyzer \ ${PATCHDIR}/clang-patch-tools_clang_include_clang_Basic_DiagnosticSemaKinds.td \ ${PATCHDIR}/clang-patch-tools_clang_lib_Sema_SemaOverload.cpp \ ${PATCHDIR}/config-patch-tools_clang_include_clang_Sema_Overload.h CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_DISTFILES= cfe-${DISTVERSION}.src${EXTRACT_SUFX} CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_DISTFILES= compiler-rt-${DISTVERSION}.src${EXTRACT_SUFX} COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_DISTFILES= clang-tools-extra-${DISTVERSION}.src${EXTRACT_SUFX} GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils LIT_DESC= Install lit and FileCheck test tools LIT_VARS= _USES_PYTHON=python LLD_DESC= Install lld, the LLVM linker LLD_DISTFILES= lld-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_BUILD_DEPENDS= swig3.0:devel/swig30 LLDB_DESC= Install lldb, the LLVM debugger LLDB_DISTFILES= lldb-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_EXTRA_PATCHES= ${PATCHDIR}/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp LLDB_IMPLIES= CLANG -LLDB_USES= execinfo LLDB_VARS= _USES_PYTHON=python OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp-patch-bug32279 .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif _CRTLIBDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/lib/clang/${LLVM_RELEASE}/lib/freebsd # Emulate USE_GITHUB's ${WRKSRC_tag} to reduce diffs to ../llvm-devel .for option in CLANG COMPILER_RT EXTRAS LLD LLDB OPENMP WRKSRC_${option:tl}= ${WRKDIR}/${${option}_DISTFILES:S/${EXTRACT_SUFX}//} .endfor OPTIONS_SUB= yes PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE} LLVM_MAJOR=${LLVM_MAJOR} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-nm \ llvm-objdump \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-split \ llvm-stress \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_COMMANDS+= \ clang-apply-replacements \ clang-include-fixer \ clang-modernize \ clang-query \ clang-rename \ clang-tidy \ find-all-symbols \ modularize EXTRAS_LIBS= libclangApplyReplacements \ libclangIncludeFixer \ libclangRename \ libclangQuery \ libclangRename \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g} .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= clang \ clang++ \ clang-check \ clang-cpp \ clang-format \ clang-tblgen \ scan-build \ scan-view MAN1SRCS+= clang.1 \ scan-build.1 CLANG_PATTERN= (c-index-test|clang|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer) .endif .if ${PORT_OPTIONS:MCOMPILER_RT} COMPILER_RT_PATTERN= (asan_blacklist.txt|sanitizer|xray) .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= argdumper \ lldb \ lldb-mi \ lldb-server .endif .if ! ${OPTIONS_DEFINE:MCOMPILER_RT} # Hack to disable COMPILER_RT in plist of unsupported architectures PLIST_SUB+= COMPILER_RT="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MGOLD} # Hack to disable GOLD in plist of unsupported architectures PLIST_SUB+= GOLD="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-lib.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 .include .if ${ARCH} == "amd64" _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.lsan-x86_64.a \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms .endif .if ${ARCH} == "i386" _COMPILER_RT_LIBS+= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone_cxx-i386.a .endif .if ${PORT_OPTIONS:MEXTRAS} COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= extraclangtools.1 PORTDOCS+= clang-tools SHEBANG_FILES+= tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py \ tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= lld \ lld-link PORTDOCS+= lld .endif .if ${OPSYS} == "FreeBSD" && ${COMPILER_TYPE} != clang CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif .if ${ARCH} == "armv6" BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif .if ${PYTHON_REL} < 3400 LLDB_BUILD_DEPENDS+= \ ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-EXTRAS-on: ${MV} ${WRKSRC_extras} ${PATCH_WRKSRC}/tools/clang/tools/extra post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb post-extract-OPENMP-on: ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/tools/openmp post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${PATCH_WRKSRC}/tools/clang/lib/Driver/Tools.cpp post-patch-COMPILER_RT-on: cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-svn-294806 cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-canonical-syscalls cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-ino64 post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ ${CMAKE_BIN} ${CMAKE_ARGS} \ -DLLVM_CONFIG_PATH=${CONFIGURE_WRKSRC}/bin/llvm-config \ ${WRKSRC_compiler_rt} && \ ${MAKE_ENV} ${MAKE_CMD} post-install: ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-LLDB-on: ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/lldb/Host/windows/getopt post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \ ${STAGEDIR}${LLVM_PREFIX}/bin/ post-install-COMPILER_RT-on: cd ${WRKDIR}/compiler-rt-build && \ ${MAKE_ENV} ${MAKE_CMD} ${INSTALL_TARGET} .if ${ARCH} == "amd64" ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/libclang_rt*i386* .endif ${MKDIR} ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/* \ ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}${LLVM_SUFFIX} >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' | \ ${SORT} >> ${PLIST}.tmp ${AWK} '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /(omp.h|${EXTRAS_PATTERN}|libclang_rt)/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \ if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .if make(svn-patch-clang) .if !defined(PATCH_REV) .error svn-patch-clang requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/clang-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/cfe/trunk svn-patch-clang: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ ${SED} -E -e 's;^(---|\+\+\+) ;\1 tools/clang/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-compiler-rt) .if !defined(PATCH_REV) .error svn-patch-compiler-rt requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/compiler-rt-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/compiler-rt/trunk svn-patch-compiler-rt: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ ${SED} -E -e 's;^(---|\+\+\+) ;\1 tools/compiler-rt/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-lldb) .if !defined(PATCH_REV) .error svn-patch-lldb requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/lldb-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/lldb/trunk svn-patch-lldb: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm40/Makefile =================================================================== --- head/devel/llvm40/Makefile (revision 450350) +++ head/devel/llvm40/Makefile (revision 450351) @@ -1,533 +1,532 @@ # $FreeBSD$ PORTNAME= llvm DISTVERSION= 4.0.1 PORTREVISION= 1 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} DISTNAME= ${PORTNAME}-${DISTVERSION}.src DISTFILES= ${PORTNAME}-${DISTVERSION}.src${EXTRACT_SUFX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang LICENSE= LLVM LICENSE_NAME= LLVM Release License LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LLVM_RELEASE= ${DISTVERSION:C/rc.*//} LLVM_MAJOR= ${LLVM_RELEASE:C/\.[0-9]$//} LLVM_LIB_VER= ${LLVM_MAJOR:C/\.//} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} PRE_= ${DISTVERSION:C/.*rc.*/pre-/:N*[0-9]*} LLVM_SUFFIX= ${LLVM_LIB_VER} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON # Following commit https://github.com/kitware/cmake/commit/956054 # we need to either change the whole man-shuffle below, or simply # redefine CMAKE_INSTALL_MANDIR CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="share/man" OPTIONS_DEFINE= CLANG DOCS EXTRAS LIT LLD LLDB OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPTIONS_SUB= yes CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= \ ${PATCHDIR}/clang-patch-fformat_extensions.diff \ ${PATCHDIR}/clang-patch-fopenmp.diff \ ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format.py \ ${PATCHDIR}/clang-patch-tools_clang_tools_scan-build_libexec_ccc-analyzer CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_DISTFILES= cfe-${DISTVERSION}.src${EXTRACT_SUFX} CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_DISTFILES= compiler-rt-${DISTVERSION}.src${EXTRACT_SUFX} COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_DISTFILES= clang-tools-extra-${DISTVERSION}.src${EXTRACT_SUFX} GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils LIT_DESC= Install lit and FileCheck test tools LIT_VARS= _USES_PYTHON=python LLD_DESC= Install lld, the LLVM linker LLD_DISTFILES= lld-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_BUILD_DEPENDS= swig3.0:devel/swig30 LLDB_DESC= Install lldb, the LLVM debugger LLDB_DISTFILES= lldb-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_EXTRA_PATCHES= ${PATCHDIR}/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp LLDB_IMPLIES= CLANG -LLDB_USES= execinfo LLDB_VARS= _USES_PYTHON=python OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp-patch-bug32279 .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif _CRTLIBDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/lib/clang/${LLVM_RELEASE}/lib/freebsd # Emulate USE_GITHUB's ${WRKSRC_tag} to reduce diffs to ../llvm-devel .for option in CLANG COMPILER_RT EXTRAS LLD LLDB OPENMP WRKSRC_${option:tl}= ${WRKDIR}/${${option}_DISTFILES:S/${EXTRACT_SUFX}//} .endfor OPTIONS_SUB= yes PLIST_SUB+= LLVM_LIB_VER=${LLVM_LIB_VER} \ LLVM_MAJOR=${LLVM_MAJOR} \ LLVM_RELEASE=${LLVM_RELEASE} \ LLVM_SUFFIX=${LLVM_SUFFIX} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-cat \ llvm-config \ llvm-cov \ llvm-diff \ llvm-dis \ llvm-dwarfdump \ llvm-dwp \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-modextract \ llvm-nm \ llvm-objdump \ llvm-opt-report \ llvm-profdata \ llvm-ranlib \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-split \ llvm-stress \ llvm-strings \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt \ sancov FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_COMMANDS+= \ clang-apply-replacements \ clang-change-namespace \ clang-include-fixer \ clang-modernize \ clang-query \ clang-rename \ clang-reorder-fields \ clang-tidy \ find-all-symbols \ modularize EXTRAS_LIBS= libclangApplyReplacements \ libclangChangeNamespace \ libclangIncludeFixer \ libclangMove \ libclangQuery \ libclangRename \ libclangReorderFields \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g} .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= c-index-test \ clang \ clang++ \ clang-check \ clang-cpp \ clang-format \ clang-import-test \ clang-offload-bundler \ scan-build \ scan-view MAN1SRCS+= clang.1 \ scan-build.1 CLANG_PATTERN= (c-index-test|clang|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer) SHEBANG_FILES+= tools/clang/tools/scan-view/bin/scan-view \ tools/clang/tools/clang-format/git-clang-format \ tools/clang/tools/clang-format/clang-format-diff.py .endif .if ${PORT_OPTIONS:MCOMPILER_RT} COMPILER_RT_PATTERN= (asan_blacklist.txt|sanitizer|xray_interface.h) .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= lldb \ lldb-argdumper \ lldb-mi \ lldb-server .endif .if ! ${OPTIONS_DEFINE:MCOMPILER_RT} # Hack to disable COMPILER_RT in plist of unsupported architectures PLIST_SUB+= COMPILER_RT="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MGOLD} # Hack to disable GOLD in plist of unsupported architectures PLIST_SUB+= GOLD="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-lib.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 .include .if ${ARCH} == "amd64" _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.lsan-x86_64.a \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms .endif .if ${ARCH} == "i386" _COMPILER_RT_LIBS+= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone_cxx-i386.a .endif .if ${PORT_OPTIONS:MEXTRAS} COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= extraclangtools.1 PORTDOCS+= clang-tools SHEBANG_FILES+= tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py \ tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= lld \ lld-link PORTDOCS+= lld .endif .if ${OPSYS} == "FreeBSD" && ${COMPILER_TYPE} != clang CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif .if ${ARCH} == "armv6" BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif .if ${PYTHON_REL} < 3400 LLDB_BUILD_DEPENDS+= \ ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-EXTRAS-on: ${MV} ${WRKSRC_extras} ${PATCH_WRKSRC}/tools/clang/tools/extra post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb post-extract-OPENMP-on: ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/tools/openmp post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${PATCH_WRKSRC}/tools/clang/lib/Driver/Tools.cpp post-patch-COMPILER_RT-on: cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-canonical-syscalls cd ${WRKSRC_compiler_rt} && patch < ${PATCHDIR}/compiler-rt-patch-ino64 post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ ${CMAKE_BIN} ${CMAKE_ARGS} \ -DLLVM_CONFIG_PATH=${CONFIGURE_WRKSRC}/bin/llvm-config \ ${WRKSRC_compiler_rt} && \ ${MAKE_ENV} ${MAKE_CMD} post-install: ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-LLDB-on: ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/lldb/Host/windows/getopt post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \ ${STAGEDIR}${LLVM_PREFIX}/bin/ post-install-COMPILER_RT-on: cd ${WRKDIR}/compiler-rt-build && \ ${MAKE_ENV} ${MAKE_CMD} ${INSTALL_TARGET} .if ${ARCH} == "amd64" ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/libclang_rt*i386* .endif ${MKDIR} ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/* \ ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' \ -e 's|${LLVM_MAJOR:C/\.//}|%%LLVM_LIB_VER%%|' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' \ -e 's|lit${LLVM_SUFFIX}|lit%%LLVM_SUFFIX%%|' | \ ${SORT} >> ${PLIST}.tmp ${AWK} '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /(omp.h|${EXTRAS_PATTERN}|libclang_rt)/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \ if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .if make(svn-patch-llvm) .if !defined(PATCH_REV) .error svn-patch-llvm requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch-llvm: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .if make(svn-patch-clang) .if !defined(PATCH_REV) .error svn-patch-clang requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/clang-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/cfe/trunk svn-patch-clang: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ ${SED} -E -e 's;^(---|\+\+\+) ;\1 tools/clang/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-compiler-rt) .if !defined(PATCH_REV) .error svn-patch-compiler-rt requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/compiler-rt-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/compiler-rt/trunk svn-patch-compiler-rt: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ ${SED} -E -e 's;^(---|\+\+\+) ;\1 tools/compiler-rt/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-lldb) .if !defined(PATCH_REV) .error svn-patch-lldb requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/lldb-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/lldb/trunk svn-patch-lldb: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | >> ${_PATCH_FILE} .endif .include Index: head/devel/llvm50/Makefile =================================================================== --- head/devel/llvm50/Makefile (revision 450350) +++ head/devel/llvm50/Makefile (revision 450351) @@ -1,550 +1,549 @@ # $FreeBSD$ PORTNAME= llvm DISTVERSION= 5.0.0 PORTREVISION= 1 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/${PRE_}releases/${LLVM_RELEASE}/${RCDIR} PKGNAMESUFFIX= ${LLVM_SUFFIX} DISTNAME= ${PORTNAME}-${DISTVERSION}.src DISTFILES= ${PORTNAME}-${DISTVERSION}.src${EXTRACT_SUFX} MAINTAINER= brooks@FreeBSD.org COMMENT= LLVM and Clang LICENSE= LLVM LICENSE_NAME= LLVM Release License LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LLVM_RELEASE= ${DISTVERSION:C/rc.*//} LLVM_MAJOR= ${LLVM_RELEASE:C/\.[0-9]$//} LLVM_LIB_VER= ${LLVM_MAJOR:C/\.//} RCDIR= ${DISTVERSION:S/${LLVM_RELEASE}//:C|(rc.*)|\1/|} PRE_= ${DISTVERSION:C/.*rc.*/pre-/:N*[0-9]*} LLVM_SUFFIX= ${LLVM_LIB_VER} LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} USES= cmake:outsource compiler:c++11-lib libedit perl5 tar:xz \ shebangfix _USES_PYTHON?= python:build USES+= ${_USES_PYTHON} USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= utils/lit/lit.py utils/llvm-lit/llvm-lit.in SUB_FILES= llvm-wrapper.sh SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}" CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} CMAKE_ARGS= -DLLVM_BUILD_LLVM_DYLIB=ON CMAKE_ARGS+= -DLLVM_DEFAULT_TARGET_TRIPLE=${CONFIGURE_TARGET} CMAKE_ARGS+= -DLLVM_HOST_TRIPLE=${CONFIGURE_TARGET} # Following commit https://github.com/kitware/cmake/commit/956054 # we need to either change the whole man-shuffle below, or simply # redefine CMAKE_INSTALL_MANDIR CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="share/man" OPTIONS_DEFINE= CLANG DOCS EXTRAS LIT LLD LLDB OPTIONS_DEFINE_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFINE_i386= COMPILER_RT OPTIONS_DEFAULT= CLANG EXTRAS LIT LLD LLDB OPTIONS_DEFAULT_amd64= COMPILER_RT GOLD OPENMP OPTIONS_DEFAULT_i386= COMPILER_RT OPTIONS_EXCLUDE_FreeBSD_10= LLDB OPTIONS_SUB= yes CLANG_DESC= Build clang CLANG_EXTRA_PATCHES= \ ${PATCHDIR}/clang-patch-fformat_extensions.diff \ ${PATCHDIR}/clang-patch-fopenmp.diff \ ${PATCHDIR}/clang-patch-tools_clang_lib_Headers_CMakeLists.txt \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format.py \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_clang-format-sublime.py \ ${PATCHDIR}/clang-patch-tools_clang_tools_clang-format_git-clang-format \ ${PATCHDIR}/clang-patch-tools_clang_tools_scan-build_libexec_ccc-analyzer CLANG_CONFLICTS_INSTALL= clang-devel-3.[1234567]* CLANG_DISTFILES= cfe-${DISTVERSION}.src${EXTRACT_SUFX} CLANG_CMAKE_ON= -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp CLANG_PORTDOCS= clang CLANG_USE= GNOME=libxml2 COMPILER_RT_DESC= Sanitizer libraries COMPILER_RT_DISTFILES= compiler-rt-${DISTVERSION}.src${EXTRACT_SUFX} COMPILER_RT_PLIST_FILES=${_COMPILER_RT_LIBS:S|^|${_CRTLIBDIR}/|} DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx DOCS_PORTDOCS= llvm DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ -DSPHINX_WARNINGS_AS_ERRORS=OFF \ -DLLVM_BUILD_DOCS=ON DOCS_PLIST_FILES= ${MAN1SRCS:S|^|man/man1/|:S|.1$|${LLVM_SUFFIX}.1.gz|} EXTRAS_DESC= Extra clang tools EXTRAS_IMPLIES= CLANG EXTRAS_DISTFILES= clang-tools-extra-${DISTVERSION}.src${EXTRACT_SUFX} GOLD_DESC= Build the LLVM Gold plugin for LTO GOLD_CMAKE_ON= -DLLVM_BINUTILS_INCDIR=${LOCALBASE}/include GOLD_BUILD_DEPENDS= ${LOCALBASE}/bin/ld.gold:devel/binutils LIT_DESC= Install lit and FileCheck test tools LIT_VARS= _USES_PYTHON=python LLD_DESC= Install lld, the LLVM linker LLD_DISTFILES= lld-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_BUILD_DEPENDS= swig3.0:devel/swig30 LLDB_DESC= Install lldb, the LLVM debugger LLDB_DISTFILES= lldb-${DISTVERSION}.src${EXTRACT_SUFX} LLDB_IMPLIES= CLANG -LLDB_USES= execinfo LLDB_VARS= _USES_PYTHON=python OPENMP_DESC= Install libomp, the LLVM OpenMP runtime library OPENMP_DISTFILES= openmp-${DISTVERSION}.src${EXTRACT_SUFX} OPENMP_EXTRA_PATCHES= ${PATCHDIR}/openmp-patch-bug32279 .if defined(WITH_DEBUG) CMAKE_BUILD_TYPE= RelWithDebInfo STRIP= .endif _CRTLIBDIR= ${LLVM_PREFIX:S|${PREFIX}/||}/lib/clang/${LLVM_RELEASE}/lib/freebsd # Emulate USE_GITHUB's ${WRKSRC_tag} to reduce diffs to ../llvm-devel .for option in CLANG COMPILER_RT EXTRAS LLD LLDB OPENMP WRKSRC_${option:tl}= ${WRKDIR}/${${option}_DISTFILES:S/${EXTRACT_SUFX}//} .endfor OPTIONS_SUB= yes PLIST_SUB+= LLVM_LIB_VER=${LLVM_LIB_VER} \ LLVM_MAJOR=${LLVM_MAJOR} \ LLVM_RELEASE=${LLVM_RELEASE} \ LLVM_SUFFIX=${LLVM_SUFFIX} COMMANDS= bugpoint \ llc \ lli \ llvm-ar \ llvm-as \ llvm-bcanalyzer \ llvm-cat \ llvm-config \ llvm-cov \ llvm-cvtres \ llvm-diff \ llvm-dis \ llvm-dlltool \ llvm-dwarfdump \ llvm-dwp \ llvm-extract \ llvm-link \ llvm-mc \ llvm-mcmarkup \ llvm-modextract \ llvm-mt \ llvm-nm \ llvm-objdump \ llvm-opt-report \ llvm-pdbutil \ llvm-profdata \ llvm-ranlib \ llvm-readelf \ llvm-readobj \ llvm-rtdyld \ llvm-size \ llvm-split \ llvm-stress \ llvm-strings \ llvm-symbolizer \ llvm-tblgen \ macho-dump \ opt \ sancov FIRST_COMMAND= ${COMMANDS:C/^/XXXX/1:MXXXX*:C/^XXXX//} STRIP_LIBS= BugpointPasses.so \ LLVMHello.so \ ${LIBNAME}.0 \ libLTO.so EXTRAS_COMMANDS+= \ clang-apply-replacements \ clang-change-namespace \ clang-include-fixer \ clang-modernize \ clang-query \ clang-rename \ clang-reorder-fields \ clang-tidy \ find-all-symbols \ modularize EXTRAS_LIBS= libclangApplyReplacements \ libclangChangeNamespace \ libclangIncludeFixer \ libclangMove \ libclangQuery \ libclangRename \ libclangReorderFields \ libclangTidy \ libclangTidyGoogleModule \ libclangTidyLLVMModule \ libclangTidyMiscModule \ libclangTidyReadabilityModule \ libclangTidyUtils \ libfindAllSymbols \ libmodernizeCore EXTRAS_PATTERN= ${EXTRAS_COMMANDS:tW:C/ */|/g}|${EXTRAS_LIBS:tW:C/ */|/g} .include # keep in sync with /usr/src/lib/clang/clang.build.mk CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/armv6hf/armv6/}-portbld-${OPSYS:tl}${OSREL} .if ${PORT_OPTIONS:MCLANG} COMMANDS+= c-index-test \ clang \ clangd \ clang++ \ clang-check \ clang-cpp \ clang-format \ clang-import-test \ clang-offload-bundler \ scan-build \ scan-view MAN1SRCS+= clang.1 \ scan-build.1 CLANG_PATTERN= (c-index-test|clang|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer) SHEBANG_FILES+= tools/clang/tools/scan-view/bin/scan-view \ tools/clang/tools/clang-format/git-clang-format \ tools/clang/tools/clang-format/clang-format-diff.py .endif .if ${PORT_OPTIONS:MCOMPILER_RT} COMPILER_RT_PATTERN= (asan_blacklist.txt|sanitizer|include.xray) .endif .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 FileCheck.1 LIT_COMMANDS= lit llvm-lit FileCheck .endif .if ${PORT_OPTIONS:MLLDB} COMMANDS+= lldb \ lldb-argdumper \ lldb-mi \ lldb-server .endif .if ! ${OPTIONS_DEFINE:MCOMPILER_RT} # Hack to disable COMPILER_RT in plist of unsupported architectures PLIST_SUB+= COMPILER_RT="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MGOLD} # Hack to disable GOLD in plist of unsupported architectures PLIST_SUB+= GOLD="@comment " .else .endif .if ! ${OPTIONS_DEFINE:MOPENMP} # Hack to disable OPENMP in plist of unsupported architectures PLIST_SUB+= OPENMP="@comment " .else .endif MAN1SRCS+= bugpoint.1 llc.1 lli.1 llvm-ar.1 llvm-as.1 \ llvm-bcanalyzer.1 llvm-build.1 llvm-config.1 llvm-cov.1 \ llvm-diff.1 llvm-dis.1 llvm-dwarfdump.1 \ llvm-extract.1 llvm-lib.1 llvm-link.1 llvm-nm.1 \ llvm-profdata.1 llvm-readobj.1 llvm-stress.1 llvm-symbolizer.1 \ opt.1 tblgen.1 .include .if ${ARCH} == "amd64" _COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ libclang_rt.asan-x86_64.so \ libclang_rt.asan_cxx-x86_64.a \ libclang_rt.asan_cxx-x86_64.a.syms \ libclang_rt.builtins-x86_64.a \ libclang_rt.dd-x86_64.a \ libclang_rt.dyndd-x86_64.so \ libclang_rt.lsan-x86_64.a \ libclang_rt.profile-x86_64.a \ libclang_rt.safestack-x86_64.a \ libclang_rt.stats-x86_64.a \ libclang_rt.stats_client-x86_64.a \ libclang_rt.tsan-x86_64.a \ libclang_rt.tsan-x86_64.a.syms \ libclang_rt.tsan_cxx-x86_64.a \ libclang_rt.tsan_cxx-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.a \ libclang_rt.ubsan_standalone-x86_64.a.syms \ libclang_rt.ubsan_standalone-x86_64.so \ libclang_rt.ubsan_standalone_cxx-x86_64.a \ libclang_rt.ubsan_standalone_cxx-x86_64.a.syms \ libclang_rt.ubsan_standalone_cxx-x86_64.so .endif .if ${ARCH} == "i386" _COMPILER_RT_LIBS+= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ libclang_rt.asan_cxx-i386.a \ libclang_rt.builtins-i386.a \ libclang_rt.lsan-i386.a \ libclang_rt.profile-i386.a \ libclang_rt.safestack-i386.a \ libclang_rt.stats-i386.a \ libclang_rt.stats_client-i386.a \ libclang_rt.ubsan_standalone-i386.a \ libclang_rt.ubsan_standalone-i386.so \ libclang_rt.ubsan_standalone_cxx-i386.a \ libclang_rt.ubsan_standalone_cxx-i386.so .endif .if ${PORT_OPTIONS:MEXTRAS} COMMANDS+= ${EXTRAS_COMMANDS} MAN1SRCS+= extraclangtools.1 PORTDOCS+= clang-tools SHEBANG_FILES+= tools/clang/tools/extra/clang-tidy/tool/clang-tidy-diff.py \ tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ tools/clang/tools/extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py .endif .if ${PORT_OPTIONS:MLLD} COMMANDS+= lld \ lld-link PORTDOCS+= lld .endif .if ${OPSYS} == "FreeBSD" && ${COMPILER_TYPE} != clang CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif .if ${ARCH} == "armv6" BUILD_DEPENDS+= ${LOCALBASE}/bin/ld:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif .if ${PYTHON_REL} < 3400 LLDB_BUILD_DEPENDS+= \ ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 .endif post-extract-CLANG-on: ${MV} ${WRKSRC_clang} ${PATCH_WRKSRC}/tools/clang post-extract-EXTRAS-on: ${MV} ${WRKSRC_extras} ${PATCH_WRKSRC}/tools/clang/tools/extra post-extract-LLD-on: ${MV} ${WRKSRC_lld} ${PATCH_WRKSRC}/tools/lld post-extract-LLDB-on: ${MV} ${WRKSRC_lldb} ${PATCH_WRKSRC}/tools/lldb post-extract-OPENMP-on: ${MV} ${WRKSRC_openmp} ${PATCH_WRKSRC}/tools/openmp post-patch: ${REINPLACE_CMD} -e 's|import lit|import lit${LLVM_SUFFIX}|' \ -e 's|from lit|from lit${LLVM_SUFFIX}|' \ -e 's|lit\.|lit${LLVM_SUFFIX}.|' \ ${WRKSRC}/utils/lit/lit.py ${WRKSRC}/utils/lit/lit/*.py \ ${WRKSRC}/utils/lit/lit/formats/*.py ${REINPLACE_CMD} -e 's,/usr/local/,${LOCALBASE}/,' \ ${WRKSRC}/CMakeLists.txt post-patch-CLANG-on: ${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|' \ ${PATCH_WRKSRC}/tools/clang/lib/Driver/ToolChains/CommonArgs.cpp ${REINPLACE_CMD} -e 's|%%LLVM_SUFFIX%%|${LLVM_SUFFIX}|' \ ${PATCH_WRKSRC}/tools/clang/tools/clang-format/clang-format.py \ ${PATCH_WRKSRC}/tools/clang/tools/clang-format/clang-format-sublime.py \ ${PATCH_WRKSRC}/tools/clang/tools/clang-format/git-clang-format post-build-COMPILER_RT-on: ${MKDIR} ${WRKDIR}/compiler-rt-build cd ${WRKDIR}/compiler-rt-build && \ ${CMAKE_BIN} ${CMAKE_ARGS} \ -DLLVM_CONFIG_PATH=${CONFIGURE_WRKSRC}/bin/llvm-config \ ${WRKSRC_compiler_rt} && \ ${MAKE_ENV} ${MAKE_CMD} post-install: ${RM} -r ${STAGEDIR}${LLVM_PREFIX}/include/llvm/MC/MCAnalysis ${INSTALL_SCRIPT} ${WRKDIR}/llvm-wrapper.sh \ ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} .for command in ${COMMANDS:C/^/XXXX/1:NXXXX*} ${LN} -f ${STAGEDIR}${PREFIX}/bin/${FIRST_COMMAND}${LLVM_SUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${command}${LLVM_SUFFIX} .endfor post-install-DOCS-on: ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/doc ${STAGEDIR}${DOCSDIR} .for _man in ${MAN1SRCS} ${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \ ${STAGEDIR}${MANPREFIX}/man/man1/${_man:R}${LLVM_SUFFIX}.1 .endfor .if ! ${PORT_OPTIONS:MLIT} ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1 ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1 .endif ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .if ${PORT_OPTIONS:MCLANG} post-install-DOCS-off: ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/scan-build.1 ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ .endif post-install-LLDB-on: ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/lldb/Host/windows/getopt ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/lldb/Host/mingw ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/lldb/Host/msvc post-install-CLANG-on: ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/clang \ ${STAGEDIR}${LLVM_PREFIX}/bin/clang-cpp ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/clang-tblgen \ ${STAGEDIR}${LLVM_PREFIX}/bin/ post-install-COMPILER_RT-on: cd ${WRKDIR}/compiler-rt-build && \ ${MAKE_ENV} ${MAKE_CMD} ${INSTALL_TARGET} .if ${ARCH} == "amd64" ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/libclang_rt*i386* .endif ${MKDIR} ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${MV} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd/* \ ${STAGEDIR}${PREFIX}/${_CRTLIBDIR} ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/lib/freebsd post-install-LIT-on: ${INSTALL_SCRIPT} ${PATCH_WRKSRC}/utils/lit/lit.py \ ${STAGEDIR}${LLVM_PREFIX}/bin/lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${LLVM_PREFIX}/bin/llvm-lit ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/lit${LLVM_SUFFIX} ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/lit \ ${STAGEDIR}${PREFIX}/bin/llvm-lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX} ${INSTALL_DATA} ${WRKSRC}/utils/lit/lit/formats/*.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lit${LLVM_SUFFIX}/formats ${INSTALL_PROGRAM} ${WRKDIR}/.build/bin/FileCheck \ ${STAGEDIR}${LLVM_PREFIX}/bin/ ${LN} -f ${STAGEDIR}${LLVM_PREFIX}/bin/FileCheck \ ${STAGEDIR}${PREFIX}/bin/FileCheck${LLVM_SUFFIX} TEST_CMD= '(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} LD_LIBRARY_PATH=${WRKSRC}/Release/lib ${MAKE_CMD} check-local-lit)' regression-test: ${BUILD_COOKIE} if [ `${ID} -u` = 0 ]; then \ ${CHOWN} -R nobody ${WRKSRC}/test; \ su -m nobody -c ${TEST_CMD}; \ else \ ${SH} -c ${TEST_CMD}; \ fi build-plist: ${RM} ${PLIST} ${PLIST}.tmp ${ECHO_CMD} "@comment >>>>> GENERATED FILE, DO NOT EDIT <<<<<" >> ${PLIST}.tmp ${ECHO_CMD} "@comment Alter build-plist target and regenerate as required" >> ${PLIST}.tmp .for command in ${COMMANDS} ${ECHO_CMD} bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp .endfor .for command in ${LIT_COMMANDS} ${ECHO_CMD} %%LIT%%bin/${command}%%LLVM_SUFFIX%% >> ${PLIST}.tmp ${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||:C|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} >> ${PLIST}.tmp .endfor ${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \ ${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \ ${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \ -e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \ -e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' \ -e 's|${LLVM_MAJOR:C/\.//}|%%LLVM_LIB_VER%%|' \ -e 's|${PYTHON_SITELIBDIR:C|${PREFIX}/||}|%%PYTHON_SITELIBDIR%%|' | \ ${SORT} >> ${PLIST}.tmp ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \ ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \ -e 's|${LLVM_RELEASE:C/\./\\./g}|%%LLVM_RELEASE%%|' \ -e 's|${LLVM_MAJOR:C/\./\\./}|%%LLVM_MAJOR%%|' \ -e 's|lit${LLVM_SUFFIX}|lit%%LLVM_SUFFIX%%|' | \ ${SORT} >> ${PLIST}.tmp ${AWK} '{ \ if ($$0 ~ /${CLANG_PATTERN}/ && $$0 !~ /(omp.h|${EXTRAS_PATTERN}|libclang_rt)/) {printf "%%%%CLANG%%%%"} \ if ($$0 ~ /${COMPILER_RT_PATTERN}/) \ {printf "%%%%COMPILER_RT%%%%"} \ if ($$0 ~ /(${EXTRAS_PATTERN})/) {printf "%%%%EXTRAS%%%%"} \ if ($$0 ~ /lld/ && $$0 !~ /lldb/) {printf "%%%%LLD%%%%"} \ if ($$0 ~ /(argdumper|lldb|six.py)/) {printf "%%%%LLDB%%%%"} \ if ($$0 ~ /lib.*omp/) {printf "%%%%OPENMP%%%%"} \ if ($$0 ~ /LLVMgold/) {printf "%%%%GOLD%%%%"} \ if ($$0 !~ /libclang_rt/) {print}}' ${PLIST}.tmp >> ${PLIST} ${RM} ${PLIST}.tmp check-commands: .for command in ${COMMANDS} test -e ${STAGEDIR}${LLVM_PREFIX}/bin/${command} .endfor .if make(svn-patch-llvm) .if !defined(PATCH_REV) .error svn-patch-llvm requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/llvm/trunk svn-patch-llvm: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} .endif .if make(svn-patch-clang) .if !defined(PATCH_REV) .error svn-patch-clang requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/clang-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/cfe/trunk svn-patch-clang: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ ${SED} -E -e 's;^(---|\+\+\+) ;\1 tools/clang/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-compiler-rt) .if !defined(PATCH_REV) .error svn-patch-compiler-rt requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/compiler-rt-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/compiler-rt/trunk svn-patch-compiler-rt: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | \ ${SED} -E -e 's;^(---|\+\+\+) ;\1 tools/compiler-rt/;' >> ${_PATCH_FILE} .endif .if make(svn-patch-lldb) .if !defined(PATCH_REV) .error svn-patch-lldb requires that PATCH_REV be set .endif _PATCH_FILE=${FILESDIR}/lldb-patch-svn-${PATCH_REV} _LLVM_BASE=http://llvm.org/svn/llvm-project/lldb/trunk svn-patch-lldb: svn log -c ${PATCH_REV} ${_LLVM_BASE} >> ${_PATCH_FILE} svn diff -c ${PATCH_REV} ${_LLVM_BASE} | >> ${_PATCH_FILE} .endif .include Index: head/devel/mongo-cxx-driver/Makefile =================================================================== --- head/devel/mongo-cxx-driver/Makefile (revision 450350) +++ head/devel/mongo-cxx-driver/Makefile (revision 450351) @@ -1,37 +1,37 @@ # Created by: Simun Mikecin # $FreeBSD$ PORTNAME= mongo-cxx-driver PORTVERSION= 1.1.2 DISTVERSIONPREFIX=legacy- PORTREVISION= 3 CATEGORIES= devel MAINTAINER= numisemis@yahoo.com COMMENT= MongoDB Legacy C++ Driver LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/APACHE-2.0.txt LIB_DEPENDS= libboost_system.so:devel/boost-libs MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= SCRAM-SHA-1 OPTIONS_DEFAULT= SCRAM-SHA-1 SCRAM-SHA-1_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SCRAM-SHA-1_MAKE_ARGS= --use-sasl-client --ssl SCRAM-SHA-1_DESC= SCRAM-SHA-1 authentication mechanism support. USE_GITHUB= yes GH_ACCOUNT= mongodb GH_PROJECT= mongo-cxx-driver -USES= execinfo scons +USES= scons MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ --cc=${CC} \ --cxx=${CXX} USE_LDCONFIG= yes .include Index: head/devel/pecl-swoole/Makefile =================================================================== --- head/devel/pecl-swoole/Makefile (revision 450350) +++ head/devel/pecl-swoole/Makefile (revision 450351) @@ -1,32 +1,32 @@ # Created by: vanilla@ # $FreeBSD$ PORTNAME= swoole PORTVERSION= 1.9.16 CATEGORIES= devel net MAINTAINER= vanilla@FreeBSD.org COMMENT= Asynchronous & concurrent & distributed networking framework LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64= fails to build: swoole_config.h: error GCC 4.4 or later required -USES= execinfo php:pecl ssl +USES= php:pecl ssl CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_PHP= pcre OPTIONS_DEFINE= HTTP2 REDIS RING_BUFFER SOCKETS HTTP2_LIB_DEPENDS= libnghttp2.so:www/libnghttp2 HTTP2_CONFIGURE_ON= --enable-http2 --enable-openssl REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis REDIS_CONFIGURE_ON= --enable-async-redis RING_BUFFER_DESC= Use ring buffer pool RING_BUFFER_CONFIGURE_ON= --enable-ringbuffer SOCKETS_USE= PHP=sockets:build SOCKETS_DESC= Use native php sockets extension SOCKETS_CONFIGURE_ON= --enable-sockets .include Index: head/devel/qt5-core/Makefile =================================================================== --- head/devel/qt5-core/Makefile (revision 450350) +++ head/devel/qt5-core/Makefile (revision 450351) @@ -1,46 +1,45 @@ # $FreeBSD$ PORTNAME= core DISTVERSION= ${QT5_VERSION} PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt core non-graphical module LIB_DEPENDS= libicui18n.so:devel/icu \ libpcre.so:devel/pcre -USES= execinfo USE_GNOME= glib20 USE_QT5= qmake_build buildtools_build QT_DIST= base HAS_CONFIGURE= yes # Disable (almost) everything to install minimal qconfig.h. # -no-feature-* adds QT_NO_* (for features which have no switch or # that need to be detected). CONFIGURE_ARGS= -no-accessibility -no-gif -no-libpng -no-libjpeg \ -no-openssl -no-gui -no-widgets -no-cups \ -no-iconv -no-dbus -no-opengl \ -no-alsa -no-egl -no-evdev -no-feature-concurrent \ -no-fontconfig -no-freetype -no-gtk -no-harfbuzz \ -no-libudev -no-pulseaudio -no-xcb -no-xinput2 -no-xkb -no-xcb-xlib \ -no-xkbcommon -no-xrender -no-xshape -no-xsync -no-libinput USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src/corelib INSTALL_WRKSRC= ${BUILD_WRKSRC} QT_DEFINES= GLIB QT_CONFIG= glib icu .include post-install: # Allow qconfig.h to be customized by single ports. ${AWK} 'BEGIN{print "#include "}{print}' \ ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig.h > ${WRKDIR}/qconfig.h ${MV} ${WRKDIR}/qconfig.h ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/qconfig.h .include Index: head/devel/tesla/Makefile =================================================================== --- head/devel/tesla/Makefile (revision 450350) +++ head/devel/tesla/Makefile (revision 450351) @@ -1,31 +1,31 @@ # $FreeBSD$ PORTNAME= tesla DISTVERSION= 0.0.20140425 PORTREVISION= 6 CATEGORIES= devel lang MAINTAINER= brooks@FreeBSD.org COMMENT= Temporally Enhanced Security Logic Assertions BUILD_DEPENDS= clang33:lang/clang33 RUN_DEPENDS= clang33:lang/clang33 LIB_DEPENDS= libprotobuf.so:devel/protobuf BROKEN_armv6= fails to link: cmTC_8106f uses VFP register arguments, testCCompiler.c.o does not SHEBANG_FILES= scripts/highlight-transitions -USES= cmake:outsource execinfo python:run shebangfix +USES= cmake:outsource python:run shebangfix USE_GITHUB= yes GH_ACCOUNT= CTSRD-TESLA GH_PROJECT= TESLA GH_TAGNAME= 3136f0f CC= clang33 CXX= clang++33 CMAKE_ARGS+= -DCMAKE_LLVM_CONFIG=llvm-config33 .include Index: head/devel/upp/Makefile =================================================================== --- head/devel/upp/Makefile (revision 450350) +++ head/devel/upp/Makefile (revision 450351) @@ -1,138 +1,138 @@ # Created by: Matthias Sund # $FreeBSD$ PORTNAME= upp PORTVERSION= 10804 PORTREVISION= 1 CATEGORIES= devel x11-toolkits MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2017.1/ DISTNAME= ${PORTNAME}-x11-src-${PORTVERSION} MAINTAINER= m.sund@arcor.de COMMENT= Ultimate++, a BSD-licensed, cross-platform, C/C++ RAD suite LICENSE= BSD2CLAUSE LICENSE_FILE= ${BUILD_WRKSRC}/Core/Copying -USES= compiler:c++11-lib execinfo +USES= compiler:c++11-lib WRKSRC= ${WRKDIR}/${DISTNAME} BUILD_WRKSRC= ${WRKSRC}/uppsrc MACRO_FLAGS= -DflagBSD -Dflag${OPSYS:tu} CINC_GUI= -I. -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \ -I${LOCALBASE}/include/gtk-2.0 -I${LOCALBASE}/include/atk-1.0 \ -I${LOCALBASE}/include/cairo -I${LOCALBASE}/include/gdk-pixbuf-2.0 \ -I${LOCALBASE}/include/pango-1.0 -I${LOCALBASE}/include/glib-2.0 \ -I${LOCALBASE}/lib/glib-2.0/include -I/usr/include CINC_CONSOLE= -I. -I${LOCALBASE}/include -I/usr/include BROKEN_aarch64= Does not compile on ${ARCH}: error Unknown CPU architecture BROKEN_powerpc= Does not compile on ${ARCH} BROKEN_sparc64= Does not compile on ${ARCH} PORTDATA= bazaar examples reference tutorial uppsrc *.bm OPTIONS_DEFINE= MYSQL OPENGL PGSQL SCD SDL USEMALLOC OPTIONS_DEFAULT= IDE SCD UMK OPTIONS_MULTI= BUILD OPTIONS_MULTI_BUILD= IDE UMK BUILD_DESC= Build/install IDE_DESC= Build/install TheIDE (integrated development environment) IDE_DESKTOP_ENTRIES= "TheIDE" "IDE for cross-platform C++ development" \ "${DATADIR}/uppsrc/ide/theide-48.png" "theide" \ "Development;IDE;GTK;" false IDE_LIB_DEPENDS= libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libnotify.so:devel/libnotify \ libpng.so:graphics/png IDE_PLIST_FILES= bin/theide ${MANPREFIX}/man/man1/theide.1.gz IDE_USE= XORG=x11,xau,xcb,xcursor,xdmcp,xext,xfixes,xft,xi,xinerama,xrandr,xrender \ GNOME=cairo,gdkpixbuf2,gtk20 IDE_USES= gmake UMK_DESC= Build/install UMK (U++ MaKe command line utility) UMK_PLIST_FILES= bin/umk ${MANPREFIX}/man/man1/umk.1.gz USEMALLOC_DESC= Compile without U++ heap allocator USEMALLOC_VARS= MACRO_FLAGS+=-DflagUSEMALLOC SCD_DESC= Install spelling dictionaries (*.scd files) SCD_VARS= PORTDATA+=*.scd SDL_USE= sql OPENGL_USE= gl MYSQL_USE= mysql=yes PGSQL_USES= pgsql .include .if ${CHOSEN_COMPILER_TYPE} == clang # Disable some warnings for Clang CXXFLAGS+= -Wno-logical-op-parentheses .endif post-patch: .SILENT ${CP} ${BUILD_WRKSRC}/Makefile.in ${BUILD_WRKSRC}/Makefile ${CP} ${BUILD_WRKSRC}/uMakefile.in ${BUILD_WRKSRC}/uMakefile ${REINPLACE_CMD} -i '' -e '/^CXX[[:blank:]]*=/d; /^CFLAGS[[:blank:]]*=/d; \ /^LDFLAGS[[:blank:]]*=/d ; \ /^Macro[[:blank:]]*=/s|-DflagLINUX|${MACRO_FLAGS}| ; \ s|\(^CXXFLAGS\)[[:blank:]]*=.*\(-std=.*\)|\1 += \2| ; \ s|\(^LIBPATH\)[[:blank:]]*=.*|\1 = -L${LOCALBASE}/lib -L/usr/lib|' \ ${BUILD_WRKSRC}/Makefile \ ${BUILD_WRKSRC}/uMakefile ${REINPLACE_CMD} -i '' -e 's|\(^CINC\)[[:blank:]]*=.*|\1 = ${CINC_GUI}| ; \ /^OutDir_/s|-Gui-Linux|| ; /^OutDir_/s|-Mt|| ; \ s|-ldl|-lXau -lXdmcp -lxcb -lexecinfo|' \ ${BUILD_WRKSRC}/Makefile ${REINPLACE_CMD} -i '' -e 's|\(^CINC\)[[:blank:]]*=.*|\1 = ${CINC_CONSOLE}| ; \ /^OutDir_/s|-Linux|| ; \ s|-ldl|-lexecinfo|' \ ${BUILD_WRKSRC}/uMakefile do-build: .SILENT ${ECHO_CMD} "BUILDER = \"GCC\"" > ${WRKSRC}/GCC.bm ${ECHO_CMD} "COMMON_CPP_OPTIONS = \"-std=c++11\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "DEBUG_INFO = \"0\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "DEBUG_BLITZ = \"1\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "DEBUG_LINKMODE = \"1\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "DEBUG_OPTIONS = \"-O0\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "DEBUG_FLAGS = \"\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "DEBUG_LINK = \"\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "RELEASE_BLITZ = \"0\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "RELEASE_LINKMODE = \"1\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "RELEASE_OPTIONS = \"-O2 -ffunction-sections -fdata-sections\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "RELEASE_FLAGS = \"\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "RELEASE_LINK = \"-Wl,--gc-sections\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "DEBUGGER = \"gdb\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "PATH = \"\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "INCLUDE = \"${LOCALBASE}/include;${LOCALBASE}/include/freetype2;${LOCALBASE}/include/gtk-2.0;${LOCALBASE}/include/atk-1.0;${LOCALBASE}/include/cairo;${LOCALBASE}/include/gdk-pixbuf-2.0;${LOCALBASE}/include/pango-1.0;${LOCALBASE}/include/glib-2.0;${LOCALBASE}/lib/glib-2.0/include;/usr/include\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "LIB = \"${LOCALBASE}/lib;/usr/lib\";" >> ${WRKSRC}/GCC.bm ${ECHO_CMD} "LINKMODE_LOCK = \"0\";" >> ${WRKSRC}/GCC.bm # Also create CLANG build method, based on GCC with some changes (cd ${WRKSRC} && ${CP} GCC.bm CLANG.bm && \ ${SED} -i '' -e '/^BUILDER/s|GCC|CLANG| ; s| -fdata-sections||' \ CLANG.bm) ${ECHO_CMD} "COMMON_OPTIONS = \"-Wno-logical-op-parentheses\";" >> ${WRKSRC}/CLANG.bm ${ECHO_CMD} "ALLOW_PRECOMPILED_HEADERS = \"0\";" >> ${WRKSRC}/CLANG.bm do-build-IDE-on: @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} Makefile ${_MAKE_JOBS} UPPOUT="../_out/" OutFile="../theide") do-build-UMK-on: @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ ${MAKE_FLAGS} uMakefile ${_MAKE_JOBS} UPPOUT="../_out/" OutFile="../umk") do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR} \ "-not ( -type d -empty )") (cd ${STAGEDIR}${DATADIR}/uppsrc && ${RM} build_info.h *Makefile*) do-install-IDE-on: ${INSTALL_PROGRAM} ${WRKSRC}/theide ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${BUILD_WRKSRC}/ide/theide.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-UMK-on: ${INSTALL_PROGRAM} ${WRKSRC}/umk ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${BUILD_WRKSRC}/umk/umk.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/dns/dnscrypt-proxy/Makefile =================================================================== --- head/dns/dnscrypt-proxy/Makefile (revision 450350) +++ head/dns/dnscrypt-proxy/Makefile (revision 450351) @@ -1,62 +1,62 @@ # Created by: Leo Vandewoestijne # $FreeBSD$ PORTNAME= dnscrypt-proxy PORTVERSION= 1.9.5 PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= https://download.dnscrypt.org/dnscrypt-proxy/ \ http://download.dnscrypt.org/dnscrypt-proxy/ \ http://dns-lab.com/downloads/dnscrypt-proxy/ MAINTAINER= freebsd@dns-lab.com COMMENT= Boost privacy and security of DNS LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsodium.so:security/libsodium BROKEN_powerpc64= fails to compile: fpst.c: error: redefinition of typedef 'FPST' USERS= _dnscrypt-proxy GROUPS= _dnscrypt-proxy GNU_CONFIGURE= yes -USES= execinfo gmake +USES= gmake INSTALL_TARGET= install-strip PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README* THANKS OPTIONS_DEFINE= DOCS PLUGINS PLUGINS_RELAXED PLUGINS_ROOT OPTIONS_SINGLE= RCWHICH OPTIONS_SINGLE_RCWHICH= RCSINGLE RCMULTI OPTIONS_DEFAULT= PLUGINS RCSINGLE OPTIONS_SUB= yes PLUGINS_CONFIGURE_ENABLE= plugins PLUGINS_LIB_DEPENDS= libltdl.so:devel/libltdl \ libldns.so:dns/ldns PLUGINS_USE= LDCONFIG=${PREFIX}/lib/dnscrypt-proxy PLUGINS_USES= libtool PLUGINS_RELAXED_DESC= Allow loading plugins owned by other users PLUGINS_RELAXED_CONFIGURE_ENABLE= relaxed-plugins-permissions PLUGINS_ROOT_DESC= Only load plugins sitting in the default plugins directory PLUGINS_ROOT_CONFIGURE_ENABLE= plugins-root RCWHICH_DESC= Rc script to use: RCSINGLE_DESC= Use default rc script for single daemon RCSINGLE_VARS= USE_RC_SUBR=${PORTNAME} RCSINGLE_SUB_FILES= pkg-message RCMULTI_DESC= Use experimental rc script for multiple instances RCMULTI_VARS= USE_RC_SUBR=${PORTNAME}_multi RCMULTI_SUB_FILES= pkg-message_multi post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/man/dnscrypt-proxy.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/man/hostip.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 ${MV} ${STAGEDIR}${PREFIX}/etc/dnscrypt-proxy.conf ${STAGEDIR}${PREFIX}/etc/dnscrypt-proxy.conf.sample .include Index: head/editors/codelite/Makefile =================================================================== --- head/editors/codelite/Makefile (revision 450350) +++ head/editors/codelite/Makefile (revision 450351) @@ -1,100 +1,97 @@ # Created by: gahr # $FreeBSD$ PORTNAME= codelite PORTVERSION= 10.0 PORTREVISION= 2 CATEGORIES= editors devel MAINTAINER= mmokhi@FreeBSD.org COMMENT= Open Source IDE for C/C++ LICENSE= GPLv2+ RUN_DEPENDS= xterm:x11/xterm LIB_DEPENDS+= libhunspell-1.6.so:textproc/hunspell BROKEN_armv6= fails to configure: has leading or trailing whitespace. This is now an error according to policy CMP0004 USE_GITHUB= yes GH_ACCOUNT= eranif -USES= cmake:outsource,noninja compiler:c++11-lib dos2unix execinfo gettext \ +USES= cmake:outsource,noninja compiler:c++11-lib dos2unix gettext \ pathfix shebangfix sqlite USE_GNOME+= cairo gtk20 DOS2UNIX_GLOB= *.cpp *.txt SHEBANG_FILES= Runtime/codelite_xterm bash_CMD= /bin/sh USE_WX= 3.0 CMAKE_ARGS= -DPREFIX:STRING="${PREFIX}" \ -DIS_FREEBSD:STRING=1 \ -DCL_WX_CONFIG:STRING="${WX_CONFIG:T}" USE_LDCONFIG= ${PREFIX}/lib/codelite INSTALLS_ICONS= yes - -CXXFLAGS+= ${EXECINFO_CPPFLAGS} -LDFLAGS+= ${EXECINFO_LDFLAGS} OPTIONS_DEFINE= CSCOPE SFTP OPTIONS_RADIO= CLANG OPTIONS_SUB= yes CSCOPE_DESC= CScope integration CSCOPE_RUN_DEPENDS= cscope:devel/cscope SFTP_DESC= Secure FTP support via libssh SFTP_LIB_DEPENDS= libssh.so:security/libssh SFTP_CMAKE_OFF= -DENABLE_SFTP:STRING=0 SFTP_USES= localbase CLANG_DESC= Clang code-completion .for v in 34 35 36 37 38 39 OPTIONS_RADIO_CLANG+= CLANG$v CLANG$v_DESC= Clang ${v:C/(.)(.)/\1.\2.x/} .if $v == 39 CLANG$v_BUILD_DEPENDS= llvm$v>0:devel/llvm$v CLANG$v_RUN_DEPENDS= llvm$v>0:devel/llvm$v .else CLANG$v_BUILD_DEPENDS= clang$v>0:lang/clang$v CLANG$v_RUN_DEPENDS= clang$v>0:lang/clang$v .endif post-patch-CLANG$v-on: @${REINPLACE_CMD} -e \ 's|/usr/lib/llvm-.*/|${LOCALBASE}/llvm$v/|' \ ${WRKSRC}/cmake/Modules/FindLibClang.cmake \ ${WRKSRC}/cmake/Modules/FindLibLLDB.cmake .endfor .include .if ${PORT_OPTIONS:MCLANG*} CMAKE_ARGS+= -DENABLE_LLDB:STRING=1 -DENABLE_CLANG:STRING=1 .else CMAKE_ARGS+= -DENABLE_LLDB:STRING=0 -DENABLE_CLANG:STRING=0 .endif post-patch: # Use the correct wx-config @${REINPLACE_CMD} -e \ '/ IS_FREEBSD/s|^|#| ; \ / CL_WX_CONFIG/s|^|#| ; \ / -Wno-/s|^|#| ; \ / -O2/s|^|#| ; \ s|"-s"|""|' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|"-lkvm"|"-lkvm -lutil"| ; \ s|share/man|man|' \ ${WRKSRC}/LiteEditor/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|"-lutil"|"-lkvm -lutil"|' \ ${WRKSRC}/codelite_terminal/CMakeLists.txt @${REINPLACE_CMD} -e \ '/ADDITIONAL_LIBRARIES/s|""|"-lexecinfo"|' \ ${WRKSRC}/sdk/codelite_cppcheck/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|/bin/grep|/usr/bin/grep|' \ ${WRKSRC}/cmake/Modules/FindLibClang.cmake .include Index: head/editors/texstudio/Makefile =================================================================== --- head/editors/texstudio/Makefile (revision 450350) +++ head/editors/texstudio/Makefile (revision 450351) @@ -1,58 +1,58 @@ # $FreeBSD$ PORTNAME= texstudio PORTVERSION= 2.11.0 PORTREVISION= 7 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/TeXstudio%20${PORTVERSION} MAINTAINER= abiliojr@gmail.com COMMENT= Integrated writing environment for LaTeX documents LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell \ libpoppler.so:graphics/poppler BROKEN_aarch64= fails to compile: error: no member named mc_eip in __mcontext BROKEN_armv6= fails to compile: error: no member named mc_eip in __mcontext -USES= desktop-file-utils dos2unix execinfo ghostscript:run \ +USES= desktop-file-utils dos2unix ghostscript:run \ pkgconfig qmake DOS2UNIX_FILES= ${PORTNAME}.pro _USE_QT4= corelib gui network script svg xml \ iconengines_run designer_build moc_build rcc_build uic_build _USE_QT5= core gui network script svg widgets xml \ printsupport concurrent uitools buildtools_build USE_XORG= x11 USE_GL= gl USE_TEX= latex dvipsk WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} OPTIONS_SINGLE= TOOLKIT OPTIONS_SINGLE_TOOLKIT= QT4 QT5 OPTIONS_DEFAULT= QT5 QMAKE_ARGS= USE_SYSTEM_HUNSPELL=true USE_SYSTEM_QUAZIP=true TOOLKIT_DESC= Qt toolkit QT4_USE= ${_USE_QT4:S/^/QT4=/} QT4_LIB_DEPENDS=libpoppler-qt4.so:graphics/poppler-qt4 \ libquazip.so:archivers/quazip QT4_QMAKE_ON= QUAZIP_INCLUDE="${LOCALBASE}/include/quazip" \ QUAZIP_LIB="-lquazip" QT5_USE= ${_USE_QT5:S/^/QT5=/} QT5_LIB_DEPENDS=libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip5.so:archivers/quazip-qt5 QT5_QMAKE_ON= QUAZIP_INCLUDE="${LOCALBASE}/include/quazip5" \ QUAZIP_LIB="-lquazip5" post-patch: @${REINPLACE_CMD} -e 's,^\(utilities.path =\).*,\1 ${DATADIR},' \ -e 's,/usr/include,${LOCALBASE}/include,g' \ -e 's,/usr/lib,${LOCALBASE}/lib,g' \ -e '/appdata.path/s,\/usr,${PREFIX},' \ ${WRKSRC}/${PORTNAME}.pro .include Index: head/editors/vanubi/Makefile =================================================================== --- head/editors/vanubi/Makefile (revision 450350) +++ head/editors/vanubi/Makefile (revision 450351) @@ -1,36 +1,36 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= vanubi PORTVERSION= 0.0.16 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= editors MAINTAINER= ports@FreeBSD.org COMMENT= Programming editor written in Vala LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING DEPRECATED= Vanubi is no longer actively maintained EXPIRATION_DATE= 2017-10-06 BUILD_DEPENDS= valac:lang/vala GH_TAGNAME= eedac1d USE_GITHUB= yes -USES= autoreconf desktop-file-utils execinfo gmake libtool pkgconfig +USES= autoreconf desktop-file-utils gmake libtool pkgconfig GNU_CONFIGURE= yes USE_GNOME= glib20 gtk30 gtksourceview3 libwnck3 vte3 USE_LDCONFIG= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS=--without-asciidoc --disable-static post-patch: ${REINPLACE_CMD} -e 's|vte-2.90|vte-2.91|' \ ${WRKSRC}/configure.ac .include Index: head/games/0ad/Makefile =================================================================== --- head/games/0ad/Makefile (revision 450350) +++ head/games/0ad/Makefile (revision 450351) @@ -1,87 +1,87 @@ # $FreeBSD$ PORTNAME= 0ad PORTVERSION= 0.0.22 PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://releases.wildfiregames.com/ \ SF/zero-ad/releases DISTFILES= ${PORTNAME}-${PORTVERSION}-alpha-unix-build.tar.xz \ ${PORTNAME}-${PORTVERSION}-alpha-unix-data.tar.xz MAINTAINER= madpilot@FreeBSD.org COMMENT= Real-time strategy (RTS) game of ancient warfare BUILD_DEPENDS= zip:archivers/zip \ python:lang/python \ cmake:devel/cmake LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libicui18n.so:devel/icu \ libpng.so:graphics/png \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libcurl.so:ftp/curl \ libgloox.so:net-im/gloox \ libminiupnpc.so:net/miniupnpc \ libnspr4.so:devel/nspr \ libenet.so:net/enet \ libtiff.so:graphics/tiff WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha BUILD_WRKSRC= ${WRKSRC}/build/workspaces/gcc MAKE_ARGS= config=release -USES= compiler:c++11-lib dos2unix execinfo gmake iconv jpeg openal:al \ +USES= compiler:c++11-lib dos2unix gmake iconv jpeg openal:al \ pkgconfig tar:xz USE_GNOME= libxml2 gtk20 USE_GL= gl USE_SDL= sdl2 USE_XORG= x11 xcursor BUNDLE_LIBS= yes DOS2UNIX_REGEX= .*\.([ch]p{0,2}|make) USE_WX= 2.8+ WX_COMPS= wx:lib MAKE_ENV+= JOBS=${_MAKE_JOBS} BROKEN_aarch64= fails to compile: no member named verifyHeapAccessDisassembly BROKEN_armv6= fails to link: fatal error: conftest: Unknown error: -1 BROKEN_powerpc64= fails to compile: _psutil_bsd.c: error: 'struct xtcpcb' has no member named 'xt_tp' PORTDATA= * .include post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|%%CC%%|${CC}|' \ ${WRKSRC}/build/premake/premake4.lua .if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc @${REINPLACE_CMD} -e '1055,1251s/-rdynamic/-lssp_nonshared &/' \ -e '1441s/"execinfo",/& "ssp_nonshared",/' \ ${WRKSRC}/build/premake/premake4.lua .endif @${REINPLACE_CMD} 's,^\(Exec=\)/usr/local,\1${PREFIX},' \ ${WRKSRC}/build/resources/0ad.desktop @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/build/resources/0ad.sh @${CP} ${FILESDIR}/psutil.diff ${WRKSRC}/libraries/source/spidermonkey/ pre-build: (cd ${WRKSRC}/build/workspaces && ${SETENV} ${MAKE_ENV} ./update-workspaces.sh ${0ADSDLARG} --bindir=${PREFIX}/bin --datadir=${DATADIR} --libdir=${PREFIX}/lib/${PORTNAME}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/binaries/system/pyrogenesis ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/build/resources/0ad.sh ${STAGEDIR}${PREFIX}/bin/0ad ${INSTALL_PROGRAM} ${WRKSRC}/binaries/system/ActorEditor ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} (cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} libAtlasUI.so libCollada.so libnvcore.so libnvimage.so libnvmath.so libnvtt.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) (cd ${WRKSRC}/binaries/system && ${INSTALL_LIB} libmozjs38-ps-release.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) ${INSTALL_DATA} ${WRKSRC}/build/resources/0ad.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/build/resources/0ad.png ${STAGEDIR}${PREFIX}/share/pixmaps ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/binaries/data && ${COPYTREE_SHARE} "config l10n tests tools" ${STAGEDIR}${DATADIR}) ${MKDIR} ${STAGEDIR}${DATADIR}/mods/public ${STAGEDIR}${DATADIR}/mods/mod ${TAR} xf ${WRKSRC}/binaries/data/mods/public/public.zip -C ${STAGEDIR}${DATADIR}/mods/public --no-same-permissions ${TAR} xf ${WRKSRC}/binaries/data/mods/mod/mod.zip -C ${STAGEDIR}${DATADIR}/mods/mod --no-same-permissions .include Index: head/games/adgali/Makefile =================================================================== --- head/games/adgali/Makefile (revision 450350) +++ head/games/adgali/Makefile (revision 450351) @@ -1,38 +1,38 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= adgali PORTVERSION= 0.2.4 PORTREVISION= 15 CATEGORIES= games devel MASTER_SITES= http://www.sourcefiles.org/Programming/Libraries/Games/ MAINTAINER= ports@FreeBSD.org COMMENT= Open source game library useful for 2D game development LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 -USES= execinfo gmake jpeg libtool tar:bzip2 +USES= gmake jpeg libtool tar:bzip2 USE_LDCONFIG= yes USE_SDL= sdl USE_XORG= xpm GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-compile-optim=no INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc/html && ${FIND} . | ${CPIO} -pdm -L -R \ ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}) .include Index: head/games/cataclysm-dda/Makefile =================================================================== --- head/games/cataclysm-dda/Makefile (revision 450350) +++ head/games/cataclysm-dda/Makefile (revision 450351) @@ -1,118 +1,117 @@ # Created by: Vladimir Kondratiev # $FreeBSD$ PORTNAME= cataclysm-dda PORTVERSION= 0.C PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= Fork/variant of Cataclysm Roguelike by Whales LICENSE= CC-BY-SA-3.0 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_aarch64= fails to compile: comparison of integers of different signs: wchar_t and const int BROKEN_armv6= fails to compile: comparison of integers of different signs: wchar_t and const int BROKEN_powerpc64= fails to compile: overmap.cpp: 'pow' is not a member of 'std' -USES= alias compiler:c++11-lib execinfo gmake shebangfix +USES= alias compiler:c++11-lib gmake shebangfix SHEBANG_FILES= lang/*.sh bash_CMD= /bin/sh USE_GITHUB= yes GH_ACCOUNT= CleverRaven GH_PROJECT= Cataclysm-DDA MAKE_ARGS= CXX="${CXX}" LD="${CXX}" RELEASE=1 -CPPFLAGS+= ${EXECINFO_CPPFLAGS} -LDFLAGS+= ${EXECINFO_LDFLAGS} -lexecinfo +LDFLAGS+= -lexecinfo MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= NLS DOCS LUA SOUND OPTIONS_DEFAULT=NCURSES OPTIONS_SINGLE= UI OPTIONS_SINGLE_UI= NCURSES SDL OPTIONS_SUB= yes UI_DESC= User Interface SOUND_DESC= Sound support (SDL UI only) NCURSES_USES= ncurses SDL_USE= SDL=image2,ttf2 SDL_USES= pkgconfig SDL_MAKE_ARGS= TILES=1 TILESTARGET=cataclysm SDL_RUN_DEPENDS=terminus-font>0:x11-fonts/terminus-font SDL_CPPFLAGS= $$(sdl2-config --cflags) SDL_LDFLAGS= $$(sdl2-config --libs) SDL_DESKTOP_ENTRIES="Cataclysm-DDA" "" "" "cataclysm" "" "" NLS_USES= gettext NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl NLS_MAKE_ARGS_OFF=LOCALIZE=0 NLS_CPPFLAGS= -I${LOCALBASE}/include LUA_USES= lua pkgconfig LUA_MAKE_ARGS= LUA=1 LUA_BINARY="${LUA_CMD}" SOUND_MASTER_SITES= http://polehammer.com/azmodean/:sound SOUND_DISTFILES= ${SOUND_FILES:S/$/:sound/} SOUND_EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} SOUND_USE= SDL=mixer2 SOUND_MAKE_ARGS= SOUND=1 SOUND_IMPLIES= SDL SOUND_FILES= cataclysmthemeREV6.ogg Dark_Days_Ahead_demo_2.ogg .include .if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 36 CXXFLAGS+= -Wno-inconsistent-missing-override .endif .if ${CHOSEN_COMPILER_TYPE} == gcc CPPFLAGS+= -DCATA_NO_CPP11_STRING_CONVERSIONS .endif post-patch: @${REINPLACE_CMD} -e \ '/CXXFLAGS/s|-O[0-3s]|| ; \ /LDFLAGS/s|-s$$|| ; \ s|$$(shell ncursesw5-config --cflags)|| ; \ s|$$(shell ncursesw5-config --libs)|-lncursesw -ltinfow| ; \ s|\($$(CXX)\) \($$(DEFINES)\)|\1 $$(CPPFLAGS) \2| ; \ s|\([[:blank:]]\)\($$(DATA_PREFIX)\)|\1$$(DESTDIR)\2| ; \ s|\([[:blank:]]\)\($$(BIN_PREFIX)\)|\1$$(DESTDIR)\2| ; \ s|--mode=|-m | ; \ s|--no-preserve=ownership|| ; \ s|-t || ; \ s|\([[:blank:]]\)\($$(LOCALE_DIR)\)|\1$$(DESTDIR)\2| ; \ s|\(=\)\($$(LOCALE_DIR)\)|\1$$(DESTDIR)\2|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e \ 's|/usr/local/share/fonts|${LOCALBASE}/share/fonts|' \ ${WRKSRC}/src/sdltiles.cpp post-patch-NLS-off: @${REINPLACE_CMD} -e \ '/LOCALE_DIR/s|^|#|' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cataclysm # replace bundled windows version of terminus font with X-compatible one ${RM} ${STAGEDIR}${DATADIR}/font/terminus.fon ${LN} -sf ${PREFIX}/share/fonts/terminus/ter-u14n.pcf.gz \ ${STAGEDIR}${DATADIR}/font/terminus.fon post-install-SOUND-on: cd ${WRKSRC}/data && ${COPYTREE_SHARE} sound ${STAGEDIR}${DATADIR} cd ${DISTDIR} && ${INSTALL_DATA} ${SOUND_FILES} \ ${STAGEDIR}${DATADIR}/sound post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}) .include Index: head/games/dangerdeep/Makefile =================================================================== --- head/games/dangerdeep/Makefile (revision 450350) +++ head/games/dangerdeep/Makefile (revision 450351) @@ -1,54 +1,54 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= dangerdeep PORTVERSION= 0.3.0 PORTREVISION= 14 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/danger_from_the_deep-src/${PORTVERSION} DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Open source World War II German submarine simulation LIB_DEPENDS= libfftw3.so:math/fftw3 RUN_DEPENDS= dangerdeep-data>0:games/dangerdeep-data -USES= execinfo scons +USES= scons USE_GL= yes USE_SDL= sdl mixer image net MAKE_ARGS= installbindir=${PREFIX}/bin installdatadir=${DATADIR} MAKE_ENV= X11BASE=${LOCALBASE} PLIST_FILES= bin/dangerdeep bin/crosssection bin/damagemodel \ bin/oceantest bin/portal bin/viewmodel \ man/man6/dangerdeep.6.gz PORTDOCS= CREDITS README OPTIONS_DEFINE= DOCS .include .if defined(PACKAGE_BUILDING) MAKE_ARGS+= usex86sse=-1 # disable MMX/SSE on the build cluster .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/share/games/dangerdeep|${DATADIR}|; \ s|Linux|"Danger from the Deep"|' ${WRKSRC}/doc/man/dangerdeep.6 @${REINPLACE_CMD} -e 's|/usr/X11BASE|${LOCALBASE}|g' \ ${WRKSRC}/SConstruct do-install: @cd ${WRKSRC}/build/freebsd && \ ${INSTALL_PROGRAM} dangerdeep crosssection damagemodel oceantest \ portal viewmodel ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/man/dangerdeep.6 ${STAGEDIR}${PREFIX}/man/man6 ${GZIP_CMD} ${STAGEDIR}${PREFIX}/man/man6/dangerdeep.6 ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/games/doomsday/Makefile =================================================================== --- head/games/doomsday/Makefile (revision 450350) +++ head/games/doomsday/Makefile (revision 450351) @@ -1,51 +1,51 @@ # Created by: Igor Pokrovsky # $FreeBSD$ PORTNAME= doomsday PORTVERSION= 1.15.8 PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/deng/Doomsday%20Engine/${PORTVERSION} DISTNAME= ${PORTNAME}-stable-${PORTVERSION} MAINTAINER= danilo@FreeBSD.org COMMENT= Enhanced Doom, Heretic, and Hexen source port LICENSE= GPLv2 BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libcurl.so:ftp/curl \ libassimp.so:multimedia/assimp RUN_DEPENDS= timidity:audio/timidity USE_GL= gl glu USE_LDCONFIG= yes USE_SDL= sdl2 mixer2 net2 USE_XORG= x11 -USES= compiler:c++11-lib execinfo pkgconfig python:build qmake:outsource +USES= compiler:c++11-lib pkgconfig python:build qmake:outsource USE_QT4= corelib network opengl moc_build QMAKE_SOURCE_PATH= ${WRKSRC}/doomsday QMAKE_ARGS+= QMAKE_LFLAGS+="-Wl,--export-dynamic" \ CONFIG+="deng_notools deng_nosnowberry" \ SCRIPT_PYTHON=${PYTHON_CMD} LDFLAGS+= -lm OPTIONS_DEFINE= OPENAL OPTIONS_SUB= yes OPENAL_DESC= Build OpenAL sound plugin OPENAL_USES= openal:al OPENAL_QMAKE_ON= CONFIG+=deng_openal OPENAL_QMAKE_OFF= CONFIG+=deng_noopenal PORTSCOUT= limit:^\d+\.\d+\.\d+$$ post-patch: @${REINPLACE_CMD} 's,share/man,man,' \ ${WRKSRC}/doomsday/client/client.pro \ ${WRKSRC}/doomsday/server/server.pro # Removing (three) non-ascii bytes from the beginning of the file @${REINPLACE_CMD} '1s,^...,,' \ ${WRKSRC}/doomsday/client/src/client/cl_sound.cpp .include Index: head/games/eduke32/Makefile =================================================================== --- head/games/eduke32/Makefile (revision 450350) +++ head/games/eduke32/Makefile (revision 450351) @@ -1,103 +1,103 @@ # Created by: alepulver # $FreeBSD$ PORTNAME= eduke32 PORTVERSION= 20170614 CATEGORIES= games MASTER_SITES= http://dukeworld.duke4.net/eduke32/synthesis/${PORTVERSION}-${SVNREVISION}/:eduke32 \ http://www.duke4.org/files/nightfright/hrp/:hrp \ http://burnbit.com/download/447717/:hrp \ http://www.duke4.org/files/nightfright/related/:related \ ftp://ftp.3drealms.com/share/:shareware DISTFILES= ${PORTNAME}_src_${PORTVERSION}-${SVNREVISION}${EXTRACT_SUFX}:eduke32 EXTRACT_ONLY= ${PORTNAME}_src_${PORTVERSION}-${SVNREVISION}${EXTRACT_SUFX} MAINTAINER= pkubaj@anongoth.pl COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke LICENSE= GPLv2 BUILDLIC LICENSE_COMB= multi LICENSE_NAME_BUILDLIC= BUILD SOURCE CODE LICENSE LICENSE_FILE_BUILDLIC= ${WRKSRC}/source/build/buildlic.txt LICENSE_FILE_GPLv2= ${WRKSRC}/source/duke3d/gpl-2.0.txt LICENSE_PERMS_BUILDLIC= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libFLAC.so:audio/flac \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libvpx.so:multimedia/libvpx \ libpng16.so:graphics/png -USES= execinfo gmake pkgconfig tar:xz +USES= gmake pkgconfig tar:xz USE_GL= gl glu USE_GNOME= gtk20 USE_SDL= sdl2 mixer2 WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}-${SVNREVISION} SVNREVISION= 6180 DATADIR= ${PREFIX}/share/duke3d SUB_FILES= pkg-message MAKEFILE= GNUmakefile MAKE_ARGS= CC=${CC} CXX=${CXX} PLIST_FILES= bin/eduke32 bin/mapster32 PORTEXAMPLES= * BROKEN_sparc64= does not compile on sparc64 OPTIONS_DEFINE= EXAMPLES GCC HRP OFFENSIVE SHAREWARE VOXEL OPTIONS_DEFINE_i386= ASM OPTIONS_DEFAULT_i386= ASM ASM_BUILD_DEPENDS= nasm:devel/nasm ASM_MAKE_ARGS_OFF= NOASM=1 GCC_MAKE_ARGS_OFF= CLANG=1 LTO=0 GCC_USE= gcc=yes HRP_DESC= Install High Resolution Pack HRP_DISTFILES= duke3d_hrp.zip:hrp HRP_PLIST_FILES= ${DATADIR}/duke3d_hrp.zip OFFENSIVE_DESC= Install Full XXX Pack OFFENSIVE_IMPLIES= HRP OFFENSIVE_DISTFILES= duke3d_xxx.zip:related OFFENSIVE_PLIST_FILES= ${DATADIR}/duke3d_xxx.zip SHAREWARE_DESC= Install shareware game data version 1.3 SHAREWARE_EXTRACT_ONLY= 3dduke13.zip SHAREWARE_DISTFILES= 3dduke13.zip:shareware SHAREWARE_PLIST_FILES= ${DATADIR}/duke3d.grp ${DATADIR}/duke.rts VOXEL_DESC= Install Voxel Pack VOXEL_DISTFILES= duke3d_voxels.zip:related VOXEL_PLIST_FILES= ${DATADIR}/duke3d_voxels.zip post-extract-SHAREWARE-on: @cd ${WRKDIR} && ${UNZIP_NATIVE_CMD} -qo DN3DSW13.SHR post-patch: @${REINPLACE_CMD} 's|/usr/share/games/eduke32|${DATADIR}|' \ ${WRKSRC}/source/duke3d/src/common.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/eduke32 ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mapster32 ${STAGEDIR}${PREFIX}/bin do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/package/sdk/tiles.cfg ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/package/sdk/samples/* ${STAGEDIR}${EXAMPLESDIR} do-install-HRP-on: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/duke3d_hrp.zip ${STAGEDIR}${DATADIR}/duke3d_hrp.zip do-install-OFFENSIVE-on: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/duke3d_xxx.zip ${STAGEDIR}${DATADIR}/duke3d_xxx.zip do-install-SHAREWARE-on: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/DUKE3D.GRP ${STAGEDIR}${DATADIR}/duke3d.grp ${INSTALL_DATA} ${WRKDIR}/DUKE.RTS ${STAGEDIR}${DATADIR}/duke.rts do-install-VOXEL-on: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/duke3d_voxels.zip ${STAGEDIR}${DATADIR}/duke3d_voxels.zip .include Index: head/games/freedroidrpg/Makefile =================================================================== --- head/games/freedroidrpg/Makefile (revision 450350) +++ head/games/freedroidrpg/Makefile (revision 450351) @@ -1,53 +1,52 @@ # Created by: Travis Poppe # $FreeBSD$ PORTNAME= freedroidrpg PORTVERSION= 0.16.1 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PORTVERSION:R}/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= freedroidRPG-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Modification of the classical Freedroid engine into an RPG LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png BROKEN_sparc64= does not configure GNU_CONFIGURE= yes USES= jpeg gmake localbase lua:52+ python USE_XORG= x11 USE_SDL= sdl image gfx CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND OPTIONS_DEFAULT=BACKTRACE OPENGL SOUND OPTIONS_SUB= yes BACKTRACE_DESC= Use backtrace() to generate nice bug reports -BACKTRACE_USES= execinfo BACKTRACE_CONFIGURE_ENABLE= backtrace BACKTRACE_VARS= STRIP= # empty OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE= opengl SOUND_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg SOUND_CONFIGURE_ENABLE= sound SOUND_USE= SDL=mixer NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls .include Index: head/games/frobtads/Makefile =================================================================== --- head/games/frobtads/Makefile (revision 450350) +++ head/games/frobtads/Makefile (revision 450351) @@ -1,23 +1,23 @@ # Created by: Kai Wang # $FreeBSD$ PORTNAME= frobtads PORTVERSION= 1.2.3 PORTREVISION= 1 CATEGORIES= games lang MASTER_SITES= http://www.tads.org/${PORTNAME}/ \ http://www.ifarchive.org/if-archive/programming/tads3/source/ MAINTAINER= kaiwang27@gmail.com COMMENT= TADS interpreter and the compilers for both TADS 2 and 3 LIB_DEPENDS= libcurl.so:ftp/curl CONFLICTS= tads-2.* -USES= autoreconf execinfo gmake localbase ncurses +USES= autoreconf gmake localbase ncurses GNU_CONFIGURE= yes LIBS+= -lcompat .include Index: head/games/r1q2/Makefile =================================================================== --- head/games/r1q2/Makefile (revision 450350) +++ head/games/r1q2/Makefile (revision 450351) @@ -1,101 +1,101 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= r1q2 PORTVERSION= 8012 PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://old.r1ch.net/stuff/r1q2/src/ DISTNAME= ${PORTNAME}-b${PORTVERSION}-src MAINTAINER= danfe@FreeBSD.org COMMENT= Enhanced Quake II client/server focusing on stability ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= sets the FPU rounding mode and precision (not available in fenv.h) -USES= dos2unix execinfo gmake zip +USES= dos2unix gmake zip NO_WRKSUBDIR= yes BUILD_WRKSRC= ${WRKSRC}/binaries ALL_TARGET= # LIBDIR= ${PREFIX}/lib/${PORTNAME} MAKE_ENV= LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S|${PREFIX}/||}" OPTIONS_DEFINE= GAME REF_GL DOCS OPTIONS_MULTI= FLAVOR OPTIONS_MULTI_FLAVOR= CLIENT DEDICATED OPTIONS_DEFAULT= CLIENT DEDICATED REF_GL FLAVOR_DESC= Clients and servers CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server GAME_DESC= Build main game (default mod) REF_GL_DESC= Build renderer (required for client) .include .if ${PORT_OPTIONS:MCLIENT} ALL_TARGET+= client PLIST_SUB+= CLIENT="" .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} ALL_TARGET+= r1q2ded PLIST_SUB+= DEDICATED="" .else PLIST_SUB+= DEDICATED="@comment " .endif .if ${PORT_OPTIONS:MGAME} ALL_TARGET+= game PLIST_SUB+= GAME="" .else PLIST_SUB+= GAME="@comment " .endif .if ${PORT_OPTIONS:MREF_GL} USES+= jpeg USE_GL= gl USE_SDL= sdl LIB_DEPENDS+= libpng.so:graphics/png ALL_TARGET+= ref_gl PLIST_SUB+= REF_GL="" .else PLIST_SUB+= REF_GL="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|game$$(ARCH)|game|g' \ ${BUILD_WRKSRC}/game/Makefile pre-build: @${FIND} ${BUILD_WRKSRC} -type d -depth 1 -exec ${MKDIR} {}/.depends \; do-install: .if ${PORT_OPTIONS:MCLIENT} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/client/quake2 \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .endif .if ${PORT_OPTIONS:MDEDICATED} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/r1q2ded/r1q2ded \ ${STAGEDIR}${PREFIX}/bin .endif @${MKDIR} ${STAGEDIR}${LIBDIR}/baseq2 .if ${PORT_OPTIONS:MGAME} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/game/game.so \ ${STAGEDIR}${LIBDIR}/baseq2 .endif .if ${PORT_OPTIONS:MREF_GL} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ref_gl/ref_gl.so \ ${STAGEDIR}${LIBDIR} .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/r1q2.txt ${WRKSRC}/readme.txt \ ${STAGEDIR}${DOCSDIR} .include "${.CURDIR}/../quake2-data/Makefile.include" .include Index: head/games/spring/Makefile =================================================================== --- head/games/spring/Makefile (revision 450350) +++ head/games/spring/Makefile (revision 450351) @@ -1,119 +1,119 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= spring PORTVERSION= 98.0 PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/springrts/springrts/${PORTNAME}-${PORTVERSION} \ http://springrts.com/dl/ DISTNAME= ${PORTNAME}_${PORTVERSION}_src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Project aiming to create a new and versatile RTS Engine LICENSE= GPLv2 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libboost_thread.so:devel/boost-libs \ libIL.so:graphics/devil \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis BUILD_DEPENDS= 7z:archivers/p7zip # XXX: it should be possible to build it on i386, investigate # (currently link fails on undefined reference to __sync_fetch_and_add_8) ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= relies on x86 floating-point math and amd64 atomic ops USE_SDL= sdl2 USE_GL= gl glu glew USE_XORG= x11 xcursor USE_LDCONFIG= yes DOS2UNIX_GLOB= *.h *.hpp *.cpp -USES= execinfo cmake compiler:c++11-lib dos2unix openal:al tar:lzma +USES= cmake compiler:c++11-lib dos2unix openal:al tar:lzma USES+= desktop-file-utils shared-mime-info CMAKE_ARGS= -DDATADIR:STRING="share/${PORTNAME}" \ -DAI_TYPES:STRING="NATIVE" \ -DDOCDIR:STRING="share/doc/${PORTNAME}" \ -DCREATE_MAN_PAGES:BOOL=false \ -DUSE_TCMALLOC:BOOL=false \ -DUSE_LIBSQUISH:BOOL=false \ -DUNITSYNC_PYTHON_WRAPPER:BOOL=false WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} .if exists(/usr/lib/libexecinfo.so) LEI_PREFIX= /usr .else LEI_PREFIX= ${LOCALBASE} .endif # Do not exctract bundled copies of header files for 3rd-party packages: EXTRACT_AFTER_ARGS=--no-same-owner --no-same-permissions --exclude ${WRKSRC:T}/include # The check-target fails right now: https://springrts.com/mantis/view.php?id=4736 TEST_TARGET= check PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= MANPAGES PR_DOWNLOADER DOCS OPTIONS_DEFAULT=MANPAGES PR_DOWNLOADER OPTIONS_SUB= * HTMLDOCS_DESC= Build and install HTML documentation PR_DOWNLOADER_DESC= Map and game downloader MANPAGES_CMAKE_ON= -DCREATE_MAN_PAGES:BOOL=true -DMANDIR:STRING="man" MANPAGES_CMAKE_OFF= -DCREATE_MAN_PAGES:BOOL=false MANPAGES_BUILD_DEPENDS= 7z:archivers/p7zip \ asciidoc:textproc/asciidoc \ xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ bash:shells/bash MANPAGES_DOCS_ON= -DUSERDOCS_PLAIN:BOOL=true MANPAGES_DOCS_OFF= -DUSERDOCS_PLAIN:BOOL=false CXXFLAGS+= -Wno-deprecated # Too much noise PR_DOWNLOADER_LIB_DEPENDS=libcurl.so:ftp/curl .include .if defined(WITH_SYNC_DEBUG) CFLAGS= # empty CXXFLAGS= # empty CMAKE_ARGS+= -DTRACE_SYNC=true -DSYNCDEBUG=true CMAKE_BUILD_TYPE=DEBUG2 .endif .if ! ${PORT_OPTIONS:MPR_DOWNLOADER} post-extract: @${RM} ${WRKSRC}/tools/pr-downloader/CMakeLists.txt .endif post-patch: @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|/etc/\(spring/datadir\)|${PREFIX}/\1|g' \ ${WRKSRC}/rts/System/FileSystem/DataDirLocater.cpp @${REINPLACE_CMD} -e 's|x1F3F|x0F3F|g' \ ${WRKSRC}/rts/System/Sync/FPUCheck.cpp @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/rts/build/cmake/*.cmake @${REINPLACE_CMD} -e 's|execinfo|${LEI_PREFIX}/lib/libexecinfo.so|' \ ${WRKSRC}/rts/CMakeLists.txt \ ${WRKSRC}/rts/builds/dedicated/CMakeLists.txt @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/rts/System/Platform/Misc.cpp @${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}&|' \ ${WRKSRC}/doc/manpages/make_manpages.sh .if ! ${PORT_OPTIONS:MMANPAGES} @${REINPLACE_CMD} -e '/set(CREATE_MAN_PAGES)/ d' \ ${WRKSRC}/doc/CMakeLists.txt .endif pre-build: cd ${WRKSRC} && ${MAKE_CMD} generateVersionFiles .include Index: head/games/super_methane_brothers/Makefile =================================================================== --- head/games/super_methane_brothers/Makefile (revision 450350) +++ head/games/super_methane_brothers/Makefile (revision 450351) @@ -1,49 +1,49 @@ # Created by: Jean-Yves Lefort # $FreeBSD$ PORTNAME= super_methane_brothers PORTVERSION= 1.5.1 PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF/methane/Methane%20Stable/Methane%20V${PORTVERSION} DISTNAME= methane-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Port of the Amiga platform game of the same name LICENSE= GPLv2 LIB_DEPENDS= libclan23Core.so:devel/clanlib -USES= execinfo gmake pkgconfig tar:tgz +USES= gmake pkgconfig tar:tgz MAKE_ENV= METHANE_FLAGS="${CPPFLAGS}" METHANE_LIBS="${LIBS}" MAKE_JOBS_UNSAFE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lexecinfo DATADIR= ${PREFIX}/share/methane PORTDOCS= * PORTDATA= * PLIST_FILES= bin/methane OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|-2.2|-2.3|g ; \ s|FLAGS =|FLAGS +=| ; \ s|LIBS =|LIBS +=| ; \ s|g++|$${CXX}| ; \ s|gcc|$${CXX}|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/methane ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC}/resources && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKDIR}/${DISTNAME}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/games/tbe/Makefile =================================================================== --- head/games/tbe/Makefile (revision 450350) +++ head/games/tbe/Makefile (revision 450351) @@ -1,31 +1,31 @@ # $FreeBSD$ PORTNAME= tbe PORTVERSION= 0.9.2.1 DISTVERSIONPREFIX= v PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= games MAINTAINER= ports@FreeBSD.org COMMENT= The Butterfly Effect BUILD_DEPENDS= ${LOCALBASE}/bin/unzip:archivers/unzip -USES= cmake compiler:c++11-lib execinfo tar:tgz +USES= cmake compiler:c++11-lib tar:tgz USE_QT4= gui linguisttools_build moc_build qmake_build rcc_build \ svg uic_build xml USE_GITHUB= yes GH_ACCOUNT= kaa-ching PORTDOCS= * post-patch: @${REINPLACE_CMD} 's/ make/ $$(MAKE)/' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's:/share/games/tbe/:/share/tbe/:' \ -e 's:/usr:${PREFIX}: ; s:/games:/bin:' \ ${WRKSRC}/CMakeLists.txt ${WRKSRC}/src/tbe_paths.h .include Index: head/games/tomenet/Makefile =================================================================== --- head/games/tomenet/Makefile (revision 450350) +++ head/games/tomenet/Makefile (revision 450351) @@ -1,38 +1,36 @@ # Created by: Frederic Culot # $FreeBSD$ PORTNAME= tomenet PORTVERSION= 4.6.0 CATEGORIES= games MASTER_SITES= http://tomenet.eu/downloads/ MAINTAINER= culot@FreeBSD.org COMMENT= Online multiplayer rogue-like role-playing game WRKSRC= ${WRKDIR}/${DISTNAME}/src MAKEFILE= makefile -USES= execinfo gmake ncurses tar:bzip2 -CFLAGS+= -DDEFAULT_PATH="\\\"${DATADIR}/lib/\\\"" \ - ${EXECINFO_CPPFLAGS} -LDFLAGS+= ${EXECINFO_LDFLAGS} +USES= gmake ncurses tar:bzip2 +CFLAGS+= -DDEFAULT_PATH="\\\"${DATADIR}/lib/\\\"" MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS do-install: .for f in tomenet tomenet.server accedit ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKDIR}/${DISTNAME} && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR}) ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/.tomenetrc ${STAGEDIR}${ETCDIR}/tomenetrc post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/TomeNET-Guide.txt ${STAGEDIR}${DOCSDIR} .include Index: head/games/ufoai/Makefile =================================================================== --- head/games/ufoai/Makefile (revision 450350) +++ head/games/ufoai/Makefile (revision 450351) @@ -1,135 +1,135 @@ # Created by: Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= ufoai PORTVERSION= 2.5 PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/UFO_AI%202.x/${PORTVERSION} DISTNAME= ${PORTNAME:S/$/-/}${PORTVERSION}-source DIST_SUBDIR= ${PORTNAME} MAINTAINER= m.tsatsenko@gmail.com COMMENT= Strategy game featuring tactical combat LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libpng.so:graphics/png \ libcurl.so:ftp/curl \ libtheora.so:multimedia/libtheora \ libxvidcore.so:multimedia/xvid \ libmxml.so:textproc/mxml BUILD_DEPENDS= zip:archivers/zip RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/base/default.cfg:games/ufoai-data ALL_TARGET= all lang USE_GL= yes USE_SDL= sdl image mixer ttf USE_CXXSTD= c++11 -USES= compiler:c++11-lang execinfo gettext gmake jpeg openal:soft pkgconfig \ +USES= compiler:c++11-lang gettext gmake jpeg openal:soft pkgconfig \ python:build tar:bzip2 HAS_CONFIGURE= yes CONFIGURE_ARGS+= --enable-release --target-os=freebsd CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lexecinfo CFLAGS+= -I${LOCALBASE}/include DATADIR= share/${PORTNAME} SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME:S/$/-/}${PORTVERSION}-source UFO_DIR= ${PREFIX}/lib/${PORTNAME} UFO_FILES= ufo ufomodel OPTIONS_DEFINE= SERVER UFO2MAP UFORADIANT OPTIONS_DEFAULT= SERVER UFO2MAP SERVER_DESC= Install dedicated server UFO2MAP_DESC= Install UFO tools UFORADIANT_DESC= Install UFO map editor .include .if ${PORT_OPTIONS:MSERVER} CONFIGURE_ARGS+= --enable-ufoded UFO_FILES+= ufoded PLIST_SUB+= UFOSERVER="" .else CONFIGURE_ARGS+= --disable-ufoded PLIST_SUB+= UFOSERVER="@comment " .endif .if ${PORT_OPTIONS:MUFO2MAP} CONFIGURE_ARGS+= --enable-ufo2map UFO_FILES+= ufo2map PLIST_SUB+= UFO2MAP="" .else CONFIGURE_ARGS+= --disable-ufo2map PLIST_SUB+= UFO2MAP="@comment " .endif .if ${PORT_OPTIONS:MUFORADIANT} ALL_TARGET+= uforadiant CONFIGURE_ARGS+=--enable-uforadiant USE_GNOME+= gtk20 glib20 gtksourceview2 libxml2 LIB_DEPENDS+= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext RADIANT_FILES= colours.xml game.xml input.xml mapdef.template menu.xml user.xml RADIANT_DIRS= bitmaps i18n prefabs sourceviewer PLIST_SUB+= UFORADIANT="" .else CONFIGURE_ARGS+=--disable-uforadiant PLIST_SUB+= UFORADIANT="@comment " .endif .include post-extract: @${MKDIR} ${WRKSRC}/base/maps ${WRKSRC}/base/models ${REINPLACE_CMD} \ -e 's|DEFAULT_COMPILER_CC=cc|DEFAULT_COMPILER_CC=${CC}|' \ -e 's|DEFAULT_COMPILER_CXX=c++|DEFAULT_COMPILER_CXX=${CXX}|' \ ${WRKSRC}/configure .if ${CHOSEN_COMPILER_TYPE} == "clang" ${REINPLACE_CMD} \ -e 's|-falign-loops=2 -falign-jumps=2 -falign-functions=2||' \ ${WRKSRC}/build/modes/release.mk .endif do-install: ${MKDIR} ${STAGEDIR}${UFO_DIR} .for FILE in ${UFO_FILES} @${SED} \ -e 's|@UFODIR@|${UFO_DIR}|' \ -e 's|@APP@|${FILE}|' \ ${FILESDIR}/run.sh.in > ${WRKDIR}/${FILE} ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${UFO_DIR} ${INSTALL_SCRIPT} ${WRKDIR}/${FILE} ${STAGEDIR}${PREFIX}/bin .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/${DATADIR}/base ${INSTALL_PROGRAM} ${WRKSRC}/base/game.so ${STAGEDIR}${PREFIX}/${DATADIR}/base .if ${PORT_OPTIONS:MUFORADIANT} ${MKDIR} ${STAGEDIR}${UFO_DIR}/radiant @${SED} \ -e 's|@UFODIR@|${UFO_DIR}/radiant|' \ -e 's|@APP@|uforadiant|' \ ${FILESDIR}/run.sh.in > ${WRKDIR}/uforadiant ${INSTALL_PROGRAM} ${WRKSRC}/radiant/uforadiant ${STAGEDIR}${UFO_DIR}/radiant ${INSTALL_SCRIPT} ${WRKDIR}/uforadiant ${STAGEDIR}${PREFIX}/bin .for FILE in ${RADIANT_FILES} ${INSTALL_DATA} ${WRKSRC}/radiant/${FILE} ${STAGEDIR}${UFO_DIR}/radiant .endfor .for DIRE in ${RADIANT_DIRS} ${MKDIR} ${STAGEDIR}${UFO_DIR}/radiant/${DIRE} cd ${WRKSRC}/radiant/${DIRE} && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${UFO_DIR}/radiant/${DIRE}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${UFO_DIR}/radiant/${DIRE}/{}" \; .endfor .endif cd ${WRKSRC}/base/i18n && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/${DATADIR}/base/i18n/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${DATADIR}/base/i18n/{}" \; ${LN} -s ${PREFIX}/${DATADIR}/base ${STAGEDIR}${UFO_DIR}/base .include Index: head/games/widelands/Makefile =================================================================== --- head/games/widelands/Makefile (revision 450350) +++ head/games/widelands/Makefile (revision 450351) @@ -1,46 +1,46 @@ # Created by: Bartosz Fabianowski # $FreeBSD$ PORTNAME= widelands DISTVERSION= build19 PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://launchpad.net/widelands/${DISTVERSION}/${DISTVERSION}/+download/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Realtime strategy game inspired by Settlers II LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libicuuc.so:devel/icu \ libboost_regex.so:devel/boost-libs -USES= cmake:outsource compiler:c++11-lib execinfo gettext \ +USES= cmake:outsource compiler:c++11-lib gettext \ tar:bzip2 python:build CMAKE_ARGS= -DWL_INSTALL_BASEDIR="${PREFIX}" \ -DWL_INSTALL_DATADIR="${DATADIR}" \ -DWL_INSTALL_DOCDIR="${DOCSDIR}" \ -DWL_VERSION="${DISTVERSION}" \ -DWL_OPTIMIZE_FLAGS="" USE_GL= gl glew USE_SDL= sdl2 mixer2 image2 net2 ttf2 PORTDATA= * PORTDOCS= * DESKTOP_ENTRIES="Widelands" \ "" \ "${DATADIR}/pics/wl-ico-64.png" \ "widelands" \ "Game;StrategyGame;" \ "" post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/*.cmake .include Index: head/graphics/cegui/Makefile =================================================================== --- head/graphics/cegui/Makefile (revision 450350) +++ head/graphics/cegui/Makefile (revision 450351) @@ -1,127 +1,127 @@ # Created by: Oliver Lehmann # $FreeBSD$ PORTNAME= cegui PORTVERSION= 0.8.4 PORTREVISION= 8 CATEGORIES= graphics devel MASTER_SITES= SF/crayzedsgui/CEGUI%20Mk-2/0.8 MAINTAINER= oliver@FreeBSD.org COMMENT= Library providing windowing and widgets for graphics APIs LICENSE= MIT WRKSRC= ${WRKDIR}/${DISTNAME:S/2b/2/} CONFIGURE_ENV+= TOLUA_INC="${LUA_INCDIR}" CMAKE_ARGS= -DCEGUI_SAMPLES_ENABLED:BOOL=OFF \ -DCEGUI_BUILD_TESTS=OFF USE_LDCONFIG= yes -USES= compiler:c++11-lib cmake execinfo pkgconfig tar:bzip2 +USES= compiler:c++11-lib cmake pkgconfig tar:bzip2 PORTDOCS= * OPTIONS_DEFINE= FREETYPE PCRE LUA FRIBIDI DOCS OPTIONS_GROUP= XMLPARSER IMAGECODEC RENDERER OPTIONS_GROUP_XMLPARSER= EXPAT XERCES LIBXML2 RAPIDXML TINYXML OPTIONS_GROUP_IMAGECODEC= DEVIL FREEIMAGE OPTIONS_GROUP_RENDERER= OPENGL OPENGL3 OGRE IRRLICHT OPTIONS_DEFAULT= FREETYPE PCRE LUA FRIBIDI PYTHON OPTIONS_DEFAULT+= EXPAT LIBXML2 TINYXML OPTIONS_DEFAULT+= DEVIL FREEIMAGE OPTIONS_DEFAULT+= OPENGL OPENGL3 OGRE OPTIONS_SUB= yes FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CMAKE_ON= -DCEGUI_HAS_FREETYPE=ON FREETYPE_CMAKE_OFF= -DCEGUI_HAS_FREETYPE=OFF PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_CMAKE_ON= -DCEGUI_HAS_PCRE_REGEX=ON PCRE_CMAKE_OFF= -DCEGUI_HAS_PCRE_REGEX=OFF LUA_USES= lua:51 LUA_LIB_DEPENDS= libtolua++-${LUA_VER}.so:lang/tolua++ LUA_CMAKE_ON= -DCEGUI_BUILD_LUA_MODULE=ON -DCEGUI_BUILD_LUA_GENERATOR=ON LUA_CMAKE_OFF= -DCEGUI_BUILD_LUA_MODULE=OFF -DCEGUI_BUILD_LUA_GENERATOR=OFF # this option is not currently used as it doesn't compile (see also CMAKE_ARGS below) PYTHON_USES= python PYTHON_LIB_DEPENDS= libboost_python.so:devel/boost-python-libs PYTHON_CMAKE_ON= -DCEGUI_BUILD_PYTHON_MODULES=ON PYTHON_CMAKE_OFF= -DCEGUI_BUILD_PYTHON_MODULES=OFF FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CMAKE_ON= -DCEGUI_USE_FRIBIDI=ON FRIBIDI_CMAKE_OFF= -DCEGUI_USE_FRIBIDI=OFF EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 EXPAT_CMAKE_ON= -DCEGUI_BUILD_XMLPARSER_EXPAT=ON EXPAT_CMAKE_OFF= -DCEGUI_BUILD_XMLPARSER_EXPAT=OFF XERCES_LIB_DEPENDS= libxerces-c.so.3:textproc/xerces-c3 XERCES_CMAKE_ON= -DCEGUI_BUILD_XMLPARSER_XERCES=ON XERCES_CMAKE_OFF= -DCEGUI_BUILD_XMLPARSER_XERCES=OFF LIBXML2_USE= GNOME=libxml2 LIBXML2_CMAKE_ON= -DCEGUI_BUILD_XMLPARSER_LIBXML2=ON LIBXML2_CMAKE_OFF= -DCEGUI_BUILD_XMLPARSER_LIBXML2=OFF RAPIDXML_BUILD_DEPENDS= ${LOCALBASE}/include/rapidxml.hpp:textproc/rapidxml RAPIDXML_DESC= XML parser support via RapidXML RAPIDXML_CMAKE_ON= -DCEGUI_BUILD_XMLPARSER_RAPIDXML=ON RAPIDXML_CMAKE_OFF= -DCEGUI_BUILD_XMLPARSER_RAPIDXML=OFF TINYXML_LIB_DEPENDS= libtinyxml.so:textproc/tinyxml TINYXML_CMAKE_ON= -DCEGUI_BUILD_XMLPARSER_TINYXML=ON TINYXML_CMAKE_OFF= -DCEGUI_BUILD_XMLPARSER_TINYXML=OFF DEVIL_DESC= DevIL based ImageCodec module DEVIL_LIB_DEPENDS= libIL.so:graphics/devil DEVIL_CMAKE_ON= -DCEGUI_BUILD_IMAGECODEC_DEVIL=ON DEVIL_CMAKE_OFF= -DCEGUI_BUILD_IMAGECODEC_DEVIL=OFF FREEIMAGE_DESC= FreeImage based ImageCodec module FREEIMAGE_LIB_DEPENDS= libfreeimage.so:graphics/freeimage FREEIMAGE_CMAKE_ON= -DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=ON FREEIMAGE_CMAKE_OFF= -DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=OFF OGRE_DESC= Ogre3D support OGRE_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d OGRE_CMAKE_ON= -DCEGUI_BUILD_RENDERER_OGRE=ON OGRE_CMAKE_OFF= -DCEGUI_BUILD_RENDERER_OGRE=OFF IRRLICHT_DESC= Irrlicht support IRRLICHT_LIB_DEPENDS= libIrrlicht.so:x11-toolkits/irrlicht IRRLICHT_CMAKE_ON= -DCEGUI_BUILD_RENDERER_IRRLICHT=ON IRRLICHT_CMAKE_OFF= -DCEGUI_BUILD_RENDERER_IRRLICHT=OFF OPENGL_BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm OPENGL_USE= GL=gl,glew OPENGL_CMAKE_ON= -DCEGUI_BUILD_RENDERER_OPENGL=ON OPENGL_CMAKE_OFF= -DCEGUI_BUILD_RENDERER_OPENGL=OFF OPENGL3_DESC= OpenGL 3+ support (core profile) OPENGL3_BUILD_DEPENDS= ${OPENGL_BUILD_DEPENDS} OPENGL3_USE= ${OPENGL_USE} OPENGL3_CMAKE_ON= -DCEGUI_BUILD_RENDERER_OPENGL3=ON OPENGL3_CMAKE_OFF= -DCEGUI_BUILD_RENDERER_OPENGL3=OFF # not present in ports/unsupported, but may appear later CMAKE_ARGS+= -DCEGUI_HAS_MINIZIP_RESOURCE_PROVIDER=OFF \ -DCEGUI_BUILD_IMAGECODEC_CORONA=OFF \ -DCEGUI_BUILD_IMAGECODEC_SILLY=OFF \ -DCEGUI_BUILD_IMAGECODEC_PVR=OFF \ -DCEGUI_BUILD_RENDERER_OPENGLES=OFF \ -DCEGUI_BUILD_RENDERER_DIRECTFB=OFF CMAKE_ARGS+= -DCEGUI_BUILD_PYTHON_MODULES=OFF # python support doesn't build .include .if ${PORT_OPTIONS:MEXPAT} || ${PORT_OPTIONS:MXERCES} || ${PORT_OPTIONS:MLIBXML2} || ${PORT_OPTIONS:MRAPIDXML} || ${PORT_OPTIONS:MTINYXML} PLIST_SUB+= XMLPARSERS="" .else PLIST_SUB+= XMLPARSERS="@comment " .endif .if ${PORT_OPTIONS:MOPENGL} || ${PORT_OPTIONS:MOPENGL3} PLIST_SUB+= ANYOPENGL="" .else PLIST_SUB+= ANYOPENGL="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|\$${CEGUI_LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|g' \ ${WRKSRC}/CMakeLists.txt .include Index: head/graphics/fotoxx/Makefile =================================================================== --- head/graphics/fotoxx/Makefile (revision 450350) +++ head/graphics/fotoxx/Makefile (revision 450351) @@ -1,46 +1,46 @@ # Created by: Rod Person # $FreeBSD$ PORTNAME= fotoxx PORTVERSION= 15.05 CATEGORIES= graphics MASTER_SITES= GENTOO/distfiles \ http://fossies.org/linux/misc/legacy/ \ http://www.kornelix.com/uploads/1/3/0/3/13035936/ MAINTAINER= ports@FreeBSD.org COMMENT= Application to organize and edit image collections LICENSE= GPLv3 RUN_DEPENDS= xdg-open:devel/xdg-utils \ dcraw:graphics/dcraw \ exiftool:graphics/p5-Image-ExifTool \ ufraw-batch:graphics/ufraw -USES= desktop-file-utils execinfo gmake pkgconfig +USES= desktop-file-utils gmake pkgconfig USE_GNOME= gtk30 ALL_TARGET= fotoxx PORTDOCS= * PORTDATA= * PLIST_FILES= bin/fotoxx \ man/man1/fotoxx.1.gz \ share/appdata/fotoxx.appdata.xml \ share/applications/fotoxx.desktop OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|-ggdb|| ; \ s|-rdynamic|-Wl,-export-dynamic| ; \ s|share/man|man| ; \ s|-lpthread|-lexecinfo|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e \ 's|/usr/share/fotoxx|${DATADIR}|' ${WRKSRC}/desktop post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fotoxx .include Index: head/graphics/gimp-app/Makefile =================================================================== --- head/graphics/gimp-app/Makefile (revision 450350) +++ head/graphics/gimp-app/Makefile (revision 450351) @@ -1,139 +1,139 @@ # Created by: erich@FreeBSD.org # $FreeBSD$ PORTNAME?= gimp-app PORTVERSION= 2.8.22 PORTREVISION= 1 PORTEPOCH?= 1 CATEGORIES?= graphics gnome MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} DISTNAME= gimp-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= GNU Image Manipulation Program LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ liblcms2.so:graphics/lcms2 \ libgegl-0.2.so:graphics/gegl \ libbabl-0.1.so:x11/babl \ libfontconfig.so:x11-fonts/fontconfig \ libdbus-1.so:devel/dbus \ libfreetype.so:print/freetype2 RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes GNU_CONFIGURE= yes -USES+= cpe execinfo gettext gmake jpeg libtool \ +USES+= cpe gettext gmake jpeg libtool \ localbase pathfix pkgconfig shebangfix tar:bzip2 USE_XORG= ice sm xcursor xext xfixes xmu xpm xt x11 USE_GNOME+= cairo gtk20 intlhack USE_LDCONFIG= yes INSTALLS_ICONS= yes INSTALL_TARGET= install-strip TEST_TARGET= check .if !defined(XAUTHORITY) TEST_ENV= XAUTHORITY=${HOME}/.Xauthority .endif CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc/gimp \ --disable-gtk-doc \ --without-linux-input \ --with-print \ --enable-default-binary \ --with-lcms=lcms2 \ --disable-gimp-console \ --disable-python \ --with-desktop-dir=${PREFIX}/share \ --docdir=${PREFIX}/share/doc/gimp \ --enable-default-binary CONFIGURE_ENV= GIMP_THREAD_LIBS=-lpthread LIBS+= -lexecinfo CPE_PRODUCT= gimp CPE_VENDOR= gnu SHEBANG_FILES= plug-ins/pygimp/plug-ins/*.py PLIST_SUB+= LIBVER=0.800.${PORTVERSION:E} .if !defined(GIMP_SLAVE) USES+= desktop-file-utils OPTIONS_DEFINE?= AA DBUS LIBEXIF GHOSTSCRIPT GVFS HELPBROWSER JASPER \ LIBMNG LIBRSVG2 POPPLER SIMD WMF OPTIONS_DEFAULT= AA DBUS LIBEXIF GVFS HELPBROWSER LIBMNG LIBRSVG2 \ POPPLER WMF OPTIONS_SUB= yes AA_DESC= Ascii-art Plug-in HELPBROWSER_DESC= Internal help browser .endif .if defined(GIMP_SLAVE) PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config GIMP_LIBS= `${PKG_CONFIG} --libs gimp-2.0` GIMP_THUMB_LIBS=`${PKG_CONFIG} --libs gimpthumb-2.0` GIMP_UI_LIBS= `${PKG_CONFIG} --libs gimpui-2.0` LIB_DEPENDS+= libgimp-2.0.so:graphics/gimp-app .else DEBUG_CONFIGURE_ON= --enable-debug AA_LIB_DEPENDS= libaa.so:graphics/aalib AA_CONFIGURE_OFF= --without-aa DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib DBUS_CONFIGURE_WITH= dbus GHOSTSCRIPT_USES= ghostscript GHOSTSCRIPT_CONFIGURE_WITH= gs GVFS_USE= GNOME=gvfs GVFS_LIB_DEPENDS_OFF= libcurl.so:ftp/curl GVFS_CONFIGURE_OFF= --without-gvfs HELPBROWSER_LIB_DEPENDS= libwebkitgtk-1.0.so:www/webkit-gtk2 \ libsoup-2.4.so:devel/libsoup HELPBROWSER_CONFIGURE_WITH= webkit JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper JASPER_CONFIGURE_WITH= libjasper LIBEXIF_LIB_DEPENDS= libexif.so:graphics/libexif LIBEXIF_CONFIGURE_OFF= --without-libexif LIBMNG_LIB_DEPENDS= libmng.so:graphics/libmng LIBMNG_CONFIGURE_OFF= --without-libmng LIBRSVG2_USE= GNOME=librsvg2 LIBRSVG2_CONFIGURE_WITH=librsvg POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib POPPLER_CONFIGURE_OFF= --without-poppler SIMD_CONFIGURE_OFF= --disable-mmx \ --disable-sse \ --disable-altivec WMF_LIB_DEPENDS= libwmf.so:graphics/libwmf WMF_CONFIGURE_OFF= --without-wmf .endif post-patch: @${REINPLACE_CMD} -e 's|%%GIMP_LIBS%%|${GIMP_LIBS}|; \ s|%%GIMP_THUMB_LIBS%%|${GIMP_THUMB_LIBS}|; \ s|%%GIMP_UI_LIBS%%|${GIMP_UI_LIBS}|' \ ${WRKSRC}/plug-ins/pygimp/Makefile.in @${REINPLACE_CMD} -e 's/-u /-Wl,-u,/' \ ${WRKSRC}/app/Makefile.in @${REINPLACE_CMD} -e 's|"libpng"|"libpng15"|' \ -e 's|x86_64|amd64|g' \ ${WRKSRC}/configure .include Index: head/graphics/picpuz/Makefile =================================================================== --- head/graphics/picpuz/Makefile (revision 450350) +++ head/graphics/picpuz/Makefile (revision 450351) @@ -1,33 +1,33 @@ # Created by: Stas Timokhin # $FreeBSD$ PORTNAME= picpuz PORTVERSION= 2.1.1 PORTREVISION= 6 CATEGORIES= graphics games MASTER_SITES= http://kornelix.squarespace.com/storage/downloads/ \ http://www.stasyan.com/devel/distfiles/ MAINTAINER= devel@stasyan.com COMMENT= Jigsaw puzzle program BROKEN_armv6= fails to compile: use of undeclared identifier __NR_SYSCALL_BASE -USES= dos2unix execinfo gmake pkgconfig +USES= dos2unix gmake pkgconfig DOS2UNIX_GLOB= *.h USE_GNOME= gtk20 ALL_TARGET= # #RUN_DEPENDS+= xdg-desktop-menu:devel/xdg-utils DESKTOP_ENTRIES="Picpuz" \ "Jigsaw Puzzle" \ "${PREFIX}/share/pixmaps/picpuz.png" \ "picpuz" \ "Graphics;Game;GTK;" \ true post-install: (cd ${STAGEDIR}${PREFIX}/share/pixmaps && \ ${LN} -s ${DATADIR}/icons/picpuz.png .) .include Index: head/graphics/py-mayavi/Makefile =================================================================== --- head/graphics/py-mayavi/Makefile (revision 450350) +++ head/graphics/py-mayavi/Makefile (revision 450351) @@ -1,54 +1,54 @@ # Created by: Vladimir Chukharev # $FreeBSD$ PORTNAME= mayavi PORTVERSION= 4.5.0 PORTREVISION= 2 CATEGORIES= graphics science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= Vladimir.Chukharev@gmail.com COMMENT= Application and library for 3D visualization and plotting in Python LICENSE= BSD3CLAUSE LGPL21 LGPL20 EPL LGPL3 BSD2CLAUSE APACHE11 LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE.txt LICENSE_FILE_LGPL21= ${WRKSRC}/image_LICENSE_Nuvola.txt LICENSE_FILE_LGPL20= ${WRKSRC}/image_LICENSE_CP.txt LICENSE_FILE_EPL= ${WRKSRC}/image_LICENSE_Eclipse.txt LICENSE_FILE_LGPL3= ${WRKSRC}/image_LICENSE_OOo.txt LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE_YORICK.txt LICENSE_FILE_APACHE11= ${WRKSRC}/LICENSE_COLORBREWER.txt # See ${WRKSRC}/image_LICENSE.txt for per file license information BUILD_DEPENDS= vtk6>=6.1.0_8:math/vtk6 \ py27-sphinx>=1.3.1_2:textproc/py-sphinx RUN_DEPENDS= vtk6>=6.1.0_8:math/vtk6 \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}envisage>=4.4.0:devel/py-envisage \ ${PYTHON_PKGNAMEPREFIX}pyface>=4.5.2:devel/py-pyface \ ${PYTHON_PKGNAMEPREFIX}scimath>=4.1.2:science/py-scimath \ ${PYTHON_PKGNAMEPREFIX}traitsui>=4.5.1:graphics/py-traitsui -USES= execinfo python:-2.7 shebangfix tar:bzip2 +USES= python:-2.7 shebangfix tar:bzip2 USE_PYTHON= autoplist distutils USE_WX= 2.8+ WX_COMPS= python:run SHEBANG_FILES= mayavi/tests/csv_files/csv_2_py DEP1= vtk6 pre-configure: if [ ! -e ${PREFIX}/lib/python2.7/site-packages/vtk/__init__.py ]; then \ ${ECHO_MSG} "Port math/vtk6 is installed without PYTHON option."; \ ${ECHO_MSG} "Please reinstall with PYTHON selected."; \ ${FALSE}; \ else \ ${ECHO_MSG} "Good, math/vtk6 is installed with PYTHON option!"; \ fi post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tvtk/array_ext.so .include Index: head/graphics/qgis/Makefile =================================================================== --- head/graphics/qgis/Makefile (revision 450350) +++ head/graphics/qgis/Makefile (revision 450351) @@ -1,191 +1,191 @@ # Created by: Laurent Courty # $FreeBSD$ PORTNAME= qgis DISTVERSIONPREFIX= final- DISTVERSION= 2_18_12 PORTREVISION= 1 CATEGORIES= graphics geography MAINTAINER= rhurlin@gwdg.de COMMENT= Geographical Information System (GIS) data viewer LICENSE= GPLv2 BUILD_DEPENDS= txt2tags:textproc/txt2tags LIB_DEPENDS= libexpat.so:textproc/expat2 \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libproj.so:graphics/proj \ libqca.so:devel/qca \ libqjson.so:devel/qjson \ libqscintilla2.so:devel/qscintilla2 \ libqwt.so:x11-toolkits/qwt5 \ libspatialindex.so:devel/spatialindex \ libspatialite.so:databases/spatialite \ libxerces-c.so:textproc/xerces-c3 USES= bison cmake compiler:features cpe desktop-file-utils \ - execinfo fortran gmake pyqt:4 python:2.7 sqlite:3 + fortran gmake pyqt:4 python:2.7 sqlite:3 USE_GITHUB= yes GH_PROJECT= ${PORTNAME:tu} USE_PYQT= core gui network qscintilla2 sip sql svg xml webkit_run USE_QT4= corelib designer doc gui linguist_build moc_build \ network qmake_build rcc_build script sql sql-pgsql \ sql-sqlite3 svg testlib uic_build webkit xml USE_LDCONFIG= yes ICON_SIZES= 8 16 22 24 32 36 42 48 64 72 80 96 128 192 256 512 OPTIONS_DEFINE= PYTHON POSTGIS GRASS SERVER OPTIONS_GROUP= DEVELOPER OPTIONS_GROUP_DEVELOPER= CUSTOMWIDGETS ASTYLE TESTS DEBUG OPTIONS_DEFAULT= PYTHON POSTGIS NO_OPTIONS_SORT= yes OPTIONS_SUB= yes ASTYLE_DESC= Enable AStyle for QGis CUSTOMWIDGETS_DESC= Enable QT4/QGis Custom Widgets DEBUG_DESC= Write Debugging Output to Console SERVER_DESC= Enable QGIS server TESTS_DESC= Run the test suite after build process CMAKE_ARGS+= -DENABLE_QT5=OFF -DENABLE_PYTHON3=OFF \ -DWITH_ORACLE:BOOL=FALSE \ -DWITH_GLOBE:BOOL=FALSE .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev CMAKE_ARGS+= -DSUPPRESS_SIP_WARNINGS=OFF -DSUPPRESS_QT_WARNINGS=OFF CMAKE_ARGS+= -DWITH_INTERNAL_DATEUTIL=FALSE CMAKE_ARGS+= -DWITH_INTERNAL_FUTURE=FALSE CMAKE_ARGS+= -DWITH_INTERNAL_NOSE2=FALSE CMAKE_ARGS+= -DWITH_INTERNAL_PYTZ=FALSE CMAKE_ARGS+= -DWITH_INTERNAL_SIX=FALSE CMAKE_ARGS+= -DWITH_INTERNAL_YAML=FALSE .endif ASTYLE_RUN_DEPENDS= astyle:devel/astyle ASTYLE_CMAKE_ON= -DWITH_ASTYLE:BOOL=TRUE ASTYLE_CMAKE_OFF= -DWITH_ASTYLE:BOOL=FALSE CUSTOMWIDGETS_CMAKE_ON= -DWITH_CUSTOM_WIDGETS:BOOL=TRUE CUSTOMWIDGETS_CMAKE_OFF= -DWITH_CUSTOM_WIDGETS:BOOL=FALSE DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE=Debug DEBUG_CMAKE_OFF= -DCMAKE_BUILD_TYPE=Release GRASS_BUILD_DEPENDS= grass72:databases/grass7 GRASS_RUN_DEPENDS= grass72:databases/grass7 GRASS_CMAKE_ON= -DWITH_GRASS7:BOOL=TRUE -DGRASS_PREFIX7=${LOCALBASE}/grass-7.2.1 GRASS_FORCE_MAKE_JOBS= NO GRASS_CMAKE_OFF= -DWITH_GRASS7:BOOL=FALSE #POSTGIS_USES= pgsql #POSTGIS_LIB_DEPENDS= liblwgeom.so:databases/postgis22 POSTGIS_CMAKE_ON= -DWITH_POSTGRESQL:BOOL=TRUE POSTGIS_CMAKE_OFF= -DWITH_POSTGRESQL:BOOL=FALSE PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.6.0:devel/py-dateutil \ ${PYTHON_PKGNAMEPREFIX}functools32>=3.2.3:devel/py-functools32 \ ${PYTHON_PKGNAMEPREFIX}future>=0.16.0:devel/py-future \ ${PYTHON_PKGNAMEPREFIX}httplib2>=2-0.9.2:www/py-httplib2 \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.8:devel/py-Jinja2 \ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=1.0:textproc/py-MarkupSafe \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.5.3:math/py-matplotlib \ ${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock \ ${PYTHON_PKGNAMEPREFIX}pbr>=1.8.1:devel/py-pbr \ ${PYTHON_PKGNAMEPREFIX}pip>=9.0.1:devel/py-pip \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.1.3:textproc/py-pygments \ ${PYTHON_PKGNAMEPREFIX}pyproj>=1.9.5.1:graphics/py-pyproj \ ${PYTHON_PKGNAMEPREFIX}pyspatialite>=3.0.1:databases/pyspatialite \ ${PYTHON_PKGNAMEPREFIX}pytz>=2016.10:devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}requests>=2.11.1:www/py-requests \ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.13:databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cycler>=0.10.0:devel/py-cycler \ ${PYTHON_PKGNAMEPREFIX}dateutil>=2.6.0:devel/py-dateutil \ ${PYTHON_PKGNAMEPREFIX}functools32>=3.2.3:devel/py-functools32 \ ${PYTHON_PKGNAMEPREFIX}future>=0.16.0:devel/py-future \ ${PYTHON_PKGNAMEPREFIX}gdal>=2.0.1:graphics/py-gdal \ ${PYTHON_PKGNAMEPREFIX}httplib2>=2-0.9.2:www/py-httplib2 \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.8:devel/py-Jinja2 \ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=1.0:textproc/py-MarkupSafe \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=1.5.3:math/py-matplotlib \ ${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock \ ${PYTHON_PKGNAMEPREFIX}numpy>=1.11.2,1:math/py-numpy \ ${PYTHON_PKGNAMEPREFIX}pbr>=1.8.1:devel/py-pbr \ ${PYTHON_PKGNAMEPREFIX}pip>=9.0.1:devel/py-pip \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5.3:databases/py-psycopg2 \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.1.3:textproc/py-pygments \ ${PYTHON_PKGNAMEPREFIX}pyproj>=1.9.5.1:graphics/py-pyproj \ ${PYTHON_PKGNAMEPREFIX}pyspatialite>=3.0.1:databases/pyspatialite \ ${PYTHON_PKGNAMEPREFIX}pytz>=2016.10:devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}requests>=2.11.1:www/py-requests \ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.13:databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}termcolor>=1.1.0:devel/py-termcolor \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml PYTHON_CMAKE_ON= -DWITH_BINDINGS:BOOL=TRUE PYTHON_CMAKE_OFF= -DWITH_BINDINGS:BOOL=FALSE SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_ON= -DWITH_SERVER:BOOL=TRUE SERVER_CMAKE_OFF= -DWITH_SERVER:BOOL=FALSE TESTS_CMAKE_ON= -DENABLE_TESTS=TRUE TESTS_CMAKE_OFF= -DENABLE_TESTS=FALSE INSTALLS_ICONS= yes pre-patch: @${REINPLACE_CMD} -e 's|tr( "QGIS code revision" ) + QString( "%1" ).arg( QGis::QGIS_DEV_VERSION )|tr( "QGIS code revision" ) + "" + tr( "${GH_TAGNAME}" ) + ""|g' \ ${WRKSRC}/src/app/qgisapp.cpp # [Ugly workaround!] Because of GitHub #76aa035 from 2015-05-23 # 'Hide shared library symbols by default on GCC and Clang', # some layer properties are not visible on FreeBSD > 9.x @${REINPLACE_CMD} -e 's|SET(CMAKE_CXX_VISIBILITY_PRESET hidden)|#SET(CMAKE_CXX_VISIBILITY_PRESET hidden)|' \ ${WRKSRC}/CMakeLists.txt post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/qgis|${LOCALBASE}/bin/qgis|g' \ ${WRKSRC}/debian/${PORTNAME}.desktop @${REINPLACE_CMD} -e 's|Icon=qgis|Icon=qgis-icon|' \ ${WRKSRC}/debian/${PORTNAME}.desktop @${REINPLACE_CMD} -e 's|env python|env ${PYTHON_VERSION}|g' \ ${WRKSRC}/python/ext-libs/pytz/tzfile.py \ ${WRKSRC}/scripts/generate_test_mask_image.py \ ${WRKSRC}/scripts/random_vector.py \ ${WRKSRC}/scripts/widgets_tree.py \ ${WRKSRC}/src/plugins/grass/qgis_grass_test.py \ ${WRKSRC}/src/plugins/grass/scripts/qgis.v.kernel.rast.py \ ${WRKSRC}/src/plugins/grass/scripts/v.out.ogr.pg.py \ ${WRKSRC}/src/plugins/grass/scripts/qgis.v.upgrade.py \ ${WRKSRC}/src/plugins/grass/scripts/r.external.all.py \ ${WRKSRC}/src/plugins/grass/scripts/db.connect-login.pg.py @${REINPLACE_CMD} -e 's|markupsafe ||g' \ ${WRKSRC}/python/ext-libs/CMakeLists.txt post-install: ${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/debian/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor .for SZ in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps ${INSTALL_DATA} ${WRKSRC}/debian/${PORTNAME}-icon${SZ}x${SZ}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/${PORTNAME}.png .endfor check: (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check) .include Index: head/graphics/tulip/Makefile =================================================================== --- head/graphics/tulip/Makefile (revision 450350) +++ head/graphics/tulip/Makefile (revision 450351) @@ -1,66 +1,66 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= tulip PORTVERSION= 4.10.0 PORTREVISION= 2 DISTVERSIONSUFFIX= _src CATEGORIES= graphics MASTER_SITES= SF/auber/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= woodsb02@FreeBSD.org COMMENT= System dedicated to the visualization of huge graphs LICENSE= LGPL3 LIB_DEPENDS= libquazip.so:archivers/quazip \ libpng.so:graphics/png \ libOGDF.so:math/ogdf \ libfreetype.so:print/freetype2 BROKEN_powerpc64= fails to link: libOGDF.so: undefined reference to CoinPackedVector::CoinPackedVector WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= cmake:outsource,noninja compiler:c++11-lib dos2unix execinfo jpeg python \ +USES= cmake:outsource,noninja compiler:c++11-lib dos2unix jpeg python \ shebangfix SHEBANG_FILES= tulip-config.in DOS2UNIX_FILES= software/tulip/src/main.cpp USE_GL= gl glew glut USE_GNOME= libxml2 CMAKE_ARGS= -DBUILD_DOC:BOOL=OFF \ -DOGDFInclude:STRING=${LOCALBASE}/include \ -DOGDFLibrary:STRING=${LOCALBASE}/lib/libOGDF.so USE_LDCONFIG= ${PREFIX}/lib/tulip CXXFLAGS+= -fPIC -I${LOCALBASE}/include -DNDEBUG -DOGDF_DLL # Unhide std::to_string() to fix build with GCC (see ports/193528 for details) CXXFLAGS+= -D_GLIBCXX_USE_C99 LDFLAGS+= -L${LOCALBASE}/lib -lCOIN PLIST_SUB= TULIP_VERSION="${PORTVERSION}" \ TULIP_VERS="${PORTVERSION:R}" DESKTOP_ENTRIES="Tulip" "" "${PREFIX}/share/pixmaps.tulip.png" "tulip" "" "" OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= QT4 QT5 OPTIONS_DEFAULT= QT4 QT4_USE= qt4=corelib,gui,network,opengl,webkit \ qt4=xml,xmlpatterns \ qt4=moc_build,qmake_build,rcc_build,uic_build QT5_USE= qt5=core,gui,network,opengl,webkit,widgets \ qt5=xml,xmlpatterns \ qt5=buildtools_build,qmake_build QT5_CMAKE_BOOL= USE_QT5_IF_INSTALLED post-build: @${LN} -sf logo32x32.png \ ${WRKSRC}/library/tulip-gui/resources/icons/tulip.png post-install: (cd ${WRKSRC}/library/tulip-gui/resources/icons && ${INSTALL_DATA} \ tulip.png ${STAGEDIR}${PREFIX}/share/pixmaps) .include Index: head/irc/quassel/Makefile =================================================================== --- head/irc/quassel/Makefile (revision 450350) +++ head/irc/quassel/Makefile (revision 450351) @@ -1,72 +1,72 @@ # Created by: Martin Wilke # $FreeBSD$ PORTNAME= quassel PORTVERSION= 0.12.4 PORTREVISION= 5 CATEGORIES= irc MASTER_SITES= http://www.quassel-irc.org/pub/ MAINTAINER= woodsb02@FreeBSD.org COMMENT?= Qt 5 based distributed IRC client (client and monolithic binary) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= cmake:outsource compiler:c++11-lib cpe execinfo pkgconfig tar:bzip2 +USES= cmake:outsource compiler:c++11-lib cpe pkgconfig tar:bzip2 CPE_VENDOR= quassel-irc CPE_PRODUCT= quassel_irc USE_QT5= buildtools_build core network qmake_build CMAKE_ARGS= -DWITH_KDE=off \ -DUSE_QT5=on OPTIONS_DEFINE= NLS OPTIONS_MULTI= MODULE DB MODULE_DESC= Quassel components DB_DESC= Database for Quassel core / monolithic OPTIONS_MULTI_MODULE= CLIENT CORE MONO OPTIONS_MULTI_DB= PGSQL SQLITE3 OPTIONS_DEFAULT= CLIENT MONO SQLITE3 OPTIONS_SUB= yes CLIENT_DESC= Quassel client (for use with core) CLIENT_CMAKE_BOOL= WANT_QTCLIENT CLIENT_USE= qt5=dbus,gui,phonon4,webkit,widgets CLIENT_LIB_DEPENDS= libdbusmenu-qt5.so:devel/libdbusmenu-qt5 CORE_DESC= Quassel core server (for use with client) CORE_CMAKE_BOOL= WANT_CORE CORE_USE= qt5=script,sql CORE_LIB_DEPENDS= libqca-qt5.so:devel/qca-qt5 CORE_SUB_FILES= pkg-message CORE_VARS= use_rc_subr=quasselcore \ users=quasselcore \ groups=quasselcore \ plist=${NONEXISTENT} # allow core to override PLIST_FILES CORE_PLIST_FILES= bin/quasselcore MONO_DESC= Quassel standalone (monolithic binary: core+client combined) MONO_CMAKE_BOOL= WANT_MONO MONO_USE= qt5=script,sql MONO_LIB_DEPENDS= libqca-qt5.so:devel/qca-qt5 NLS_USE= QT5=linguisttools_build PGSQL_USE= qt5=sql-pgsql SQLITE3_USE= qt5=sql-sqlite3_run post-patch-NLS-off: ${REINPLACE_CMD} -e '/add_subdirectory(po)/d' \ ${WRKSRC}/CMakeLists.txt post-install-CLIENT-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quasselclient post-install-CORE-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quasselcore post-install-MONO-on: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quassel .include Index: head/irc/weechat/Makefile =================================================================== --- head/irc/weechat/Makefile (revision 450350) +++ head/irc/weechat/Makefile (revision 450351) @@ -1,118 +1,117 @@ # Created by: clement # $FreeBSD$ PORTNAME= weechat PORTVERSION= 1.9 CATEGORIES= irc MASTER_SITES= https://weechat.org/files/src/ MAINTAINER= brnrd@FreeBSD.org COMMENT= Lightweight and user friendly ncurses based IRC client LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS+= libcurl.so:ftp/curl \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error USES= cmake:outsource,noninja ncurses tar:xz USE_LDCONFIG= yes CMAKE_ARGS+= -DENABLE_GUILE=no \ -DLIBDATADIR=${LOCALBASE}/libdata OPTIONS_DEFINE= BACKTRACE DOCS CA_BUNDLE GNUTLS ICON ICONV MANPAGES NLS OPTIONS_DEFAULT= ASPELL BACKTRACE CA_BUNDLE CHARSET GNUTLS ICON LUA MANPAGES PERL PYTHON RUBY TCL OPTIONS_SUB= yes # BROKEN: ruby.h: error: wrong number of arguments specified for 'deprecated' attribute OPTIONS_EXCLUDE_powerpc64= RUBY OPTIONS_GROUP= PLUGINS OPTIONS_GROUP_PLUGINS= ASPELL CHARSET JAVASCRIPT LUA PERL PYTHON RUBY TCL BACKTRACE_DESC= Provide crash backtraces CA_BUNDLE_DESC= Include CA bundle for certificate verification ICON_DESC= Desktop icon PLUGINS_DESC= Weechat Plugins CHARSET_DESC= Charset plugin (implies ICONV) JAVASCRIPT_DESC= Javascript script support PYTHON_DESC= Python script support RUBY_DESC= Ruby script support ASPELL_CMAKE_BOOLL= ENABLE_ASPELL ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell BACKTRACE_CMAKE_BOOL= ENABLE_BACKTRACE -BACKTRACE_USES= execinfo CA_BUNDLE_CMAKE_ON= -DCA_FILE=${LOCALBASE}/share/certs/ca-root-nss.crt CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss CHARSET_CMAKE_BOOL= ENABLE_CHARSET CHARSET_IMPLIES= ICONV DOCS_CMAKE_BOOL= ENABLE_DOC DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/asciidoctor:textproc/rubygem-asciidoctor ICONV_CMAKE_BOOL= ENABLE_ICONV ICONV_USES= iconv JAVASCRIPT_CMAKE_BOOL= ENABLE_JAVASCRIPT JAVASCRIPT_LIB_DEPENDS= libv8.so:lang/v8 GNUTLS_CMAKE_BOOL= ENABLE_GNUTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_USES= pkgconfig LUA_CMAKE_BOOL= ENABLE_LUA LUA_USES= lua pkgconfig MANPAGES_CMAKE_BOOL= ENABLE_MAN MANPAGES_CMAKE_ON= -DMANDIR=${MANPREFIX}/man MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/bin/asciidoctor:textproc/rubygem-asciidoctor NLS_CMAKE_BOOL= ENABLE_NLS NLS_USES= gettext PERL_CMAKE_BOOL= ENABLE_PERL PERL_USES= perl5 PYTHON_CMAKE_BOOL= ENABLE_PYTHON PYTHON_USES= python RUBY_CMAKE_BOOL= ENABLE_RUBY RUBY_USE= ruby=yes TCL_CMAKE_BOOL= ENABLE_TCL TCL_USES= tcl:85+ .include .if !empty(PORT_OPTIONS:MPYTHON) && ${PYTHON_MAJOR_VER} >= 3 WARNING= "Using Python 3.x is NOT recommended because many \"official\" scripts won\'t work" CMAKE_ARGS+= -DENABLE_PYTHON3:BOOL=true \ -DPYTHON_LIBRARY:FILEPATH=${LOCALBASE}/lib/libpython${PYTHON_VER}m.so .endif .if !empty(PORT_OPTIONS:MRUBY) && (${ARCH} == "amd64" || ${ARCH} == "i386") LIB_DEPENDS+= libunwind.so:devel/libunwind .endif post-patch: @${REINPLACE_CMD} -e 's|$${LIBDIR}/../pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt .for f in src/CMakeLists.txt src/core/CMakeLists.txt cmake/*.cmake @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/${f} .endfor post-patch-ICON-off: @${REINPLACE_CMD} -e '/^# icon$$/,/^$$/d' ${WRKSRC}/CMakeLists.txt post-install: ${LN} -sf weechat ${STAGEDIR}${PREFIX}/bin/weechat-curses .include Index: head/lang/rubinius/Makefile =================================================================== --- head/lang/rubinius/Makefile (revision 450350) +++ head/lang/rubinius/Makefile (revision 450351) @@ -1,138 +1,138 @@ # Created by: stas # $FreeBSD$ PORTNAME= rubinius PORTVERSION= 3.70 PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://releases.rubini.us/:source DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ashish@FreeBSD.org COMMENT= LLVM based ruby language implementation LICENSE= MPL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/bin/bundle:sysutils/rubygem-bundler \ ${LOCALBASE}/bin/bison:devel/bison \ ${LLVM_CONFIG_PATH}:${LLVM_PORT} LIB_DEPENDS= libyaml.so:textproc/libyaml HAS_CONFIGURE= yes CONFIGURE_ARGS= -P "${PREFIX}" \ -I "${PREFIX}/include/rubinius" \ -L "${PREFIX}/lib/ruby/rubinius" \ -G "${PREFIX}/lib/ruby/gems/rubinius" \ -B "${PREFIX}/bin" \ -M "${PREFIX}/man" \ --cc ${LLVM_CC_PATH} \ --cxx ${LLVM_CXX_PATH} \ --llvm-config ${LLVM_CONFIG_PATH} \ --no-bin-links \ --without-dtrace --release-build \ --sitedir "${PREFIX}/lib/ruby/site_ruby/rubinius" \ --vendordir "${PREFIX}/lib/ruby/vendor_ruby/rubinius" \ --stagingdir "${STAGEDIR}${PREFIX}" --with-execinfo \ --system-name ${OPSYS} OPTIONS_RADIO= LLVM OPTIONS_DEFAULT= LLVM40 OPTIONS_RADIO_LLVM= LLVM38 LLVM39 LLVM40 ONLY_FOR_ARCHS= amd64 LLVM38_DESC= LLVM 3.8 LLVM39_DESC= LLVM 3.9 LLVM40_DESC= LLVM 4.0 -USES= execinfo gmake perl5 readline tar:bzip2 libedit ssl +USES= gmake perl5 readline tar:bzip2 libedit ssl USE_LOCALE= en_US.UTF-8 USE_RUBY= yes RUBY_NO_RUN_DEPENDS= yes USE_PERL5= build NO_INSTALL= yes PLIST_SUB+= FREEBSD_DIR=${FREEBSD_DIR} GEM_PATH= ${WRKSRC}/gems/ruby/${RUBY_VER} RAKE_BIN= ${GEM_PATH}/bin/rake # https://github.com/rubinius/rubinius/issues/3716 CFLAGS+= -Qunused-arguments CPPFLAGS+= -Qunused-arguments CXXFLAGS+= -Qunused-arguments # Hack to prevent rbx from creating $HOME/.rbx during compilation of gems MAKE_ENV+= HOME=${WRKSRC} # Hack to switch to a local gem path so locally activated rake can be used MAKE_ENV+= GEM_PATH=${GEM_PATH} F_OS= ${OPSYS:tl} F_MAJOR= ${OSREL:C/\..*$//} FREEBSD_DIR= ${F_ARCH}-${F_OS}-${F_MAJOR} LLVM_CC_PATH= ${LOCALBASE}/bin/${LLVM_CC} LLVM_CXX_PATH= ${LOCALBASE}/bin/${LLVM_CXX} LLVM_CONFIG_PATH= ${LOCALBASE}/bin/${LLVM_CONFIG} LLVM38_VARS= LLVM_CONFIG=llvm-config38 \ LLVM_PORT=devel/llvm38 \ LLVM_CC=clang38 \ LLVM_CXX=clang++38 LLVM39_VARS= LLVM_CONFIG=llvm-config39 \ LLVM_PORT=devel/llvm39 \ LLVM_CC=clang39 \ LLVM_CXX=clang++39 LLVM40_VARS= LLVM_CONFIG=llvm-config40 \ LLVM_PORT=devel/llvm40 \ LLVM_CC=clang40 \ LLVM_CXX=clang++40 .include .if !exists(/usr/lib/libexecinfo.so) CONFIGURE_ARGS+= --with-opt-dir "${LOCALBASE}" .endif .if ${ARCH} == "sparc64" BROKEN= Does not compile on sparc64 .elif ${ARCH} == "amd64" F_ARCH= x86_64 .elif ${ARCH} == "i386" F_ARCH= x86 .endif post-extract: .for DF in ${DISTFILES:N*\:source} @${LN} -s ${DISTDIR}/${DF:C/:gems//g} ${WRKSRC}/vendor/cache/ .endfor @${CP} ${FILESDIR}/build-tool.c ${WRKDIR} post-patch: @${GREP} -Rl '#!.*ruby$$' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} -e '/^#!.*ruby$$/s/ruby$$/${RUBY_NAME}/g' @${REINPLACE_CMD} -e "s,%%CC%%,${LLVM_CC_PATH}," ${WRKSRC}/configure ${WRKDIR}/build-tool.c @${REINPLACE_CMD} -e "s,%%CXX%%,${LLVM_CXX_PATH}," ${WRKSRC}/configure ${WRKDIR}/build-tool.c pre-configure: @cd ${WRKSRC} && ${MKDIR} gems && ${LOCALBASE}/bin/bundle install --local --path=${WRKSRC}/gems post-configure: # Setup paths to compilers @${CC} -o ${WRKSRC}/build/bin/build-tool ${WRKDIR}/build-tool.c @${LN} -sf ${WRKSRC}/build/bin/build-tool ${WRKSRC}/build/bin/cc @${LN} -sf ${WRKSRC}/build/bin/build-tool ${WRKSRC}/build/bin/c++ do-build: # "build" target here installs into ${STAGEDIR}${PREFIX} @(cd ${WRKSRC}/; ${SETENV} ${MAKE_ENV} ${RAKE_BIN} -j ${MAKE_JOBS_NUMBER} build) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/ruby/site_ruby/rubinius @${MKDIR} ${STAGEDIR}${PREFIX}/lib/ruby/vendor_ruby/rubinius @${TOUCH} ${STAGEDIR}${PREFIX}/lib/ruby/site_ruby/rubinius/.keep_me @${TOUCH} ${STAGEDIR}${PREFIX}/lib/ruby/vendor_ruby/rubinius/.keep_me @${MV} ${STAGEDIR}${PREFIX}/bin/testrb ${STAGEDIR}${PREFIX}/bin/testrbx @${FIND} ${STAGEDIR} -type f -name '*.so' |${XARGS} ${STRIP_CMD} @${FIND} ${STAGEDIR} -type f -name 'gem_make.out' -delete @${FIND} ${STAGEDIR} -type f -name 'mkmf.log' -delete @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rbx .include Index: head/lang/ruby22/Makefile =================================================================== --- head/lang/ruby22/Makefile (revision 450350) +++ head/lang/ruby22/Makefile (revision 450351) @@ -1,245 +1,245 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= ruby PORTVERSION= ${RUBY_PORTVERSION} PORTREVISION= ${RUBY_PORTREVISION} PORTEPOCH= ${RUBY_PORTEPOCH} CATEGORIES= lang ruby ipv6 MASTER_SITES= RUBY/${MASTER_SITE_SUBDIR_RUBY} DISTNAME= ${RUBY_DISTNAME} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Object-oriented interpreted scripting language LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL LICENSE_FILE_RUBY= ${WRKSRC}/COPYING # Using LIB_DEPENDS finds the libffi from gcc which causes problems BUILD_DEPENDS= libffi>=0:devel/libffi LIB_DEPENDS= libyaml.so:textproc/libyaml RUN_DEPENDS= libffi>=0:devel/libffi BROKEN_SSL= openssl-devel CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ --disable-rpath \ --enable-pthread \ --enable-shared \ --with-ruby-version=minor \ --with-sitedir="${PREFIX}/lib/ruby/site_ruby" \ --with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" CONFIGURE_ENV= debugflags= CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes # Keep this, else ruby will fail to load libraries dependent of libpthread. LIBS+= -lpthread -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes -USES= autoreconf cpe execinfo tar:xz ssl +USES= autoreconf cpe tar:xz ssl WRKSRC= ${RUBY_WRKSRC} RUBY_VER= 2.2 USE_RUBY= yes RUBY_NO_BUILD_DEPENDS= yes RUBY_NO_RUN_DEPENDS= yes OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC OPTIONS_DEFAULT= RDOC LIBEDIT OPTIONS_SINGLE= EDIT OPTIONS_SINGLE_EDIT= LIBEDIT READLINE OPTIONS_SUB= yes CAPIDOCS_DESC= Build and install C API documents GMP_DESC= Use GMP to accelerate Bignum operations RDOC_DESC= Build and install Rdoc indexes EDIT_DESC= Which line editing lib to use LIBEDIT_DESC= Use libedit READLINE_DESC= Use libreadline CAPIDOCS_BUILD_DEPENDS= doxygen>=1.8.13,2:devel/doxygen \ dot:graphics/graphviz CAPIDOCS_CONFIGURE_ENABLE= install-capi GMP_CONFIGURE_WITH= gmp GMP_LIB_DEPENDS= libgmp.so:math/gmp LIBEDIT_CONFIGURE_ON= --enable-libedit --with-libedit-dir=${LOCALBASE} LIBEDIT_USES= libedit RDOC_CONFIGURE_ENABLE= install-rdoc READLINE_CONFIGURE_ON= --disable-libedit --with-readline-dir=${LOCALBASE} READLINE_USES= readline:port CPE_VENDOR= ruby-lang CPE_VERSION= ${RUBY_RELVERSION} CPE_UPDATE= p${RUBY_PATCHLEVEL} .include # PORTEPOCH/PORTREVISION hack .if ${PORTEPOCH} != 0 _SUF2= ,${PORTEPOCH} .endif .if ${PORTREVISION} != 0 _SUF1= _${PORTREVISION} .endif .if ${OPSYS} == "FreeBSD" .if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == "amd64" || ${ARCH} == "i386") CONFIGURE_ARGS+= --enable-dtrace .else CONFIGURE_ARGS+= --disable-dtrace .endif .endif # keep in sync with all platforms where libunwind is available .if (${ARCH} == "amd64" || ${ARCH} == "i386") LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${ARCH} == "powerpc64" USE_GCC= yes .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf" CONFIGURE_ARGS+= --with-setjmp-type=_setjmp CONFIGURE_ENV+= ac_cv_func__setjmp=yes .endif .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} MLINKS= ${RUBY_NAME}.1 ruby.1 PLIST_SUB+= IF_DEFAULT="" .else PKGNAMESUFFIX= ${RUBY_VER:C/\.//} PLIST_SUB+= IF_DEFAULT="@comment " .endif INSTALLED_SCRIPTS= irb erb rdoc ri ruby EXTSAMPLES= bigdecimal/sample/*.rb EXTDOCS= readline/README* \ ripper/README \ stringio/README \ syslog/syslog.txt # Macros to change variables in rbconfig.rb RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' -- post-patch: @${REINPLACE_CMD} -E \ -e 's,-l$$pthread_lib,-lpthread,g' \ -e '/^RUBY_LIB_PATH/s,\.\$$\{TEENY\},,' \ -e '/^RUBY_SITE_LIB_PATH2/s,\.\$$\{TEENY\},,' \ -e '/^RUBY_VENDOR_LIB_PATH2/s,\.\$$\{TEENY\},,' \ ${WRKSRC}/configure # # Eliminate all leftovers # @${FIND} ${WRKSRC}/ -name "*.orig" -delete # # Remove modules we don't want # .for d in win32ole @${RM} -r ${BUILD_WRKSRC}/ext/${d} .endfor # We get rake from ports. .for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb @${RM} -r ${BUILD_WRKSRC}/${d} .endfor # We get the gem executable from ports. @${RM} ${BUILD_WRKSRC}/bin/gem # # Prepare modules we are wanting to build via external ports # .for d in gdbm tk @${MV} ${BUILD_WRKSRC}/ext/${d} ${WRKDIR}/ .endfor post-build: # # Hack to allow modules to be installed into separate PREFIX and/or under user # privilegies # @${RB_SET_CONF_VAR} "prefix" "ENV['PREFIX'] || \3" @${RB_SET_CONF_VAR} "INSTALL" "'/usr/bin/install -c'" @${RB_SET_CONF_VAR} "INSTALL_PROGRAM" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} ${STRIP} -m ${BINMODE}' : '${INSTALL_PROGRAM}'" @${RB_SET_CONF_VAR} "INSTALL_SCRIPT" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${BINMODE}' : '${INSTALL_SCRIPT}'" @${RB_SET_CONF_VAR} "INSTALL_DATA" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${SHAREMODE}' : '${INSTALL_DATA}'" post-build-CAPIDOCS-on: @${FIND} ${WRKSRC}/doc -type d -empty -delete pre-install: ${MKDIR} ${STAGEDIR}${RUBY_SITEARCHLIBDIR} ${MKDIR} ${STAGEDIR}${RUBY_VENDORARCHLIBDIR} pre-install-DOCS-on: ${MKDIR} ${STAGEDIR}${RUBY_DOCDIR} pre-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${RUBY_EXAMPLESDIR} pre-install-RDOC-on: ${MKDIR} ${STAGEDIR}${RUBY_RIDIR} ${MKDIR} ${STAGEDIR}${RUBY_SITERIDIR} post-install: # # Link just installed "ruby" to "ruby22", etc. # .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} . for FILE in ${INSTALLED_SCRIPTS} ${LN} -fs ${FILE}${RUBY_SUFFIX} ${STAGEDIR}${PREFIX}/bin/${FILE} . endfor .endif post-install-DEBUG-off: # # XXX: hack to strip ruby binary. Ruby uses its own install script that seems # bogus to hack. # .if defined(STRIP) && ${STRIP} == -s ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${RUBY_NAME} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libruby${RUBY_SHLIBVER}.so.${RUBY_SHLIBVER} ${FIND} ${STAGEDIR}${RUBY_ARCHLIBDIR} -type f -name '*\.so' -exec ${STRIP_CMD} {} \; .endif post-install-DOCS-on: # Create all dirs required (":u" isn't avaiable in STABLE yet :-() ${MKDIR} ${EXTDOCS:C,^([^/]+)/.*,\1,:S,^,${STAGEDIR}${RUBY_DOCDIR}/,} .for FILE in ${EXTDOCS} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_DOCDIR}/${FILE:C,^([^/]+)/.*,\1,}/ .endfor @(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_DOCDIR}/) ${INSTALL_DATA} ${WRKSRC}/COPYING* \ ${WRKSRC}/ChangeLog \ ${WRKSRC}/LEGAL \ ${WRKSRC}/README* \ ${STAGEDIR}${RUBY_DOCDIR}/ post-install-EXAMPLES-on: # Create all dirs required (":u" isn't avaiable in STABLE yet :-() ${MKDIR} ${EXTSAMPLES:C,^([^/]+)/.*,\1,:S,^,${STAGEDIR}${RUBY_EXAMPLESDIR}/,} .for FILE in ${EXTSAMPLES} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_EXAMPLESDIR}/${FILE:C,^([^/]+)/.*,\1,}/ .endfor @(cd ${WRKSRC}/sample/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_EXAMPLESDIR}/) regression-test test: @(cd ${WRKSRC}; ${MAKE} test) validate: @${MKDIR} ${WRKSRC}/rubyspec ${RM} -r ${WRKSRC}/rubyspec/* (cd ${WRKSRC}/rubyspec && git clone git://github.com/rubyspec/rubyspec.git) (cd ${WRKSRC}/rubyspec && git clone git://github.com/rubyspec/mspec.git) (cd ${WRKSRC}/rubyspec/rubyspec && ${SETENV} PATH=${WRKSRC}/rubyspec/mspec/bin:${PATH} mspec -t ${PREFIX}/bin/ruby${RUBY_SUFFIX} .) .include Index: head/lang/ruby23/Makefile =================================================================== --- head/lang/ruby23/Makefile (revision 450350) +++ head/lang/ruby23/Makefile (revision 450351) @@ -1,242 +1,242 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= ruby PORTVERSION= ${RUBY_PORTVERSION} PORTREVISION= ${RUBY_PORTREVISION} PORTEPOCH= ${RUBY_PORTEPOCH} CATEGORIES= lang ruby ipv6 MASTER_SITES= RUBY/${MASTER_SITE_SUBDIR_RUBY} DISTNAME= ${RUBY_DISTNAME} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Object-oriented interpreted scripting language LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL LICENSE_FILE_RUBY= ${WRKSRC}/COPYING # Using LIB_DEPENDS finds the libffi from gcc which causes problems BUILD_DEPENDS= libffi>=0:devel/libffi LIB_DEPENDS= libyaml.so:textproc/libyaml RUN_DEPENDS= libffi>=0:devel/libffi BROKEN_SSL= openssl-devel BROKEN_SSL_REASON_openssl-devel=does not detect and buid the openssl*.rb bits CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ --disable-rpath \ --enable-pthread \ --enable-shared \ --with-ruby-version=minor \ --with-sitedir="${PREFIX}/lib/ruby/site_ruby" \ --with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" CONFIGURE_ENV= debugflags= CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes # Keep this, else ruby will fail to load libraries dependent of libpthread. LIBS+= -lpthread -L${LOCALBASE}/lib USE_LDCONFIG= yes -USES= autoreconf cpe execinfo ssl tar:xz +USES= autoreconf cpe ssl tar:xz WRKSRC= ${RUBY_WRKSRC} RUBY_VER= 2.3 USE_RUBY= yes RUBY_NO_BUILD_DEPENDS= yes RUBY_NO_RUN_DEPENDS= yes OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC OPTIONS_DEFAULT= RDOC LIBEDIT OPTIONS_SINGLE= EDIT OPTIONS_SINGLE_EDIT= LIBEDIT READLINE OPTIONS_SUB= yes CAPIDOCS_DESC= Build and install C API documents GMP_DESC= Use GMP to accelerate Bignum operations RDOC_DESC= Build and install Rdoc indexes EDIT_DESC= Which line editing lib to use LIBEDIT_DESC= Use libedit READLINE_DESC= Use libreadline CAPIDOCS_BUILD_DEPENDS= doxygen>=1.8.13,2:devel/doxygen \ dot:graphics/graphviz CAPIDOCS_CONFIGURE_ENABLE= install-capi GMP_CONFIGURE_WITH= gmp GMP_LIB_DEPENDS= libgmp.so:math/gmp LIBEDIT_CONFIGURE_ON= --enable-libedit --with-libedit-dir=${LOCALBASE} LIBEDIT_USES= libedit RDOC_CONFIGURE_ENABLE= install-rdoc READLINE_CONFIGURE_ON= --disable-libedit --with-readline-dir=${LOCALBASE} READLINE_USES= readline:port CPE_VENDOR= ruby-lang CPE_VERSION= ${RUBY_RELVERSION} CPE_UPDATE= p${RUBY_PATCHLEVEL} .include # PORTREVISION/PORTEPOCH hack .if ${PORTREVISION} != 0 _SUF1= _${PORTREVISION} .endif .if ${PORTEPOCH} != 0 _SUF2= ,${PORTEPOCH} .endif .if ${OPSYS} == "FreeBSD" .if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == "amd64" || ${ARCH} == "i386") CONFIGURE_ARGS+=--enable-dtrace .else CONFIGURE_ARGS+=--disable-dtrace .endif .endif # keep in sync with all platforms where libunwind is available .if (${ARCH} == "amd64" || ${ARCH} == "i386") LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${ARCH} == "powerpc64" USE_GCC= yes .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf" CONFIGURE_ARGS+=--with-setjmp-type=_setjmp CONFIGURE_ENV+= ac_cv_func__setjmp=yes .endif .if ${PORT_OPTIONS:MCAPIDOCS} MAKE_JOBS_UNSAFE= yes .endif .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} MLINKS= ${RUBY_NAME}.1 ruby.1 PLIST_SUB+= IF_DEFAULT="" .else PKGNAMESUFFIX= ${RUBY_VER:C/\.//} PLIST_SUB+= IF_DEFAULT="@comment " .endif INSTALLED_SCRIPTS= irb erb rdoc ri ruby EXTSAMPLES= bigdecimal/sample/*.rb EXTDOCS= readline/README* \ ripper/README \ stringio/README \ syslog/syslog.txt # Macros to change variables in rbconfig.rb RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' -- post-patch: @${REINPLACE_CMD} -E \ -e 's,-l$$pthread_lib,-lpthread,g' \ -e '/^RUBY_LIB_PATH/s,\.\$$\{TEENY\},,' \ -e '/^RUBY_SITE_LIB_PATH2/s,\.\$$\{TEENY\},,' \ -e '/^RUBY_VENDOR_LIB_PATH2/s,\.\$$\{TEENY\},,' \ ${WRKSRC}/configure # # Eliminate all leftovers # @${FIND} ${WRKSRC}/ -name "*.orig" -delete # # Remove modules we don't want # .for d in win32ole @${RM} -r ${BUILD_WRKSRC}/ext/${d} .endfor # We get rake from ports. .for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb @${RM} -r ${BUILD_WRKSRC}/${d} .endfor # We get the gem executable from ports. @${RM} ${BUILD_WRKSRC}/bin/gem # # Prepare modules we are wanting to build via external ports # .for d in gdbm tk @${MV} ${BUILD_WRKSRC}/ext/${d} ${WRKDIR}/ .endfor post-build: # # Hack to allow modules to be installed into separate PREFIX and/or under user # privilegies # @${RB_SET_CONF_VAR} "prefix" "ENV['PREFIX'] || \3" @${RB_SET_CONF_VAR} "INSTALL" "'/usr/bin/install -c'" @${RB_SET_CONF_VAR} "INSTALL_PROGRAM" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} ${STRIP} -m ${BINMODE}' : '${INSTALL_PROGRAM}'" @${RB_SET_CONF_VAR} "INSTALL_SCRIPT" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${BINMODE}' : '${INSTALL_SCRIPT}'" @${RB_SET_CONF_VAR} "INSTALL_DATA" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${SHAREMODE}' : '${INSTALL_DATA}'" post-build-CAPIDOCS-on: @${FIND} ${WRKSRC}/doc -type d -empty -delete pre-install: ${MKDIR} ${STAGEDIR}${RUBY_SITEARCHLIBDIR} ${MKDIR} ${STAGEDIR}${RUBY_VENDORARCHLIBDIR} pre-install-DOCS-on: ${MKDIR} ${STAGEDIR}${RUBY_DOCDIR} pre-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${RUBY_EXAMPLESDIR} pre-install-RDOC-on: ${MKDIR} ${STAGEDIR}${RUBY_RIDIR} ${MKDIR} ${STAGEDIR}${RUBY_SITERIDIR} post-install: # # Link just installed "ruby" to "ruby23", etc. # .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} . for FILE in ${INSTALLED_SCRIPTS} ${LN} -fs ${FILE}${RUBY_SUFFIX} ${STAGEDIR}${PREFIX}/bin/${FILE} . endfor .endif post-install-DEBUG-off: # # XXX: hack to strip ruby binary. Ruby uses its own install script that seems # bogus to hack. # .if defined(STRIP) && ${STRIP} == -s ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${RUBY_NAME} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libruby${RUBY_SHLIBVER}.so.${RUBY_SHLIBVER} ${FIND} ${STAGEDIR}${RUBY_ARCHLIBDIR} -type f -name '*\.so' -exec ${STRIP_CMD} {} \; .endif post-install-DOCS-on: # Create all dirs required (":u" isn't avaiable in STABLE yet :-() ${MKDIR} ${EXTDOCS:C|^([^/]+)/.*|\1|:S|^|${STAGEDIR}${RUBY_DOCDIR}/|} .for FILE in ${EXTDOCS} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_DOCDIR}/${FILE:C|^([^/]+)/.*|\1|}/ .endfor @(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_DOCDIR}/) ${INSTALL_DATA} ${WRKSRC}/COPYING* \ ${WRKSRC}/ChangeLog \ ${WRKSRC}/LEGAL \ ${WRKSRC}/README* \ ${STAGEDIR}${RUBY_DOCDIR}/ post-install-EXAMPLES-on: # Create all dirs required (":u" isn't avaiable in STABLE yet :-() ${MKDIR} ${EXTSAMPLES:C|^([^/]+)/.*|\1|:S|^|${STAGEDIR}${RUBY_EXAMPLESDIR}/|} .for FILE in ${EXTSAMPLES} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_EXAMPLESDIR}/${FILE:C|^([^/]+)/.*|\1|}/ .endfor (cd ${WRKSRC}/sample/ && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_EXAMPLESDIR}/) do-test: cd ${WRKSRC} && ${MAKE_CMD} test .include Index: head/lang/ruby24/Makefile =================================================================== --- head/lang/ruby24/Makefile (revision 450350) +++ head/lang/ruby24/Makefile (revision 450351) @@ -1,219 +1,219 @@ # Created by: Akinori MUSHA aka knu # $FreeBSD$ PORTNAME= ruby PORTVERSION= ${RUBY_PORTVERSION} PORTREVISION= ${RUBY_PORTREVISION} PORTEPOCH= ${RUBY_PORTEPOCH} CATEGORIES= lang ruby ipv6 MASTER_SITES= RUBY/${MASTER_SITE_SUBDIR_RUBY} DISTNAME= ${RUBY_DISTNAME} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Object-oriented interpreted scripting language LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL LICENSE_FILE_RUBY= ${WRKSRC}/COPYING # Using LIB_DEPENDS finds the libffi from gcc which causes problems BUILD_DEPENDS= libffi>=0:devel/libffi LIB_DEPENDS= libyaml.so:textproc/libyaml RUN_DEPENDS= libffi>=0:devel/libffi CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ --disable-rpath \ --enable-pthread \ --enable-shared \ --enable-install-static-library \ --with-ruby-version=minor \ --with-sitedir="${PREFIX}/lib/ruby/site_ruby" \ --with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" CONFIGURE_ENV= debugflags= CPPFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes # Keep this, else ruby will fail to load libraries dependent of libpthread. LIBS+= -lpthread -L${LOCALBASE}/lib USE_LDCONFIG= yes -USES= autoreconf cpe execinfo ssl tar:xz +USES= autoreconf cpe ssl tar:xz WRKSRC= ${RUBY_WRKSRC} RUBY_VER= 2.4 USE_RUBY= yes RUBY_NO_BUILD_DEPENDS= yes RUBY_NO_RUN_DEPENDS= yes NOT_FOR_ARCHS= ia64 NOT_FOR_ARCHS_REASON_ia64= does not build OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC OPTIONS_DEFAULT= RDOC LIBEDIT OPTIONS_SINGLE= EDIT OPTIONS_SINGLE_EDIT= LIBEDIT READLINE OPTIONS_SUB= yes CAPIDOCS_DESC= Build and install C API documents GMP_DESC= Use GMP to accelerate Bignum operations RDOC_DESC= Build and install Rdoc indexes EDIT_DESC= Which line editing lib to use LIBEDIT_DESC= Use libedit READLINE_DESC= Use libreadline CAPIDOCS_BUILD_DEPENDS= doxygen>=1.8.13,2:devel/doxygen \ dot:graphics/graphviz CAPIDOCS_CONFIGURE_ENABLE= install-capi GMP_CONFIGURE_WITH= gmp GMP_LIB_DEPENDS= libgmp.so:math/gmp LIBEDIT_CONFIGURE_ON= --enable-libedit --with-libedit-dir=${LOCALBASE} LIBEDIT_USES= libedit RDOC_CONFIGURE_ENABLE= install-rdoc READLINE_CONFIGURE_ON= --disable-libedit --with-readline-dir=${LOCALBASE} READLINE_USES= readline:port CPE_VENDOR= ruby-lang CPE_VERSION= ${RUBY_RELVERSION} CPE_UPDATE= p${RUBY_PATCHLEVEL} .include # PORTREVISION/PORTEPOCH hack .if ${PORTREVISION} != 0 _SUF1= _${PORTREVISION} .endif .if ${PORTEPOCH} != 0 _SUF2= ,${PORTEPOCH} .endif .if ${OPSYS} == "FreeBSD" .if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032) && (${ARCH} == "amd64" || ${ARCH} == "i386") CONFIGURE_ARGS+=--enable-dtrace .else CONFIGURE_ARGS+=--disable-dtrace .endif .endif # keep in sync with all platforms where libunwind is available .if (${ARCH} == "amd64" || ${ARCH} == "i386") LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if (${ARCH} == "powerpc64" || ${ARCH} == "powerpc") USE_GCC= yes .endif .if ${ARCH} == "armv6" || ${ARCH} == "armv6hf" CONFIGURE_ARGS+=--with-setjmp-type=_setjmp CONFIGURE_ENV+= ac_cv_func__setjmp=yes .endif .if ${PORT_OPTIONS:MCAPIDOCS} MAKE_JOBS_UNSAFE= yes .endif .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} MLINKS= ${RUBY_NAME}.1 ruby.1 PLIST_SUB+= IF_DEFAULT="" .else PKGNAMESUFFIX= ${RUBY_VER:C/\.//} PLIST_SUB+= IF_DEFAULT="@comment " .endif INSTALLED_SCRIPTS= irb erb rdoc ri ruby EXTSAMPLES= bigdecimal/sample/*.rb EXTDOCS= readline/README \ ripper/README \ stringio/README.md \ syslog/syslog.txt # Macros to change variables in rbconfig.rb RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' -- post-patch: @${FIND} ${WRKSRC}/ -name "*.orig" -delete # We get these from other ports .for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb ext/win32ole bin/gem @${RM} -r ${BUILD_WRKSRC}/${d} .endfor # Used by databases/ruby-gdbm port @${MV} ${BUILD_WRKSRC}/ext/gdbm ${WRKDIR}/ post-build: # # Hack to allow modules to be installed into separate PREFIX and/or under user # privilegies # @${RB_SET_CONF_VAR} "prefix" "ENV['PREFIX'] || \3" @${RB_SET_CONF_VAR} "INSTALL" "'/usr/bin/install -c'" @${RB_SET_CONF_VAR} "INSTALL_PROGRAM" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} ${STRIP} -m ${BINMODE}' : '${INSTALL_PROGRAM}'" @${RB_SET_CONF_VAR} "INSTALL_SCRIPT" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${BINMODE}' : '${INSTALL_SCRIPT}'" @${RB_SET_CONF_VAR} "INSTALL_DATA" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${SHAREMODE}' : '${INSTALL_DATA}'" post-build-CAPIDOCS-on: @${FIND} ${WRKSRC}/doc -type d -empty -delete pre-install: ${MKDIR} ${STAGEDIR}${RUBY_SITEARCHLIBDIR} ${MKDIR} ${STAGEDIR}${RUBY_VENDORARCHLIBDIR} pre-install-DOCS-on: ${MKDIR} ${STAGEDIR}${RUBY_DOCDIR} pre-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${RUBY_EXAMPLESDIR} pre-install-RDOC-on: ${MKDIR} ${STAGEDIR}${RUBY_RIDIR} ${MKDIR} ${STAGEDIR}${RUBY_SITERIDIR} post-install: # # Link just installed "ruby" to "ruby24", etc. # .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} . for FILE in ${INSTALLED_SCRIPTS} ${LN} -fs ${FILE}${RUBY_SUFFIX} ${STAGEDIR}${PREFIX}/bin/${FILE} . endfor .endif post-install-DEBUG-off: # # XXX: hack to strip ruby binary. Ruby uses its own install script that seems # bogus to hack. # .if defined(STRIP) && ${STRIP} == -s ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${RUBY_NAME} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libruby${RUBY_SHLIBVER}.so.${RUBY_SHLIBVER} ${FIND} ${STAGEDIR}${RUBY_ARCHLIBDIR} -type f -name '*\.so' -exec ${STRIP_CMD} {} \; .endif post-install-DOCS-on: # Create all dirs required (":u" isn't avaiable in STABLE yet :-() ${MKDIR} ${EXTDOCS:C|^([^/]+)/.*|\1|:S|^|${STAGEDIR}${RUBY_DOCDIR}/|} .for FILE in ${EXTDOCS} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_DOCDIR}/${FILE:C|^([^/]+)/.*|\1|}/ .endfor @(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_DOCDIR}/) ${INSTALL_DATA} ${WRKSRC}/COPYING* \ ${WRKSRC}/ChangeLog \ ${WRKSRC}/LEGAL \ ${WRKSRC}/README* \ ${STAGEDIR}${RUBY_DOCDIR}/ post-install-EXAMPLES-on: # Create all dirs required (":u" isn't avaiable in STABLE yet :-() ${MKDIR} ${EXTSAMPLES:C|^([^/]+)/.*|\1|:S|^|${STAGEDIR}${RUBY_EXAMPLESDIR}/|} .for FILE in ${EXTSAMPLES} ${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \ ${STAGEDIR}${RUBY_EXAMPLESDIR}/${FILE:C|^([^/]+)/.*|\1|}/ .endfor (cd ${WRKSRC}/sample/ && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_EXAMPLESDIR}/) do-test: cd ${WRKSRC} && ${MAKE_CMD} test .include Index: head/lang/smalltalk/Makefile =================================================================== --- head/lang/smalltalk/Makefile (revision 450350) +++ head/lang/smalltalk/Makefile (revision 450351) @@ -1,73 +1,73 @@ # Created by: gpalmer # $FreeBSD$ PORTNAME= smalltalk PORTVERSION= 3.2.5 PORTREVISION= 9 CATEGORIES= lang MASTER_SITES= GNU MAINTAINER= johans@FreeBSD.org COMMENT= GNU Smalltalk BUILD_DEPENDS= zip:archivers/zip \ gawk:lang/gawk LIB_DEPENDS= libgdbm.so:databases/gdbm \ libcairo.so:graphics/cairo OPTIONS_DEFINE= TK PGSQL SDL OPTIONS_DEFAULT=TK PGSQL SDL OPTIONS_SUB= yes TK_USES= tk:84 TK_CONFIGURE_WITH=tcl=${LOCALBASE}/lib/tcl8.4 tk=${LOCALBASE}/lib/tk8.4 PGSQL_USES= pgsql SDL_USE= SDL=image,mixer,sdl,sound,ttf -USES= execinfo gmake iconv libtool localbase makeinfo pathfix pkgconfig \ +USES= gmake iconv libtool localbase makeinfo pathfix pkgconfig \ shebangfix sqlite tar:xz USE_GNOME= pango USE_XORG= ice xi xmu USE_GL= gl glut GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_prog_EMACS=no ac_cv_prog_AWK=gawk CONFIGURE_ARGS= --enable-generational-gc=no \ --enable-gtk=no \ --localstatedir="${PREFIX}/var" \ --with-emacs=no \ --with-gmp=no USE_LDCONFIG= yes SHEBANG_LANG= sed sed_OLD_CMD= /bin/sed sed_CMD= ${SED} SHEBANG_FILES= packages/vfs/deb packages/vfs/mailfs \ examples/pepe.sed examples/xml.sed PLIST_SUB= VERSION="${PORTVERSION}" PORTDATA= * INFO= gst gst-base gst-libs BROKEN_aarch64= Fails to link: undefined reference to sbrk BROKEN_sparc64= Fails to install on sparc64 post-patch: @${REINPLACE_CMD} -e 's/ia64-\*-\* /&|amd64-*-* /' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's/lrintl (truncl/lroundl (truncl/' \ ${WRKSRC}/libgst/prims.def \ ${WRKSRC}/libgst/prims.inl @${REINPLACE_CMD} -e '/^ac_include/s/\\$$/#include \\/' \ ${WRKSRC}/snprintfv/configure post-build: @${SED} -e 's|@bindir@|${PREFIX}/bin|g' \ ${WRKSRC}/gst-mode.el.in > ${WRKSRC}/gst-mode.el post-install: @${LN} -sf gst-load.1 ${STAGEDIR}${MANPREFIX}/man/man1/gst-reload.1 @${MKDIR} ${STAGEDIR}${DATADIR}/gtk ${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp @${LS} -1 ${STAGEDIR}${PREFIX}/bin/gst* |grep -v config|${XARGS} ${STRIP_CMD} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/smalltalk/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgst.so .include Index: head/lang/v8/Makefile =================================================================== --- head/lang/v8/Makefile (revision 450350) +++ head/lang/v8/Makefile (revision 450351) @@ -1,63 +1,63 @@ # Created by: siasia # $FreeBSD$ PORTNAME= v8 PORTVERSION= 3.18.5 PORTREVISION= 4 CATEGORIES= lang MASTER_SITES= LOCAL/vanilla MAINTAINER= sunpoet@FreeBSD.org COMMENT= Open source JavaScript engine by Google LICENSE= BSD3CLAUSE CONFLICTS_INSTALL= v8-devel-[0-9]* ONLY_FOR_ARCHS= i386 amd64 PORTSCOUT= limit:^3.18.* ALL_TARGET= native MAKE_ARGS= library=shared MAKE_ENV= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX} USE_LDCONFIG= yes -USES= alias compiler cpe execinfo gmake python:2 shebangfix tar:xz +USES= alias compiler cpe gmake python:2 shebangfix tar:xz CPE_VENDOR= google SHEBANG_FILES= build/gyp/gyp .include .if ${COMPILER_TYPE} == clang CXXFLAGS+= -Wno-nested-anon-types -Wno-unused-function -Wno-unused-private-field MAKE_ENV+= LINK=clang++ .if ${COMPILER_VERSION} >= 34 CXXFLAGS+= -Wno-unused-const-variable .if ${COMPILER_VERSION} >= 35 CXXFLAGS+= -Wno-tautological-undefined-compare .if ${COMPILER_VERSION} >= 36 CXXFLAGS+= -Wno-unused-local-typedef .endif .endif .endif .else MAKE_ARGS+= strictaliasing=off USE_GCC= any .endif post-patch: @${REINPLACE_CMD} -e 's|test/cctest/cctest.gyp||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/test\/cctest\/cctest.gyp/d' ${WRKSRC}/build/all.gyp @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/build/common.gypi ${WRKSRC}/tools/gyp/v8.gyp @${REINPLACE_CMD} -e 's, | MAP_NORESERVE,,' ${WRKSRC}/src/platform-freebsd.cc @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/tools/gyp/v8.gyp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/out/native/d8 ${STAGEDIR}${PREFIX}/bin/d8 cd ${WRKSRC}/include/ && ${INSTALL_DATA} *.h ${STAGEDIR}${PREFIX}/include/ ${INSTALL_LIB} ${WRKSRC}/out/native/lib.target/libv8.so ${STAGEDIR}${PREFIX}/lib/libv8.so.1 ${LN} -fs ${PREFIX}/lib/libv8.so.1 ${STAGEDIR}${PREFIX}/lib/libv8.so .include Index: head/lang/v8-devel/Makefile =================================================================== --- head/lang/v8-devel/Makefile (revision 450350) +++ head/lang/v8-devel/Makefile (revision 450351) @@ -1,63 +1,63 @@ # Created by: siasia # $FreeBSD$ PORTNAME= v8 PORTVERSION= 3.27.7 PORTREVISION= 10 CATEGORIES= lang MASTER_SITES= LOCAL/vanilla PKGNAMESUFFIX= -devel MAINTAINER= sunpoet@FreeBSD.org COMMENT= Open source JavaScript engine by Google LICENSE= BSD3CLAUSE LIB_DEPENDS= libicui18n.so:devel/icu CONFLICTS_INSTALL= v8-[0-9]* ONLY_FOR_ARCHS= i386 amd64 ALL_TARGET= native MAKE_ARGS= library=shared use_system_icu=on MAKE_ENV= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX} USE_LDCONFIG= yes -USES= compiler cpe execinfo gmake localbase python:2 shebangfix tar:xz +USES= compiler cpe gmake localbase python:2 shebangfix tar:xz CPE_VENDOR= google SHEBANG_FILES= build/gyp/gyp bash_CMD= ${SH} .include .if ${COMPILER_TYPE} == clang CXXFLAGS+= -Wno-nested-anon-types -Wno-unused-function -Wno-unused-private-field -Wno-unused-variable MAKE_ARGS+= clang=on MAKE_ENV+= LINK=clang++ AR=/usr/bin/ar .if ${COMPILER_VERSION} >= 34 CXXFLAGS+= -Wno-unused-const-variable .if ${COMPILER_VERSION} >= 35 CXXFLAGS+= -Wno-tautological-undefined-compare .endif .endif .else MAKE_ARGS+= strictaliasing=off USE_GCC= any .endif post-patch: @${REINPLACE_CMD} -e 's|test/cctest/cctest.gyp||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/test\/cctest\/cctest.gyp/d' ${WRKSRC}/build/all.gyp @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/build/shim_headers.gypi ${WRKSRC}/build/gyp/gyp ${WRKSRC}/tools/gyp/v8.gyp @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/build/toolchain.gypi ${WRKSRC}/tools/gyp/v8.gyp @${REINPLACE_CMD} -e 's, | MAP_NORESERVE,,' ${WRKSRC}/src/platform-freebsd.cc do-install: ${INSTALL_PROGRAM} ${WRKSRC}/out/native/d8 ${STAGEDIR}${PREFIX}/bin/d8 cd ${WRKSRC}/include/ && ${INSTALL_DATA} *.h ${STAGEDIR}${PREFIX}/include/ ${INSTALL_LIB} ${WRKSRC}/out/native/lib.target/libv8.so ${STAGEDIR}${PREFIX}/lib/libv8.so.1 ${LN} -fs ${PREFIX}/lib/libv8.so.1 ${STAGEDIR}${PREFIX}/lib/libv8.so .include Index: head/mail/claws-mail/Makefile =================================================================== --- head/mail/claws-mail/Makefile (revision 450350) +++ head/mail/claws-mail/Makefile (revision 450351) @@ -1,88 +1,88 @@ # Created by: Simon 'corecode' Schubert # $FreeBSD$ PORTNAME= claws-mail CATEGORIES= mail news ipv6 COMMENT= Lightweight and featureful GTK+ based e-mail and news client LIB_DEPENDS= libcurl.so:ftp/curl \ libetpan.so:mail/libetpan \ libfreetype.so:print/freetype2 \ libsasl2.so:security/cyrus-sasl2 \ libgnutls.so:security/gnutls \ libgcrypt.so:security/libgcrypt \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= mime-support>0:misc/mime-support USE_XORG= ice sm USE_GNOME= cairo gtk20 librsvg2 -USES= cpe desktop-file-utils execinfo pathfix shebangfix ssl +USES= cpe desktop-file-utils pathfix shebangfix ssl SHEBANG_FILES= tools/*.pl tools/*.py tools/tb2claws-mail python_CMD= ${LOCALBASE}/bin/python2 INSTALLS_ICONS= yes OPTIONS_DEFINE= COMPFACE DEBUG DOCS ENCHANT IPV6 JPILOT LDAP \ MANUAL NLS STARTUP THEMES OPTIONS_DEFAULT=COMPFACE ENCHANT MANUAL STARTUP THEMES OPTIONS_SUB= yes COMPFACE_DESC= X-Face support COMPFACE_CONFIGURE_ENABLE= compface COMPFACE_LIB_DEPENDS= libcompface.so:mail/faces DEBUG_CONFIGURE_ON= --enable-maintainer-mode ENCHANT_DESC= Spell checking support ENCHANT_CONFIGURE_ENABLE= enchant ENCHANT_LIB_DEPENDS= libenchant.so:textproc/enchant IPV6_CONFIGURE_ENABLE= ipv6 JPILOT_DESC= JPilot support JPILOT_CONFIGURE_ENABLE= jpilot JPILOT_LIB_DEPENDS= libpisock.so:palm/pilot-link JPILOT_RUN_DEPENDS= jpilot:palm/jpilot LDAP_CONFIGURE_ENABLE= ldap LDAP_USE= openldap=yes MANUAL_DESC= User manual (many dependencies, including texlive) MANUAL_CONFIGURE_ON= --enable-manual --with-manualdir=${DOCSDIR}/manual MANUAL_CONFIGURE_OFF= --disable-manual MANUAL_BUILD_DEPENDS= docbook-utils>0:textproc/docbook-utils NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext-tools STARTUP_DESC= Startup notification support STARTUP_CONFIGURE_ENABLE= startup-notification STARTUP_LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification THEMES_DESC= Additional themes THEMES_RUN_DEPENDS= claws-mail-themes>0:x11-themes/claws-mail-themes .include "Makefile.claws" post-patch: @${REINPLACE_CMD} 's|-dirty||' ${WRKSRC}/version post-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/tools && \ ${INSTALL_SCRIPT} OOo2claws-mail.pl acroread2claws-mail.pl \ calypso_convert.pl convert_mbox.pl eud2gc.py filter_conv.pl \ filter_conv_new.pl fix_date.sh gif2xface.pl google_msgid.pl \ google_search.pl kmail-mailbox2claws-mail.pl kmail2claws-mail.pl \ kmail2claws-mail_v2.pl multiwebsearch.conf multiwebsearch.pl \ nautilus2claws-mail.sh outlook2claws-mail.pl tb2claws-mail \ tbird2claws.py textviewer.pl textviewer.sh \ thunderbird-filters-convertor.pl uudec uuooffice vcard2xml.py \ ${STAGEDIR}${DATADIR}) post-install-DOCS-on: (cd ${WRKSRC} && ${INSTALL_DATA} NEWS README TODO ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKSRC}/tools/README ${STAGEDIR}${DOCSDIR}/README.tools .include Index: head/math/pdal/Makefile =================================================================== --- head/math/pdal/Makefile (revision 450350) +++ head/math/pdal/Makefile (revision 450351) @@ -1,86 +1,86 @@ # Created by: bart # $FreeBSD$ PORTNAME= pdal PORTVERSION= 1.5.0 PORTREVISION= 1 CATEGORIES= math databases graphics MAINTAINER= lbartoletti@tuxfamily.org COMMENT= Library for translating and manipulating point cloud data LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libboost_thread.so:devel/boost-libs \ libcurl.so:ftp/curl \ libgeotiff.so:graphics/libgeotiff \ libxml2.so:textproc/libxml2 \ liblaszip.so:archivers/laszip \ libjsoncpp.so:devel/jsoncpp -USES= cmake:outsource compiler:c++11-lib pathfix pkgconfig execinfo +USES= cmake:outsource compiler:c++11-lib pathfix pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME:tu} GH_PROJECT= ${GH_ACCOUNT} # Unhide std::to_string() to fix build with GCC (see ports/193528 for details). CXXFLAGS+= -D_GLIBCXX_USE_C99 CMAKE_ARGS+= -DWITH_LASZIP:BOOL=TRUE #Doesn't build without laszip. LASZIP is recommended OPTIONS_DEFINE= BASH \ ICEBRIDGE PGPOINTCLOUD SQLITE MBIO \ PYTHON TESTS OPTIONS_DEFAULT= PYTHON PGPOINTCLOUD SQLITE #Option without port #lazperf #Plugins with lib not in port: #RivLib, Matlab, MrSID, CPD, GeoWave, GreyHound, HexBin, NITF (nitro) OPTIONS_SUB= yes PGPOINTCLOUD_DESC= Enable Coherent PostgreSQL Point Cloud plugin PGPOINTCLOUD_CMAKE_ON= -DBUILD_PLUGIN_PGPOINTCLOUD:BOOL=TRUE PGPOINTCLOUD_USES= pgsql PGPOINTCLOUD_CMAKE_OFF= -DBUILD_PLUGIN_PGPOINTCLOUD:BOOL=FALSE SQLITE_DESC= Enable SQLite plugin SQLITE_CMAKE_ON= -DBUILD_PLUGIN_SQLITE:BOOL=TRUE SQLITE_USES= sqlite SQLITE_CMAKE_OFF= -DBUILD_PLUGIN_SQLITE:BOOL=FALSE PYTHON_DESC= Enable Python plugin PYTHON_CMAKE_ON= -DBUILD_PLUGIN_PYTHON:BOOL=TRUE PYTHON_USES= python PYTHON_BUILD_DEPENDS= ${PYNUMPY} PYTHON_RUN_DEPENDS= ${PYNUMPY} PYTHON_CMAKE_OFF= -DBUILD_PLUGIN_PYTHON:BOOL=FALSE TESTS_DESC= Enable Tests TESTS_CMAKE_ON= -DBUILD_PLUGIN_TESTS:BOOL=TRUE TESTS_CMAKE_OFF= DBUILD_PLUGIN_TESTS:BOOL=FALSE ICEBRIDGE_DESC= Enable Icebridge plugin ICEBRIDGE_LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/szip ICEBRIDGE_CMAKE_ON= -DBUILD_PLUGIN_ICEBRIDGE:BOOL=TRUE ICEBRIDGE_CMAKE_OFF= -DBUILD_PLUGIN_ICEBRIDGE:BOOL=FALSE MBIO_DESC= Enable MBIO plugin MBIO_CMAKE_ON= -DBUILD_PLUGIN_MBIO:BOOL=TRUE MBIO_CMAKE_OFF= -DBUILD_PLUGIN_MBIO:BOOL=FALSE BASH_DESC= BASH completion BASH_CMAKE_ON= -DWITH_COMPLETION:BOOL=TRUE BASH_RUN_DEPENDS= bash:shells/bash BASH_CMAKE_OFF= -DWITH_COMPLETION:BOOL=FALSE post-install-BASH-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions ${INSTALL_DATA} ${WRKSRC}/scripts/bash-completion/pdal \ ${STAGEDIR}${PREFIX}/share/bash-completion/completions .include Index: head/multimedia/audacious/Makefile =================================================================== --- head/multimedia/audacious/Makefile (revision 450350) +++ head/multimedia/audacious/Makefile (revision 450351) @@ -1,61 +1,60 @@ # Created by: Zastupov Stepan [RedChrom] # $FreeBSD$ PORTNAME= audacious PORTVERSION= 3.8.2 PORTREVISION= 2 CATEGORIES= multimedia audio MASTER_SITES= http://distfiles.audacious-media-player.org/ MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight and versatile audio player LICENSE= GPLv3 LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig CONFLICTS_INSTALL= audacious-gtk3-3.* SUB_FILES= pkg-message GNU_CONFIGURE= yes USES= compiler:c++11-lib desktop-file-utils gettext-tools gmake \ localbase pkgconfig tar:bzip2 USE_XORG= x11 sm USE_GNOME= gtk20 glib20 cairo USE_LDCONFIG= yes INSTALLS_ICONS= yes CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ --enable-gtk \ --without-buildstamp OPTIONS_DEFINE= ICONV NLS EXECINFO OPTIONS_DEFAULT=ICONV EXECINFO ICONV_USES= iconv NLS_USES= gettext-runtime NLS_CONFIGURE_OFF= --disable-nls NLS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile -EXECINFO_USES= execinfo OPTIONS_SUB= yes EXECINFO_DESC= Build with libexecinfo support .include post-patch: .if ${PORT_OPTIONS:MEXECINFO} || exists(${LOCALBASE}/lib/libexecinfo.so) @${REINPLACE_CMD} 's|-lm |-lm -L${LOCALBASE}/lib -lexecinfo |' \ ${WRKSRC}/src/audacious/Makefile @${REINPLACE_CMD} 's|-laudcore|-laudcore -L${LOCALBASE}/lib -lexecinfo|' \ ${WRKSRC}/audacious.pc.in .endif ${REINPLACE_CMD} -e 's| $${MFLAGS}||g' \ ${WRKSRC}/buildsys.mk.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aud* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib* .include Index: head/multimedia/audacious-gtk3/Makefile =================================================================== --- head/multimedia/audacious-gtk3/Makefile (revision 450350) +++ head/multimedia/audacious-gtk3/Makefile (revision 450351) @@ -1,66 +1,65 @@ # Created by: Zastupov Stepan [RedChrom] # $FreeBSD$ PORTNAME= audacious PORTVERSION= 3.8.2 PORTREVISION= 2 DISTVERSIONSUFFIX= -gtk3 CATEGORIES= multimedia audio MASTER_SITES= http://distfiles.audacious-media-player.org/ PKGNAMESUFFIX= ${DISTVERSIONSUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Gtk+3 port of lightweight and versatile audio player LICENSE= GPLv3 LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig CONFLICTS_INSTALL= audacious-3.* MASTERDIR= ${.CURDIR}/../audacious DISTINFO_FILE= ${.CURDIR}/distinfo FILESDIR= ${MASTERDIR}/files SUB_FILES= pkg-message GNU_CONFIGURE= yes USES= compiler:c++11-lib desktop-file-utils gettext-tools gmake \ localbase pkgconfig tar:bzip2 USE_XORG= x11 sm USE_GNOME= gtk30 glib20 cairo USE_LDCONFIG= yes INSTALLS_ICONS= yes CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \ --enable-gtk \ --without-buildstamp OPTIONS_DEFINE= ICONV NLS EXECINFO OPTIONS_DEFAULT=ICONV EXECINFO ICONV_USES= iconv NLS_USES= gettext-runtime NLS_CONFIGURE_OFF= --disable-nls NLS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile -EXECINFO_USES= execinfo OPTIONS_SUB= yes EXECINFO_DESC= Build with libexecinfo support .include post-patch: .if ${PORT_OPTIONS:MEXECINFO} || exists(${LOCALBASE}/lib/libexecinfo.so) @${REINPLACE_CMD} 's|-lm |-lm -L${LOCALBASE}/lib -lexecinfo |' \ ${WRKSRC}/src/audacious/Makefile @${REINPLACE_CMD} 's|-laudcore|-laudcore -L${LOCALBASE}/lib -lexecinfo|' \ ${WRKSRC}/audacious.pc.in .endif ${REINPLACE_CMD} -e 's| $${MFLAGS}||g' \ ${WRKSRC}/buildsys.mk.in post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aud* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib* .include Index: head/multimedia/audacious-plugins/Makefile =================================================================== --- head/multimedia/audacious-plugins/Makefile (revision 450350) +++ head/multimedia/audacious-plugins/Makefile (revision 450351) @@ -1,128 +1,128 @@ # Created by: Zastupov Stepan [RedChrom] # $FreeBSD$ PORTNAME= audacious-plugins PORTVERSION= 3.8.2 PORTREVISION= 5 CATEGORIES= multimedia audio MASTER_SITES= http://distfiles.audacious-media-player.org/ MAINTAINER= ports@FreeBSD.org COMMENT= Plugins needed for audacious LICENSE= GPLv3 BUILD_DEPENDS= audacious:multimedia/audacious LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= audacious:multimedia/audacious CONFLICTS_INSTALL= audacious-plugins-gtk3-3.* GNU_CONFIGURE= yes -USES= compiler:c++11-lib execinfo gettext-tools gmake iconv \ +USES= compiler:c++11-lib gettext-tools gmake iconv \ localbase pkgconfig tar:bzip2 USE_LDCONFIG= yes USE_GNOME= gtk20 glib20 libxml2 cairo gdkpixbuf2 USE_XORG= x11 CONFIGURE_ARGS+=--disable-console --disable-sndio --disable-soxr \ --enable-gnomeshortcuts \ --enable-gtk --enable-filewriter --enable-hotkey OPTIONS_DEFINE= AAC ALSA AMIDI AOSD BS2B CDDA CUE FFMPEG \ FLAC JACK LAME LIRC MP3 MMS MODPLUG MPRIS NEON NLS NOTIFY \ OPENGL OSS PULSEAUDIO SAMPLERATE SCROBBLER SDL SID SNDFILE \ SPEEDPITCH VORBIS WAVPACK OPTIONS_DEFAULT= AAC AOSD CDDA CUE FFMPEG FLAC MP3 \ MMS NEON NLS NOTIFY OSS SCROBBLER VORBIS WAVPACK AAC_LIB_DEPENDS= libfaad.so:audio/faad AAC_CONFIGURE_OFF= --disable-aac ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa AMIDI_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth AMIDI_CONFIGURE_OFF= --disable-amidiplug AOSD_USE= gnome=pango AOSD_USE= xorg=xrender AOSD_LIB_DEPENDS= libXcomposite.so:x11/libXcomposite AOSD_CONFIGURE_ENABLE= aosd BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CONFIGURE_OFF= --disable-bs2b CDDA_LIB_DEPENDS= libcdio_cdda.so:sysutils/libcdio-paranoia \ libcddb.so:audio/libcddb \ libcdio.so:sysutils/libcdio CDDA_CONFIGURE_OFF= --disable-cdaudio CUE_LIB_DEPENDS= libcue.so:textproc/libcue CUE_CONFIGURE_OFF= --disable-cue FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CONFIGURE_WITH= ffmpeg=ffmpeg FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_ON= --enable-flac --enable-filewriter FLAC_CONFIGURE_OFF= --disable-flac --disable-filewriter JACK_LIB_DEPENDS= libjack.so:audio/jack \ libsamplerate.so:audio/libsamplerate JACK_CONFIGURE_OFF= --disable-jack LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_OFF= --disable-filewriter_mp3 LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_OFF= --disable-lirc MP3_LIB_DEPENDS= libmpg123.so:audio/mpg123 MP3_CONFIGURE_OFF= --disable-mp3 MMS_LIB_DEPENDS= libmms.so:net/libmms MMS_CONFIGURE_OFF= --disable-mms MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_OFF= --disable-modplug MPRIS_CONFIGURE_ENABLE= mpris2 NEON_LIB_DEPENDS= libneon.so:www/neon NEON_CONFIGURE_OFF= --disable-neon NLS_USES= gettext-runtime NLS_CONFIGURE_OFF= --disable-nls NLS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_ENABLE= notify OPENGL_USE= xorg=x11 gl=gl OPENGL_CONFIGURE_ENABLE= glspectrum OSS_CONFIGURE_ENABLE= oss4 PULSEAUDIO_LIB_DEPENDS= libpulse-mainloop-glib.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CONFIGURE_OFF= --disable-resample SCROBBLER_LIB_DEPENDS= libcurl.so:ftp/curl SCROBBLER_CONFIGURE_OFF= --disable-scrobbler2 SDL_LIB_DEPENDS= libSDL2.so:devel/sdl20 SDL_CONFIGURE_ON= --enable-sdlout --with-libsdl=2 SDL_CONFIGURE_OFF= --disable-sdlout SID_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp SID_CONFIGURE_OFF= --disable-sid SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CONFIGURE_OFF= --disable-sndfile SPEEDPITCH_CONFIGURE_OFF= --disable-speedpitch SPEEDPITCH_IMPLIES= SAMPLERATE VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_CONFIGURE_ENABLE= vorbis WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_OFF= --disable-wavpack OPTIONS_SUB= yes AMIDI_DESC= Amidi decoder AOSD_DESC= Audacious OSD BS2B_DESC= BS2B effect SCROBBLER_DESC= Scrobbler decoder SID_DESC= Sound chip emulator of Commodore NEON_DESC= Neon plugin SPEEDPITCH_DESC=Speed and Pitch plugin MPRIS_DESC= NPRIS plugin post-patch: ${REINPLACE_CMD} -e 's| $${MFLAGS}||g' \ ${WRKSRC}/buildsys.mk.in post-install: @${FIND} ${STAGEDIR}${PREFIX}/lib/audacious/ -name "*.so" \ -exec ${STRIP_CMD} {} \; .include Index: head/multimedia/audacious-plugins-gtk3/Makefile =================================================================== --- head/multimedia/audacious-plugins-gtk3/Makefile (revision 450350) +++ head/multimedia/audacious-plugins-gtk3/Makefile (revision 450351) @@ -1,134 +1,134 @@ # Created by: Zastupov Stepan [RedChrom] # $FreeBSD$ PORTNAME= audacious-plugins PORTVERSION= 3.8.2 PORTREVISION= 5 DISTVERSIONSUFFIX= -gtk3 CATEGORIES= multimedia audio MASTER_SITES= http://distfiles.audacious-media-player.org/ PKGNAMESUFFIX= ${DISTVERSIONSUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Plugins needed for audacious-gtk3 LICENSE= GPLv3 BUILD_DEPENDS= audacious:multimedia/audacious-gtk3 LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= audacious:multimedia/audacious-gtk3 CONFLICTS_INSTALL= audacious-plugins-3.* MASTERDIR= ${.CURDIR}/../audacious-plugins DISTINFO_FILE= ${.CURDIR}/distinfo FILESDIR= ${MASTERDIR}/files GNU_CONFIGURE= yes -USES= compiler:c++11-lib execinfo gettext-tools gmake iconv \ +USES= compiler:c++11-lib gettext-tools gmake iconv \ localbase pkgconfig tar:bzip2 USE_LDCONFIG= yes USE_GNOME= gtk30 glib20 libxml2 cairo gdkpixbuf2 USE_XORG= x11 CONFIGURE_ARGS+=--disable-console --disable-sndio --disable-soxr \ --enable-gnomeshortcuts \ --enable-gtk --enable-filewriter --enable-hotkey OPTIONS_DEFINE= AAC ALSA AMIDI AOSD BS2B CDDA CUE FFMPEG \ FLAC JACK LAME LIRC MP3 MMS MODPLUG MPRIS NEON NLS NOTIFY \ OPENGL OSS PULSEAUDIO SAMPLERATE SCROBBLER SDL SID SNDFILE \ SPEEDPITCH VORBIS WAVPACK OPTIONS_DEFAULT= AAC AOSD CDDA CUE FFMPEG FLAC MP3 \ MMS NEON NLS NOTIFY OSS SCROBBLER VORBIS WAVPACK AAC_LIB_DEPENDS= libfaad.so:audio/faad AAC_CONFIGURE_OFF= --disable-aac ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa AMIDI_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth AMIDI_CONFIGURE_OFF= --disable-amidiplug AOSD_USE= gnome=pango AOSD_USE= xorg=xrender AOSD_LIB_DEPENDS= libXcomposite.so:x11/libXcomposite AOSD_CONFIGURE_ENABLE= aosd BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CONFIGURE_OFF= --disable-bs2b CDDA_LIB_DEPENDS= libcdio_cdda.so:sysutils/libcdio-paranoia \ libcddb.so:audio/libcddb \ libcdio.so:sysutils/libcdio CDDA_CONFIGURE_OFF= --disable-cdaudio CUE_LIB_DEPENDS= libcue.so:textproc/libcue CUE_CONFIGURE_OFF= --disable-cue FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CONFIGURE_WITH= ffmpeg=ffmpeg FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_ON= --enable-flac --enable-filewriter FLAC_CONFIGURE_OFF= --disable-flac --disable-filewriter JACK_LIB_DEPENDS= libjack.so:audio/jack \ libsamplerate.so:audio/libsamplerate JACK_CONFIGURE_OFF= --disable-jack LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_OFF= --disable-filewriter_mp3 LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_OFF= --disable-lirc MP3_LIB_DEPENDS= libmpg123.so:audio/mpg123 MP3_CONFIGURE_OFF= --disable-mp3 MMS_LIB_DEPENDS= libmms.so:net/libmms MMS_CONFIGURE_OFF= --disable-mms MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_OFF= --disable-modplug MPRIS_CONFIGURE_ENABLE= mpris2 NEON_LIB_DEPENDS= libneon.so:www/neon NEON_CONFIGURE_OFF= --disable-neon NLS_USES= gettext-runtime NLS_CONFIGURE_OFF= --disable-nls NLS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_ENABLE= notify OPENGL_USE= xorg=x11 gl=gl OPENGL_CONFIGURE_ENABLE= glspectrum OSS_CONFIGURE_ENABLE= oss4 PULSEAUDIO_LIB_DEPENDS= libpulse-mainloop-glib.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CONFIGURE_OFF= --disable-resample SCROBBLER_LIB_DEPENDS= libcurl.so:ftp/curl SCROBBLER_CONFIGURE_OFF= --disable-scrobbler2 SDL_LIB_DEPENDS= libSDL2.so:devel/sdl20 SDL_CONFIGURE_ON= --enable-sdlout --with-libsdl=2 SDL_CONFIGURE_OFF= --disable-sdlout SID_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp SID_CONFIGURE_OFF= --disable-sid SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CONFIGURE_OFF= --disable-sndfile SPEEDPITCH_CONFIGURE_OFF= --disable-speedpitch SPEEDPITCH_IMPLIES= SAMPLERATE VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_CONFIGURE_ENABLE= vorbis WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_OFF= --disable-wavpack OPTIONS_SUB= yes AMIDI_DESC= Amidi decoder AOSD_DESC= Audacious OSD BS2B_DESC= BS2B effect SCROBBLER_DESC= Scrobbler decoder SID_DESC= Sound chip emulator of Commodore NEON_DESC= Neon plugin SPEEDPITCH_DESC=Speed and Pitch plugin MPRIS_DESC= NPRIS plugin post-patch: ${REINPLACE_CMD} -e 's| $${MFLAGS}||g' \ ${WRKSRC}/buildsys.mk.in post-install: @${FIND} ${STAGEDIR}${PREFIX}/lib/audacious/ -name "*.so" \ -exec ${STRIP_CMD} {} \; .include Index: head/multimedia/avidemux/Makefile.common =================================================================== --- head/multimedia/avidemux/Makefile.common (revision 450350) +++ head/multimedia/avidemux/Makefile.common (revision 450351) @@ -1,290 +1,290 @@ # $FreeBSD$ PORTREVISION?= 2 AVIDEMUX_VERSION= 2.6.11 MASTER_SITES= \ SF/avidemux/avidemux/${PORTVERSION} DISTNAME= avidemux_${PORTVERSION} BUILD_DEPENDS+= yasm:devel/yasm \ bash:shells/bash LIB_DEPENDS+= libmad.so:audio/libmad \ libdca.so:multimedia/libdca \ libpng.so:graphics/png LICENSE= GPLv2 USE_GNOME= libxml2 USE_QT4= # empty OPTIONS_FILE= ${PORT_DBDIR}/${OPTIONS_NAME:C/-.*//}/options USES= cmake:outsource,noninja pkgconfig iconv gmake compiler:features sqlite -USES+= dos2unix execinfo +USES+= dos2unix DOS2UNIX_FILES= cmake/admCheckMiscLibs.cmake \ avidemux_core/ADM_coreVideoCodec/include/ADM_coreVideoCodec6_export.h \ avidemux_core/ADM_coreVideoCodec/include/ADM_ffmp43.h CMAKE_ARGS+= -DGNUMAKE_EXECUTABLE=gmake CMAKE_ARGS+= -DAVIDEMUX_PACKAGER=none CMAKE_ARGS+= -DQT5:BOOL=OFF CXXFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes NOPRECIOUSMAKEVARS= yes # ARCH BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin OPTIONS_DEFINE= QT4 CLI FREETYPE FONTCONFIG OSS ESOUND JACK \ PULSEAUDIO XVIDEO FAAC FRIBIDI OPUS TWOLAME \ FAAD X264 X265 VPX XVID SDL AMR VORBIS NLS LAME VAAPI VDPAU OPTIONS_DEFAULT= QT4 FREETYPE FONTCONFIG OSS XVIDEO VPX XVID \ SDL FAAD VDPAU VORBIS OPTIONS_SUB= yes CLI_DESC= Build CLI tool FRIBIDI_CMAKE_OFF= -DFRIDIBI:BOOL=OFF FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi OPUS_CMAKE_OFF= -DOPUS:BOOL=OFF OPUS_LIB_DEPENDS= libopus.so:audio/opus TWOLAME_CMAKE_OFF= -DTWOLAME:BOOL=OFF TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame .if !defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= LAME FAAC AMR X264 .endif .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" . if ${PORT_OPTIONS:MQT4} PLIST_SUB+= QT_NLS="" . else PLIST_SUB+= QT_NLS="@comment " . endif .else CMAKE_ARGS+= -DNO_NLS:BOOL=ON PLIST_SUB+= NLS="@comment " QT_NLS="@comment " .endif # for libexecinfo: (so that __builtin_frame_address() finds the top # of the stack) .if ${ARCH} == "amd64" CFLAGS+= -fno-omit-frame-pointer #MAKE_ENV+= ARCH=x86_64 #CONFIGURE_ENV+= ARCH=x86_64 .endif .if !exists(/usr/lib/libexecinfo.so) CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=${LOCALBASE}/include CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=${LOCALBASE}/lib/libexecinfo.so .else CMAKE_ARGS+= -DLIBEXECINFO_INCLUDE_DIR=/usr/include CMAKE_ARGS+= -DLIBEXECINFO_LIBRARY_DIR=-lexecinfo .endif # We haven't ALSA(Never) & Aften(Yet) on FreeBSD CMAKE_ARGS+= -DARTS:BOOL=OFF -DALSA:BOOL=OFF -DAFTEN:BOOL=OFF .if empty(PORT_OPTIONS:MGTK3) && empty(PORT_OPTIONS:MQT4) CMAKE_ARGS+= -DX11:BOOL=OFF .else USE_GNOME+= libxslt .endif .if ${PORT_OPTIONS:MGTK3} USE_GNOME+= gnomeprefix gtk30 PLIST_SUB+= GTK="" .else CMAKE_ARGS+= -DGTK:BOOL=OFF PLIST_SUB+= GTK="@comment " .endif .if ${PORT_OPTIONS:MQT4} USE_QT4= qmake_build moc_build rcc_build uic_build linguist_build gui PLIST_SUB+= QT4="" .else CMAKE_ARGS+= -DQT4:BOOL=OFF PLIST_SUB+= QT4="@comment " .endif .if ${PORT_OPTIONS:MCLI} PLIST_SUB+= CLI="" .else PLIST_SUB+= CLI="@comment " .endif .if ${PORT_OPTIONS:MOSS} CMAKE_ARGS+= -DOSS_SUPPORT:BOOL=ON .else CMAKE_ARGS+= -DOSS_SUPPORT:BOOL=OFF .endif .if ${PORT_OPTIONS:MESOUND} USE_GNOME+= esound PLIST_SUB+= ESD="" .else CMAKE_ARGS+= -DESD:BOOL=OFF PLIST_SUB+= ESD="@comment " .endif .if ${PORT_OPTIONS:MJACK} LIB_DEPENDS+= libjack.so:audio/jack PLIST_SUB+= JACK="" .else CMAKE_ARGS+= -DJACK:BOOL=OFF PLIST_SUB+= JACK="@comment " .endif .if ${PORT_OPTIONS:MPULSEAUDIO} LIB_DEPENDS+= libpulse.so:audio/pulseaudio PLIST_SUB+= PULSE="" .else CMAKE_ARGS+= -DPULSEAUDIOSIMPLE:BOOL=OFF PLIST_SUB+= PULSE="@comment " .endif .if ${PORT_OPTIONS:MFREETYPE} LIB_DEPENDS+= libfreetype.so:print/freetype2 PLIST_SUB+= FREETYPE="" .else CMAKE_ARGS+= -DFREETYPE2:BOOL=OFF PLIST_SUB+= FREETYPE="@comment " .endif .if ${PORT_OPTIONS:MFONTCONFIG} LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig .else CMAKE_ARGS+= -DFONTCONFIG:BOOL=OFF .endif .if ${PORT_OPTIONS:MXVIDEO} #LIB_DEPENDS+= Xv:x11/libXv USE_XORG+= xv .else CMAKE_ARGS+= -DXVIDEO:BOOL=OFF .endif .if ${PORT_OPTIONS:MFAAC} LIB_DEPENDS+= libfaac.so:audio/faac PLIST_SUB+= FAAC="" .else CMAKE_ARGS+= -DFAAC:BOOL=OFF PLIST_SUB+= FAAC="@comment " .endif .if ${PORT_OPTIONS:MLAME} LIB_DEPENDS+= libmp3lame.so:audio/lame PLIST_SUB+= LAME="" .else CMAKE_ARGS+= -DLAME:BOOL=OFF PLIST_SUB+= LAME="@comment " .endif .if ${PORT_OPTIONS:MFAAD} LIB_DEPENDS+= libfaad.so:audio/faad PLIST_SUB+= FAAD="" .else CMAKE_ARGS+= -DFAAD:BOOL=OFF -DNeAAC:BOOL=OFF PLIST_SUB+= FAAD="@comment " .endif .if ${PORT_OPTIONS:MX264} LIB_DEPENDS+= libx264.so:multimedia/libx264 PLIST_SUB+= X264="" .else CMAKE_ARGS+= -DX264:BOOL=OFF PLIST_SUB+= X264="@comment " .endif .if ${PORT_OPTIONS:MX265} LIB_DEPENDS+= libx265.so:multimedia/x265 PLIST_SUB+= X265="" .else CMAKE_ARGS+= -DX265:BOOL=OFF PLIST_SUB+= X265="@comment " .endif .if ${PORT_OPTIONS:MVPX} LIB_DEPENDS+= libvpx.so:multimedia/libvpx PLIST_SUB+= VPX="" .else CMAKE_ARGS+= -DVPXDEC:BOOL=OFF PLIST_SUB+= VPX="@comment " .endif .if ${PORT_OPTIONS:MXVID} LIB_DEPENDS+= libxvidcore.so:multimedia/xvid PLIST_SUB+= XVID="" .else CMAKE_ARGS+= -DXVID:BOOL=OFF PLIST_SUB+= XVID="@comment " .endif .if ${PORT_OPTIONS:MSDL} USE_SDL= sdl PLIST_SUB+= SDL="" .else CMAKE_ARGS+= -DSDL:BOOL=OFF PLIST_SUB+= SDL="@comment " .endif .if ${PORT_OPTIONS:MVAAPI} LIB_DEPENDS+= libva.so:multimedia/libva PLIST_SUB+= VAAPI="" .else CMAKE_ARGS+= -DVAAPI:BOOL=OFF -DLIBVA:BOOL=OFF PLIST_SUB+= VAAPI="@comment " .endif .if ${PORT_OPTIONS:MVDPAU} LIB_DEPENDS+= libvdpau.so:multimedia/libvdpau PLIST_SUB+= VDPAU="" .else CMAKE_ARGS+= -DVDPAU:BOOL=OFF PLIST_SUB+= VDPAU="@comment " .endif .if ${PORT_OPTIONS:MVORBIS} LIB_DEPENDS+= libvorbis.so:audio/libvorbis PLIST_SUB+= VORBIS="" .else CMAKE_ARGS+= -DLIBVORBIS:BOOL=OFF -DVORBIS:BOOL=OFF PLIST_SUB+= VORBIS="@comment " .endif .if ${PORT_OPTIONS:MAMR} LIB_DEPENDS+= libopencore-amrnb.so:audio/opencore-amr PLIST_SUB+= AMRNB="" PLIST_SUB+= AMRWB="" .else CMAKE_ARGS+= -DOPENCORE_AMRNB:BOOL=OFF PLIST_SUB+= AMRNB="@comment " CMAKE_ARGS+= -DOPENCORE_AMRWB:BOOL=OFF PLIST_SUB+= AMRWB="@comment " .endif .include # is this kosher? the result seems to run tho... (see ports/185997) .if $(COMPILER_FEATURES:Mlibc++) LDFLAGS+= -lc++ .endif #.if ${COMPILER_TYPE} == clang USE_GCC= yes #.endif .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif post-patch: @${MKDIR} ${CONFIGURE_WRKSRC}/config @${LN} -s ${LOCALBASE}/include/iconv.h ${CONFIGURE_WRKSRC}/config @${REINPLACE_CMD} 's|-ldl||' ${WRKSRC}/avidemux_core/CMakeLists.txt post-configure-common: @${FIND} ${CONFIGURE_WRKSRC} -name link.txt -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} 's|-ldl||g' Index: head/multimedia/libxine/Makefile =================================================================== --- head/multimedia/libxine/Makefile (revision 450350) +++ head/multimedia/libxine/Makefile (revision 450351) @@ -1,162 +1,162 @@ # Created by: alex # $FreeBSD$ PORTNAME= xine PORTVERSION= 1.2.6 PORTREVISION= 12 CATEGORIES= multimedia ipv6 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION} PKGNAMEPREFIX= lib DISTNAME= ${PORTNAME}-lib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Libraries for xine multimedia player LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat LIB_DEPENDS= libFLAC.so:audio/flac \ liba52.so:audio/liba52 \ libvorbis.so:audio/libvorbis \ libspeex.so:audio/speex \ libmng.so:graphics/libmng \ libpng.so:graphics/png \ libdvdread.so:multimedia/libdvdread \ libfreetype.so:print/freetype2 \ libfame.so:multimedia/libfame \ libcdio_paranoia.so:sysutils/libcdio-paranoia \ libmodplug.so:audio/libmodplug \ libvcdinfo.so:multimedia/vcdimager \ libtheora.so:multimedia/libtheora \ libmad.so:audio/libmad \ libdca.so:multimedia/libdca \ libavcodec.so:multimedia/ffmpeg \ libfaad.so:audio/faad \ libvdpau.so:multimedia/libvdpau .if !defined(PACKAGE_BUILDING) # DVDCSS version hardcoded in src/input/input_dvd.c misc/cdda_server.c # and src/input/libdvdnav/dvd_input.c (dlopen'ed) LIB_DEPENDS+= libdvdcss.so.2:multimedia/libdvdcss .endif -USES= compiler cpe execinfo gmake iconv libtool:keepla \ +USES= compiler cpe gmake iconv libtool:keepla \ localbase pathfix perl5 pkgconfig tar:xz CPE_PRODUCT= xine-lib CPE_VENDOR= xine GNU_CONFIGURE= yes USE_XORG= x11 xv xinerama xext sm ice USE_GL= gl glu USE_PERL5= build USE_SDL= sdl USE_LDCONFIG= yes CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32 \ --enable-ipv6 \ --with-external-libmad \ --with-external-libdts \ --with-libflac \ --with-external-ffmpeg \ --with-external-libfaad \ --disable-real-codecs \ --disable-v4l \ --without-alsa \ --disable-musepack \ --enable-dvb MAKE_ENV= V=1 DOCSDIR= ${PREFIX}/share/doc/xine-lib # Please sync with XINE_PLUGINSDIR in multimedia/xine # and multimedia/vdr-plugin-xineliboutput PLUGINSDIR= lib/xine/plugins/2.5 PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" BROKEN_aarch64= Fails to configure: error: no acceptable as found in $PATH OPTIONS_DEFINE= NLS CACA ESOUND JACK GNOMEVFS2 PULSEAUDIO XVMC SMB AALIB \ IMAGEMAGICK PIXBUF WAVPACK VAAPI LIBBLURAY OPTIONS_DEFAULT=VAAPI OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_OFF= --without-caca --disable-cacatest ESOUND_USE= GNOME=esound ESOUND_CONFIGURE_OFF= --without-esound JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --without-jack GNOMEVFS2_USE= GNOME=gnomevfs2 GNOMEVFS2_CONFIGURE_OFF=--disable-gnomevfs PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF=--without-pulseaudio .if defined(WITH_NVIDIA304_GL) || exists(${LOCALBASE}/lib/libXvMCNVIDIA.so.1) XVMC_CONFIGURE_ON= --with-xvmc-lib=XvMCNVIDIA XVMC_LIB_DEPENDS= libXvMCNVIDIA.so:x11/nvidia-driver-304 .else XVMC_CONFIGURE_ON= --with-xvmc-lib=XvMCW XVMC_LIB_DEPENDS= libXvMC.so:x11/libXvMC .endif XVMC_CONFIGURE_OFF= --disable-xvmc SMB_USES= samba:lib SMB_CONFIGURE_ENV= LIBSMBCLIENT_LIBS="-L${SAMBALIBS} -lsmbclient" \ LIBSMBCLIENT_CFLAGS="-I${SAMBAINCLUDES}" SMB_CONFIGURE_ENABLE= samba AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_OFF= --disable-aalib --disable-aalibtest IMAGEMAGICK_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick IMAGEMAGICK_CONFIGURE_OFF= --without-imagemagick PIXBUF_USE= GNOME=gdkpixbuf2 PIXBUF_CONFIGURE_OFF= --disable-gdkpixbuf WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_WITH= wavpack VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ON= --enable-vaapi LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= bluray .include .if ${ARCH} == "i386" CFLAGS+= -fomit-frame-pointer .endif .if ${CONFIGURE_ARGS:M*--without-imagemagick*} == "" || ${CONFIGURE_ARGS:M*-disable-gdkpixbuf*} == "" PLIST_SUB+= WITH_DMX_IMAGE="" .else PLIST_SUB+= WITH_DMX_IMAGE="@comment " .endif .if ${ARCH} == "i386" PLIST_SUB+= WITH_VIDIX="" .else PLIST_SUB+= WITH_VIDIX="@comment " CONFIGURE_ARGS+= --disable-vidix .endif .include post-patch: .if ${COMPILER_TYPE} == "clang" @${REINPLACE_CMD} -e 's|-fno-rename-registers||' \ ${WRKSRC}/src/libw32dll/wine/Makefile.in .endif @${REINPLACE_CMD} -e 's|-ldl||' \ ${WRKSRC}/src/video_out/Makefile.in @${REINPLACE_CMD} -e "s|#define _ATOM QT_ATOM('', '', '', '')||" \ ${WRKSRC}/src/demuxers/demux_qt.c @${REINPLACE_CMD} -e \ 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' \ ${WRKSRC}/configure # XXX older nvidia-driver versions don't support opengl 2.0 so this # plugin might not get built: post-install: @if ! [ -e "${STAGEDIR}${PREFIX}/${PLUGINSDIR}/xineplug_vo_out_opengl2.so" ]; then \ ${REINPLACE_CMD} -e '/xineplug_vo_out_opengl2.so/d' \ ${TMPPLIST}; \ fi @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/post/*.so .include Index: head/multimedia/plexhometheater/Makefile =================================================================== --- head/multimedia/plexhometheater/Makefile (revision 450350) +++ head/multimedia/plexhometheater/Makefile (revision 450351) @@ -1,130 +1,130 @@ # Created by: Ben Woods # $FreeBSD$ PORTNAME= plexhometheater PORTVERSION= 1.4.1 DISTVERSIONPREFIX=v DISTVERSIONSUFFIX=.469-47a90f01 PORTREVISION= 11 CATEGORIES= multimedia MAINTAINER= woodsb02@FreeBSD.org COMMENT= Media center frontend to multimedia/plexmediaserver LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.GPL BUILD_DEPENDS= enca:converters/enca \ gawk:lang/gawk \ gperf:devel/gperf \ cmake:devel/cmake \ zip:archivers/zip \ nasm:devel/nasm \ gtk-update-icon-cache:x11-toolkits/gtk20 \ swig2.0:devel/swig20 LIB_DEPENDS= libass.so:multimedia/libass \ libavahi-client.so:net/avahi-app \ libboost_thread.so:devel/boost-libs \ libcdio.so:sysutils/libcdio \ libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libenca.so:converters/enca \ libFLAC.so:audio/flac \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libhal.so:sysutils/hal \ libjasper.so:graphics/jasper \ liblzo2.so:archivers/lzo2 \ libmad.so:audio/libmad \ libmicrohttpd.so:www/libmicrohttpd \ libmodplug.so:audio/libmodplug \ libmpeg2.so:multimedia/libmpeg2 \ libpcre.so:devel/pcre \ libplist.so:devel/libplist \ libpng.so:graphics/png \ librtmp.so:multimedia/librtmp \ libsamplerate.so:audio/libsamplerate \ libshairport.so:audio/libshairport \ libsqlite3.so:databases/sqlite3 \ libtag.so:audio/taglib \ libtiff.so:graphics/tiff \ libtinyxml.so:textproc/tinyxml \ libva.so:multimedia/libva \ libvdpau.so:multimedia/libvdpau \ libvorbis.so:audio/libvorbis \ libxslt.so:textproc/libxslt \ libyajl.so:devel/yajl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \ glxinfo:graphics/mesa-demos \ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow \ xdpyinfo:x11/xdpyinfo BROKEN= Fails to build against libsamplerate-0.1.9 DEPRECATED= Broken for more than 6 months EXPIRATION_DATE= 2017-08-23 USE_GITHUB= yes GH_ACCOUNT= plexinc GH_PROJECT= plex-home-theater-public BUNDLE_LIBS= yes -USES= cmake:outsource execinfo iconv:wchar_t jpeg pkgconfig python:2 +USES= cmake:outsource iconv:wchar_t jpeg pkgconfig python:2 CMAKE_ARGS+= -DENABLE_AUTOUPDATE:BOOL=false CMAKE_ARGS+= -DENABLE_DUMP_SYMBOLS:BOOL=false CMAKE_ARGS+= -DENABLE_PYTHON:BOOL=false CMAKE_ARGS+= -DUSE_INTERNAL_FFMPEG:BOOL=true CMAKE_ARGS+= -DCREATE_BUNDLE:BOOL=false CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${LOCALBASE} CFLAGS+= -isystem${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_XORG= xt xmu xtst xrandr USE_GL= glu glew USE_SDL= image sdl mixer INSTALLS_ICONS= yes ONLY_FOR_ARCHS= i386 amd64 PLEX_ARCH_i386= x86 PLEX_ARCH_amd64=x86_64 SUB_FILES= ${PORTNAME}.sh pkg-message PLIST_SUB= ARCH=${PLEX_ARCH_${ARCH}} DESKTOP_ENTRIES="Plex Home Theater" \ "${COMMENT}" \ "${DATADIR}/media/plex-icon-120.png" \ "plexhometheater.sh" \ "AudioVideo;Video;" \ true OPTIONS_SUB= yes OPTIONS_DEFINE= CEC LIRC PULSEAUDIO CEC_DESC= Control plexhometheater over HDMI with TV remote OPTIONS_DEFAULT= CEC LIRC CEC_BUILD_DEPENDS= libcec>=3.0.0:multimedia/libcec CEC_LIB_DEPENDS= libcec.so:multimedia/libcec CEC_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_CEC:BOOL=true LIRC_RUN_DEPENDS= lircd:comms/lirc PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:BOOL=true post-patch: @${REINPLACE_CMD} 's/[[:<:]]ARCH[[:>:]]/FFMPEG_ARCH/' \ ${WRKSRC}/lib/ffmpeg/Makefile \ ${WRKSRC}/lib/ffmpeg/common.mak \ ${WRKSRC}/lib/ffmpeg/configure \ ${WRKSRC}/lib/ffmpeg/libavcodec/Makefile @${REINPLACE_CMD} 's/iconv_open/libiconv_open/' \ ${WRKSRC}/plex/CMakeModules/FindIconv.cmake @${REINPLACE_CMD} 's/COMMAND\ make/COMMAND\ gmake/g' \ ${WRKSRC}/lib/ffmpeg/CMakeLists.txt post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/*.so ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin .include Index: head/multimedia/tvheadend/Makefile =================================================================== --- head/multimedia/tvheadend/Makefile (revision 450350) +++ head/multimedia/tvheadend/Makefile (revision 450351) @@ -1,89 +1,89 @@ # Created by: Bernhard Froehlich # $FreeBSD$ PORTNAME= tvheadend PORTVERSION= 4.2.3 DISTVERSIONPREFIX= v CATEGORIES= multimedia MAINTAINER= decke@FreeBSD.org COMMENT= TV streaming server supporting DVB, IPTV, SAT>IP and more LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= bash:shells/bash \ cmake:devel/cmake \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libcurl.so:ftp/curl \ liburiparser.so:net/uriparser RUN_DEPENDS= dtv-scan-tables>=0:multimedia/dtv-scan-tables BROKEN_mips= fails to configure: No C compiler found BROKEN_mips64= fails to configure: No C compiler found BROKEN_powerpc64= fails to configure: No C compiler found -USES= execinfo gettext gmake pkgconfig python shebangfix ssl +USES= gettext gmake pkgconfig python shebangfix ssl USE_GITHUB= yes GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes USE_RC_SUBR= ${PORTNAME} SHEBANG_FILES= ${WRKSRC}/Autobuild.sh \ ${WRKSRC}/configure \ ${WRKSRC}/support/apt-update \ ${WRKSRC}/support/configure.inc \ ${WRKSRC}/support/getmuxlist \ ${WRKSRC}/support/version TVHUSER?= tvheadend TVHGROUP?= tvheadend USERS= ${TVHUSER} GROUPS= ${TVHGROUP} webcamd SUB_LIST+= TVHUSER="${TVHUSER}" \ TVHGROUP="${TVHGROUP}" CONFIGURE_ENV+= PLATFORM=freebsd CONFIGURE_ARGS+=--disable-dvbscan --disable-zlib --disable-hdhomerun_static \ --disable-bintray_cache --disable-ffmpeg_static --disable-pie CFLAGS+= -I${LOCALBASE}/include -Wno-conversion -Wno-int-to-pointer-cast LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo -lssl -lcrypto -lz OPTIONS_DEFINE= AVAHI DVBCSA HDHOMERUN INOTIFY TRANSCODING XMLTV OPTIONS_DEFAULT=DVBCSA HDHOMERUN INOTIFY AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app DVBCSA_DESC= Replace internal ffdecsa with dvbcsa DVBCSA_LIB_DEPENDS= libdvbcsa.so:multimedia/libdvbcsa DVBCSA_CONFIGURE_ENABLE= dvbcsa HDHOMERUN_DESC= Native support for HDHomeRun network tuners HDHOMERUN_LIB_DEPENDS= libhdhomerun.so:multimedia/libhdhomerun HDHOMERUN_CONFIGURE_ENABLE= hdhomerun_client INOTIFY_DESC= File system notifications support INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify INOTIFY_CONFIGURE_ENABLE= inotify INOTIFY_LDFLAGS= -linotify TRANSCODING_DESC= Transcoding for mobile and web clients TRANSCODING_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg TRANSCODING_CONFIGURE_ENABLE= libav XMLTV_RUN_DEPENDS= p5-xmltv>=0:textproc/p5-xmltv .include post-patch: @${REINPLACE_CMD} 's|-ldl||' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} 's|-Werror||' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/tvheadend .include Index: head/multimedia/vdr-plugin-markad/Makefile =================================================================== --- head/multimedia/vdr-plugin-markad/Makefile (revision 450350) +++ head/multimedia/vdr-plugin-markad/Makefile (revision 450351) @@ -1,54 +1,54 @@ # Created by: Juergen Lock # $FreeBSD$ PORTNAME= vdr-plugin-markad PORTVERSION= 0.1.4 PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= http://projects.vdr-developer.org/attachments/download/1041/ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - MarkAd plugin LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg RESTRICTED= Installs station logos -USES= execinfo pkgconfig tar:tgz +USES= pkgconfig tar:tgz WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION} VDR_PLUGIN_MAKEFILES= ${WRKSRC}/command/Makefile ${WRKSRC}/plugin/Makefile DEFINES= -DDATADIR=\\\"${DATADIR}\\\" -DPREFIX=\\\"${PREFIX}\\\" MAKE_ARGS= DATADIR=${DATADIR} FREEBSD=1 MAKE_ENV= DEFINES="${DEFINES}" PORTDOCS= README HISTORY PORTDATA= logos OPTIONS_DEFINE= DOCS NLS .include "${.CURDIR}/../vdr/Makefile.plugins" # for libexecinfo: (so that __builtin_frame_address() finds the top # of the stack) .if ${ARCH} == "amd64" CFLAGS+= -fno-omit-frame-pointer CPPFLAGS+= -fno-omit-frame-pointer .endif post-patch: post-patch-plugin @${LN} -s ../lib ../locale ${WRKSRC} pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: post-install-pluginlocales post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/multimedia/xine/Makefile =================================================================== --- head/multimedia/xine/Makefile (revision 450350) +++ head/multimedia/xine/Makefile (revision 450351) @@ -1,66 +1,66 @@ # $FreeBSD$ PORTNAME= xine PORTVERSION= 0.99.9 PORTREVISION= 5 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-ui/${PORTVERSION} DISTNAME= ${PORTNAME}-ui-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= X11 multimedia player LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ libxine.so:multimedia/libxine -USES= desktop-file-utils execinfo gmake iconv jpeg pkgconfig readline \ +USES= desktop-file-utils gmake iconv jpeg pkgconfig readline \ shared-mime-info tar:xz USE_XORG= x11 xext xinerama xscrnsaver xtst xv xxf86vm GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-vdr-keys \ --disable-nvtvsimple \ --disable-rpath MAKE_ENV= V=1 INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib DOCSDIR= ${PREFIX}/share/doc/xine-ui OPTIONS_DEFINE= AALIB CACA CURL DOCS LIRC NLS XFT OPTIONS_DEFAULT= CURL XFT OPTIONS_DEFINE_i386= WIN32_CODECS OPTIONS_SUB= yes AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_WITH= aalib CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_RUN_DEPENDS= ${LOCALBASE}/${XINE_PLUGINSDIR}/xineplug_vo_out_caca.so:multimedia/libxine CACA_CONFIGURE_WITH= caca CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= curl LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_ENV= LIRC_CFLAGS="-I${LOCALBASE}/include" \ LIRC_LIBS="-L${LOCALBASE}/libs -llirc_client" LIRC_CONFIGURE_ENABLE= lirc NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls WIN32_CODECS_DESC= Enable win32 codecs WIN32_CODECS_RUN_DEPENDS=\ win32-codecs>0:multimedia/win32-codecs XFT_USE= XORG=xft XFT_CONFIGURE_ENABLE= xft XINE_PLUGINSDIR= lib/xine/plugins/2.5 post-patch: @${REINPLACE_CMD} -e \ 's|||' ${WRKSRC}/src/aaui/main.c @${REINPLACE_CMD} -e \ 's|<\(readline.h\)>|| ; \ s|<\(history.h\)>||' ${WRKSRC}/src/xitk/network.c .include Index: head/net/Sockets/Makefile =================================================================== --- head/net/Sockets/Makefile (revision 450350) +++ head/net/Sockets/Makefile (revision 450351) @@ -1,38 +1,31 @@ # Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ PORTNAME= Sockets PORTVERSION= 2.3.9.9 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.alhem.net/Sockets/ \ http://www.netfence.it/Sockets/ MAINTAINER= ml@netfence.it COMMENT= C++ wrapper for BSD-style sockets -#execinfo is optional and currently not configured (would need to patch source's #ifdef LINUX) -#LIB_DEPENDS= execinfo.1:devel/libexecinfo - -#Not needed without execinfo or xml -#CFLAGS+= -I${LOCALBASE}/include -#LDFLAGS+= -L${LOCALBASE}/lib - USES+= gmake ssl USE_GNOME= libxml2 USE_LDCONFIG= yes CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} ALL_TARGET= all shared INSTALL_TARGET= install_shared post-patch: # PREFIX safeness @${CP} ${PATCHDIR}/Makefile.Defines.freebsd ${WRKSRC} @${REINPLACE_CMD} -E \ -e 's|linux-x86-32|freebsd|' \ -e 's|^PREFIX.+$$|PREFIX=${PREFIX}|' \ ${BUILD_WRKSRC}/${MAKEFILE} .include Index: head/net/asterisk11/Makefile =================================================================== --- head/net/asterisk11/Makefile (revision 450350) +++ head/net/asterisk11/Makefile (revision 450351) @@ -1,279 +1,278 @@ # $FreeBSD$ PORTNAME= asterisk PORTVERSION= 11.25.3 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ asterisk/old-releases/ \ sounds/releases/:g729 PKGNAMESUFFIX= 11 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= madpilot@FreeBSD.org COMMENT= Open Source PBX and telephony toolkit LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Asterisk 11.x will reach EOL on 2017-10-25. Please migrate to net/asterisk13 EXPIRATION_DATE=2017-10-25 EXTRACT_ONLY:= ${DISTNAME}${EXTRACT_SUFX} BROKEN_armv6= fails to configure: the SPANDSP installation appears to be missing or broken ONLY_FOR_ARCHS= amd64 armv6 i386 powerpc sparc64 USES= bison cpe gmake iconv localbase ncurses shebangfix \ sqlite ssl USE_CSTD= gnu89 USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= asterisk GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-ilbc=internal \ --with-crypto=${OPENSSLBASE} \ --with-ssl=${OPENSSLBASE} \ --with-libedit=internal CPE_VENDOR= digium SHEBANG_FILES= agi/agi-test.agi \ agi/jukebox.agi MAKE_ENV= PTHREAD_LIBS="-lpthread" \ MKDIR="${MKDIR}" \ PWLIBDIR=${LOCALBASE}/share/pwlib \ OSVERSION=${OSVERSION} \ DOCSDIR=${DOCSDIR} \ ASTCFLAGS="${CFLAGS}" \ ASTLDFLAGS="${LDFLAGS}" MAKE_ARGS+= NOISY_BUILD=yes \ ASTDATADIR=${DATADIR} CONFLICTS_BUILD= linuxthreads-* pjsip-* CONFLICTS_INSTALL= asterisk*-13* OPTIONS_DEFINE= BACKTRACE CURL EXCHANGE FREETDS LDAP LUA \ MP3PLAYER OOH323 OPTIMIZED_CFLAGS RADIUS SNMP SPANDSP SRTP \ SYSINFO UUID XMPP OPTIONS_DEFAULT= BACKTRACE CURL FREETDS GSM LUA MP3PLAYER \ NEWT MYSQL ODBC PGSQL RADIUS SNMP SPANDSP SPEEX \ SQLITE2 UUID VORBIS OPTIONS_DEFINE_i386= DAHDI OPTIONS_DEFINE_amd64= DAHDI OPTIONS_DEFINE_sparc64= DAHDI OPTIONS_DEFAULT_i386= DAHDI GCC XMPP OPTIONS_DEFAULT_amd64= DAHDI GCC XMPP OPTIONS_DEFAULT_sparc64= DAHDI GCC XMPP OPTIONS_DEFAULT_powerpc= GCC XMPP OPTIONS_DEFAULT_armv6= BASE OPTIONS_GROUP= CODECS OPTIONS_GROUP_CODECS= GSM NEWG711 SPEEX VORBIS CODECS_DESC= Encoder/Decoder (Codec) Support OPTIONS_SINGLE= COMPILER OPTIONS_SINGLE_COMPILER= BASE GCC COMPILER_DESC= Compiler to use OPTIONS_GROUP+= DATABASE OPTIONS_GROUP_DATABASE= MYSQL ODBC PGSQL SQLITE2 DATABASE_DESC= Database Support OPTIONS_MULTI= MENU OPTIONS_MULTI_MENU= NCURSES NEWT MENU_DESC= Menuselect Interface Backend NEWT_DESC= Newt User Interface OPTIONS_GROUP+= SOUNDS OPTIONS_GROUP_SOUNDS= G729 SOUNDS_DESC= Core and Music-on-Hold (MoH) Sound Files ASTERISK_CORE_G729_SOUNDS= asterisk-core-sounds-en-g729-1.5.tar.gz ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz G729_DESC= Install G.729 format sounds G729_DISTFILES= ${ASTERISK_CORE_G729_SOUNDS}:g729 \ ${ASTERISK_MOH_G729_SOUNDS}:g729 BACKTRACE_DESC= Stack backtrace support via (lib)execinfo BASE_DESC= Use base compiler (experimental) DAHDI_DESC= DAHDI support EXCHANGE_DESC= Exchange calendar support MP3PLAYER_DESC= Install MP3 Player for Music-On-Hold (mpg123) NEWG711_DESC= New G711 codec OOH323_DESC= ooh323 support SRTP_DESC= SecureRTP support SYSINFO_DESC= Use devel/libsysinfo to get system information UUID_DESC= libuuid support (required for ICE and TURN in RTP) XMPP_DESC= XMPP/GTALK support OPTIONS_SUB= yes BACKTRACE_CONFIGURE_WITH= execinfo -BACKTRACE_USES= execinfo CURL_CONFIGURE_ON= --with-libcurl CURL_CONFIGURE_OFF= --with-libcurl=no CURL_LIB_DEPENDS= libcurl.so:ftp/curl DAHDI_CONFIGURE_ON= --with-dahdi --with-openr2 DAHDI_CONFIGURE_OFF= --without-dahdi --without-openr2 DAHDI_LIB_DEPENDS= libpri.so:misc/libpri \ libopenr2.so:misc/openr2 \ libtonezone.so:misc/dahdi EXCHANGE_CONFIGURE_OFF= --without-neon --without-neon29 EXCHANGE_LIB_DEPENDS= libneon.so:www/neon FREETDS_CONFIGURE_ON= --with-tds=${LOCALBASE} FREETDS_CONFIGURE_OFF= --without-tds FREETDS_LIB_DEPENDS= libsybdb.so:databases/freetds GCC_USE= GCC=yes GSM_CONFIGURE_WITH= gsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes LUA_CONFIGURE_WITH= lua LUA_USES= lua:51 LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} MYSQL_CONFIGURE_WITH= mysqlclient MYSQL_USES= mysql MP3PLAYER_RUN_DEPENDS= mpg123:audio/mpg123 NCURSES_USES= ncurses NEWT_LIB_DEPENDS= libnewt.so:devel/newt ODBC_CONFIGURE_WITH= unixodbc ODBC_CONFIGURE_ON= --with-ltdl ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC \ libltdl.so:devel/libltdl OOH323_CPPFLAGS= -I${LOCALBASE}/include/openh323 OOH323_LIB_DEPENDS= libpt_r.so:devel/pwlib \ libh323_r.so:net/openh323 OOH323_MAKE_ENV= OPENH323DIR=${LOCALBASE}/share/openh323 PGSQL_CONFIGURE_WITH= postgres PGSQL_USES= pgsql RADIUS_CONFIGURE_WITH= radius RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient SNMP_CONFIGURE_WITH= netsnmp SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp SPANDSP_CONFIGURE_WITH= spandsp SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp SPEEX_CONFIGURE_WITH= speex SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SQLITE2_CONFIGURE_WITH= sqlite SQLITE2_LIB_DEPENDS= libsqlite.so:databases/sqlite2 SRTP_CONFIGURE_WITH= srtp SRTP_BUILD_DEPENDS= libsrtp>=1.4.4:net/libsrtp SYSINFO_LIB_DEPENDS= libsysinfo.so:devel/libsysinfo UUID_LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid UUID_CONFIGURE_ON= --with-uuid=${LOCALBASE} UUID_CONFIGURE_OFF= --disable-uuid UUID_CONFLICTS= ossp-uuid-[0-9]* VORBIS_CONFIGURE_WITH= ogg VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis XMPP_CONFIGURE_WITH= iksemel XMPP_LIB_DEPENDS= libiksemel.so:textproc/iksemel ASTERISK_USER?= asterisk ASTERISK_GROUP?= asterisk USERS= ${ASTERISK_USER} GROUPS= ${ASTERISK_GROUP} dahdi .include .if ${PREFIX} == ${LOCALBASE} VARDIR=/var .else VARDIR=${PREFIX}/var .endif SUB_LIST+= ASTERISK_USER=${ASTERISK_USER} PLIST_SUB+= ASTERISK_USER=${ASTERISK_USER} \ ASTERISK_GROUP=${ASTERISK_GROUP} \ VARDIR=${VARDIR} post-extract: @${FIND} ${WRKSRC} -name '*.d' -delete post-extract-G729-on: ${CP} ${DISTDIR}/${ASTERISK_CORE_G729_SOUNDS} ${WRKSRC}/sounds ${CP} ${DISTDIR}/${ASTERISK_MOH_G729_SOUNDS} ${WRKSRC}/sounds post-patch: @${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample @${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure .if exists(${FILESDIR}/.asterisk.makeopts) ${CP} ${FILESDIR}/.asterisk.makeopts ${WRKSRC}/menuselect.makeopts .endif post-patch-SYSINFO-on: @${REINPLACE_CMD} -e 's/%%LIBSYSINFO%%/-lsysinfo/' ${WRKSRC}/main/Makefile post-patch-SYSINFO-off: @${REINPLACE_CMD} -e '/#define HAVE_SYSINFO 1/d' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/%%LIBSYSINFO%%/d' ${WRKSRC}/main/Makefile post-configure: @cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_mgcp menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable res_pktccops menuselect.makeopts post-configure-MYSQL-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable cdr_mysql menuselect.makeopts post-configure-OOH323-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_ooh323 menuselect.makeopts post-configure-NEWG711-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable G711_NEW_ALGORITHM menuselect.makeopts post-configure-OPTIMIZED_CFLAGS-off: @cd ${WRKSRC} && ./menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts pre-build: @${MKDIR} ${WRKSRC}/res/pjproject/pjnath/lib ${WRKSRC}/res/pjproject/pjlib-util/lib \ ${WRKSRC}/res/pjproject/pjlib/lib post-install: @${RM} ${STAGEDIR}${ETCDIR}/*.conf ${STAGEDIR}${ETCDIR}/extensions.ael ${STAGEDIR}${ETCDIR}/extensions.lua ${FIND} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules -type f -name '*.so' | ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/sounds -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/moh -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} (cd ${STAGEDIR} && \ ${ECHO} "@owner ${ASTERISK_USER}" >> ${TMPPLIST} && \ ${ECHO} "@group ${ASTERISK_GROUP}" >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/default -type f | ${SED} "s,^,/," >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/ -type d | ${SED} "s,^,@dir /," >> ${TMPPLIST} && \ ${ECHO} "@owner" >> ${TMPPLIST} && \ ${ECHO} "@group" >> ${TMPPLIST}); .include Index: head/net/asterisk13/Makefile =================================================================== --- head/net/asterisk13/Makefile (revision 450350) +++ head/net/asterisk13/Makefile (revision 450351) @@ -1,302 +1,301 @@ # $FreeBSD$ PORTNAME= asterisk PORTVERSION= 13.17.2 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ asterisk/old-releases/ \ sounds/releases/:g729 PKGNAMESUFFIX= 13 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= madpilot@FreeBSD.org COMMENT= Open Source PBX and telephony toolkit LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \ libjansson.so:devel/jansson BROKEN_armv6= fails to configure: the SPANDSP installation appears to be missing or broken ONLY_FOR_ARCHS= amd64 armv6 i386 powerpc sparc64 EXTRACT_ONLY:= ${DISTNAME}${EXTRACT_SUFX} USES= bison cpe gmake iconv libedit localbase \ shebangfix sqlite ssl ncurses USE_CSTD= gnu89 USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= asterisk GNU_CONFIGURE= yes CONFIGURE_ARGS+= --datarootdir=${DATADIR} \ --with-ilbc=internal \ --with-crypto=${OPENSSLBASE} \ --with-ssl=${OPENSSLBASE} CPE_VENDOR= digium SHEBANG_FILES= agi/agi-test.agi \ agi/jukebox.agi \ contrib/scripts/astversion MAKE_ENV= PTHREAD_LIBS="-lpthread" \ MKDIR="${MKDIR}" \ PWLIBDIR=${LOCALBASE}/share/pwlib \ OSVERSION=${OSVERSION} \ DOCSDIR=${DOCSDIR} \ ASTCFLAGS="${CFLAGS}" \ ASTLDFLAGS="${LDFLAGS}" MAKE_ARGS+= NOISY_BUILD=yes \ ASTDATADIR=${DATADIR} CONFLICTS= ossp-uuid-[0-9]* CONFLICTS_BUILD= linuxthreads-* CONFLICTS_INSTALL= asterisk*-1.8* asterisk*-11* OPTIONS_DEFINE= ASTVERSION BACKTRACE CURL EXCHANGE FREETDS LDAP LUA \ MP3PLAYER OOH323 OPTIMIZED_CFLAGS PJSIP PORTAUDIO RADIUS SNMP \ SPANDSP SRTP SYSINFO XMPP OPTIONS_DEFAULT= CURL FREETDS GSM LUA MP3PLAYER NEWT ODBC MYSQL PGSQL PJSIP \ PORTAUDIO RADIUS SNMP SPANDSP SPEEX SQLITE2 VORBIS OPTIONS_DEFINE_i386= DAHDI OPTIONS_DEFINE_amd64= DAHDI OPTIONS_DEFINE_sparc64= DAHDI OPTIONS_DEFAULT_i386= DAHDI BASE XMPP OPTIONS_DEFAULT_amd64= DAHDI BASE XMPP OPTIONS_DEFAULT_sparc64= DAHDI GCC XMPP OPTIONS_DEFAULT_powerpc= GCC XMPP OPTIONS_DEFAULT_armv6= BASE OPTIONS_GROUP= CODECS OPTIONS_GROUP_CODECS= GSM NEWG711 SPEEX VORBIS CODECS_DESC= Encoder/Decoder (Codec) Support OPTIONS_SINGLE= COMPILER OPTIONS_SINGLE_COMPILER= BASE GCC COMPILER_DESC= Compiler to use OPTIONS_GROUP+= DATABASE OPTIONS_GROUP_DATABASE= MYSQL ODBC PGSQL SQLITE2 DATABASE_DESC= Database Support OPTIONS_MULTI= MENU OPTIONS_MULTI_MENU= NCURSES NEWT MENU_DESC= Menuselect Interface Backend NEWT_DESC= Newt User Interface OPTIONS_GROUP+= SOUNDS OPTIONS_GROUP_SOUNDS= G729 SOUNDS_DESC= Core and Music-on-Hold (MoH) Sound Files G729_DESC= Install G.729 format sounds ASTERISK_CORE_G729_SOUNDS= asterisk-core-sounds-en-g729-1.5.tar.gz ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz G729_DISTFILES= ${ASTERISK_CORE_G729_SOUNDS}:g729 \ ${ASTERISK_MOH_G729_SOUNDS}:g729 ASTVERSION_DESC?= Install astversion (requires bash) BACKTRACE_DESC?= Stack backtrace support via (lib)execinfo BASE_DESC= Use base compiler (experimental) DAHDI_DESC?= DAHDI support EXCHANGE_DESC?= Exchange calendar support MP3PLAYER_DESC= Install MP3 Player for Music-On-Hold (mpg123) NEWG711_DESC?= New G711 Codec OOH323_DESC?= ooh323 support PJSIP_DESC?= Build the PJSIP based SIP channel SRTP_DESC?= SecureRTP support SYSINFO_DESC?= Use devel/libsysinfo to get system information XMPP_DESC?= XMPP/GTALK support OPTIONS_SUB= yes ASTVERSION_RUN_DEPENDS= bash:shells/bash BACKTRACE_CONFIGURE_WITH= execinfo -BACKTRACE_USES= execinfo CURL_CONFIGURE_ON= --with-libcurl CURL_CONFIGURE_OFF= --with-libcurl=no CURL_LIB_DEPENDS= libcurl.so:ftp/curl DAHDI_CONFIGURE_ON= --with-dahdi --with-openr2 DAHDI_CONFIGURE_OFF= --without-dahdi --without-openr2 DAHDI_LIB_DEPENDS= libpri.so:misc/libpri \ libopenr2.so:misc/openr2 \ libtonezone.so:misc/dahdi EXCHANGE_CONFIGURE_OFF= --without-neon --without-neon29 EXCHANGE_LIB_DEPENDS= libneon.so:www/neon FREETDS_CONFIGURE_ON= --with-tds=${LOCALBASE} FREETDS_CONFIGURE_OFF= --without-tds FREETDS_LIB_DEPENDS= libsybdb.so:databases/freetds GCC_USE= GCC=yes GSM_CONFIGURE_WITH= gsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes LUA_CONFIGURE_WITH= lua LUA_USES= lua:51 LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} MYSQL_CONFIGURE_WITH= mysqlclient MYSQL_USES= mysql MP3PLAYER_RUN_DEPENDS= mpg123:audio/mpg123 NCURSES_USES= ncurses NEWT_LIB_DEPENDS= libnewt.so:devel/newt ODBC_CONFIGURE_WITH= unixodbc ODBC_CONFIGURE_ON= --with-ltdl ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC \ libltdl.so:devel/libltdl OOH323_CPPFLAGS= -I${LOCALBASE}/include/openh323 OOH323_LIB_DEPENDS= libpt_r.so:devel/pwlib \ libh323_r.so:net/openh323 OOH323_MAKE_ENV= OPENH323DIR=${LOCALBASE}/share/openh323 PGSQL_CONFIGURE_WITH= postgres PGSQL_USES= pgsql PJSIP_CONFIGURE_WITH= pjproject PJSIP_USES= pkgconfig PJSIP_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp PORTAUDIO_CONFIGURE_WITH= portaudio PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio RADIUS_CONFIGURE_WITH= radius RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient SNMP_CONFIGURE_WITH= netsnmp SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libpkg.so:ports-mgmt/pkg SPANDSP_CONFIGURE_WITH= spandsp SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp \ libtiff.so:graphics/tiff SPEEX_CONFIGURE_WITH= speex SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp SQLITE2_CONFIGURE_WITH= sqlite SQLITE2_LIB_DEPENDS= libsqlite.so:databases/sqlite2 SRTP_CONFIGURE_WITH= srtp SYSINFO_LIB_DEPENDS= libsysinfo.so:devel/libsysinfo VORBIS_CONFIGURE_WITH= ogg VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg XMPP_CONFIGURE_WITH= iksemel XMPP_LIB_DEPENDS= libiksemel.so:textproc/iksemel ASTERISK_USER?= asterisk ASTERISK_GROUP?= asterisk USERS= ${ASTERISK_USER} GROUPS= ${ASTERISK_GROUP} dahdi .include .if ${PORT_OPTIONS:MPJSIP} && ${PORT_OPTIONS:MSRTP} LIB_DEPENDS+= libpj.so:net/pjsip-extsrtp .elif ${PORT_OPTIONS:MPJSIP} && ! ${PORT_OPTIONS:MSRTP} LIB_DEPENDS+= libpj.so:net/pjsip .elif ! ${PORT_OPTIONS:MPJSIP} && ${PORT_OPTIONS:MSRTP} LIB_DEPENDS+= libsrtp.so:net/libsrtp .endif .include .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no \ ac_cv_lib_iconv_libiconv_open=no .endif .if ${PREFIX} == ${LOCALBASE} VARDIR=/var .else VARDIR=${PREFIX}/var .endif SUB_LIST+= ASTERISK_USER=${ASTERISK_USER} PLIST_SUB+= ASTERISK_USER=${ASTERISK_USER} \ ASTERISK_GROUP=${ASTERISK_GROUP} \ VARDIR=${VARDIR} post-extract: @${FIND} ${WRKSRC} -name '*.d' -delete post-extract-G729-on: ${CP} ${DISTDIR}/${ASTERISK_CORE_G729_SOUNDS} ${WRKSRC}/sounds ${CP} ${DISTDIR}/${ASTERISK_MOH_G729_SOUNDS} ${WRKSRC}/sounds post-patch: @${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/samples/musiconhold.conf.sample .if exists(${FILESDIR}/.asterisk.makeopts) ${CP} ${FILESDIR}/.asterisk.makeopts ${WRKSRC}/menuselect.makeopts .endif post-patch-SYSINFO-on: @${REINPLACE_CMD} -e 's/%%LIBSYSINFO%%/-lsysinfo/' ${WRKSRC}/main/Makefile post-patch-SYSINFO-off: @${REINPLACE_CMD} -e '/#define HAVE_SYSINFO 1/d' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/%%LIBSYSINFO%%/d' ${WRKSRC}/main/Makefile post-configure: @cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_mgcp menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable res_pktccops menuselect.makeopts post-configure-MYSQL-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts @cd ${WRKSRC} && ./menuselect/menuselect --enable cdr_mysql menuselect.makeopts post-configure-OOH323-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable chan_ooh323 menuselect.makeopts post-configure-NEWG711-on: @cd ${WRKSRC} && ./menuselect/menuselect --enable G711_NEW_ALGORITHM menuselect.makeopts post-configure-OPTIMIZED_CFLAGS-off: @cd ${WRKSRC} && ./menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts post-install: @${RM} ${STAGEDIR}${ETCDIR}/*.conf ${STAGEDIR}${ETCDIR}/extensions.ael ${STAGEDIR}${ETCDIR}/extensions.lua @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ast[a-f]* ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/*.so ${STAGEDIR}${DATADIR}/agi-bin/eagi-* ${FIND} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules -type f -name '*.so' | ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/sounds -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} ${FIND} ${STAGEDIR}${DATADIR}/moh -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST} (cd ${STAGEDIR} && \ ${ECHO} "@owner ${ASTERISK_USER}" >> ${TMPPLIST} && \ ${ECHO} "@group ${ASTERISK_GROUP}" >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/default -type f | ${SED} "s,^,/," >> ${TMPPLIST} && \ ${FIND} var/spool/${PORTNAME}/voicemail/ -type d | ${SED} "s,^,@dir /," >> ${TMPPLIST} && \ ${ECHO} "@owner" >> ${TMPPLIST} && \ ${ECHO} "@group" >> ${TMPPLIST}); post-install-ASTVERSION-off: @${RM} ${STAGEDIR}${PREFIX}/sbin/astversion .include Index: head/net/crtmpserver/Makefile =================================================================== --- head/net/crtmpserver/Makefile (revision 450350) +++ head/net/crtmpserver/Makefile (revision 450351) @@ -1,45 +1,45 @@ # Created by: shiretu # $FreeBSD$ PORTNAME= crtmpserver PORTVERSION= 0.811 PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://rtmpd.com/assets/sources/ MAINTAINER= support@rtmpd.com COMMENT= C++ RTSP/RTMP/MPEG-TS Server LICENSE= GPLv3 MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes -USES= cmake:outsource execinfo lua ssl +USES= cmake:outsource lua ssl CMAKE_SOURCE_PATH= ${WRKSRC}/builders/cmake CMAKE_ARGS= -DCRTMPSERVER_INSTALL_PREFIX:STRING=${PREFIX} -DTEMP_FRAMEWORK_VER=${PORTVERSION} USERS= crtmpserver GROUPS= crtmpserver USE_RC_SUBR= crtmpserver .include post-patch: @${REINPLACE_CMD} -e "s,/usr/local/include/lua51,${LUA_INCDIR},g" \ -e "s,lua$$,lua-${LUA_VER},g" \ ${WRKSRC}/builders/cmake/cmake_find_modules/Find_lua.cmake .if (${OSVERSION} >= 1100028) || (${OSVERSION} >= 1001505 && ${OSVERSION} < 1100000) @${REINPLACE_CMD} '/NOTE_USECONDS/d' ${WRKSRC}/sources/common/include/platform/freebsd/freebsdplatform.h @${REINPLACE_CMD} 's, -Werror,,' ${WRKSRC}/builders/cmake/CMakeLists.txt .endif pre-install: @${SH} ${WRKSRC}/fixConfFile.sh "${WRKSRC}/builders/cmake/crtmpserver/crtmpserver.lua" "${PREFIX}" "${WRKSRC}" @${SH} ${WRKSRC}/fixConfFile.sh "${WRKSRC}/builders/cmake/crtmpserver/all.debug.lua" "${PREFIX}" "${WRKSRC}" post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/var/log/crtmpserver @${MKDIR} ${STAGEDIR}${PREFIX}/var/crtmpserver/media .include Index: head/net/dpdk/Makefile =================================================================== --- head/net/dpdk/Makefile (revision 450350) +++ head/net/dpdk/Makefile (revision 450351) @@ -1,78 +1,73 @@ # $FreeBSD$ PORTNAME= dpdk PORTVERSION= 16.07 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.dpdk.org/browse/dpdk/snapshot/ MAINTAINER= bruce.richardson@intel.com COMMENT= DPDK: Software libraries for packet processing LICENSE= BSD3CLAUSE -USES= execinfo gmake kmod +USES= gmake kmod MAKEFILE= GNUmakefile ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= Only works on 64-bit x86 hardware NO_PACKAGE= ignores cflags RTE_TARGET= x86_64-native-bsdapp-clang WRKBUILD= ${WRKSRC}/${RTE_TARGET} MAKE_ENV= V=1 ALL_TARGET= install T=${RTE_TARGET} OPTIONS_DEFINE= DEBUG TOOLS OPTIONS_SUB= yes DEBUG_DESC= Debugging support (unoptimized build, impacts performance) TOOLS_DESC= Install tool scripts DEBUG_MAKE_ENV= EXTRA_CFLAGS='-O0 -g' TOOLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyelftools>=0:devel/py-pyelftools TOOLS_USES= python # build up the list of files in the compiled directory that should be executable EXEC_FILES= app/cmdline_test \ app/testpipeline \ app/testpmd \ app/testacl \ app/test - -post-patch: - @${REINPLACE_CMD} -e 's|%%EXECINFO_CPPFLAGS%%|${EXECINFO_CPPFLAGS}|g' \ - -e 's|%%EXECINFO_LDFLAGS%%|${EXECINFO_LDFLAGS}|g' \ - ${WRKSRC}/mk/exec-env/bsdapp/rte.vars.mk do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/${RTE_TARGET}/app \ ${STAGEDIR}${DATADIR}/${RTE_TARGET}/lib \ ${STAGEDIR}${DATADIR}/${RTE_TARGET}/include/generic \ ${STAGEDIR}${DATADIR}/${RTE_TARGET}/include/exec-env cd ${WRKSRC} && ${COPYTREE_SHARE} mk ${STAGEDIR}${DATADIR} \ && ${COPYTREE_SHARE} examples ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKBUILD}/.config ${STAGEDIR}${DATADIR}/${RTE_TARGET} for f in ${EXEC_FILES} ; do \ ${INSTALL_PROGRAM} ${WRKBUILD}/$$f ${STAGEDIR}${DATADIR}/${RTE_TARGET}/app; \ done for f in ${WRKBUILD}/lib/* ; do \ ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/${RTE_TARGET}/lib ; \ done for f in ${WRKBUILD}/include/*.h ; do \ ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/${RTE_TARGET}/include ; \ done for f in ${WRKBUILD}/include/generic/*.h ; do \ ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/${RTE_TARGET}/include/generic ; \ done for f in ${WRKBUILD}/include/exec-env/*.h ; do \ ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/${RTE_TARGET}/include/exec-env ; \ done ${LN} -sf ${DATADIR}/${RTE_TARGET}/lib ${STAGEDIR}${PREFIX}/lib/dpdk ${LN} -sf ${DATADIR}/${RTE_TARGET}/include ${STAGEDIR}${PREFIX}/include/dpdk ${LN} -sf ${DATADIR}/examples ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_KLD} ${WRKBUILD}/kmod/* ${STAGEDIR}${KMODDIR} do-install-TOOLS-on: @${MKDIR} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/tools/dpdk-pmdinfo.py ${STAGEDIR}${PREFIX}/bin/ .include Index: head/net/dpdk/files/patch-mk_exec-env_bsdapp_rte.vars.mk =================================================================== --- head/net/dpdk/files/patch-mk_exec-env_bsdapp_rte.vars.mk (revision 450350) +++ head/net/dpdk/files/patch-mk_exec-env_bsdapp_rte.vars.mk (nonexistent) @@ -1,19 +0,0 @@ ---- mk/exec-env/bsdapp/rte.vars.mk.orig 2015-04-20 12:36:29 UTC -+++ mk/exec-env/bsdapp/rte.vars.mk -@@ -40,13 +40,13 @@ - # examples for RTE_EXEC_ENV: linuxapp, bsdapp - # - ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y) --EXECENV_CFLAGS = -pthread -fPIC -+EXECENV_CFLAGS = -pthread -fPIC %%EXECINFO_CPPFLAGS%% - else --EXECENV_CFLAGS = -pthread -+EXECENV_CFLAGS = -pthread %%EXECINFO_CPPFLAGS%% - endif - - EXECENV_LDFLAGS = --EXECENV_LDLIBS = -lexecinfo -+EXECENV_LDLIBS = -lexecinfo %%EXECINFO_LDFLAGS%% - EXECENV_ASFLAGS = - - ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y) Property changes on: head/net/dpdk/files/patch-mk_exec-env_bsdapp_rte.vars.mk ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/freerdp/Makefile =================================================================== --- head/net/freerdp/Makefile (revision 450350) +++ head/net/freerdp/Makefile (revision 450351) @@ -1,96 +1,96 @@ # Created by: Alexander Logvinov # $FreeBSD$ PORTNAME= freerdp DISTVERSION= 2.0.0-rc0 PORTREVISION= 1 CATEGORIES= net comms ipv6 MAINTAINER= kevans@FreeBSD.org COMMENT= Free implementation of Remote Desktop Protocol LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= FreeRDP GH_PROJECT= ${GH_ACCOUNT} -USES= alias cmake:outsource compiler:c++11-lib cpe execinfo gettext localbase pathfix pkgconfig ssl +USES= alias cmake:outsource compiler:c++11-lib cpe gettext localbase pathfix pkgconfig ssl USE_LDCONFIG= yes CPE_VENDOR= freerdp_project CMAKE_ARGS+= -DWITH_LIBSYSTEMD=OFF -DWITH_WAYLAND=OFF -DWITH_GSTREAMER_0_10=OFF ${CMAKE_ARGS_${ARCH}} CMAKE_ARGS_aarch64= -DWITH_NEON=ON CFLAGS_aarch64= -D__ARM_NEON__=__ARM_NEON # clang OPTIONS_DEFINE= ALSA CUPS FFMPEG GSTREAMER PULSEAUDIO X11 OPTIONS_DEFAULT= CUPS GSTREAMER X11 OPTIONS_SUB= yes OPTIONS_DEFINE_armv6= NEON OPTIONS_DEFINE_amd64= SSE OPTIONS_DEFINE_i386= SSE OPTIONS_DEFAULT_amd64= SSE ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= WITH_ALSA CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CMAKE_BOOL= WITH_CUPS FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER_1_0 GSTREAMER_USE= gnome=glib20 gstreamer1=yes xorg=x11,xextproto,xext,xrandr GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1 NEON_DESC= Enable Media Processing Engine instructions NEON_CMAKE_BOOL= WITH_NEON .if ! ${CFLAGS:M-march*} NEON_CFLAGS= -march=armv7-a .endif PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSE SSE_CMAKE_BOOL= WITH_SSE2 X11_DESC= Build FreeRDP X11 client X11_BUILD_DEPENDS= xmlto:textproc/xmlto X11_CMAKE_BOOL= WITH_X11 X11_CMAKE_OFF= -DWITH_XKBFILE=OFF X11_USE= xorg=x11,xkbfile,xcursor,xextproto,xv,xinerama,xext,xrandr,xi,xfixes,xrender .include .if ${OPSYS} == "FreeBSD" && ${ARCH} == "armv6" .if ${OSVERSION} < 1100500 || \ (${OSVERSION} >= 1100500 && ${OSVERSION} < 1100504) || \ (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200008) BROKEN= Fails to build on ARMv6 (libm bug). See: r305380 (HEAD), r305971 (stable/11) [\#199422, \#211965] \ Please update to a later (fixed) version. .endif .endif post-patch: @${REINPLACE_CMD} -e '/CMAKE_INSTALL_RPATH /d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's/OPENBSD/BSD/' \ ${WRKSRC}/winpr/CMakeLists.txt \ ${WRKSRC}/client/X11/CMakeLists.txt @${REINPLACE_CMD} -e 's/NetBSD__)/NetBSD__) || defined(__FreeBSD__)/' \ ${WRKSRC}/winpr/libwinpr/utils/trio/triodef.h @${RM} ${WRKSRC}/cmake/FindOpenSSL.cmake @${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/cmake|$${CMAKE_INSTALL_PREFIX}/share/cmake/Modules|' \ ${WRKSRC}/client/CMakeLists.txt \ ${WRKSRC}/winpr/CMakeLists.txt \ ${WRKSRC}/uwac/CMakeLists.txt \ ${WRKSRC}/server/CMakeLists.txt \ ${WRKSRC}/server/shadow/CMakeLists.txt \ ${WRKSRC}/libfreerdp/CMakeLists.txt .include Index: head/net/freerdp1/Makefile =================================================================== --- head/net/freerdp1/Makefile (revision 450350) +++ head/net/freerdp1/Makefile (revision 450351) @@ -1,108 +1,108 @@ # Created by: Alexander Logvinov # $FreeBSD$ PORTNAME= freerdp PORTVERSION= 1.2.0 PORTREVISION= 6 CATEGORIES= net comms ipv6 PKGNAMESUFFIX= 1 MAINTAINER= kevans@FreeBSD.org COMMENT= Free implementation of Remote Desktop Protocol LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= FreeRDP GH_PROJECT= ${GH_ACCOUNT} GH_TAGNAME= f5ff6e1 -USES= alias cmake:outsource compiler:c++11-lib cpe execinfo gettext localbase pathfix pkgconfig ssl +USES= alias cmake:outsource compiler:c++11-lib cpe gettext localbase pathfix pkgconfig ssl USE_LDCONFIG= yes CPE_VENDOR= freerdp_project CMAKE_ARGS+= -DWITH_LIBSYSTEMD=OFF -DWITH_WAYLAND=OFF -DWITH_GSTREAMER_0_10=OFF ${CMAKE_ARGS_${ARCH}} CMAKE_ARGS_aarch64= -DWITH_NEON=ON CFLAGS_aarch64= -D__ARM_NEON__=__ARM_NEON # clang OPTIONS_DEFINE= ALSA CUPS FFMPEG GSTREAMER PULSEAUDIO SSE X11 OPTIONS_DEFAULT= CUPS GSTREAMER X11 OPTIONS_SUB= yes OPTIONS_DEFINE_armv6= NEON OPTIONS_DEFINE_armv7= NEON OPTIONS_EXCLUDE_armv6= SSE OPTIONS_EXCLUDE_armv7= SSE ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= WITH_ALSA CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CMAKE_BOOL= WITH_CUPS FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER_1_0 GSTREAMER_USE= gnome=glib20 gstreamer1=yes xorg=x11,xextproto,xext,xrandr GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1 NEON_DESC= Enable Media Processing Engine instructions NEON_CMAKE_BOOL= WITH_NEON .if ! ${CFLAGS:M-march*} NEON_CFLAGS= -march=armv7-a .endif PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSE SSE_CMAKE_BOOL= WITH_SSE2 X11_DESC= Build FreeRDP X11 client X11_BUILD_DEPENDS= xmlto:textproc/xmlto X11_CMAKE_BOOL= WITH_X11 X11_CMAKE_OFF= -DWITH_XKBFILE=OFF X11_USE= xorg=x11,xkbfile,xcursor,xextproto,xv,xinerama,xext,xrandr,xi,xfixes,xrender .include .if ${OPSYS} == FreeBSD && (${ARCH} == armv6 || ${ARCH} == armv7) .if ${OSVERSION} < 1100500 || \ (${OSVERSION} >= 1100500 && ${OSVERSION} < 1100504) || \ (${OSVERSION} >= 1200000 && ${OSVERSION} < 1200008) BROKEN= Fails to build on ARMv6/7 (libm bug). See: r305380 (HEAD), r305971 (stable/11) [\#199422, \#211965] \ Please update to a later (fixed) version. .endif .endif post-patch: @${FIND} ${WRKSRC} -name 'CMakeLists.txt' | ${XARGS} \ ${REINPLACE_CMD} \ -e 's|list(APPEND $${MODULE_PREFIX}_LIBS freerdp)|list(APPEND $${MODULE_PREFIX}_LIBS freerdp1)|' \ -e 's|list(APPEND $${MODULE_PREFIX}_LIBS winpr)|list(APPEND $${MODULE_PREFIX}_LIBS winpr1)|' @${FIND} ${WRKSRC} -name 'CMakeLists.txt' | ${XARGS} \ ${REINPLACE_CMD} -E \ -e 's|freerdp winpr|freerdp1 winpr1|' \ -e 's|winpr freerdp|winpr1 freerdp1|' \ -e 's|-lwinpr|-lwinpr1|' \ -e 's|-lfreerdp|-lfreerdp1|' \ -e 's|^([[:blank:]]*)target_link_libraries\((.+) freerdp\)([[:blank:]]*)$$|\1target_link_libraries(\2 freerdp1)\3|' \ -e 's|^([[:blank:]]*)target_link_libraries\((.+) winpr\)([[:blank:]]*)$$|\1target_link_libraries(\2 winpr1)\3|' \ -e 's|^([[:blank:]]*)set\((.+) freerdp (.+) winpr\)([[:blank:]]*)$$|\1set(\2 freerdp1 \3 winpr1)\4|' \ -e 's|^([[:blank:]]*)set\((.+) winpr\)([[:blank:]]*)$$|\1set(\2 winpr1)\3|' @${REINPLACE_CMD} -e '/CMAKE_INSTALL_RPATH /d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' \ ${WRKSRC}/client/X11/CMakeLists.txt @${REINPLACE_CMD} -e 's/NetBSD__)/NetBSD__) || defined(__FreeBSD__)/' \ ${WRKSRC}/winpr/libwinpr/utils/trio/triodef.h @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/channels/drive/client/statvfs.c @${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/cmake|$${CMAKE_INSTALL_PREFIX}/share/cmake/Modules|' \ ${WRKSRC}/winpr/CMakeLists.txt \ ${WRKSRC}/CMakeLists.txt .include Index: head/net/mpich2/Makefile =================================================================== --- head/net/mpich2/Makefile (revision 450350) +++ head/net/mpich2/Makefile (revision 450351) @@ -1,191 +1,191 @@ # Created by: dbader@ece.unm.edu # $FreeBSD$ PORTNAME= mpich2 DISTVERSION= 1.5 PORTREVISION= 8 PORTEPOCH= 5 CATEGORIES= net java parallel MASTER_SITES= http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${DISTVERSION}/ DIST_SUBDIR= mpich MAINTAINER= thierry@FreeBSD.org COMMENT= Portable implementation of MPI-1 and MPI-2 LICENSE= MPICH LICENSE_NAME= MPICH LICENSE_FILE= ${WRKSRC}/COPYRIGHT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= bash:shells/bash RUN_DEPENDS= bash:shells/bash GNU_CONFIGURE= yes -USES= execinfo libtool:keepla localbase fortran perl5 \ +USES= libtool:keepla localbase fortran perl5 \ pkgconfig python USE_GCC= yes USE_LDCONFIG= yes USE_PERL5= build INSTALL_TARGET= install-strip OPTIONS_DEFINE_i386= JAVA OPTIONS_DEFINE_amd64= JAVA OPTIONS_DEFINE= SMPD X11 DOCS OPTIONS_DEFAULT_i386= JAVA OPTIONS_DEFAULT_amd64= JAVA OPTIONS_DEFAULT= X11 JAVA_DESC= build MPE Jumpshot-4 SMPD_DESC= use SMPD instead of MPD, for a mixed-OS cluster X11_DESC= build MPE graphics routines CONFIGURE_ARGS= --enable-romio --enable-shared \ --docdir="${DOCSDIR}" \ --with-python="${PYTHON_CMD}" CONFIGURE_ENV= FCFLAGS="${FFLAGS}" \ MPI_CFLAGS="-I${LOCALBASE}/include" \ PACKAGE="${PORTNAME}" \ PTHREAD_LIBS="-lpthread" .if ${FFLAGS} == "-O" FFLAGS= -O2 .endif LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lexecinfo MAKE_ENV= CCACHE_DISABLE=yes PACKAGE=${PORTNAME} NOCCACHE= yes CONFLICTS= lam-7.* mpd-[0-9]* mpiexec-0.* VERSO= 8.0.1 VERSOM= ${VERSO:R:R} PLIST_SUB= VER=${VERSO} VERM=${VERSOM} SUB_FILES= pkg-message THREAD2FIX= configure test/mpi/threads/comm/Makefile.in \ test/mpi/threads/pt2pt/Makefile.in \ src/mpe2/src/logging/configure \ src/mpi/romio/configure src/openpa/configure \ src/pm/hydra/configure LOCALBASE2FIX= src/mpe2/src/slog2sdk/trace_rlog/configure \ src/mpe2/src/slog2sdk/trace_sample/configure \ src/mpe2/src/graphics/configure STAGE2FIX= bin/mpicc bin/mpicxx bin/mpif77 bin/mpif90 \ etc/mpicc.conf etc/mpicxx.conf etc/mpif77.conf \ etc/mpif90.conf sbin/mpeuninstall DOC2PATCH= Makefile.in src/mpe2/sbin/mpeinstall.in \ src/openpa/Makefile.in src/mpi/romio/util/romioinstall.in CONFPFX2FIX1= src/pm/mpd/mpd.py CONFPFX2FIX2= doc/installguide/install.tex.vin \ src/pm/mpd/mpdroot.c BIN2STRIP= check_callstack clog2_join clog2_print clog2_repair .include .if ${PORT_OPTIONS:MDEBUG} MAKE_ENV+= VERBOSE=1 .endif .if ! ${PORT_OPTIONS:MJAVA} CONFIGURE_ARGS+= --without-java PLIST_SUB+= JAVA="@comment " PLX11= "@comment " .else .if ! ${PORT_OPTIONS:MX11} IGNORE= WITH_JAVA requires WITH_X11 .endif CONFIGURE_ARGS+= --with-java="${JAVA_HOME}" USE_JAVA= yes JAVA_VERSION= 1.6+ PLIST_SUB+= JAVA="" PLX11= "" BIN2STRIP+= rlog_check_timeorder rlog_print .endif #define WITH_RECV_TIMEOUT to be an appropriate value (>20 for slow machines), #in order to set a different default MPIEXEC_RECV_TIMEOUT .if defined(MAINTAINER_MODE) WITH_RECV_TIMEOUT?= 100 .else WITH_RECV_TIMEOUT?= 20 .endif .if ${PORT_OPTIONS:MSMPD} CONFIGURE_ARGS+= --with-pmi=smpd --with-pm=smpd PLIST_SUB+= PM_MPD="@comment " PM_SMPD="" .else CONFIGURE_ARGS+= --with-pmi=simple --with-pm=mpd PLIST_SUB+= PM_MPD="" PM_SMPD="@comment " BIN2STRIP+= mpdroot .endif .if ! ${PORT_OPTIONS:MX11} CONFIGURE_ARGS+= --disable-graphics PLIST_SUB+= X11="@comment " .else CONFIGURE_ARGS+= --x-includes=${LOCALBASE}/include --x-libraries==${LOCALBASE}/lib USE_XORG= x11 xt PLIST_SUB+= X11=${PLX11} .endif .include pre-configure: ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${LOCALBASE2FIX:S|^|${WRKSRC}/|} ${FIND} ${WRKSRC} -name configure | ${XARGS} \ ${REINPLACE_CMD} -e 's|doc/$${PACKAGE}|doc/${PORTNAME}|' .for fin in ${DOC2PATCH} . if ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's|%%PORTDOCS%%||' ${WRKSRC}/${fin} . else ${REINPLACE_CMD} -e 's|%%PORTDOCS%%|#|' ${WRKSRC}/${fin} . endif .endfor .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's|lib doc share|lib share|' \ ${WRKSRC}/src/mpe2/src/slog2sdk/sbin/install-package.in .endif ${REINPLACE_CMD} -e '/MPIEXEC_RECV_TIMEOUT/s|20,|${WITH_RECV_TIMEOUT},|' \ ${WRKSRC}/src/pm/mpd/mpiexec.py ${REINPLACE_CMD} -e 's|%%SRCDIR%%|${WRKSRC}|' ${WRKSRC}/${CONFIGURE_SCRIPT} .for cnf in ${CONFPFX2FIX1} ${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/${cnf} .endfor .for cnf in ${CONFPFX2FIX2} ${REINPLACE_CMD} -e 's|/etc/mpd.conf|${PREFIX}/etc/mpd.conf|' \ ${WRKSRC}/${cnf} .endfor post-install: (cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -d ${PREFIX} -f bin) (cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -d ${PREFIX} -f bin) @${ECHO_CMD} "MPD_SECRETWORD=change_on_install" > ${WRKDIR}/mpd.conf.dist ${INSTALL_DATA} ${WRKDIR}/mpd.conf.dist ${STAGEDIR}${PREFIX}/etc/ .for pg in ${STAGE2FIX} ${REINPLACE_CMD} -e '/${STAGEDIR:C|/|\/|g}/s|${STAGEDIR}||' \ ${STAGEDIR}${PREFIX}/${pg} ${RM} ${STAGEDIR}${PREFIX}/${pg}.bak .endfor .for pg in ${BIN2STRIP} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${pg} .endfor .if ${PORT_OPTIONS:MJAVA} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/trace_rlog/libTraceInput.so .endif .if defined(MAINTAINER_MODE) regression-test: install .if !exists(${HOME}/.mpd.conf) @${ECHO_CMD} "MPD_SECRETWORD=change_on_install" > ${HOME}/.mpd.conf ${CHMOD} go-r ${HOME}/.mpd.conf @${ECHO_MSG} "${HOME}/.mpd.conf has been generated - please change the secret word!" .endif @${ECHO_MSG} "Increase MPIEXEC_RECV_TIMEOUT if needed!" ${PREFIX}/bin/mpd & (cd ${WRKSRC} && \ PATH=${PATH}:${PREFIX}/bin VERBOSE=1 ${MAKE} testing) ${PREFIX}/bin/mpdallexit .endif .include Index: head/net/openmpi/Makefile =================================================================== --- head/net/openmpi/Makefile (revision 450350) +++ head/net/openmpi/Makefile (revision 450351) @@ -1,87 +1,87 @@ # $FreeBSD$ # TODO: # - etc/*.sample support PORTNAME= openmpi PORTVERSION= 1.10.7 PORTREVISION= 1 CATEGORIES= net parallel MASTER_SITES= http://www.open-mpi.org/software/ompi/v${PORTVERSION:R}/downloads/ MAINTAINER= danilo@FreeBSD.org COMMENT= High Performance Message Passing Library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libhwloc.so:devel/hwloc \ libltdl.so:devel/libltdl \ libevent.so:devel/libevent HAS_CONFIGURE= yes INSTALL_TARGET= install-strip # :keepla because port uses lt_dlopen -USES= execinfo fortran gmake libtool:keepla perl5 pkgconfig tar:bzip2 +USES= fortran gmake libtool:keepla perl5 pkgconfig tar:bzip2 USE_PERL5= build MPIBASE?= mpi MPIDIR?= ${MPIBASE}/${PKGBASE} PLIST_SUB+= MPIBASE=${MPIBASE} PLIST_SUB+= MPIDIR=${MPIDIR} CONFIGURE_ARGS+= --prefix=${PREFIX}/${MPIDIR} \ --mandir=${PREFIX}/${MPIDIR}/man \ --program-prefix= \ --with-hwloc=${LOCALBASE} \ --with-libltdl=${LOCALBASE} \ --enable-mpi-fortran=usempi \ --with-libevent=external \ --with-wrapper-ldflags=-Wl,-rpath=-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \ ompi_cv_fortran_ignore_tkr_data=0 LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= ${PREFIX}/${MPIDIR}/lib \ ${PREFIX}/${MPIDIR}/lib/openmpi MANPREFIX= ${PREFIX}/${MPIDIR} OPTIONS_DEFINE= IPV6 SLURM TORQUE VT TORQUE_DESC= Enable Torque support SLURM_DESC= Enable SLURM support VT_DESC= Enable VampirTrace support OPTIONS_DEFAULT= SLURM OPTIONS_SUB= yes IPV6_CONFIGURE_ENABLE= ipv6 TORQUE_CONFIGURE_ON= --with-tm=${LOCALBASE} TORQUE_CONFIGURE_OFF= --without-tm TORQUE_LIB_DEPENDS= libtorque.so:sysutils/torque TORQUE_PLIST_FILES= ${MPIDIR}/lib/openmpi/mca_plm_tm.so \ ${MPIDIR}/lib/openmpi/mca_plm_tm.la \ ${MPIDIR}/lib/openmpi/mca_ras_tm.la \ ${MPIDIR}/lib/openmpi/mca_ras_tm.so \ ${MPIDIR}/lib/openmpi/mca_ess_tm.so \ ${MPIDIR}/lib/openmpi/mca_ess_tm.la \ ${MPIDIR}/share/openmpi/help-plm-tm.txt \ ${MPIDIR}/share/openmpi/help-ras-tm.txt SLURM_CONFIGURE_WITH= slurm SLURM_LIB_DEPENDS= libslurm.so:sysutils/slurm-wlm SLURM_PLIST_FILES= ${MPIDIR}/lib/openmpi/mca_ess_slurm.la \ ${MPIDIR}/lib/openmpi/mca_ess_slurm.so \ ${MPIDIR}/lib/openmpi/mca_plm_slurm.la \ ${MPIDIR}/lib/openmpi/mca_plm_slurm.so \ ${MPIDIR}/lib/openmpi/mca_ras_slurm.la \ ${MPIDIR}/lib/openmpi/mca_ras_slurm.so \ ${MPIDIR}/share/openmpi/help-plm-slurm.txt \ ${MPIDIR}/share/openmpi/help-ras-slurm.txt VT_CONFIGURE_OFF= --enable-contrib-no-build=vt --disable-vt VT_USE= JAVA=yes BROKEN_sparc64= Does not compile on sparc64 .include Index: head/net/openmpi2/Makefile =================================================================== --- head/net/openmpi2/Makefile (revision 450350) +++ head/net/openmpi2/Makefile (revision 450351) @@ -1,99 +1,99 @@ # $FreeBSD$ PORTNAME= openmpi PORTVERSION= 2.1.1 PORTREVISION= 1 CATEGORIES= net parallel MASTER_SITES= http://www.open-mpi.org/software/ompi/v${PORTVERSION:R}/downloads/ PKGNAMESUFFIX= 2 MAINTAINER= danilo@FreeBSD.org COMMENT= High Performance Message Passing Library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libhwloc.so:devel/hwloc \ libltdl.so:devel/libltdl \ libevent.so:devel/libevent \ libmunge.so:security/munge BROKEN_armv6= fails to package: pkg-static: mca_patcher_overwrite.la: No such file or directory BROKEN_sparc64= fails to compile on sparc64 HAS_CONFIGURE= yes INSTALL_TARGET= install-strip # :keepla because port uses lt_dlopen -USES= execinfo fortran gmake libtool:keepla localbase perl5 \ +USES= fortran gmake libtool:keepla localbase perl5 \ pkgconfig tar:bzip2 USE_PERL5= build MPIBASE?= mpi MPIDIR?= ${MPIBASE}/${PKGBASE} PLIST_SUB+= MPIBASE=${MPIBASE} PLIST_SUB+= MPIDIR=${MPIDIR} CONFIGURE_ARGS+= --prefix=${PREFIX}/${MPIDIR} \ --mandir=${PREFIX}/${MPIDIR}/man \ --program-prefix= \ --with-hwloc=external \ --with-libltdl \ --enable-mpi-fortran=usempi \ --enable-mpi-cxx \ --enable-cxx-exceptions \ --enable-heterogeneous \ --enable-mpi-thread-multiple \ --with-libevent=external \ --with-wrapper-ldflags=-Wl,-rpath=-Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \ ompi_cv_fortran_ignore_tkr_data=0 USE_LDCONFIG= ${PREFIX}/${MPIDIR}/lib \ ${PREFIX}/${MPIDIR}/lib/openmpi MANPREFIX= ${PREFIX}/${MPIDIR} OPTIONS_DEFINE= DEBUG IPV6 SLURM TORQUE TORQUE_DESC= Enable Torque support SLURM_DESC= Enable SLURM support OPTIONS_DEFAULT= SLURM OPTIONS_SUB= yes DEBUG_CONFIGURE_ENABLE= debug IPV6_CONFIGURE_ENABLE= ipv6 TORQUE_CONFIGURE_WITH= tm TORQUE_LIB_DEPENDS= libtorque.so:sysutils/torque TORQUE_PLIST_FILES= ${MPIDIR}/lib/openmpi/mca_plm_tm.so \ ${MPIDIR}/lib/openmpi/mca_plm_tm.la \ ${MPIDIR}/lib/openmpi/mca_ras_tm.la \ ${MPIDIR}/lib/openmpi/mca_ras_tm.so \ ${MPIDIR}/lib/openmpi/mca_ess_tm.so \ ${MPIDIR}/lib/openmpi/mca_ess_tm.la \ ${MPIDIR}/share/openmpi/help-plm-tm.txt \ ${MPIDIR}/share/openmpi/help-ras-tm.txt SLURM_CONFIGURE_WITH= slurm SLURM_LIB_DEPENDS= libslurm.so:sysutils/slurm-wlm SLURM_PLIST_FILES= ${MPIDIR}/lib/openmpi/mca_ess_slurm.la \ ${MPIDIR}/lib/openmpi/mca_ess_slurm.so \ ${MPIDIR}/lib/openmpi/mca_plm_slurm.la \ ${MPIDIR}/lib/openmpi/mca_plm_slurm.so \ ${MPIDIR}/lib/openmpi/mca_ras_slurm.la \ ${MPIDIR}/lib/openmpi/mca_ras_slurm.so \ ${MPIDIR}/share/openmpi/help-plm-slurm.txt \ ${MPIDIR}/share/openmpi/help-ras-slurm.txt post-patch: @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/${MPIDIR}/libdata/pkgconfig|g' \ ${WRKSRC}/ompi/tools/wrappers/Makefile.am \ ${WRKSRC}/ompi/tools/wrappers/Makefile.in \ ${WRKSRC}/opal/tools/wrappers/Makefile.am \ ${WRKSRC}/opal/tools/wrappers/Makefile.in \ ${WRKSRC}/orte/tools/wrappers/Makefile.am \ ${WRKSRC}/orte/tools/wrappers/Makefile.in @${REINPLACE_CMD} 's|define MCA_hwloc_external_.*header "|&${LOCALBASE}/include/|' \ ${WRKSRC}/configure .include Index: head/net/yaz/Makefile =================================================================== --- head/net/yaz/Makefile (revision 450350) +++ head/net/yaz/Makefile (revision 450351) @@ -1,54 +1,54 @@ # Created by: Dmitry Sivachenko # $FreeBSD$ PORTNAME= yaz PORTVERSION= 5.21.1 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://ftp.indexdata.dk/pub/yaz/ MAINTAINER= ports@FreeBSD.org COMMENT= Z39.50/SR client and API library LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libicuuc.so:devel/icu \ libgnutls.so:security/gnutls -USES= execinfo iconv libtool ncurses pathfix pkgconfig readline \ +USES= iconv libtool ncurses pathfix pkgconfig readline \ shebangfix tcl SHEBANG_FILES= util/yaz-asncomp GNU_CONFIGURE= yes USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS= --enable-shared --with-iconv=${ICONV_PREFIX} \ --with-xml2=${LOCALBASE} --with-xslt=${LOCALBASE} \ --with-icu=${LOCALBASE} --enable-tcpd LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -lexecinfo PORTDOCS= * OPTIONS_DEFINE= DOCS MEMCACHED REDIS MEMCACHED_DESC= Memcached distributed cache system support MEMCACHED_CONFIGURE_WITH= memcached MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached REDIS_CONFIGURE_WITH= redis REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis post-patch: @${REINPLACE_CMD} 's|tclsh |tclsh8.6 |' ${WRKSRC}/configure post-configure: @${REINPLACE_CMD} -e 's,[$$]{datarootdir}/man,${PREFIX}/man,' \ ${WRKSRC}/doc/Makefile post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.* .include Index: head/net-im/telegram/Makefile =================================================================== --- head/net-im/telegram/Makefile (revision 450350) +++ head/net-im/telegram/Makefile (revision 450351) @@ -1,44 +1,44 @@ # Created by: gahr # $FreeBSD$ PORTNAME= telegram PORTVERSION= 1.4.1.g20161227 PORTREVISION= 3 CATEGORIES= net-im MAINTAINER= cpm@FreeBSD.org COMMENT= Command-line interface for Telegram LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libconfig.so:devel/libconfig \ libevent.so:devel/libevent \ libjansson.so:devel/jansson BROKEN_mips= Missing header BROKEN_mips64= Missing header BROKEN_powerpc64= Does not build: Assertion failed: (get_int () == TLS_SCHEMA_V2) -USES= execinfo gmake lua:52 ncurses pkgconfig readline ssl +USES= gmake lua:52 ncurses pkgconfig readline ssl GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= vysheng GH_PROJECT= tg tgl:tgl tl-parser:tlparser GH_TAGNAME= 6547c0b ffb04ca:tgl 36bf190:tlparser GH_SUBDIR= tgl:tgl tgl/tl-parser:tlparser PLIST_FILES= bin/telegram-cli \ etc/telegram-cli/server.pub PORTDOCS= * do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/telegram-cli ${INSTALL_PROGRAM} ${WRKSRC}/bin/telegram-cli ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/tg-server.pub ${STAGEDIR}${PREFIX}/etc/telegram-cli/server.pub @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGELOG README-LUA README.es README.md \ ${STAGEDIR}${DOCSDIR}) .include Index: head/net-im/telegram-purple/Makefile =================================================================== --- head/net-im/telegram-purple/Makefile (revision 450350) +++ head/net-im/telegram-purple/Makefile (revision 450351) @@ -1,42 +1,42 @@ # Created by: Kris Moore # $FreeBSD$ PORTNAME= telegram-purple PORTVERSION= 1.3.1 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= net-im MAINTAINER= kevlo@FreeBSD.org COMMENT= Libpurple plugin for Telegram messenger LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= pidgin:net-im/pidgin RUN_DEPENDS= pidgin:net-im/pidgin LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libwebp.so:graphics/webp BROKEN_armv6= fails to link: undefined reference to 'backtrace' BROKEN_sparc64= fails to compile: assertion fails OPTIONS_DEFINE= NLS OPTIONS_SUB= yes -USES= execinfo gettext gmake pkgconfig +USES= gettext gmake pkgconfig USE_GNOME= glib20 libxml2 GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib USE_GITHUB= yes GH_ACCOUNT= majn:DEFAULT,tgl vysheng:tlparser GH_PROJECT= tgl:tgl tl-parser:tlparser GH_TAGNAME?= 624cf5a:tgl 36bf190:tlparser GH_SUBDIR= tgl:tgl tgl/tl-parser:tlparser pre-configure: @${REINPLACE_CMD} -e 's|/etc/telegram-purple/server.tglpub|${PREFIX}/etc/telegram-purple/server.tglpub|g' \ ${WRKSRC}/telegram-purple.c .include Index: head/net-im/telepathy-idle/Makefile =================================================================== --- head/net-im/telepathy-idle/Makefile (revision 450350) +++ head/net-im/telepathy-idle/Makefile (revision 450351) @@ -1,35 +1,35 @@ # Created by: Florent Thoumie # $FreeBSD$ # $MCom: ports/trunk/net-im/telepathy-idle/Makefile 20041 2014-11-04 11:13:49Z kwm $ PORTNAME= telepathy-idle PORTVERSION= 0.2.0 PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/ MAINTAINER= gnome@FreeBSD.org COMMENT= IRC Connection Manager for Telepathy Framework LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libtelepathy-glib.so:net-im/telepathy-glib -USES= execinfo gmake libtool pathfix pkgconfig python:2,build ssl +USES= gmake libtool pathfix pkgconfig python:2,build ssl USE_GNOME= glib20 libxslt:build GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip .include .if ${SSL_DEFAULT} == base CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -lssl -lcrypto" OPENSSL_CFLAGS="-I/usr/include" .endif post-patch: @${REINPLACE_CMD} -e 's|strnlen(\([^,]*\), [^)]*)|strlen(\1)|' \ ${WRKSRC}/src/idle-connection.c \ ${WRKSRC}/src/idle-parser.c .include Index: head/net-mgmt/icinga2/Makefile =================================================================== --- head/net-mgmt/icinga2/Makefile (revision 450350) +++ head/net-mgmt/icinga2/Makefile (revision 450351) @@ -1,109 +1,109 @@ # $FreeBSD$ PORTNAME= icinga2 DISTVERSIONPREFIX= v DISTVERSION= 2.7.1 CATEGORIES= net-mgmt MAINTAINER= lme@FreeBSD.org COMMENT= Monitoring and management system for hosts, services and networks LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= does not build: Your version of GCC (4.2.1) is too old for building Icinga 2 (GCC >= 4.6.0) LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libyajl.so:devel/yajl RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash -USES= alias bison cmake execinfo libedit +USES= alias bison cmake libedit USE_GITHUB= yes GH_ACCOUNT= icinga USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} OPTIONS_DEFINE= DOCS OPTIONS_GROUP= BACKEND OPTIONS_GROUP_BACKEND= MYSQL PGSQL OPTIONS_RADIO= PLUGINS OPTIONS_RADIO_PLUGINS= MONPLUGINS NAGPLUGINS OPTIONS_DEFAULT= MYSQL PGSQL MONPLUGINS MONPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/monitoring-plugins NAGPLUGINS_RUN_DEPENDS= ${LOCALBASE}/libexec/nagios/check_nagios:net-mgmt/nagios-plugins MYSQL_CMAKE_ON= -DICINGA2_WITH_MYSQL:BOOL=true PGSQL_CMAKE_ON= -DICINGA2_WITH_PGSQL:BOOL=true ICINGA2USER?= icinga ICINGA2GROUP?= icinga USERS= ${ICINGA2USER} GROUPS= ${ICINGA2GROUP} LOCALSTATEDIR?= /var ICINGA2LOGDIR?= /var/log/${PORTNAME} CMAKE_ARGS+= -DICINGA2_USER=${ICINGA2USER} \ -DICINGA2_GROUP=${ICINGA2GROUP} \ -DICINGA2_COMMAND_USER=${ICINGA2USER} \ -DICINGA2_COMMAND_GROUP=${ICINGA2USER} \ -DICINGA2_PLUGINDIR=${LOCALBASE}/libexec/nagios \ -DICINGA2_RUNDIR=/var/run \ -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/etc \ -DCMAKE_INSTALL_LOCALSTATEDIR=${LOCALSTATEDIR} \ -DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man \ -DCMAKE_EXE_LINKER_FLAGS=${PREFIX}/lib/icinga2 \ -DCMAKE_MODULE_LINKER_FLAGS=${PREFIX}/lib/icinga2 \ -DCMAKE_SHARED_LINKER_FLAGS=${PREFIX}/lib/icinga2 \ -DCMAKE_STATIC_LINKER_FLAGS=${PREFIX}/lib/icinga2 SUB_LIST= ICINGA2LOGDIR=${ICINGA2LOGDIR} \ ICINGA2USER=${ICINGA2USER} \ ICINGA2GROUP=${ICINGA2GROUP} \ WWWGRP=${WWWGRP} PLIST_SUB= ICINGA2USER=${ICINGA2USER} \ ICINGA2GROUP=${ICINGA2GROUP} \ WWWGRP=${WWWGRP} SUB_FILES= pkg-message ${PORTNAME}-newsyslog # Config files with references to "Linux" LINUX_CONFIG= groups.conf services.conf hosts.conf MYSQL_USES= mysql PGSQL_USES= pgsql OPTIONS_SUB= yes .include .if ! ${PORT_OPTIONS:MMYSQL} && ! ${PORT_OPTIONS:MPGSQL} PLIST_SUB+= DBBACKEND="@comment " .else PLIST_SUB+= DBBACKEND="" .endif post-patch: .for f in ${LINUX_CONFIG} ${REINPLACE_CMD} 's,[Ll]inux,FreeBSD,g' ${WRKSRC}/etc/icinga2/conf.d/${f} .endfor pre-install: ${FIND} ${WRKSRC}/etc -type f -name "*.conf" -exec ${MV} {} {}.sample \; ${FIND} ${WRKSRC}/etc/icinga2/scripts -type f -name "*.sh" \ -exec ${MV} {} {}.sample \; post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/newsyslog/ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-newsyslog ${STAGEDIR}${EXAMPLESDIR}/newsyslog/${PORTNAME} ${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles (cd ${WRKSRC}/tools/syntax/vim && ${COPYTREE_SHARE} . \ ${STAGEDIR}${PREFIX}/share/vim/vimfiles) .include Index: head/net-mgmt/zabbix2-server/Makefile =================================================================== --- head/net-mgmt/zabbix2-server/Makefile (revision 450350) +++ head/net-mgmt/zabbix2-server/Makefile (revision 450351) @@ -1,159 +1,154 @@ # Created by: Jim Riggs # $FreeBSD$ PORTNAME= zabbix2 PORTVERSION= 2.0.20 PORTREVISION?= 0 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server DISTNAME= zabbix-${PORTVERSION} MAINTAINER= pg@pakhom.spb.ru COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LICENSE= GPLv2 LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libpkg.so:ports-mgmt/pkg CONFLICTS= zabbix[0-9][0-9]${PKGNAMESUFFIX} zabbix[0-13-9]${PKGNAMESUFFIX} ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings .if ${ZABBIX_BUILD} != "agent" USE_RC_SUBR= zabbix_${ZABBIX_BUILD} .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USES= pkgconfig iconv ssl USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} != "proxy" PLIST_SUB= PROXY="@comment " .else PLIST_SUB= PROXY="" .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} ZABBIX_REQUIRE=${ZABBIX_REQUIRE} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --datadir=${ETCDIR} .if ${ZABBIX_BUILD} != "agent" -USES+= execinfo - -CPPFLAGS+= ${EXECINFO_CPPFLAGS} -LDFLAGS+= ${EXECINFO_LDFLAGS} - SUB_FILES= pkg-message CONFIGURE_ARGS+= --with-net-snmp OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW OPTIONS_DEFAULT= MYSQL FPING JABBER CURL UNIXODBC OPTIONS_SUB= yes CURL_DESC= Support for web monitoring FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks JABBER_DESC= Support for Jabber media type LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install nmap for o/s detection SSH_DESC= Support for SSH-based checks JAVAGW_DESC= Support for Java gateway ODBC_DESC= Support for database checks via ODBC OPTIONS_SINGLE= DB ODBC OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE OPTIONS_SINGLE_ODBC= IODBC UNIXODBC MYSQL_CONFIGURE_WITH= mysql MYSQL_USES= mysql PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES= pgsql SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES= sqlite:3 ORACLE_CONFIGURE_WITH= oracle CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi JABBER_CONFIGURE_WITH= jabber JABBER_LIB_DEPENDS= libiksemel.so:textproc/iksemel FPING_RUN_DEPENDS= fping:net/fping SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:security/libssh2 IODBC_CONFIGURE_WITH= iodbc IODBC_LIB_DEPENDS= libiodbc.so:databases/libiodbc UNIXODBC_CONFIGURE_WITH= unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC .endif # if ${ZABBIX_BUILD} != "agent" IPV6_CONFIGURE_ENABLE= ipv6 NMAP_RUN_DEPENDS= nmap:security/nmap \ sudo:security/sudo JAVAGW_CONFIGURE_ENABLE= java JAVAGW_USE= JAVA=yes .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' ${WRKSRC}/conf/zabbix_*.conf .if ${ZABBIX_BUILD} != "agent" .for d in mysql oracle postgresql sqlite3 @${REINPLACE_CMD} -e 's|/bin/ping|/sbin/ping|g; \ s|/usr/bin/traceroute|/usr/sbin/traceroute|g; \ s|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g;' \ ${WRKSRC}/database/${d}/data.sql .endfor .endif @${REINPLACE_CMD} -Ee 's|(@sysconfdir@/(\$$\([A-Z]*_CONFIG\)))" ([|][|] cp "../../conf/\$$\([A-Z]*_CONFIG\)" "\$$\(DESTDIR\)@sysconfdir@)"|\1.sample" \3/\2.sample"|;' \ ${WRKSRC}/src/zabbix_${ZABBIX_BUILD}/Makefile.in @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) -exec ${RM} {} + post-install: .if ${PORT_OPTIONS:MJAVAGW} @${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample .endif .if ${ZABBIX_BUILD} != "agent" @${MKDIR} "${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/database" @cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/upgrades/ @cd ${WRKSRC}/database/ && ${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/database/ .endif .endif # if ${ZABBIX_BUILD} != "frontend" .include Index: head/net-mgmt/zabbix22-server/Makefile =================================================================== --- head/net-mgmt/zabbix22-server/Makefile (revision 450350) +++ head/net-mgmt/zabbix22-server/Makefile (revision 450351) @@ -1,180 +1,175 @@ # Created by: Pakhom Golynga # $FreeBSD$ PORTNAME= zabbix22 PORTVERSION= 2.2.19 PORTREVISION?= 0 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server DISTNAME= zabbix-${PORTVERSION} MAINTAINER= pg@pakhom.spb.ru COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LTS LICENSE= GPLv2 LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp CONFLICTS= zabbix[0-13-9][0-13-9]${PKGNAMESUFFIX} zabbix[0-9]${PKGNAMESUFFIX} ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings .if ${ZABBIX_BUILD} != "agent" USE_RC_SUBR= zabbix_${ZABBIX_BUILD} .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USES= pkgconfig iconv USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} != "proxy" PLIST_SUB= PROXY="@comment " .else PLIST_SUB= PROXY="" .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} ZABBIX_REQUIRE=${ZABBIX_REQUIRE} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --datadir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} .if ${ZABBIX_BUILD} != "agent" -USES+= execinfo - -CPPFLAGS+= ${EXECINFO_CPPFLAGS} -LDFLAGS+= ${EXECINFO_LDFLAGS} - SUB_FILES= pkg-message CONFIGURE_ARGS+= --with-net-snmp OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW LIBXML2 OPTIONS_DEFAULT= MYSQL FPING JABBER CURL UNIXODBC OPTIONS_SUB= yes CURL_DESC= Support for web monitoring FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks JABBER_DESC= Support for Jabber media type LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install Nmap for OS detection SSH_DESC= Support for SSH-based checks ODBC_DESC= Support for database checks via ODBC JAVAGW_DESC= Support for Java gateway LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) OPTIONS_SINGLE= DB ODBC OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE OPTIONS_SINGLE_ODBC= IODBC UNIXODBC MYSQL_CONFIGURE_WITH= mysql MYSQL_USES+= mysql PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES+= pgsql SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES+= sqlite:3 ORACLE_CONFIGURE_WITH= oracle CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi JABBER_CONFIGURE_WITH= jabber JABBER_LIB_DEPENDS= libiksemel.so:textproc/iksemel FPING_RUN_DEPENDS= fping:net/fping SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:security/libssh2 IODBC_CONFIGURE_WITH= iodbc IODBC_LIB_DEPENDS= libiodbc.so:databases/libiodbc UNIXODBC_CONFIGURE_WITH= unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC .endif # if ${ZABBIX_BUILD} != "agent" IPV6_CONFIGURE_ENABLE= ipv6 NMAP_RUN_DEPENDS= nmap:security/nmap \ sudo:security/sudo JAVAGW_CONFIGURE_ENABLE= java JAVAGW_USE= JAVA=yes LIBXML2_CONFIGURE_WITH= libxml2 LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' ${WRKSRC}/conf/zabbix_*.conf .if ${ZABBIX_BUILD} != "agent" .if ! ${PORT_OPTIONS:MFPING} .endif .for d in mysql oracle postgresql sqlite3 @${REINPLACE_CMD} -e 's|/bin/ping|/sbin/ping|g; \ s|/usr/bin/traceroute|/usr/sbin/traceroute|g; \ s|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g;' \ ${WRKSRC}/database/${d}/data.sql .endfor .endif @${REINPLACE_CMD} -Ee 's|(@sysconfdir@/(\$$\([A-Z]*_CONFIG\)))" ([|][|] cp "../../conf/\$$\([A-Z]*_CONFIG\)" "\$$\(DESTDIR\)@sysconfdir@)"|\1.sample" \3/\2.sample"|;' \ ${WRKSRC}/src/zabbix_${ZABBIX_BUILD}/Makefile.in @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) -exec ${RM} {} + .if ${ZABBIX_BUILD} == "server" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_server.pid#PidFile=/var/run/zabbix/zabbix_server.pid#g' \ ${WRKSRC}/conf/zabbix_server*.conf .endif .if ${ZABBIX_BUILD} == "proxy" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_proxy.pid#PidFile=/var/run/zabbix/zabbix_proxy.pid#g' \ ${WRKSRC}/conf/zabbix_proxy*.conf .endif .if ${ZABBIX_BUILD} == "agent" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_agentd.pid#PidFile=/var/run/zabbix/zabbix_agentd.pid#g' \ ${WRKSRC}/conf/zabbix_agentd.conf .endif .if ${ZABBIX_BUILD} != "agent" ${MKDIR} "${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/database" cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/upgrades/ cd ${WRKSRC}/database/ && ${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD}/database/ .endif .endif post-install: .if ${PORT_OPTIONS:MJAVAGW} @${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample .endif .include Index: head/net-mgmt/zabbix3-server/Makefile =================================================================== --- head/net-mgmt/zabbix3-server/Makefile (revision 450350) +++ head/net-mgmt/zabbix3-server/Makefile (revision 450351) @@ -1,212 +1,211 @@ # Created by: Pakhom Golynga # $FreeBSD$ PORTNAME= zabbix3 PORTVERSION= 3.0.10 PORTREVISION?= 0 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server DISTNAME= zabbix-${PORTVERSION} MAINTAINER= pg@pakhom.spb.ru COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LTS LICENSE= GPLv2 CONFLICTS= zabbix[0-9][0-9]${PKGNAMESUFFIX} zabbix[0-24-9]${PKGNAMESUFFIX} IGNORE_WITH_MYSQL= 41 ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings .if ${ZABBIX_BUILD} != "agent" USE_RC_SUBR= zabbix_${ZABBIX_BUILD} .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USES= pkgconfig iconv USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} != "proxy" PLIST_SUB= PROXY="@comment " .else PLIST_SUB= PROXY="" .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} ZABBIX_REQUIRE=${ZABBIX_REQUIRE} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --datadir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} .if ${ZABBIX_BUILD} != "agent" LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp -USES+= execinfo CPPFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message CONFIGURE_ARGS+= --with-net-snmp OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW \ LIBXML2 OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL OPTIONS_SUB= yes CURL_DESC= Support for web monitoring FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks JABBER_DESC= Support for Jabber media type LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install nmap for o/s detection SSH_DESC= Support for SSH-based checks ODBC_DESC= Support for database checks via ODBC JAVAGW_DESC= Support for Java gateway LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) OPTIONS_SINGLE= DB ODBC SSL OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE OPTIONS_SINGLE_ODBC= IODBC UNIXODBC OPTIONS_SINGLE_SSL= OPENSSL GNUTLS POLARSSL MYSQL_CONFIGURE_WITH= mysql MYSQL_USES+= mysql PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES+= pgsql SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES+= sqlite:3 ORACLE_CONFIGURE_WITH= oracle CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi JABBER_CONFIGURE_WITH= jabber JABBER_LIB_DEPENDS= libiksemel.so:textproc/iksemel FPING_RUN_DEPENDS= fping:net/fping SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:security/libssh2 IODBC_CONFIGURE_WITH= iodbc IODBC_LIB_DEPENDS= libiodbc.so:databases/libiodbc UNIXODBC_CONFIGURE_WITH=unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC .else OPTIONS_SINGLE= SSL OPTIONS_SINGLE_SSL= OPENSSL GNUTLS POLARSSL .endif # if ${ZABBIX_BUILD} != "agent" IPV6_CONFIGURE_ENABLE= ipv6 NMAP_RUN_DEPENDS= nmap:security/nmap \ sudo:security/sudo JAVAGW_CONFIGURE_ENABLE=java JAVAGW_USE= JAVA=yes LIBXML2_CONFIGURE_WITH= libxml2 LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ BROKEN_SSL_REASON="PSK is not provided by LibreSSL" GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls POLARSSL_CONFIGURE_WITH=mbedtls POLARSSL_LIB_DEPENDS= libmbedtls.so:security/polarssl13 .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \ ${WRKSRC}/conf/zabbix_*.conf .if ${ZABBIX_BUILD} == "server" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_server.pid#PidFile=/var/run/zabbix/zabbix_server.pid#g' \ ${WRKSRC}/conf/zabbix_server*.conf @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ ${WRKSRC}/conf/zabbix_server*.conf .endif .if ${ZABBIX_BUILD} == "proxy" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_proxy.pid#PidFile=/var/run/zabbix/zabbix_proxy.pid#g' \ ${WRKSRC}/conf/zabbix_proxy*.conf @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ ${WRKSRC}/conf/zabbix_proxy*.conf .endif .if ${ZABBIX_BUILD} == "agent" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_agentd.pid#PidFile=/var/run/zabbix/zabbix_agentd.pid#g' \ ${WRKSRC}/conf/zabbix_agentd*.conf @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ ${WRKSRC}/conf/zabbix_agentd*.conf .endif .if ${ZABBIX_BUILD} != "agent" . for d in mysql oracle postgresql sqlite3 @${REINPLACE_CMD} \ -e 's|/bin/ping|/sbin/ping|g' \ -e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \ -e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \ ${WRKSRC}/database/${d}/data.sql . endfor .endif @${REINPLACE_CMD} \ -Ee 's|(@sysconfdir@/(\$$\([A-Z]*_CONFIG\)))" ([|][|] cp "../../conf/\$$\([A-Z]*_CONFIG\)" "\$$\(DESTDIR\)@sysconfdir@)"|\1.sample" \3/\2.sample"|;' \ ${WRKSRC}/src/zabbix_${ZABBIX_BUILD}/Makefile.in @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \ -exec ${RM} {} + post-install: .if ${PORT_OPTIONS:MJAVAGW} ${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \ ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample .endif .if ${ZABBIX_BUILD} != "agent" ${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database (cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/upgrades/) (cd ${WRKSRC}/database/ && \ ${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) .endif .else # frontend .include .endif .include Index: head/net-mgmt/zabbix32-server/Makefile =================================================================== --- head/net-mgmt/zabbix32-server/Makefile (revision 450350) +++ head/net-mgmt/zabbix32-server/Makefile (revision 450351) @@ -1,212 +1,211 @@ # Created by: Pakhom Golynga # $FreeBSD$ PORTNAME= zabbix32 PORTVERSION= 3.2.7 PORTREVISION?= 0 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server DISTNAME= zabbix-${PORTVERSION} MAINTAINER= pg@pakhom.spb.ru COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LICENSE= GPLv2 CONFLICTS= zabbix[0-24-9][0-13-9]${PKGNAMESUFFIX} zabbix[0-9]${PKGNAMESUFFIX} IGNORE_WITH_MYSQL= 41 ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings .if ${ZABBIX_BUILD} != "agent" USE_RC_SUBR= zabbix_${ZABBIX_BUILD} .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USES= pkgconfig iconv USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} != "proxy" PLIST_SUB= PROXY="@comment " .else PLIST_SUB= PROXY="" .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} ZABBIX_REQUIRE=${ZABBIX_REQUIRE} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --datadir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} .if ${ZABBIX_BUILD} != "agent" LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp -USES+= execinfo CPPFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message CONFIGURE_ARGS+= --with-net-snmp OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW \ LIBXML2 OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL OPTIONS_SUB= yes CURL_DESC= Support for web monitoring FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks JABBER_DESC= Support for Jabber media type LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install nmap for o/s detection SSH_DESC= Support for SSH-based checks ODBC_DESC= Support for database checks via ODBC JAVAGW_DESC= Support for Java gateway LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) OPTIONS_SINGLE= DB ODBC SSL OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE OPTIONS_SINGLE_ODBC= IODBC UNIXODBC OPTIONS_SINGLE_SSL= OPENSSL GNUTLS POLARSSL MYSQL_CONFIGURE_WITH= mysql MYSQL_USES+= mysql PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES+= pgsql SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES+= sqlite:3 ORACLE_CONFIGURE_WITH= oracle CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi JABBER_CONFIGURE_WITH= jabber JABBER_LIB_DEPENDS= libiksemel.so:textproc/iksemel FPING_RUN_DEPENDS= fping:net/fping SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:security/libssh2 IODBC_CONFIGURE_WITH= iodbc IODBC_LIB_DEPENDS= libiodbc.so:databases/libiodbc UNIXODBC_CONFIGURE_WITH=unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC .else OPTIONS_SINGLE= SSL OPTIONS_SINGLE_SSL= OPENSSL GNUTLS POLARSSL .endif # if ${ZABBIX_BUILD} != "agent" IPV6_CONFIGURE_ENABLE= ipv6 NMAP_RUN_DEPENDS= nmap:security/nmap \ sudo:security/sudo JAVAGW_CONFIGURE_ENABLE=java JAVAGW_USE= JAVA=yes LIBXML2_CONFIGURE_WITH= libxml2 LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ BROKEN_SSL_REASON="PSK is not provided by LibreSSL" GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls POLARSSL_CONFIGURE_WITH=mbedtls POLARSSL_LIB_DEPENDS= libmbedtls.so:security/polarssl13 .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \ ${WRKSRC}/conf/zabbix_*.conf .if ${ZABBIX_BUILD} == "server" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_server.pid#PidFile=/var/run/zabbix/zabbix_server.pid#g' \ ${WRKSRC}/conf/zabbix_server*.conf @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ ${WRKSRC}/conf/zabbix_server*.conf .endif .if ${ZABBIX_BUILD} == "proxy" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_proxy.pid#PidFile=/var/run/zabbix/zabbix_proxy.pid#g' \ ${WRKSRC}/conf/zabbix_proxy*.conf @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ ${WRKSRC}/conf/zabbix_proxy*.conf .endif .if ${ZABBIX_BUILD} == "agent" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_agentd.pid#PidFile=/var/run/zabbix/zabbix_agentd.pid#g' \ ${WRKSRC}/conf/zabbix_agentd*.conf @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ ${WRKSRC}/conf/zabbix_agentd*.conf .endif .if ${ZABBIX_BUILD} != "agent" . for d in mysql oracle postgresql sqlite3 @${REINPLACE_CMD} \ -e 's|/bin/ping|/sbin/ping|g' \ -e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \ -e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \ ${WRKSRC}/database/${d}/data.sql . endfor .endif @${REINPLACE_CMD} \ -Ee 's|(@sysconfdir@/(\$$\([A-Z]*_CONFIG\)))" ([|][|] cp "../../conf/\$$\([A-Z]*_CONFIG\)" "\$$\(DESTDIR\)@sysconfdir@)"|\1.sample" \3/\2.sample"|;' \ ${WRKSRC}/src/zabbix_${ZABBIX_BUILD}/Makefile.in @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \ -exec ${RM} {} + post-install: .if ${PORT_OPTIONS:MJAVAGW} ${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \ ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample .endif .if ${ZABBIX_BUILD} != "agent" ${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database (cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/upgrades/) (cd ${WRKSRC}/database/ && \ ${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) .endif .else # frontend .include .endif .include Index: head/net-mgmt/zabbix34-server/Makefile =================================================================== --- head/net-mgmt/zabbix34-server/Makefile (revision 450350) +++ head/net-mgmt/zabbix34-server/Makefile (revision 450351) @@ -1,216 +1,215 @@ # Created by: Pakhom Golynga # $FreeBSD$ PORTNAME= zabbix34 PORTVERSION= 3.4.1 PORTREVISION?= 0 CATEGORIES= net-mgmt MASTER_SITES= SF/zabbix/ZABBIX%20Latest%20Stable/${PORTVERSION} PKGNAMESUFFIX?= -server DISTNAME= zabbix-${PORTVERSION} MAINTAINER= pg@pakhom.spb.ru COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/^-//}) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpcre.so:devel/pcre CONFLICTS= zabbix[0-24-9][0-35-9]${PKGNAMESUFFIX} zabbix[0-9]${PKGNAMESUFFIX} IGNORE_WITH_MYSQL= 41 ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings .if ${ZABBIX_BUILD} != "agent" LIB_DEPENDS+= libevent.so:devel/libevent USE_RC_SUBR= zabbix_${ZABBIX_BUILD} .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif USES= pkgconfig iconv USERS= zabbix GROUPS= zabbix .if ${ZABBIX_BUILD} != "proxy" PLIST_SUB= PROXY="@comment " .else PLIST_SUB= PROXY="" .endif .if ${ZABBIX_BUILD} == "server" PLIST_SUB+= SERVER="" .else PLIST_SUB+= SERVER="@comment " .endif PLIST_SUB+= ZABBIX_BUILD=${ZABBIX_BUILD} PORTVERSION=${PORTVERSION} SUB_LIST= ZABBIX_BUILD=${ZABBIX_BUILD} MAKE_ARGS+= ARCH=freebsd GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-${ZABBIX_BUILD} \ --sysconfdir=${ETCDIR} \ --datadir=${ETCDIR} \ --with-iconv=${ICONV_PREFIX} .if ${ZABBIX_BUILD} != "agent" LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp -USES+= execinfo CPPFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message CONFIGURE_ARGS+= --with-net-snmp OPTIONS_DEFINE= IPV6 FPING JABBER CURL LDAP IPMI SSH NMAP JAVAGW \ LIBXML2 OPTIONS_DEFAULT= FPING CURL UNIXODBC MYSQL OPENSSL OPTIONS_SUB= yes CURL_DESC= Support for web monitoring FPING_DESC= Build/install fping for ping checks IPMI_DESC= Support for IPMI checks JABBER_DESC= Support for Jabber media type LDAP_DESC= Support for LDAP server checks NMAP_DESC= Build/install nmap for o/s detection SSH_DESC= Support for SSH-based checks ODBC_DESC= Support for database checks via ODBC JAVAGW_DESC= Support for Java gateway LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) OPTIONS_SINGLE= DB ODBC SSL OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE ORACLE OPTIONS_SINGLE_ODBC= IODBC UNIXODBC OPTIONS_SINGLE_SSL= OPENSSL GNUTLS POLARSSL MYSQL_CONFIGURE_WITH= mysql MYSQL_USES+= mysql PGSQL_CONFIGURE_WITH= postgresql PGSQL_USES+= pgsql SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES+= sqlite:3 ORACLE_CONFIGURE_WITH= oracle CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes IPMI_CONFIGURE_WITH= openipmi IPMI_LIB_DEPENDS= libOpenIPMI.so:sysutils/openipmi JABBER_CONFIGURE_WITH= jabber JABBER_LIB_DEPENDS= libiksemel.so:textproc/iksemel FPING_RUN_DEPENDS= fping:net/fping SSH_CONFIGURE_WITH= ssh2 SSH_LIB_DEPENDS= libssh2.so:security/libssh2 IODBC_CONFIGURE_WITH= iodbc IODBC_LIB_DEPENDS= libiodbc.so:databases/libiodbc UNIXODBC_CONFIGURE_WITH=unixodbc UNIXODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC .else OPTIONS_SINGLE= SSL OPTIONS_SINGLE_SSL= OPENSSL GNUTLS POLARSSL .endif # if ${ZABBIX_BUILD} != "agent" IPV6_CONFIGURE_ENABLE= ipv6 NMAP_RUN_DEPENDS= nmap:security/nmap \ sudo:security/sudo JAVAGW_CONFIGURE_ENABLE=java JAVAGW_USE= JAVA=yes LIBXML2_CONFIGURE_WITH= libxml2 LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 OPENSSL_CONFIGURE_WITH= openssl OPENSSL_USES= ssl OPENSSL_VARS= BROKEN_SSL="libressl libressl-devel" \ BROKEN_SSL_REASON="PSK is not provided by LibreSSL" GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls POLARSSL_CONFIGURE_WITH=mbedtls POLARSSL_LIB_DEPENDS= libmbedtls.so:security/polarssl13 .include post-patch: @${GREP} -rl "/etc/zabbix" ${WRKSRC} \ | ${XARGS} ${REINPLACE_CMD} -e 's#/etc/zabbix#${ETCDIR}#g' @${REINPLACE_CMD} -e 's#/usr/sbin/fping#${LOCALBASE}/sbin/fping#g' \ ${WRKSRC}/conf/zabbix_*.conf .if ${ZABBIX_BUILD} == "server" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_server.pid#PidFile=/var/run/zabbix/zabbix_server.pid#g' \ ${WRKSRC}/conf/zabbix_server*.conf @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ ${WRKSRC}/conf/zabbix_server*.conf .endif .if ${ZABBIX_BUILD} == "proxy" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_proxy.pid#PidFile=/var/run/zabbix/zabbix_proxy.pid#g' \ ${WRKSRC}/conf/zabbix_proxy*.conf @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ ${WRKSRC}/conf/zabbix_proxy*.conf .endif .if ${ZABBIX_BUILD} == "agent" @${REINPLACE_CMD} -e 's#PidFile=/tmp/zabbix_agentd.pid#PidFile=/var/run/zabbix/zabbix_agentd.pid#g' \ ${WRKSRC}/conf/zabbix_agentd*.conf @${REINPLACE_CMD} -e 's#Include=/usr/local/usr/local/etc/zabbix3#Include=/usr/local/etc/zabbix3/zabbix#g' \ ${WRKSRC}/conf/zabbix_agentd*.conf .endif .if ${ZABBIX_BUILD} != "agent" . for d in mysql oracle postgresql sqlite3 @${REINPLACE_CMD} \ -e 's|/bin/ping|/sbin/ping|g' \ -e 's|/usr/bin/traceroute|/usr/sbin/traceroute|g' \ -e 's|sudo /usr/bin/nmap|sudo ${LOCALBASE}/bin/nmap|g' \ ${WRKSRC}/database/${d}/data.sql . endfor .endif @${REINPLACE_CMD} \ -Ee 's|(@sysconfdir@/(\$$\([A-Z]*_CONFIG\)))" ([|][|] cp "../../conf/\$$\([A-Z]*_CONFIG\)" "\$$\(DESTDIR\)@sysconfdir@)"|\1.sample" \3/\2.sample"|;' \ ${WRKSRC}/src/zabbix_${ZABBIX_BUILD}/Makefile.in @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.orig' \) \ -exec ${RM} {} + post-install: .if ${PORT_OPTIONS:MJAVAGW} ${MV} ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh \ ${STAGEDIR}${PREFIX}/sbin/zabbix_java/settings.sh.sample .endif .if ${ZABBIX_BUILD} != "agent" ${MKDIR} ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database (cd ${WRKSRC}/upgrades/ && ${COPYTREE_SHARE} dbpatches \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/upgrades/) (cd ${WRKSRC}/database/ && \ ${COPYTREE_SHARE} "ibm_db2 mysql oracle postgresql sqlite3" \ ${STAGEDIR}${DATADIR}/${ZABBIX_BUILD:Q}/database/) .endif .else # frontend .include .endif .include Index: head/net-p2p/qbittorrent/Makefile =================================================================== --- head/net-p2p/qbittorrent/Makefile (revision 450350) +++ head/net-p2p/qbittorrent/Makefile (revision 450351) @@ -1,68 +1,68 @@ # Created by: Doug Barton # $FreeBSD$ PORTNAME= qbittorrent PORTVERSION= 3.3.15 PORTREVISION= 1 CATEGORIES= net-p2p ipv6 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= yuri@rawbw.com COMMENT?= Bittorrent client using Qt4/5 and libtorrent-rasterbar LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \ libboost_system.so:devel/boost-libs -USES= compiler:c++11-lib execinfo pkgconfig tar:xz +USES= compiler:c++11-lib pkgconfig tar:xz GNU_CONFIGURE= yes USE_QT5= core network xml qmake_build buildtools_build linguisttools_build QT_NONSTANDARD= yes DESTDIRNAME= INSTALL_ROOT INSTALLS_ICONS= yes PORTDOCS= AUTHORS Changelog README.md .if !defined(SLAVE_PORT) || ${SLAVE_PORT:tl} == "no" WITH_GUI:= yes .else WITH_GUI:= no SUFFIX:= -nox .endif OPTIONS_DEFINE= DBUS DEBUG DOCS DEBUG_CONFIGURE_ENABLE= debug DBUS_CONFIGURE_ENABLE= qt-dbus DBUS_USE= qt5=dbus .if ${WITH_GUI} == "yes" LIB_DEPENDS+= libGeoIP.so:net/GeoIP USES+= desktop-file-utils USE_QT5+= concurrent gui widgets USE_GL+= gl OPTIONS_DEFAULT+= DBUS .else CONFIGURE_ARGS+= --disable-gui .endif CONFIGURE_ARGS+= CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" post-patch: @${REINPLACE_CMD} \ -e 's/#ifdef Q_OS_MAC/#if defined(Q_OS_MAC) || (defined(__FreeBSD__) \&\& __FreeBSD_version < 1003506)/' \ ${WRKSRC}/src/base/utils/string.cpp post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbittorrent${SUFFIX} ${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent${SUFFIX}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ ${RM} -r ${STAGEDIR}${PREFIX}/share/man post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/net-p2p/retroshare/Makefile =================================================================== --- head/net-p2p/retroshare/Makefile (revision 450350) +++ head/net-p2p/retroshare/Makefile (revision 450351) @@ -1,61 +1,61 @@ # Created by: glocke@bsdstammtisch.at # $FreeBSD$ PORTNAME= retroshare PORTVERSION= 0.6.1 DISTVERSIONPREFIX= v PORTREVISION= 7 CATEGORIES= net-p2p MAINTAINER= peter@netkey.at COMMENT= Private and secure decentralised communication platform LICENSE= GPLv2 LIB_DEPENDS= libsqlcipher.so:databases/sqlcipher \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp \ libupnp.so:devel/upnp \ libgnome-keyring.so:security/libgnome-keyring \ libgpgme.so:security/gpgme \ libopencv_highgui.so:graphics/opencv \ libopencv_imgproc.so:graphics/opencv-core \ libavcodec.so:multimedia/ffmpeg \ libcurl.so:ftp/curl \ libmicrohttpd.so:www/libmicrohttpd -USES= compiler:features desktop-file-utils dos2unix execinfo pkgconfig qmake ssl +USES= compiler:features desktop-file-utils dos2unix pkgconfig qmake ssl USE_GNOME= glib20 libxml2 libxslt USE_GL= gl USE_QT5= buildtools_build uitools_build core gui network xml \ widgets multimedia printsupport INSTALLS_ICONS= yes DOS2UNIX_FILES= retroshare-nogui/src/retroshare-nogui.pro USE_GITHUB= yes GH_ACCOUNT= RetroShare GH_PROJECT= RetroShare .include post-patch: .if ${COMPILER_FEATURES:Mlibc++} @${REINPLACE_CMD} -e 's|std::tr1::|std::|' \ ${WRKSRC}/libretroshare/src/dbase/findex.[ch]* .endif @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/libretroshare/src/libretroshare.pro @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare-gui/src/retroshare-gui.pro @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/retroshare-nogui/src/retroshare-nogui.pro @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ ${WRKSRC}/data/retroshare06.desktop @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/data/retroshare06.desktop .if defined(GH_TAGNAME) @${REINPLACE_CMD} -e 's|RS_REVISION_NUMBER.*|RS_REVISION_NUMBER 0x${GH_TAGNAME}|' \ ${WRKSRC}/libretroshare/src/retroshare/rsversion.h .endif .include Index: head/polish/ekg/Makefile =================================================================== --- head/polish/ekg/Makefile (revision 450350) +++ head/polish/ekg/Makefile (revision 450351) @@ -1,39 +1,39 @@ # Created by: Jacek Pelka # $FreeBSD$ PORTNAME= ekg DISTVERSION= 1.8rc2 PORTREVISION= 2 PORTEPOCH= 3 CATEGORIES= polish net-im MASTER_SITES= http://ekg.chmurka.net/ MAINTAINER= pawel@FreeBSD.org COMMENT= Text-mode Gadu-Gadu client LIB_DEPENDS= libgadu.so:polish/libgadu GNU_CONFIGURE= yes -USES= execinfo gmake ncurses pathfix pkgconfig +USES= gmake ncurses pathfix pkgconfig USE_LDCONFIG= yes CONFIGURE_ARGS= --without-libungif \ --without-libjpeg \ --disable-ui-gtk CFLAGS+= -I/usr/include -I${LOCALBASE}/include LDFLAGS+= -lncurses -L${LOCALBASE}/lib -lexecinfo -pthread OPTIONS_DEFINE= ASPELL OPENSSL OPTIONS_DEFAULT= OPENSSL ASPELL_CONFIGURE_ON= --enable-aspell ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell ASPELL_RUN_DEPENDS= pl-aspell>0:polish/aspell OPENSSL_CONFIGURE_OFF= --without-openssl post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ekg .include Index: head/polish/kadu/Makefile =================================================================== --- head/polish/kadu/Makefile (revision 450350) +++ head/polish/kadu/Makefile (revision 450351) @@ -1,72 +1,72 @@ # Created by: Jacek Pelka # $FreeBSD$ PORTNAME= kadu PORTVERSION= 4.3 PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= polish net-im MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/:kadu \ http://download.kadu.im/stable/:kadu \ http://download.kadu.im/additions/:additions DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:kadu DIST_SUBDIR= kadu EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= pawel@FreeBSD.org COMMENT= Internet communicator supporting Gadu-Gadu and Jabber/XMPP LICENSE= GPLv2 BUILD_DEPENDS= bash:shells/bash \ pl-libgadu>=1.12.2:polish/libgadu LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \ libsndfile.so:audio/libsndfile \ libinjeqt.so:devel/injeqt \ libqca-qt5.so:devel/qca-qt5 \ libidn.so:dns/libidn \ libqxmpp.so:net-im/qxmpp-qt5 \ libgadu.so:polish/libgadu \ libgcrypt.so:security/libgcrypt \ libotr.so.5:security/libotr \ libenchant.so:textproc/enchant # TODO ntrack and ntrack-qt (needs porting) ? # TODO separate ports for plugins and themes (possible starting with 0.10) GG6_EMOTS_DISTFILE= kompatybilne_z_GG6.tar.gz GG7_EMOTS_DISTFILE= dodatkowe_emoty_GG7.tar.gz -USES= cmake compiler:c++11-lib execinfo gettext-runtime \ +USES= cmake compiler:c++11-lib gettext-runtime \ libarchive pkgconfig readline tar:bzip2 USE_XORG= x11 xext xfixes xscrnsaver USE_GNOME= glib20 USE_QT5= concurrent core dbus gui multimedia network \ qml quick script scripttools sql webkit widgets x11extras \ xml xmlpatterns buildtools_build linguisttools_build \ qmake_build imageformats_run sql-sqlite3_run # Setting KADU_VERSION disables git invocation CMAKE_ARGS= -DKADU_VERSION:STRING="${DISTVERSION}" -DWITH_ENCHANT=ON \ -DENABLE_TESTS=OFF LDFLAGS+= -lexecinfo OPTIONS_DEFINE= GG_EMOTS OPTIONS_SUB= yes GG_EMOTS_DESC= GG-compatible emoticons GG_EMOTS_DISTFILES= ${GG6_EMOTS_DISTFILE}:additions \ ${GG7_EMOTS_DISTFILE}:additions post-patch: @${REINPLACE_CMD} '/kadu_add_test/ s|^|#|' \ ${WRKSRC}/kadu-core/plugin/CMakeLists.txt post-install-GG_EMOTS-on: @${MKDIR} ${WRKSRC}/varia/themes/emoticons @cd ${WRKSRC}/varia/themes/emoticons && \ ${TAR} -zxf ${_DISTDIR}/${GG6_EMOTS_DISTFILE} && \ ${MV} kompatybilne_z_GG6 gg6_compatible && \ cd gg6_compatible && ${TAR} -zxf ${_DISTDIR}/${GG7_EMOTS_DISTFILE} @cd ${WRKSRC}/varia/themes/emoticons && \ ${COPYTREE_SHARE} gg6_compatible ${STAGEDIR}${DATADIR}/themes/emoticons .include Index: head/ports-mgmt/packagekit/Makefile =================================================================== --- head/ports-mgmt/packagekit/Makefile (revision 450350) +++ head/ports-mgmt/packagekit/Makefile (revision 450351) @@ -1,104 +1,104 @@ # Created by: Anders F Bjorklund # $FreeBSD$ # $MCom: ports/ports-mgmt/packagekit/Makefile,v 1.26 2010/10/10 15:49:51 marcus Exp $ PORTNAME= PackageKit PORTVERSION= 0.6.11 PORTREVISION?= 9 CATEGORIES= ports-mgmt sysutils MASTER_SITES= http://www.packagekit.org/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT?= DBUS packaging abstraction layer BUILD_DEPENDS= ${LOCALBASE}/bin/docbook2man:textproc/docbook-utils LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libpolkit-gobject-1.so:sysutils/polkit \ libck-connector.so:sysutils/consolekit2 RUN_DEPENDS= lsof:sysutils/lsof \ bash:shells/bash IGNORE= does not build with new polkit -USES= cpe execinfo gettext gmake iconv libtool pathfix pkgconfig \ +USES= cpe gettext gmake iconv libtool pathfix pkgconfig \ python:build shared-mime-info shebangfix sqlite:3 CPE_VENDOR= packagekit_project SHEBANG_FILES= backends/test/helpers/search-name.sh \ contrib/cron/packagekit-background.cron USE_GNOME= glib20 intltool introspection USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lexecinfo CONFIGURE_ARGS+=--with-security-framework=polkit \ --localstatedir=/var \ --disable-static \ --disable-gtk-doc \ --disable-managed \ --disable-browser-plugin \ --disable-gstreamer-plugin \ --disable-networkmanager \ --disable-connman INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE=yes .if !defined(SLAVEPORT) OPTIONS_DEFINE= PORTS MANPAGES OPTIONS_DEFAULT=PORTS PORTS_DESC=Use portupgrade for management, dummy if disabled .include . if ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= docbook-sgml>0:textproc/docbook-sgml \ xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl PLIST_SUB+= MAN='' . else CONFIGURE_ARGS+=--disable-man-pages PLIST_SUB+= MAN='@comment ' . endif . if ${PORT_OPTIONS:MPORTS} RUN_DEPENDS+= ${LOCALBASE}/sbin/portupgrade:ports-mgmt/portupgrade USE_RUBY= yes CONFIGURE_ARGS+=--enable-ports --with-default-backend=ports PLIST_SUB+= PORTS="" . else CONFIGURE_ARGS+=--disable-ports --with-default-backend=dummy PLIST_SUB+= PORTS="@comment " . endif CONFIGURE_ARGS+=--disable-gtk-module PLIST_SUB+= GTK="@comment " CONFIGURE_ARGS+=--disable-qt .elif defined(${SLAVEPORT}) && ${SLAVEPORT}=="qt4" LIB_DEPENDS+= libpackagekit-glib2.so:ports-mgmt/packagekit CONFIGURE_ARGS+=--enable-qt LIB_DEPENDS+= libcppunit.so:devel/cppunit USE_QT4+= dbus gui xml sql moc_build #.include "${PORTSDIR}/Mk/bsd.qt.mk" .endif post-patch: @${REINPLACE_CMD} -E -e 's/.*WARNINGFLAGS_CPP.*-Werror/#$$&/' \ -e 's|-DG_DISABLE_DEPRECATED||g' \ -e 's|-Wmissing-include-dirs||g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/pk-lsof.c @${REINPLACE_CMD} -e 's|girepositry|girepository|g' \ ${WRKSRC}/lib/packagekit-glib2/Makefile.in @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ '/xsltproc/s|.xsl [$$]? &> /dev|.xsl $$? > /dev|g' post-install: .if !defined(SLAVEPORT) @${INSTALL_DATA} ${WRKSRC}/data/transactions.db \ ${STAGEDIR}${PREFIX}/share/PackageKit/transactions.db .endif .include Index: head/print/fontforge/Makefile =================================================================== --- head/print/fontforge/Makefile (revision 450350) +++ head/print/fontforge/Makefile (revision 450351) @@ -1,83 +1,83 @@ # Created by: KANOU Hiroki # $FreeBSD$ PORTNAME= fontforge PORTVERSION= 20170731 CATEGORIES= print DISTFILES= # Empty but needed because of the freetype distfile MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Type 1/TrueType/OpenType/bitmap font editor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash \ ${LOCALBASE}/bin/gnulib-tool:devel/gnulib LIB_DEPENDS= libuninameslist.so:textproc/libuninameslist \ libtiff.so:graphics/tiff \ libpng.so:graphics/png \ libgif.so:graphics/giflib \ libspiro.so:graphics/libspiro \ libfreetype.so:print/freetype2 \ libltdl.so:devel/libltdl \ libfontconfig.so:x11-fonts/fontconfig USE_GITHUB= yes -USES= autoreconf:build compiler desktop-file-utils execinfo gettext \ +USES= autoreconf:build compiler desktop-file-utils gettext \ gmake iconv jpeg libtool pkgconfig python readline:port \ shared-mime-info shebangfix SHEBANG_FILES= pycontrib/gdraw/__init__.py \ pycontrib/gdraw/gdraw.py USE_XORG= ice sm x11 xi xkbui xft USE_GNOME= cairo glib20 gtk20 libxml2 pango CONFIGURE_ARGS= --enable-tile-path --enable-gtk2-use CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip INSTALLS_ICONS= yes PORTDOCS= * .htaccess OPTIONS_DEFINE= DOCS FREETYPE CAIRO PYTHON OPTIONS_SUB= yes FREETYPE_DESC= Include freetype's internal debugger PYTHON_CONFIGURE_ENABLE= python-scripting python-extension CAIRO_CONFIGURE_WITH= cairo .include .if ${PORT_OPTIONS:MFREETYPE} MASTER_SITES+= http://savannah.nongnu.org/download/freetype/:freetype \ SF/freetype/freetype2/${FREETYPE_VERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/:freetype \ http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/freetype2/:freetype \ http://www.funet.fi/pub/mirrors/ftp.freetype.org/freetype2/:freetype \ http://ftp.sunet.se/pub/text-processing/freetype/freetype2/:freetype \ ftp://ftp.freetype.org/freetype/freetype2/:freetype FREETYPE_VERSION= 2.8 FREETYPE_SRC= freetype-${FREETYPE_VERSION}.tar.bz2 DISTFILES+= ${FREETYPE_SRC:C/$/:freetype/} CONFIGURE_ARGS+= --enable-freetype-debugger=${WRKDIR}/freetype-${FREETYPE_VERSION} .else CONFIGURE_ARGS+= --disable-freetype-debugger .endif # This is to get around calling fontforge's bootstrap script, as that script fails # if git isn't installed on a system DESPITE there being a --skip-git argument that # can be passed into it. autoreconf is called here because I want to run it without # libtoolize being run along with it. pre-configure: (cd ${WRKSRC} && \ ${SH} -c '. ./bootstrap.conf ; \ ${LOCALBASE}/bin/libtoolize -i -c -q ; \ ${LOCALBASE}/bin/gnulib-tool --aux-dir=config --m4-base=m4 --libtool --symlink --import $${gnulib_modules}' ; \ export LIBTOOLIZE=true ; ${AUTORECONF} -f -i) .include Index: head/print/lyx/Makefile =================================================================== --- head/print/lyx/Makefile (revision 450350) +++ head/print/lyx/Makefile (revision 450351) @@ -1,55 +1,53 @@ # Created by: Klemm # $FreeBSD$ PORTNAME= lyx PORTVERSION= ${MAJOR_VERSION}.${MINOR_VERSION} CATEGORIES= print editors MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/${MAJOR_VERSION}.x/ \ http://www-ftp.lip6.fr/ftp/pub/lyx/stable/${MAJOR_VERSION}.x/ \ ftp://ftp.ntua.gr/pub/X11/LyX/stable/${MAJOR_VERSION}.x/ \ http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/${MAJOR_VERSION}.x/ MAINTAINER= rakuco@FreeBSD.org COMMENT= Document processor interfaced with LaTeX (nearly WYSIWYG) LICENSE= GPLv2 LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libmythes-1.2.so:textproc/mythes MAJOR_VERSION= 2.2 MINOR_VERSION= 3 -USES= desktop-file-utils execinfo gmake iconv pkgconfig perl5 \ +USES= desktop-file-utils gmake iconv pkgconfig perl5 \ python:2 shebangfix tar:xz USE_QT5= core concurrent gui svg widgets buildtools_build qmake_build GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-included-boost \ --without-included-mythes \ --enable-qt5 \ --with-qt-dir=${LOCALBASE}/lib/qt5 \ ${ICONV_CONFIGURE_ARG} \ --with-extra-prefix=${LOCALBASE} SHEBANG_FILES= lib/configure.py \ lib/lyx2lyx/lyx2lyx \ lib/scripts/listerrors -CPPFLAGS+= ${EXECINFO_CPPFLAGS} -LDFLAGS+= ${EXECINFO_LDFLAGS} LIBS+= -lexecinfo OPTIONS_DEFINE= ASPELL ENCHANT HUNSPELL NLS OPTIONS_DEFAULT= HUNSPELL OPTIONS_SUB= yes ENCHANT_DESC= Spell checking using Enchant ASPELL_CONFIGURE_OFF= --without-aspell ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell ENCHANT_CONFIGURE_OFF= --without-enchant ENCHANT_LIB_DEPENDS= libenchant.so:textproc/enchant HUNSPELL_CONFIGURE_OFF= --without-hunspell HUNSPELL_LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell NLS_CONFIGURE_OFF= --disable-nls NLS_USES= gettext .include Index: head/print/scribus/Makefile =================================================================== --- head/print/scribus/Makefile (revision 450350) +++ head/print/scribus/Makefile (revision 450351) @@ -1,43 +1,43 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= scribus PORTVERSION= 1.4.6 PORTREVISION= 7 CATEGORIES= print editors MASTER_SITES= SF \ http://www.scribus.net/downloads/${PORTVERSION}/ MAINTAINER= bsam@FreeBSD.org COMMENT= Comprehensive desktop publishing program LICENSE= GPLv2+ LIB_DEPENDS= liblcms.so:graphics/lcms \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libcups.so:print/cups \ libfreetype.so:print/freetype2 \ libpodofo.so:graphics/podofo \ libboost_thread.so:devel/boost-libs \ libhunspell-1.6.so:textproc/hunspell \ libcairo.so:graphics/cairo \ libhyphen.so:textproc/hyphen \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter \ ${PYTHON_SITELIBDIR}/PIL/_imaging.so:graphics/py-pillow USE_QT4= corelib gui linguist_build moc_build qmake_build rcc_build uic_build xml network USE_GNOME= libartlgpl2 libxml2 -USES= cmake:outsource desktop-file-utils execinfo ghostscript:run jpeg \ +USES= cmake:outsource desktop-file-utils ghostscript:run jpeg \ pkgconfig python shared-mime-info tar:xz USE_LDCONFIG= yes CMAKE_ARGS+= -DWANT_HUNSPELL=YES -Wno-ferror-limit OPTIONS_DEFINE= DOCS post-install: ${LN} -sf ${DATADIR}/icons/scribus.png ${STAGEDIR}${PREFIX}/share/pixmaps/ .include Index: head/science/cdo/Makefile =================================================================== --- head/science/cdo/Makefile (revision 450350) +++ head/science/cdo/Makefile (revision 450351) @@ -1,75 +1,75 @@ # Created by: Sunpoet Po-Chuan Hsieh # $FreeBSD$ PORTNAME= cdo PORTVERSION= 1.9.0 PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://code.zmaw.de/attachments/download/15187/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Climate Data Operators LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= CGRIBEX HDF5 JASPER NETCDF PROJ SZIP UDUNITS UUID OPTIONS_DEFAULT=CGRIBEX HDF5 JASPER NETCDF PROJ SZIP UDUNITS UUID OPTIONS_SUB= yes CGRIBEX_DESC= Use CGRIBEX library for GRIB1 files HDF5_IMPLIES= SZIP NETCDF_IMPLIES= HDF5 UUID_DESC= UUID support PORTSCOUT= site:https://code.zmaw.de/projects/cdo/files CONFIGURE_ARGS= --disable-data \ --disable-extra \ --disable-grib \ --disable-ieg \ --disable-openmp \ --disable-service \ --enable-cdi-lib \ --program-transform-name="" \ --with-zlib=/usr GNU_CONFIGURE= yes INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes TEST_TARGET= check USE_CXXSTD= c++11 USE_LDCONFIG= yes -USES= compiler:c++11-lib execinfo gmake libtool localbase pathfix +USES= compiler:c++11-lib gmake libtool localbase pathfix CGRIBEX_CONFIGURE_WITH= cgribex CGRIBEX_LIB_DEPENDS= libcgribex.so:science/cgribex HDF5_CONFIGURE_WITH= hdf5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 JASPER_CONFIGURE_WITH= jasper JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper NETCDF_CONFIGURE_WITH= netcdf NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf PROJ_CONFIGURE_WITH= proj PROJ_LIB_DEPENDS= libproj.so:graphics/proj SZIP_CONFIGURE_WITH= szlib SZIP_LIB_DEPENDS= libsz.so:science/szip UDUNITS_CONFIGURE_WITH= udunits2 UDUNITS_LIB_DEPENDS= libudunits2.so:science/udunits UUID_CONFIGURE_OFF= ac_cv_func_uuid_create=no ac_cv_have_decl_uuid_create=no ac_cv_have_decl_uuid_generate=no ac_cv_lib_uuid_uuid_generate=no UUID_LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid .include .if ${ARCH} != "sparc64" CFLAGS+= -DPTHREAD_MUTEXATTR_CONDATTR .endif post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS = / s| contrib||' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|$$(libdir)/\($$$$pkgconfigfile\)|${PREFIX}/libdata/\1|' ${WRKSRC}/libcdi/src/Makefile.in @${REINPLACE_CMD} -e 's|unsigned32 |uint32_t |' ${WRKSRC}/libcdi/src/cdilib.c ${WRKSRC}/libcdi/src/util.c test-NETCDF-on: @cd ${WRKSRC}/ && ${SETENV} CDO_PATH=src/cdo src/cdotest .include Index: head/science/mpqc/Makefile =================================================================== --- head/science/mpqc/Makefile (revision 450350) +++ head/science/mpqc/Makefile (revision 450351) @@ -1,122 +1,121 @@ # Created by: batman # $FreeBSD$ PORTNAME= mpqc PORTVERSION= 2.3.1 PORTREVISION= 30 CATEGORIES= science parallel MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Massively Parallel Quantum Computing library and program LIB_DEPENDS= libint.so:science/libint GNU_CONFIGURE= yes USES= fortran gmake libtool perl5 shebangfix tar:bzip2 SHEBANG_FILES= src/bin/mpqc/ccarunproc src/bin/mpqc/mpqcrunproc USE_AUTOTOOLS= autoconf USE_LDCONFIG= yes CONFIGURE_ARGS+=--with-cc=${CC} \ --with-cxx=${CXX} \ --with-f77=${FC} \ --with-include="-I${LOCALBASE}/include" \ --with-libdirs="-L${LOCALBASE}/lib ${LDFLAGS}" \ --with-blas="${BLAS}" \ --with-lapack="${LAPACK}" \ --with-coptflags="${CFLAGS}" \ --with-cxxoptflags="${CXXFLAGS}" \ --with-f77optflags="${FFLAGS}" \ --enable-shared \ --with-sc-datadir=${PREFIX}/share/mpqc/${PORTVERSION} OPTIONS_DEFINE= DOCS ATLAS ICC MPICH OPTIFLAGS OPTIONS_SUB= yes ICC_DESC= Build with ICC compiler instead ATLAS_DESC= Link with ATLAS instead of BLAS DOCS_DESC= Generate html docs and manpages (heavy dependencies) MPICH_DESC= Message-Passing Interface support OPTIFLAGS_DESC= Build with optimized flags ICC_BUILD_DEPENDS= ${LOCALBASE}/intel_cc_80/bin/icc:lang/icc MPICH_LIB_DEPENDS= libmpich.so:net/mpich2 DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz \ ${LOCALBASE}/bin/gsed:textproc/gsed -DOCS_USES= execinfo DOCS_USE= TEX=latex:build .include .if ${PORT_OPTIONS:MATLAS} LIB_DEPENDS+= libatlas.so:math/atlas BLAS= -lf77blas LAPACK= -lalapack -lcblas .else LIB_DEPENDS+= libblas.so:math/blas LIB_DEPENDS+= liblapack.so:math/lapack BLAS= -lblas LAPACK= -llapack .endif .if ${PORT_OPTIONS:MICC} CC= ${LOCALBASE}/intel_cc_80/bin/icc CXX= ${LOCALBASE}/intel_cc_80/bin/icpc CFLAGS= -O3 -tpp7 -xMKW -Vaxlib CXXFLAGS= -O3 -tpp7 -xMKW -Vaxlib CONFIGURE_ARGS+=--with-libs="-lsvml" .endif .if ${PORT_OPTIONS:MMPICH} CONFIGURE_ARGS+=--enable-always-use-mpi CONFIGURE_ENV+= PTHREAD_LIBS=-lpthread .endif .if ${PORT_OPTIONS:MOPTIFLAGS} CFLAGS+= -O2 -ffast-math CXXFLAGS+= -O2 -ffast-math .endif do-build: (cd ${WRKSRC} && ${MAKE_CMD}) do-build-DOCS-on: (cd ${WRKSRC}/doc && ${MAKE_CMD}) ${RM} ${WRKSRC}/doc/man/man1/_* ${RM} ${WRKSRC}/doc/man/man3/_* do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/mpqc/validate (cd ${WRKSRC} && ${MAKE_CMD} install installroot=${STAGEDIR:Q}) (cd ${WRKSRC} && ${MAKE_CMD} install_devel installroot=${STAGEDIR:Q}) (cd ${WRKSRC}/src/bin/mpqc/validate && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/mpqc/validate) (cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} scpr molrender mpqc scls) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so cd ${STAGEDIR}${PREFIX}; ${FIND} share/mpqc \ \( -type f -or -type l \) | ${SORT} >> ${TMPPLIST} cd ${STAGEDIR}${PREFIX}; ${FIND} share/mpqc -type d -empty | ${SORT} -r | \ ${SED} -e 's/^/@dir /g' >> ${TMPPLIST} do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc/man/man3 && \ ${INSTALL_MAN} *3 ${STAGEDIR}${MANPREFIX}/man/man3) (cd ${WRKSRC}/doc/man/man1 && \ ${INSTALL_MAN} *1 ${STAGEDIR}${MANPREFIX}/man/man1) (cd ${WRKSRC}/doc/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) cd ${STAGEDIR}${PREFIX}; ${FIND} share/doc/mpqc \ \( -type f -or -type l \) | ${SORT} >> ${TMPPLIST} cd ${STAGEDIR}${PREFIX}; ${FIND} share/doc/mpqc -type d -empty | \ ${SORT} -r | ${SED} -e 's/^/@dir /g' >> ${TMPPLIST} validate: (cd ${WRKSRC}/src/bin/mpqc/validate && \ ${MAKE_CMD} check0 && \ ${MAKE_CMD} check0_run && \ ${MAKE_CMD} check0_chk) .include Index: head/science/paraview/Makefile =================================================================== --- head/science/paraview/Makefile (revision 450350) +++ head/science/paraview/Makefile (revision 450351) @@ -1,121 +1,121 @@ # Created by: anholt@FreeBSD.org # $FreeBSD$ PORTNAME= paraview PORTVERSION= 5.2.0 PORTREVISION= 2 CATEGORIES= science graphics MASTER_SITES= http://www.paraview.org/files/v${VERMAJORMINOR}/ DISTNAME= ParaView-v${PORTVERSION} MAINTAINER= devel@stasyan.com COMMENT= Powerful scientific data visualization application LICENSE= ParaView_License_1.2 LICENSE_NAME= ParaView_License LICENSE_FILE= ${PATCH_WRKSRC}/License_v1.2.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib LIB_DEPENDS= libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libjbig.so:graphics/jbigkit \ liborc-0.4.so:devel/orc \ libpcre.so:devel/pcre \ libffi.so:devel/libffi \ libdrm.so:graphics/libdrm \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= bash:shells/bash \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib CONFLICTS_BUILD= protobuf* USE_QT4= qmake_build moc_build rcc_build uic_build \ linguisttools_build assistant_run qt3support \ corelib dbus designer gui help-tools network script \ sql svg xml webkit assistantclient clucene \ xmlpatterns xmlpatterns-tool help USE_GL= gl USE_XORG= x11 xt xext ice xdmcp xau xcb xfixes xdamage xxf86vm xrender sm USE_LDCONFIG= yes USE_GSTREAMER= yes -USES= alias desktop-file-utils cmake:outsource execinfo jpeg python shebangfix +USES= alias desktop-file-utils cmake:outsource jpeg python shebangfix INSTALLS_ICONS= yes CMAKE_ARGS+= -DBUILD_SHARED_LIBS="ON" \ -DVTK_USE_SYSTEM_PNG="ON" \ -DVTK_USE_SYSTEM_JPEG="ON" \ -DVTK_USE_SYSTEM_TIFF="ON" \ -DVTK_USE_SYSTEM_ZLIB="ON" \ -DVTK_USE_SYSTEM_FREETYPE="ON" \ -DVTK_USE_SYSTEM_EXPAT="ON" \ -DVTK_USE_X="ON" \ -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1 \ -DPARAVIEW_ENABLE_PYTHON:BOOL="ON" \ -DPARAVIEW_ENABLE_FFMPEG:BOOL="OFF" \ -DBUILD_TESTING:BOOL="OFF" \ -DExternalData_OBJECT_STORES="${WRKDIR}/VTK/ExternalData/MD5" \ -DFREETYPE_INCLUDE_DIRS="${LOCALBASE}/include/freetype2" MAKE_ENV= XDG_CONFIG_HOME=${WRKDIR} SHEBANG_FILES= Catalyst/catalyze.py VTK/Examples/SearchScript.sh \ VTK/Utilities/Maintenance/*.sh \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/bench/basicbench.cxxlist \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/bench/*.sh \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/bench/bench_unrolling \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/bench/benchmark_suite \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/blas/testing/* \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/scripts/* \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/test/eigen2/* \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/test/*.sh \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/test/testsuite.cmake \ Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/bench/btl/data/* OPTIONS_DEFINE= OSMESA GL2PS DOCS OSMESA_DESC= Use Mesa for off-screen rendering GL2PS_DESC= Install support conversion OpenGL to PostScript # VTKMPEG2 "Install patented MPEG2 encoder module" Off \ VERMAJORMINOR= ${PORTVERSION:R} .include .if ${PORT_OPTIONS:MOSMESA} LIB_DEPENDS+= libOSMesa32.so:graphics/libosmesa CMAKE_ARGS+= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa32.so .endif .if ${PORT_OPTIONS:MGL2PS} LIB_DEPENDS+= libgl2ps.so:print/gl2ps CMAKE_ARGS+= -DVTK_USE_GL2PS:BOOL=ON PLIST_SUB+= GL2PS="" .else PLIST_SUB+= GL2PS="@comment " .endif PLIST_SUB+= VERMAJORMINOR=${VERMAJORMINOR} CMAKE2INST= ParaViewConfig.cmake \ cmake_install.cmake LIB_INSTDIR= ${PREFIX}/lib/${PORTNAME}-${VERMAJORMINOR} pre-configure: ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${PATCH_WRKSRC}/VTK/IO/Image/vtkPNGReader.cxx ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ${PATCH_WRKSRC}/VTK/Utilities/Maintenance/vtk_site_history.py post-install: .for c2f in ${CMAKE2INST} ${SED} -e 's|${BUILD_WRKSRC}|${LIB_INSTDIR}|g' \ -e 's|${PATCH_WRKSRC}|${LIB_INSTDIR}|g' \ ${BUILD_WRKSRC}/${c2f} > ${STAGEDIR}${LIB_INSTDIR}/`${BASENAME} ${c2f}` .endfor ${INSTALL_DATA} ${PATCH_WRKSRC}/CMake/UseParaView.cmake \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}-${VERMAJORMINOR} .include Index: head/security/cardpeek/Makefile =================================================================== --- head/security/cardpeek/Makefile (revision 450350) +++ head/security/cardpeek/Makefile (revision 450351) @@ -1,35 +1,35 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= cardpeek PORTVERSION= 0.8.4 CATEGORIES= security MASTER_SITES= http://downloads.pannetrat.com/install/ MAINTAINER= danfe@FreeBSD.org COMMENT= Tool for reading the contents of ISO 7816 smart cards LICENSE= GPLv3 LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite \ libcurl.so:ftp/curl RUN_DEPENDS= pcscd:devel/pcsc-lite -USES= execinfo iconv localbase lua pkgconfig +USES= iconv localbase lua pkgconfig USE_GNOME= gtk30 GNU_CONFIGURE= yes INSTALLS_ICONS= yes PLIST_FILES= bin/cardpeek man/man1/cardpeek.1.gz \ share/appdata/cardpeek.appdata.xml \ share/applications/cardpeek.desktop \ share/icons/hicolor/48x48/apps/cardpeek-logo.png PORTDOCS= AUTHORS README cardpeek_ref.en.pdf OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's,^doc_DATA =,& AUTHORS README,' \ ${WRKSRC}/Makefile.in .include Index: head/security/openvas8-manager/Makefile =================================================================== --- head/security/openvas8-manager/Makefile (revision 450350) +++ head/security/openvas8-manager/Makefile (revision 450351) @@ -1,57 +1,57 @@ # $FreeBSD$ PORTNAME?= openvas8-manager PORTVERSION?= 6.0.11 PORTREVISION= 2 CATEGORIES= security MASTER_SITES?= http://wald.intevation.org/frs/download.php/2445/ DISTNAME= ${PORTNAME:S/${OPENVAS_VER}//}-${PORTVERSION} DIST_SUBDIR= openvas${OPENVAS_VER} MAINTAINER= acm@FreeBSD.org COMMENT?= OpenVAS 8 manager LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-SQL-Translator>=0:databases/p5-SQL-Translator LIB_DEPENDS= libgnutls.so:security/gnutls \ libgpgme.so:security/gpgme \ libgcrypt.so:security/libgcrypt \ libopenvas_base.so:security/openvas${OPENVAS_VER}-libraries RUN_DEPENDS:= ${BUILD_DEPENDS} \ wget:ftp/wget CONFLICTS?= ${PORTNAME:S/${OPENVAS_VER}/9/}-* -USES= cmake:outsource execinfo gnome pkgconfig +USES= cmake:outsource gnome pkgconfig USE_GNOME= glib20 libxslt:run PGSQL_USES= pgsql SQLITE3_USES= sqlite PGSQL_CMAKE_ON+=-DBACKEND:STRING="POSTGRESQL" SQLITE3_CMAKE_ON+=-DBACKEND:STRING="SQLITE3" USE_RC_SUBR= openvasmd DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/${OPENVAS_VER}//} ETCDIR= ${PREFIX}/etc/openvas REINPLACE_ARGS= -i '' OPENVAS_VER?= 8 OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT=DOCS SQLITE3 OPTIONS_SUB= yes OPTIONS_SINGLE_DATABASE=SQLITE3 PGSQL OPTIONS_SINGLE= DATABASE DATABASE_DESC= Database support post-patch: @${REINPLACE_CMD} -e '1d' ${WRKSRC}/tools/extra/xml_split @${REINPLACE_CMD} -e 's|OPENVAS_STATE_DIR|OPENVAS_LIB_INSTALL_DIR|g' ${WRKSRC}/src/manage_pg.c post-install: ${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/postgres-HOWTO ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${ETCDIR}/openvasmd_log.conf ${STAGEDIR}${ETCDIR}/openvasmd_log.conf.sample ${MV} ${STAGEDIR}${ETCDIR}/pwpolicy.conf ${STAGEDIR}${ETCDIR}/pwpolicy.conf.sample .include Index: head/security/openvas8-scanner/Makefile =================================================================== --- head/security/openvas8-scanner/Makefile (revision 450350) +++ head/security/openvas8-scanner/Makefile (revision 450351) @@ -1,40 +1,40 @@ # Created by: Tomoyuki Sakurai # $FreeBSD$ PORTNAME?= openvas8-scanner PORTVERSION?= 5.0.8 PORTREVISION= 2 CATEGORIES= security MASTER_SITES?= http://wald.intevation.org/frs/download.php/2436/ DISTNAME= ${PORTNAME:S/${OPENVAS_VER}//}-${PORTVERSION} DIST_SUBDIR= openvas${OPENVAS_VER} MAINTAINER= acm@FreeBSD.org COMMENT?= OpenVAS 8 scanner LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.GPLv2 LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libopenvas_base.so:security/openvas${OPENVAS_VER}-libraries RUN_DEPENDS= redis-server:databases/redis \ curl:ftp/curl \ rsync:net/rsync \ wget:ftp/wget \ nmap:security/nmap CONFLICTS?= ${PORTNAME:S/${OPENVAS_VER}/9/}-* -USES= cmake:outsource execinfo gettext-runtime gnome pkgconfig +USES= cmake:outsource gettext-runtime gnome pkgconfig USE_GNOME= glib20 USE_RC_SUBR= openvassd DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/${OPENVAS_VER}//} OPENVAS_VER?= 8 OPTIONS_DEFINE= DOCS post-install: ${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR} .include Index: head/security/strongswan/Makefile =================================================================== --- head/security/strongswan/Makefile (revision 450350) +++ head/security/strongswan/Makefile (revision 450351) @@ -1,145 +1,145 @@ # Created by: Riaan Kruger # $FreeBSD$ PORTNAME= strongswan PORTVERSION= 5.6.0 CATEGORIES= security MASTER_SITES= http://download.strongswan.org/ \ http://download2.strongswan.org/ MAINTAINER= strongswan@nanoteq.com COMMENT= Open Source IKEv2 IPsec-based VPN solution LICENSE= GPLv2 -USES= cpe execinfo libtool:keepla pkgconfig tar:bzip2 ssl +USES= cpe libtool:keepla pkgconfig tar:bzip2 ssl USE_RC_SUBR= strongswan GNU_CONFIGURE= yes USE_LDCONFIG= ${PREFIX}/lib/ipsec INSTALL_TARGET= install-strip CONFIGURE_ARGS= --enable-kernel-pfkey \ --enable-kernel-pfroute \ --disable-kernel-netlink \ --disable-scripts \ --disable-gmp \ --enable-openssl \ --enable-eap-identity \ --enable-eap-md5 \ --enable-eap-tls \ --enable-eap-mschapv2 \ --enable-eap-peap \ --enable-eap-ttls \ --enable-md4 \ --enable-blowfish \ --enable-addrblock \ --enable-whitelist \ --enable-cmd \ --with-group=wheel \ --with-lib-prefix=${PREFIX} OPTIONS_DEFINE= CURL EAPAKA3GPP2 EAPDYNAMIC EAPRADIUS EAPSIMFILE GCM IKEv1 \ IPSECKEY KERNELLIBIPSEC LOADTESTER LDAP MEDIATION MYSQL PKI SCEP SMP \ SQLITE SWANCTL TESTVECTOR TPM UNBOUND UNITY VICI XAUTH OPTIONS_DEFAULT= IKEv1 BUILTIN PKI SWANCTL VICI OPTIONS_SINGLE= PRINTF_HOOKS OPTIONS_SINGLE_PRINTF_HOOKS= BUILTIN LIBC VSTR OPTIONS_SUB= yes # Description of options CURL_DESC= Enable CURL to fetch CRL/OCSP EAPAKA3GPP2_DESC= Enable EAP AKA with 3gpp2 backend EAPDYNAMIC_DESC= Enable EAP dynamic proxy module EAPRADIUS_DESC= Enable EAP Radius proxy authentication EAPSIMFILE_DESC= Enable EAP SIM with file backend GCM_DESC= Enable GCM AEAD wrapper crypto plugin IKEv1_DESC= Enable IKEv1 support IPSECKEY_DESC= Enable authentication with IPSECKEY resource records with DNSSEC KERNELLIBIPSEC_DESC= Enable IPSec userland backend LOADTESTER_DESC= Enable load testing plugin MEDIATION_DESC= Enable IKEv2 Mediation Extension PKI_DESC= Enable PKI tools SCEP_DESC= Enable Simple Certificate Enrollment Protocol SMP_DESC= Enable XML-based management protocol (DEPRECATED) SWANCTL_DESC= Install swanctl (requires VICI) TESTVECTOR_DESC= Enable crypto test vectors TPM_DESC= Enable TPM plugin UNBOUND_DESC= Enable DNSSEC-enabled resolver UNITY_DESC= Enable Cisco Unity extension plugin VICI_DESC= Enable VICI management protocol XAUTH_DESC= Enable XAuth password verification BUILTIN_DESC= Use builtin printf hooks LIBC_DESC= Use libc printf hooks VSTR_DESC= Use devel/vstr printf hooks # Extra options CURL_CONFIGURE_ON= --enable-curl CURL_LIB_DEPENDS= libcurl.so:ftp/curl EAPAKA3GPP2_CONFIGURE_ON= --enable-eap-aka --enable-eap-aka-3gpp2 EAPAKA3GPP2_LIB_DEPENDS=libgmp.so:math/gmp EAPDYNAMIC_CONFIGURE_ON=--enable-eap-dynamic EAPRADIUS_CONFIGURE_ON= --enable-eap-radius EAPSIMFILE_CONFIGURE_ON=--enable-eap-sim --enable-eap-sim-file GCM_CONFIGURE_ON= --enable-gcm IKEv1_CONFIGURE_OFF= --disable-ikev1 IPSECKEY_CONFIGURE_ON= --enable-ipseckey KERNELLIBIPSEC_CONFIGURE_ON= --enable-kernel-libipsec LOADTESTER_CONFIGURE_ON=--enable-load-tester LDAP_CONFIGURE_ON= --enable-ldap LDAP_USE= OPENLDAP=yes MEDIATION_CONFIGURE_ON= --enable-mediation MYSQL_CONFIGURE_ON= --enable-mysql MYSQL_USES= mysql PKI_CONFIGURE_OFF= --disable-pki SCEP_CONFIGURE_OFF= --disable-scepclient SMP_LIB_DEPENDS= libxml2.so:textproc/libxml2 SMP_CONFIGURE_ON= --enable-smp SQLITE_CONFIGURE_ON= --enable-sqlite SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 SWANCTL_CONFIGURE_ON= --enable-swanctl SWANCTL_IMPLIES= VICI TESTVECTOR_CONFIGURE_ON=--enable-test-vectors TPM_CONFIGURE_ON= --enable-tpm UNBOUND_CONFIGURE_ON= --enable-unbound UNBOUND_LIB_DEPENDS= libunbound.so:dns/unbound \ libldns.so:dns/ldns UNITY_CONFIGURE_ON= --enable-unity VICI_CONFIGURE_ON= --enable-vici XAUTH_CONFIGURE_ON= --enable-xauth-eap --enable-xauth-generic BUILTIN_CONFIGURE_ON= --with-printf-hooks=builtin LIBC_CONFIGURE_ON= --with-printf-hooks=glibc VSTR_CONFIGURE_ON= --with-printf-hooks=vstr VSTR_LIB_DEPENDS= libvstr.so:devel/vstr .include .if ${PORT_OPTIONS:MEAPSIMFILE} || ${PORT_OPTIONS:MEAPAKA3GPP2} PLIST_SUB+= SIMAKA="" .else PLIST_SUB+= SIMAKA="@comment " .endif .if ${PORT_OPTIONS:MMYSQL} || ${PORT_OPTIONS:MSQLITE} CONFIGURE_ARGS+= --enable-attr-sql --enable-sql PLIST_SUB+= SQL="" .else PLIST_SUB+= SQL="@comment " .endif .if ${PORT_OPTIONS:MIKEv1} || ${PORT_OPTIONS:MXAUTH} PLIST_SUB+= XAUTHGEN="" .else PLIST_SUB+= XAUTHGEN="@comment " .endif post-install: .if ${PORT_OPTIONS:MVICI} ${INSTALL_DATA} ${WRKSRC}/src/libcharon/plugins/vici/libvici.h \ ${STAGEDIR}${PREFIX}/include .endif .if ${PORT_OPTIONS:MSWANCTL} ${MV} ${STAGEDIR}${PREFIX}/etc/swanctl/swanctl.conf \ ${STAGEDIR}${PREFIX}/etc/swanctl/swanctl.conf.sample .endif .include Index: head/sysutils/boxbackup/Makefile =================================================================== --- head/sysutils/boxbackup/Makefile (revision 450350) +++ head/sysutils/boxbackup/Makefile (revision 450351) @@ -1,115 +1,115 @@ # Created by: James O'Gorman # $FreeBSD$ PORTNAME= boxbackup PORTVERSION= 0.11.1 PORTREVISION= 5 CATEGORIES= sysutils MASTER_SITES= SF PKGNAMESUFFIX= ${CLIENT_OR_SERVER} MAINTAINER= portmaster@BSDforge.com COMMENT= Open source, completely automatic on-line backup system for Unix LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE-DUAL.txt -USES= execinfo perl5 ssl tar:tgz +USES= perl5 ssl tar:tgz GNU_CONFIGURE= yes USE_AUTOTOOLS= autoconf aclocal autoheader ACLOCAL_ARGS+= -I ${WRKSRC}/infrastructure/m4 CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} .if exists(/usr/lib/libexecinfo.so) LDFLAGS+= -lexecinfo .endif MAKE_JOBS_UNSAFE=yes CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc SUB_FILES= pkg-message OPTIONS_DEFINE= READLINE OPTIONS_MULTI= FLAVOUR OPTIONS_MULTI_FLAVOUR= CLIENT SERVER CLIENT_DESC= Install the bbackupd client SERVER_DESC= Install the bbstored server OPTIONS_DEFAULT=CLIENT SERVER .include .if ${PORT_OPTIONS:MREADLINE} CONFIGURE_ARGS+=--enable-gnu-readline .endif MANCOMPRESSED= yes .if ${PORT_OPTIONS:MCLIENT} USE_RC_SUBR+= bbackupd PLIST_SUB+= CLIENT="" SUB_LIST+= CLIENT="" ALL_TARGET+= build-backup-client INSTALL_TARGET+=install-backup-client SUB_FILES+= 999.boxbackup .else PLIST_SUB+= CLIENT="@comment " SUB_LIST+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MSERVER} USE_RC_SUBR+= bbstored USERS+= _bbstored GROUPS+= _bbstored PLIST_SUB+= SERVER="" SUB_LIST+= SERVER="" ALL_TARGET+= build-backup-server INSTALL_TARGET+=install-backup-server .else PLIST_SUB+= SERVER="@comment " SUB_LIST+= SERVER="@comment " .endif .if ! ${PORT_OPTIONS:MCLIENT} # if this is a server-only install, CONFLICT with an install of the CLIENT or both CONFLICTS= boxbackup-client-[0-9]* boxbackup-[0-9]* CLIENT_OR_SERVER=-server .elif ! ${PORT_OPTIONS:MSERVER} # if this is a client-only install, CONFLICT with an install of the SERVER or both CONFLICTS= boxbackup-server-[0-9]* boxbackup-[0-9]* CLIENT_OR_SERVER=-client .else # if we install boxbackup-[0-9]*, we should CONFLICT with a CLIENT or SERVER only install # PKGNAMESUFFIX is empty at this point CONFLICTS= boxbackup-server-[0-9]* boxbackup-client-[0-9]* .endif post-patch: @${REINPLACE_CMD} -e '/html/d' ${WRKSRC}/parcels.txt post-configure: @${REINPLACE_CMD} -e '/share.doc.boxbackup/d' \ ${WRKSRC}/parcels/scripts/install-backup-* post-install: .for f in bbstoreaccounts bbackupctl bbstored bbackupd bbackupquery ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${f} .endfor .if ${PORT_OPTIONS:MCLIENT} @${MKDIR} -m 0700 ${STAGEDIR}/${PREFIX}/etc/boxbackup/bbackupd @${MKDIR} ${STAGEDIR}/${PREFIX}/etc/periodic/monthly ${INSTALL_SCRIPT} ${WRKDIR}/999.boxbackup ${STAGEDIR}/${PREFIX}/etc/periodic/monthly .endif .if ${PORT_OPTIONS:MSERVER} @${MKDIR} -m 0700 ${STAGEDIR}/${PREFIX}/etc/boxbackup/bbstored .endif test: @${ECHO_CMD} "===> Running tests" @${MAKE} -C ${WRKSRC} test .include Index: head/sysutils/clsync/Makefile =================================================================== --- head/sysutils/clsync/Makefile (revision 450350) +++ head/sysutils/clsync/Makefile (revision 450351) @@ -1,73 +1,72 @@ # Created by: Dmitry Yu Okunev dyokunev@ut.mephi.ru # $FreeBSD$ PORTNAME= clsync DISTVERSION= 0.4~rc2 PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= dyokunev@ut.mephi.ru COMMENT= Live file sync daemon based on inotify, written in GNU C LICENSE= GPLv3 LIB_DEPENDS= libinotify.so:devel/libinotify GNU_CONFIGURE= yes -USES= autoreconf compiler:features execinfo gmake libtool pkgconfig +USES= autoreconf compiler:features gmake libtool pkgconfig USE_GNOME= glib20 -LDFLAGS+= ${EXECINFO_LDFLAGS} USE_RC_SUBR= clsync SUB_FILES= pkg-message USE_GITHUB= yes GH_ACCOUNT= xaionaro GH_TAGNAME= 85e5475 OPTIONS_DEFINE= PARANOID VERYPARANOID SOCKET DEBUG LIBCLSYNC PARANOID_DESC= Enable paranoid secure routines VERYPARANOID_DESC=Enable extra paranoid secure routines and disable some extra features SOCKET_DESC= Enable control socket support LIBCLSYNC_DESC= Build libclsync.so for control socket clients OPTIONS_DEFAULT=PARANOID .include .if ${PORT_OPTIONS:MVERYPARANOID} CONFIGURE_ARGS+= --enable-paranoid=2 .else .if ${PORT_OPTIONS:MPARANOID} CONFIGURE_ARGS+= --enable-paranoid=1 .else CONFIGURE_ARGS+= --enable-paranoid=0 .endif .endif .if ${PORT_OPTIONS:MSOCKET} CONFIGURE_ARGS+= --enable-socket .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-debug .endif .if ${PORT_OPTIONS:MLIBCLSYNC} CONFIGURE_ARGS+= --enable-libclsync .endif .if ${COMPILER_TYPE} == clang post-patch: @${REINPLACE_CMD} -e 's|-fstack-check||' ${WRKSRC}/configure.ac .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/clsync ${STAGEDIR}${PREFIX}/sbin/clsync ${INSTALL_DATA} ${WRKSRC}/man/man1/clsync.1 ${STAGEDIR}${PREFIX}/man/man1/clsync.1 ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/freebsd/usr/local/etc/clsync/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample .include Index: head/sysutils/cpu-x/Makefile =================================================================== --- head/sysutils/cpu-x/Makefile (revision 450350) +++ head/sysutils/cpu-x/Makefile (revision 450351) @@ -1,46 +1,46 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= cpu-x PORTVERSION= 3.1.3 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= danfe@FreeBSD.org COMMENT= Gathers information about CPU, motherboard, and more LICENSE= GPLv3 BUILD_DEPENDS= nasm:devel/nasm LIB_DEPENDS= libcpuid.so:sysutils/libcpuid \ libpci.so:devel/libpci \ libstatgrab.so:devel/libstatgrab \ libcurl.so:ftp/curl USE_GITHUB= yes GH_ACCOUNT= X0rg GH_PROJECT= ${PORTNAME:tu} -USES= cmake execinfo gettext ncurses pkgconfig +USES= cmake gettext ncurses pkgconfig PORTDOCS= ChangeLog README.md OPTIONS_DEFINE= DOCS X11 OPTIONS_DEFAULT= X11 OPTIONS_SUB= yes X11_DESC= Build GTK+3 frontend in addition to ncurses one X11_USE= GNOME=gtk30 X11_CMAKE_OFF= -DWITH_GTK:BOOL=OFF X11_VARS= INSTALLS_ICONS=yes post-patch: @${REINPLACE_CMD} -e 's, -Wno-unused-result,,' ${WRKSRC}/CMakeLists.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Index: head/sysutils/fusefs-ext4fuse/Makefile =================================================================== --- head/sysutils/fusefs-ext4fuse/Makefile (revision 450350) +++ head/sysutils/fusefs-ext4fuse/Makefile (revision 450351) @@ -1,30 +1,30 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= ext4fuse PORTVERSION= 0.1.3 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= sysutils PKGNAMEPREFIX= fusefs- MAINTAINER= ehaupt@FreeBSD.org COMMENT= EXT4 implementation for FUSE LICENSE= GPLv2 -USES= execinfo fuse pkgconfig gmake +USES= fuse pkgconfig gmake USE_GITHUB= yes GH_ACCOUNT= gerard # explicitly empty to fix a cross compiling related issue (PR: 165480) MAKE_ENV+= TARGET_ARCH= ALL_TARGET= ${PORTNAME} PLIST_FILES= bin/ext4fuse do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include Index: head/sysutils/fusefs-rar2fs/Makefile =================================================================== --- head/sysutils/fusefs-rar2fs/Makefile (revision 450350) +++ head/sysutils/fusefs-rar2fs/Makefile (revision 450351) @@ -1,43 +1,43 @@ # Created by: Joris Vandalon # $FreeBSD$ PORTNAME= rar2fs PORTVERSION= 1.25.2 DISTVERSIONPREFIX= v CATEGORIES= sysutils PKGNAMEPREFIX= fusefs- MAINTAINER= n_carlsson@outlook.com COMMENT= Mount rar archives as filesystem LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libunrar.so.5:${LIBUNRAR_PORT} BUILD_DEPENDS= ${NONEXISTENT}:${LIBUNRAR_PORT}:patch USE_GITHUB= yes GH_ACCOUNT= hasse69 -USES= autoreconf execinfo gmake fuse +USES= autoreconf gmake fuse GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static-unrar \ --with-fuse-lib=${LOCALBASE}/lib \ --with-fuse=${LOCALBASE}/include/fuse \ --with-unrar=`${MAKE} -C ${PORTSDIR}/${LIBUNRAR_PORT} -VWRKSRC` \ --with-unrar-lib=${LOCALBASE}/lib CONFIGURE_ENV= LIBUNRAR_PKG=${LIBUNRAR_PKG} PLIST_FILES= bin/${PORTNAME} \ bin/mkr2i \ man/man1/rar2fs.1.gz LIBUNRAR_PORT= archivers/libunrar5 LIBUNRAR_PKG= ${LIBUNRAR_PORT:S|archivers/||} post-patch: @${REINPLACE_CMD} -e 's|-lstdc++||g' -e '/rar2fs_LINK =/s|CC|CXX|' \ ${WRKSRC}/Makefile.am .include Index: head/sysutils/htop/Makefile =================================================================== --- head/sysutils/htop/Makefile (revision 450350) +++ head/sysutils/htop/Makefile (revision 450351) @@ -1,28 +1,28 @@ # Created by: Tony Shadwick # $FreeBSD$ PORTNAME= htop PORTVERSION= 2.0.2 CATEGORIES= sysutils MAINTAINER= gaod@hychen.org COMMENT= Better top(1) - interactive process viewer LICENSE= GPLv2 RUN_DEPENDS= lsof:sysutils/lsof GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lexecinfo CONFIGURE_ARGS= --enable-unicode -USES= autoreconf execinfo libtool ncurses +USES= autoreconf libtool ncurses USE_GITHUB= yes GH_ACCOUNT= hishamhm PLIST_FILES= bin/htop \ man/man1/htop.1.gz \ share/applications/htop.desktop \ share/pixmaps/htop.png .include Index: head/sysutils/lnav/Makefile =================================================================== --- head/sysutils/lnav/Makefile (revision 450350) +++ head/sysutils/lnav/Makefile (revision 450351) @@ -1,37 +1,37 @@ # Created by: Thomas Hurst # $FreeBSD$ PORTNAME= lnav PORTVERSION= 0.8.2 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= tom@hur.st COMMENT= Terminal based log file navigator LICENSE= BSD2CLAUSE LIB_DEPENDS= libpcrecpp.so:devel/pcre USE_GITHUB= yes GH_ACCOUNT= tstack -USES= autoreconf compiler:c++14-lang execinfo gmake ncurses sqlite readline +USES= autoreconf compiler:c++14-lang gmake ncurses sqlite readline GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static PLIST_FILES= bin/lnav man/man1/lnav.1.gz OPTIONS_DEFINE= CURL OPTIONS_DEFAULT=CURL CURL_DESC= Use libcurl for remote log file support CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_WITH= libcurl do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/lnav ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/lnav.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include Index: head/sysutils/mate-power-manager/Makefile =================================================================== --- head/sysutils/mate-power-manager/Makefile (revision 450350) +++ head/sysutils/mate-power-manager/Makefile (revision 450351) @@ -1,51 +1,51 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= mate-power-manager PORTVERSION= 1.18.0 CATEGORIES= sysutils mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Power management system for the MATE Desktop BUILD_DEPENDS= itstool:textproc/itstool \ gnome-keyring>=3.0.0:security/gnome-keyring LIB_DEPENDS= libcanberra-gtk.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libupower-glib.so:sysutils/upower \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libnotify.so:devel/libnotify \ libunique-3.0.so:x11-toolkits/libunique3 \ libgnome-keyring.so:security/libgnome-keyring RUN_DEPENDS= pkexec:sysutils/polkit \ gnome-keyring>=3.0.0:security/gnome-keyring PORTSCOUT= limitw:1,even -USES= execinfo gettext gmake libtool localbase \ +USES= gettext gmake libtool localbase \ pathfix pkgconfig tar:xz USE_MATE= panel USE_XORG= x11 xext xproto xrandr xrender USE_GNOME= cairo glib20 gtk30 intlhack GNU_CONFIGURE= yes INSTALLS_ICONS= yes CONFIGURE_ENV= LIBS="-lexecinfo" CONFIGURE_ARGS= --with-doc-dir=${PREFIX}/share/doc \ --disable-docbook-docs \ --with-gtk=3.0 \ --with-keyring GLIB_SCHEMAS= org.mate.power-manager.gschema.xml post-patch: @${REINPLACE_CMD} -e "s|docbook2man|docbook2man_disabled|g" \ ${WRKSRC}/configure @${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in \ ${WRKSRC}/configure ${WRKSRC}/config.h.in .include Index: head/sysutils/openipmi/Makefile =================================================================== --- head/sysutils/openipmi/Makefile (revision 450350) +++ head/sysutils/openipmi/Makefile (revision 450351) @@ -1,138 +1,138 @@ # Created by: Alex Deiter # $FreeBSD$ PORTNAME= openipmi PORTVERSION= 2.0.21 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/OpenIPMI%202.0%20Library DISTNAME= OpenIPMI-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Complex IPMI management software LICENSE= GPLv2 LIB_DEPENDS= libpopt.so:devel/popt GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= execinfo gmake libtool ncurses pathfix pkgconfig +USES= gmake libtool ncurses pathfix pkgconfig USE_LDCONFIG= yes CPPFLAGS+= -I../include -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= SSL SNMP PERL PYTHON TCL TKINTER GDBM OPTIONS_RADIO= GLIB OPTIONS_RADIO_GLIB= GLIB12 GLIB20 SSL_DESC= IPMI 2.0 RMCP+ encryption and authentication SNMP_DESC= SNMP trap support for the sample programs PERL_DESC= Perl interface for OpenIPMI library PYTHON_DESC= Python interface for OpenIPMI library TCL_DESC= TCL interface for OpenIPMI library TKINTER_DESC= GUI for OpenIPMI, written in Python GDBM_DESC= Local SDR caching on startup GLIB12_DESC= Simply OS handler for glib 1.2 GLIB20_DESC= Simply OS handler for glib 2.0 .include .if exists(${LOCALBASE}/lib/libgdbm.so.3) PORT_OPTIONS+= GDBM .endif .if ${PORT_OPTIONS:MSNMP} PORT_OPTIONS+= SSL LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp CONFIGURE_ARGS+= --with-ucdsnmp=${LOCALBASE} .else CONFIGURE_ARGS+= --with-ucdsnmp=no .endif .if ${PORT_OPTIONS:MSSL} USES+= ssl CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} .else CONFIGURE_ARGS+= --with-openssl=no .endif .if ${PORT_OPTIONS:MTKINTER} USES+= python WITH_PYTHON= yes BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter \ ${LOCALBASE}/lib/Tix8.4.3/Tix.tcl:x11-toolkits/tix CONFIGURE_ARGS+= --with-tkinter PLIST_SUB+= TKINTER="" .else CONFIGURE_ARGS+= --with-tkinter=no PLIST_SUB+= TKINTER="@comment " .endif .if ${PORT_OPTIONS:MPERL} WITH_SWIG= yes USES+= perl5 CONFIGURE_ARGS+= --with-perl PLIST_SUB+= PERL="" .else CONFIGURE_ARGS+= --with-perl=no PLIST_SUB+= PERL="@comment " .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python CONFIGURE_ARGS+= --with-python --with-swig ac_cv_path_pythonprog=${PYTHON_CMD} BUILD_DEPENDS+= swig:devel/swig13 PLIST_SUB+= PYTHON="" .else CONFIGURE_ARGS+= --with-python=no --with-swig=no PLIST_SUB+= PYTHON="@comment " .endif .if ${PORT_OPTIONS:MTCL} USES+= tcl CONFIGURE_ARGS+= --with-tcl \ --with-tclcflags=-I${TCL_INCLUDEDIR} \ --with-tcllibs=-ltcl${TCL_SHLIB_VER} PLIST_SUB+= TCL="" .else CONFIGURE_ARGS+= --with-tcl=no PLIST_SUB+= TCL="@comment " .endif .if ${PORT_OPTIONS:MGDBM} LIB_DEPENDS+= libgdbm.so:databases/gdbm .endif .if ${PORT_OPTIONS:MGLIB12} USE_GNOME+= glib12 CONFIGURE_ARGS+= --with-glib12 --with-glibver=1.2 PLIST_SUB+= GLIB12="" .else CONFIGURE_ARGS+= --with-glib12=no PLIST_SUB+= GLIB12="@comment " .endif .if ${PORT_OPTIONS:MGLIB20} USE_GNOME+= glib20 CONFIGURE_ARGS+= --with-glib --with-glibver=2.0 PLIST_SUB+= GLIB20="" .else CONFIGURE_ARGS+= --with-glib=no PLIST_SUB+= GLIB20="@comment " .endif post-patch: @${REINPLACE_CMD} '/libOpenIPMIutils_la_LIBADD =/s/$$/ -lexecinfo/' \ ${WRKSRC}/utils/Makefile.in @${REINPLACE_CMD} 's|malloc.h|stdlib.h|' \ ${WRKSRC}/lanserv/sdrcomp/sdrcomp.c \ ${WRKSRC}/lanserv/extcmd.c \ ${WRKSRC}/lanserv/bmc_app.c \ ${WRKSRC}/lanserv/bmc_storage.c \ ${WRKSRC}/lanserv/bmc_picmg.c \ ${WRKSRC}/lanserv/bmc_sensor.c @${REINPLACE_CMD} 's|-ldl||' \ ${WRKSRC}/lanserv/Makefile.in .include Index: head/sysutils/ori/Makefile =================================================================== --- head/sysutils/ori/Makefile (revision 450350) +++ head/sysutils/ori/Makefile (revision 450351) @@ -1,45 +1,45 @@ # Created by: Ali Mashtizadeh # $FreeBSD$ PORTNAME= ori PORTVERSION= 0.8.1 PORTREVISION= 10 CATEGORIES= sysutils net MASTER_SITES= http://cdn.bitbucket.org/orifs/ori/downloads/ PATCH_SITES= https://bitbucket.org/orifs/ori/commits/ PATCHFILES= 48862f2477b1/raw:-p1 MAINTAINER= mashti@cs.stanford.edu COMMENT= Ori distributed file system LIB_DEPENDS= libevent.so:devel/libevent \ libboost_date_time.so:devel/boost-libs -USES= compiler:c++11-lib execinfo fuse pkgconfig scons ssl tar:xz +USES= compiler:c++11-lib fuse pkgconfig scons ssl tar:xz CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} -lcrypto MAKE_ARGS= VERBOSE=1 PLIST_FILES= bin/ori \ bin/oridbg \ bin/orifs \ bin/orisync \ man/man1/ori.1.gz \ man/man1/oridbg.1.gz \ man/man1/orifs.1.gz \ man/man1/orisync.1.gz do-install: @${ECHO_MSG} "===> Installing binaries..." ${INSTALL_PROGRAM} ${WRKSRC}/build/ori/ori ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/build/oridbg/oridbg ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/build/orifs/orifs ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/build/orisync/orisync ${STAGEDIR}${PREFIX}/bin/ @${ECHO_MSG} "===> Installing man pages..." ${INSTALL_MAN} ${WRKSRC}/docs/ori.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/oridbg.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/orifs.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/orisync.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include Index: head/sysutils/watchman/Makefile =================================================================== --- head/sysutils/watchman/Makefile (revision 450350) +++ head/sysutils/watchman/Makefile (revision 450351) @@ -1,50 +1,47 @@ # Created by: Jin-Sih, Lin # $FreeBSD$ PORTNAME= watchman PORTVERSION= 4.5.0 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= linpct@gmail.com COMMENT= File alteration monitoring service LICENSE= APACHE20 USE_GITHUB= yes GH_ACCOUNT= facebook USES= autoreconf gmake pkgconfig GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_prog_HAVE_ARC=false ac_cv_header_sys_inotify_h=no CONFIGURE_ARGS= --without-python --without-ruby # in separate ports TEST_TARGET= check PLIST_FILES= bin/${PORTNAME} \ "@dir(,,2777) /var/run/${PORTNAME}" PORTDOCS= README.markdown OPTIONS_DEFINE= BACKTRACE PCRE OPTIONS_DEFAULT=BACKTRACE PCRE BACKTRACE_DESC= Stack backtrace support via (lib)execinfo -BACKTRACE_USES= execinfo -BACKTRACE_CPPFLAGS= ${EXECINFO_CPPFLAGS} -BACKTRACE_LDFLAGS= ${EXECINFO_LDFLAGS} BACKTRACE_LIBS= -lexecinfo PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PCRE_CONFIGURE_WITH= pcre CPPFLAGS+= -Wno-error post-patch: # https://www.gnu.org/prep/standards/html_node/Directory-Variables.html @${REINPLACE_CMD} -e 's,xprefix/var,localstatedir,' \ -e '\,/etc, { s//$$sysconfdir/; /=/s/^/eval /; }' \ ${WRKSRC}/configure.ac @${REINPLACE_CMD} -e '/^docdir = /d' \ -e '/not-empty/d; /chmod g+s/d;' \ ${WRKSRC}/Makefile.am .include Index: head/textproc/goldendict/Makefile =================================================================== --- head/textproc/goldendict/Makefile (revision 450350) +++ head/textproc/goldendict/Makefile (revision 450351) @@ -1,35 +1,35 @@ # Created by: Boris Samorodov # $FreeBSD$ PORTNAME= goldendict PORTVERSION= 1.0.1 PORTREVISION= 10 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:C|(.*)\.[0-9]*$|\1|}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= bsam@FreeBSD.org COMMENT= Feature-rich Qt4 based dictionary lookup program LICENSE= GPLv3 LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell \ libvorbis.so:audio/libvorbis NO_WRKSUBDIR= yes -USES= dos2unix execinfo iconv pkgconfig qmake tar:bzip2 +USES= dos2unix iconv pkgconfig qmake tar:bzip2 DOS2UNIX_FILES= processwrapper.cc USE_XORG= xtst USE_QT4= corelib gui webkit phonon \ linguist_build moc_build rcc_build script_build uic_build INSTALLS_ICONS= yes post-patch: @${REINPLACE_CMD} 's:/usr:${PREFIX}:' ${WRKSRC}/redist/goldendict.desktop post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/locale ${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/textproc/groonga/Makefile =================================================================== --- head/textproc/groonga/Makefile (revision 450350) +++ head/textproc/groonga/Makefile (revision 450351) @@ -1,67 +1,67 @@ # $FreeBSD$ PORTNAME= groonga PORTVERSION= 7.0.6 CATEGORIES= textproc MASTER_SITES= http://packages.groonga.org/source/groonga/ MAINTAINER= bofh@FreeBSD.org COMMENT= Open-source fulltext search engine and column store LICENSE= LGPL21 LIB_DEPENDS= libpcre.so:devel/pcre -USES= execinfo gmake libedit libtool pathfix pkgconfig +USES= gmake libedit libtool pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-benchmark \ --disable-document \ --localstatedir=/var \ --without-cutter \ --without-inkscape \ --without-kytea \ --without-lemon \ --with-log-path=/var/log/groonga.log \ --with-munin-plugins INSTALL_TARGET= install-strip USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= MECAB SUGGEST RUBY OPTIONS_DEFAULT= MECAB SUGGEST RUBY OPTIONS_SUB= yes MECAB_DESC= Morphological analysis support via MeCab MECAB_LIB_DEPENDS= libmecab.so:japanese/mecab MECAB_CONFIGURE_OFF= --without-mecab SUGGEST_DESC= Suggestions support SUGGEST_LIB_DEPENDS= libevent.so:devel/libevent \ libmsgpackc.so:devel/msgpack \ libzmq.so:net/libzmq2 SUGGEST_CONFIGURE_ON= --with-libevent=${LOCALBASE} \ --with-message-pack=${LOCALBASE} \ --enable-zeromq SUGGEST_CONFIGURE_OFF= --without-libevent \ --without-message-pack \ --disable-zeromq RUBY_CONFIGURE_ON= --enable-mruby RUBY_USE= RUBY=yes post-patch: @${REINPLACE_CMD} -e \ 's|lib/$${PACKAGE}/db/db|db/$${PACKAGE}/db| ; \ s|-lpthread|-pthread|' ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/NGX_PID_PATH/s|mkdir|${TRUE}| ; \ /NGX_HTTP_LOG_PATH/s|mkdir|${TRUE}| ; \ /NGX_ERROR_LOG_PATH/s|mkdir|${TRUE}|' \ ${WRKSRC}/vendor/nginx-1.13.4/auto/install post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/groonga-httpd @${MKDIR} ${STAGEDIR}/var/log/groonga/httpd @${MKDIR} ${STAGEDIR}/var/run/groonga .include Index: head/textproc/zorba/Makefile =================================================================== --- head/textproc/zorba/Makefile (revision 450350) +++ head/textproc/zorba/Makefile (revision 450351) @@ -1,112 +1,112 @@ # Created by: gahr # $FreeBSD$ PORTNAME= zorba PORTVERSION= 2.7.0 PORTREVISION= 15 CATEGORIES= textproc MASTER_SITES= https://launchpadlibrarian.net/119058962/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= General purpose C++ XQuery processor LICENSE= APACHE20 LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 \ libicudata.so:devel/icu \ libcurl.so:ftp/curl \ libtidy.so:www/tidy-lib \ libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= fop:textproc/fop WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= PHP PYTHON RUBY JAVA DOCS DOXYGEN OPTIONS_SUB= yes DOXYGEN_BUILD_DEPENDS+= doxygen:devel/doxygen DOXYGEN_IMPLIES= DOCS PHP_CMAKE_BOOL= WITH_PHP5 PYTHON_CMAKE_BOOL= WITH_PYTHON RUBY_CMAKE_BOOL= WITH_RUBY JAVA_CMAKE_BOOL= WITH_JAVA # Both install include/xqc.h CONFLICTS= xqilla-[0-9]* USE_GNOME= libxml2 libxslt USE_LDCONFIG= yes USE_CXXSTD= c++11 -USES= cmake:outsource compiler:c++11-lib execinfo +USES= cmake:outsource compiler:c++11-lib CXXFLAGS+= -I${LOCALBASE}/include -O1 # compiler hangs with -O2 on CURRENT LDFLAGS+= -L${LOCALBASE}/lib CMAKE_ARGS= -DCMAKE_REQUIRED_FLAGS:STRING="-I${LOCALBASE}/include -L${LOCALBASE}/lib" \ -DLOCALBASE:STRING=${LOCALBASE} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} PLIST_SUB+= FULLVERSION=${PORTVERSION} \ MIDVERSION=${PORTVERSION:R} \ MINVERSION=${PORTVERSION:R:R} .if exists(/usr/lib/libexecinfo.so) LOC_EXECINFO= /usr/lib/libexecinfo.so .else LOC_EXECINFO= ${LOCALBASE}/lib/libexecinfo.so .endif .include .if ${PORT_OPTIONS:MPHP} USE_PHP= tokenizer USES+= php:build WITH_SWIG= yes CMAKE_ARGS+= -DPHP5_INSTALL_PATH:FILEPATH="lib/php/${PHP_EXT_DIR}" PLIST_SUB+= PHP_EXTLIBDIR="lib/php/${PHP_EXT_DIR}" .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python WITH_SWIG= yes CMAKE_ARGS+= -DPYTHON_SWIG_INSTALL_DIR:FILEPATH=${PYTHONPREFIX_SITELIBDIR:S/${PREFIX}\///} PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR:S/${PREFIX}\///} .endif .if ${PORT_OPTIONS:MRUBY} USE_RUBY= yes WITH_SWIG= yes .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes CONFIGURE_ENV+= JAVA_HOME=${JAVA_HOME} CATEGORIES+= java WITH_SWIG= yes CMAKE_ARGS+= -DJAVA_LIBDIR:PATH=${JAVALIBDIR} .endif .if defined(WITH_SWIG) BUILD_DEPENDS+= swig2.0:devel/swig20 .endif post-patch: ${REINPLACE_CMD} -e 's|%%LIBEXECINFO%%|${LOC_EXECINFO}|' \ -e 's|FreeBSD|${OPSYS}|g' ${WRKSRC}/CMakeLists.txt ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/cmake_modules/FindPHP5.cmake .if !${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY(doc)/d' \ ${WRKSRC}/CMakeLists.txt .endif post-install: ${LN} -sf libzorba_simplestore.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libzorba_simplestore.so.${PORTVERSION:R:R} .if ${PORT_OPTIONS:MDOCS} && !${PORT_OPTIONS:MDOXYGEN} cd ${STAGEDIR}${DOCSDIR} && ${RMDIR} c/html code/html code cxx/html zorba/html zorba/xqdoc zorba .endif test: build cd ${BUILD_WRKSRC} && ${MAKE} test .include Index: head/www/chromium/Makefile =================================================================== --- head/www/chromium/Makefile (revision 450350) +++ head/www/chromium/Makefile (revision 450351) @@ -1,300 +1,300 @@ # Created by: Florent Thoumie # $FreeBSD$ PORTNAME= chromium PORTVERSION= 61.0.3163.79 CATEGORIES?= www MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER?= chromium@FreeBSD.org COMMENT?= Google web browser based on WebKit LICENSE= BSD3CLAUSE LGPL21 MPL11 LICENSE_COMB= multi BUILD_DEPENDS= python:lang/python \ bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply \ .if !defined(GN_ONLY) BUILD_DEPENDS+= gperf:devel/gperf \ clang40:devel/llvm40 \ yasm:devel/yasm \ ffmpeg>=3.2.2,1:multimedia/ffmpeg \ flock:sysutils/flock \ node:www/node \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib .endif .if !defined(GN_ONLY) LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher \ libsnappy.so:archivers/snappy \ libFLAC.so:audio/flac \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libavcodec.so:multimedia/ffmpeg \ libcups.so:print/cups \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libgnome-keyring.so:security/libgnome-keyring \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxml2.so:textproc/libxml2 \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils \ droid-fonts-ttf>0:x11-fonts/droid-fonts-ttf ONLY_FOR_ARCHS= aarch64 amd64 i386 .endif .if defined(GN_ONLY) USES= compiler:c++14-lang ninja pkgconfig python:2,build shebangfix tar:xz .else -USES= bison cpe desktop-file-utils execinfo jpeg ninja perl5 pkgconfig \ +USES= bison cpe desktop-file-utils jpeg ninja perl5 pkgconfig \ python:2,build shebangfix tar:xz .endif MAKE_ARGS= -C out/${BUILDTYPE} .if !defined(GN_ONLY) CPE_VENDOR= google CPE_PRODUCT= chrome USE_LDCONFIG= ${DATADIR} USE_PERL5= build USE_XORG= scrnsaverproto x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xproto xrandr xrender xscrnsaver xtst USE_GNOME= atk dconf glib20 gtk30 libxml2 libxslt SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper ALL_TARGET= chrome INSTALLS_ICONS= yes CC= clang40 CXX= clang++40 .endif EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang # TODO bz@ : install libwidevinecdm.so (see third_party/widevine/cdm/BUILD.gn) # # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= clang_use_chrome_plugins=false \ enable_nacl=false \ enable_one_click_signin=true \ enable_remoting=false \ enable_webrtc=false \ fieldtrial_testing_like_official_build=true \ is_clang=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator="none" \ use_allocator_shim=false \ use_aura=true \ use_cups=true \ use_gtk3=true \ use_lld=true \ use_sysroot=false \ use_system_libjpeg=true \ use_system_sqlite=false # chrome has additional patches # TODO: investigate building with these options: # use_system_icu use_system_harfbuzz use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild # FreeBSD Chromium Api Key # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . # Note: these are for FreeBSD use ONLY. For your own distribution, # please get your own set of keys. GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8" \ google_default_client_id="996322985003.apps.googleusercontent.com" \ google_default_client_secret="IR1za9-1VK0zZ0f_O8MVFicn" .if !defined(GN_ONLY) SUB_FILES= chromium-browser.desktop chrome SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS GCONF KERBEROS DRIVER CODECS_DESC= Compile and enable patented codecs like H.264 DRIVER_DESC= Install chromedriver OPTIONS_GROUP= AUDIO TESTS OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_GROUP_TESTS= DEBUG TEST OPTIONS_DEFAULT= ALSA CODECS DRIVER GCONF KERBEROS OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=ffmpeg_branding="Chrome" \ GN_ARGS+=proprietary_codecs=true \ GN_ARGS+=enable_hevc_demuxing=true CODECS_VARS_OFF= GN_ARGS+=ffmpeg_branding="Chromium" \ GN_ARGS+=proprietary_codecs=false \ GN_ARGS+=enable_hevc_demuxing=false DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="lots of free diskspace (~ 8.5GB)" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=is_debug=false \ GN_ARGS+=symbol_level=0 \ GN_ARGS+=remove_webcore_debug_symbols=true \ WANTSPACE="a fair amount of free diskspace (~ 3.7GB)" DRIVER_MAKE_ARGS= chromedriver GCONF_USE= GNOME=gconf2 GCONF_VARS= GN_ARGS+=use_gconf=true GCONF_VARS_OFF= GN_ARGS+=use_gconf=false KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false # With SNDIO=on we exclude audio_manager_linux from the build (see # media/audio/BUILD.gn) and use audio_manager_openbsd which does not # support falling back to ALSA or PulseAudio. SNDIO_PREVENTS= ALSA PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false .endif .include "Makefile.tests" TEST_ALL_TARGET= ${TEST_TARGETS} TEST_DISTFILES= ${PORTNAME}-${DISTVERSION}-testdata${EXTRACT_SUFX} .include # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # Work around base r261801 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100508 GN_ARGS+= extra_cxxflags="-D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1" EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libc++-old .else EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libc++-new .endif .if ${ARCH} == aarch64 GN_ARGS+= use_vulcanize=false .endif .if !defined(GN_ONLY) pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Chromium, you should have around 2GB of memory" @${ECHO_MSG} "and ${WANTSPACE}." @${ECHO_MSG} post-patch-SNDIO-on: @${MKDIR} ${WRKSRC}/media/audio/sndio ${WRKSRC}/media/audio/openbsd @${CP} ${FILESDIR}/sndio_output.* ${WRKSRC}/media/audio/sndio @${CP} ${FILESDIR}/sndio_input.* ${WRKSRC}/media/audio/sndio @${CP} ${FILESDIR}/audio_manager_openbsd.* ${WRKSRC}/media/audio/openbsd pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ ffmpeg flac harfbuzz-ng libwebp libxml libxslt snappy yasm || ${FALSE} .endif do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} .if !defined(GN_ONLY) cd ${WRKSRC} && ${SETENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd-x64/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd-x64/bin/node .endif do-test-TEST-on: .for t in ${TEST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && ${SETENV} LC_ALL=en_US.UTF-8 \ ./${t} --gtest_filter=-${EXCLUDE_${t}:ts:} || ${TRUE} .endfor .if !defined(GN_ONLY) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKSRC}/out/${BUILDTYPE}/chrome.1 ${STAGEDIR}${MANPREFIX}/man/man1 .for m in font_service test_ime_driver ui ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${m}.service \ ${STAGEDIR}${DATADIR} .endfor .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png .endfor ${INSTALL_SCRIPT} ${WRKSRC}/chrome/tools/build/linux/chrome-wrapper \ ${STAGEDIR}${DATADIR} .for p in chrome_100_percent chrome_200_percent headless_lib keyboard_resources \ resources mus_app_resources_100 mus_app_resources_200 mus_app_resources_strings \ views_mus_resources ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${p}.pak \ ${STAGEDIR}${DATADIR} .endfor .for d in icudtl.dat natives_blob.bin snapshot_blob.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/chromium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/chrome ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot \ ${STAGEDIR}${DATADIR} post-install-DEBUG-on: ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/*.so \ ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/character_data_generator \ ${STAGEDIR}${DATADIR} post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver \ ${STAGEDIR}${PREFIX}/bin .endif .include Index: head/www/domoticz/Makefile =================================================================== --- head/www/domoticz/Makefile (revision 450350) +++ head/www/domoticz/Makefile (revision 450351) @@ -1,99 +1,99 @@ # $FreeBSD$ PORTNAME= domoticz PORTVERSION= 3.${DOMOTICZ_REL} CATEGORIES= www MAINTAINER= kiwi@oav.net COMMENT= Home Automation System LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/License.txt LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 CONFLICTS_INSTALL?= domoticz-[23]* domoticz-devel-* OPTIONS_SUB= YES OPTIONS_DEFINE= SBOOST SLUA SMQTT SSQLITE PYTHON TELLDUS SBOOST_DESC= Use static Boost instead of dynamic linking SLUA_DESC= Use domoticz provided LUA instead of ports one SMQTT_DESC= Use domoticz mosquitto instead of ports one SSQLITE_DESC= Use domoticz SQLLite instead of ports one PYTHON_DESC= Enable support for Python Plugins TELLDUS_DESC= Enable support for Telldus .include # This hack is to get rid of dependency of git while building # the package. DOMOTICZ_REL= 8153 DOMOTICZ_TS= 1501416191 USE_GITHUB= yes GH_ACCOUNT= domoticz GH_PROJECT= domoticz -USES= cmake iconv pkgconfig execinfo ssl +USES= cmake iconv pkgconfig ssl USE_RC_SUBR= domoticz USERS= domoticz GROUPS= domoticz CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX=${PREFIX}/domoticz \ -DUSE_BUILTIN_ZLIB="NO" \ -DUSE_STATIC_OPENZWAVE="NO" .if ${PORT_OPTIONS:MSBOOST} CMAKE_ARGS+= -DUSE_STATIC_BOOST="YES" BUILD_DEPENDS+= boost-libs>=0:devel/boost-libs .else CMAKE_ARGS+= -DUSE_STATIC_BOOST="NO" LIB_DEPENDS+= libboost_system.so:devel/boost-libs .endif .if ${PORT_OPTIONS:MSLUA} CMAKE_ARGS+= -DUSE_BUILTIN_LUA="YES" .else CMAKE_ARGS+= -DUSE_BUILTIN_LUA="NO" USES+= lua:52 .endif .if ${PORT_OPTIONS:MSMQTT} CMAKE_ARGS+= -DUSE_BUILTIN_MQTT="YES" .else CMAKE_ARGS+= -DUSE_BUILTIN_MQTT="NO" LIB_DEPENDS+= libmosquitto.so:net/mosquitto .endif .if ${PORT_OPTIONS:MSSQLITE} CMAKE_ARGS+= -DUSE_BUILTIN_SQLITE="YES" .else CMAKE_ARGS+= -DUSE_BUILTIN_SQLITE="NO" USES+= sqlite .endif .if ${PORT_OPTIONS:MPYTHON} CMAKE_ARGS+= -DUSE_PYTHON="YES" USES+= python:3.4 .else CMAKE_ARGS+= -DUSE_PYTHON="NO" .endif .if ${PORT_OPTIONS:MTELLDUS} LIB_DEPENDS+= libtelldus-core.so:comms/telldus-core .endif post-patch: @${REINPLACE_CMD} -e "s,\/opt,${PREFIX},g" ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e "s,XXXPREFIXXXX,${PREFIX}/domoticz,g" ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e "s,XXXDOMOTICZXXX,${DOMOTICZ_REL},g" ${WRKSRC}/appversion.default @${REINPLACE_CMD} -e "s,XXXHASHXXX,${GH_TAGNAME},g" ${WRKSRC}/appversion.default @${REINPLACE_CMD} -e "s,XXXTIMEXXX,${DOMOTICZ_TS},g" ${WRKSRC}/appversion.default @${REINPLACE_CMD} -e "/^ADD_PRECOMPILED_HEADER/ d" ${WRKSRC}/CMakeLists.txt post-install: @${MKDIR} ${STAGEDIR}/var/db/domoticz ${STAGEDIR}/var/run/domoticz .include Index: head/www/elinks/Makefile =================================================================== --- head/www/elinks/Makefile (revision 450350) +++ head/www/elinks/Makefile (revision 450351) @@ -1,106 +1,106 @@ # Created by: Michael Vasilenko # $FreeBSD$ PORTNAME= elinks DISTVERSION= 0.11.7 PORTREVISION= 8 CATEGORIES= www MASTER_SITES= http://elinks.or.cz/download/ MAINTAINER= beat@FreeBSD.org COMMENT= Links text WWW browser with enhancements LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes -USES= bison cpe execinfo gmake localbase ssl tar:bzip2 +USES= bison cpe gmake localbase ssl tar:bzip2 CONFIGURE_ARGS= --without-zlib LIBS+= -lexecinfo OPTIONS_DEFINE= 88COLORS 256COLORS SPIDERMONKEY XBELMARKS LOCAL_CGI \ FINGER GOPHER BITTORRENT NNTP FTP FSP SMB EXMODE \ HIGHLIGHT IDN NOROOT FASTMEM PERL \ LUA GUILE ICONV MOUSE NLS OPTIONS_DEFAULT= 88COLORS 256COLORS FTP EXMODE HIGHLIGHT FASTMEM MOUSE OPTIONS_SUB= yes 88COLORS_DESC= 88 color support 256COLORS_DESC= 256 color support SPIDERMONKEY_DESC= ECMAScript support (via SpiderMonkey) XBELMARKS_DESC= XBEL bookmarks (via expat) LOCAL_CGI_DESC= Local CGI support FSP_DESC= FSP protocol support (via fsplib) EXMODE_DESC= Exmode (CLI) support HIGHLIGHT_DESC= HTML highlighting using DOM engine NOROOT_DESC= Prevention of usage by root FASTMEM_DESC= Fast memory allocation functions NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls GUILE_LIB_DEPENDS= libguile.so:lang/guile GUILE_CONFIGURE_WITH= guile LUA_USES= lua:51 LUA_CONFIGURE_WITH= lua LUA_CPPFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} PERL_USES= perl5 PERL_CONFIGURE_WITH= perl FASTMEM_CONFIGURE_ON= --enable-fastmem IDN_LIB_DEPENDS= libidn.so:dns/libidn IDN_CONFIGURE_WITH= idn NOROOT_CONFIGURE_ON= --enable-no-root HIGHLIGHT_CONFIGURE_ON= --enable-html-highlight EXMODE_CONFIGURE_ON= --enable-exmode SMB_USES= samba # smbclient SMB_CONFIGURE_ENABLE= smb FSP_RUN_DEPENDS= ${LOCALBASE}/lib/libfsplib.a:net/fsplib FSP_BUILD_DEPENDS= ${LOCALBASE}/lib/libfsplib.a:net/fsplib FSP_CONFIGURE_ENABLE= fsp FTP_CONFIGURE_ENABLE= ftp NNTP_CONFIGURE_ENABLE= nntp BITTORRENT_CONFIGURE_ENABLE= bittorrent GOPHER_CONFIGURE_ENABLE= gopher MOUSE_CONFIGURE_ENABLE= mouse FINGER_CONFIGURE_ENABLE= finger LOCAL_CGI_CONFIGURE_ENABLE= cgi XBELMARKS_LIB_DEPENDS= libexpat.so:textproc/expat2 XBELMARKS_CONFIGURE_ON= --enable-xbel --with-expat XBELNARKS_CONFIGURE_OFF=--disable-xbel 256COLORS_CONFIGURE_ON= --enable-256-colors 88COLORS_CONFIGURE_ON= --enable-88-colors SPIDERMONKEY_BUILD_DEPENDS= ${LOCALBASE}/lib/libjs.so:lang/spidermonkey17 SPIDERMONKEY_RUN_DEPENDS= js:lang/spidermonkey17 SPIDERMONKEY_LIB_DEPENDS= libnspr4.so:devel/nspr SPIDERMONKEY_CFLAGS= -I${LOCALBASE}/include/nspr \ -I${LOCALBASE}/include/js-1.7 SPIDERMONKEY_LDFLAGS= -lnspr4 -pthread -lpthread -lm SPIDERMONKEY_CONFIGURE_ON= --enable-sm-scripting --with-spidermonkey SPIDERMONKEY_CONFIGURE_OFF= --disable-sm-scripting --without-spidermonkey ICONV_USES= iconv ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} .include Index: head/www/httrack/Makefile =================================================================== --- head/www/httrack/Makefile (revision 450350) +++ head/www/httrack/Makefile (revision 450351) @@ -1,57 +1,57 @@ # Created by: Dirk Froemberg # $FreeBSD$ PORTNAME= httrack PORTVERSION= 3.49.2 CATEGORIES= www MASTER_SITES= https://download.httrack.com/ \ https://mirror.httrack.com/ \ https://mirror.httrack.com/historical/ \ http://download.httrack.com/ \ http://mirror.httrack.com/ \ http://mirror.httrack.com/historical/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Easy-to-use offline browser utility and website copier LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual OPTIONS_DEFINE= DOCS ICONS OPTIONS_SUB= yes CONFIGURE_ARGS= --docdir=${DOCSDIR} --with-zlib=/usr GNU_CONFIGURE= yes INSTALL_TARGET= install-strip USE_LDCONFIG= ${PREFIX}/lib/httrack -USES= alias execinfo gmake iconv libtool localbase shebangfix ssl +USES= alias gmake iconv libtool localbase shebangfix ssl PORTDATA= * PORTDOCS= * SHEBANG_FILES= src/webhttrack ICONS_VARS= INSTALLS_ICONS=yes .include .if empty(ICONV_LIB) CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv=no .else CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv=yes .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/html/server/div/WebHTTrack* @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-ldl ||' ${WRKSRC}/src/coucal/Makefile post-install: ${INSTALL_DATA} ${WRKSRC}/html/httrack.css ${STAGEDIR}${DOCSDIR}/ post-install-DOCS-off: # make an empty directory instead of an invalid symbolic link to DOCSDIR ${RM} ${STAGEDIR}${DATADIR}/html ${MKDIR} ${STAGEDIR}${DATADIR}/html/ .include Index: head/www/iridium/Makefile =================================================================== --- head/www/iridium/Makefile (revision 450350) +++ head/www/iridium/Makefile (revision 450351) @@ -1,237 +1,237 @@ # Created by: Carlos J. Puga Medina # $FreeBSD$ PORTNAME= iridium PORTVERSION= 58.0 PORTREVISION= 8 CATEGORIES= www MASTER_SITES= https://downloads.iridiumbrowser.de/source/ PKGNAMESUFFIX= -browser DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} MAINTAINER= chromium@FreeBSD.org COMMENT= Iridium browser LICENSE= BSD3CLAUSE LGPL21 MPL LICENSE_COMB= multi BUILD_DEPENDS= gperf:devel/gperf \ clang40:devel/llvm40 \ yasm:devel/yasm \ python:lang/python \ ffmpeg>=3.2.2,1:multimedia/ffmpeg \ bash:shells/bash \ flock:sysutils/flock \ node:www/node \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${LOCALBASE}/share/usbids/usb.ids:misc/usbids \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 \ ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher \ libsnappy.so:archivers/snappy \ libFLAC.so:audio/flac \ libspeex.so:audio/speex \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libicuuc.so:devel/icu \ libjsoncpp.so:devel/jsoncpp \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libcairo.so:graphics/cairo \ libdrm.so:graphics/libdrm \ libexif.so:graphics/libexif \ libpng.so:graphics/png \ libwebp.so:graphics/webp \ libavcodec.so:multimedia/ffmpeg \ libcups.so:print/cups \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libgcrypt.so:security/libgcrypt \ libgnome-keyring.so:security/libgnome-keyring \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxml2.so:textproc/libxml2 \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils \ droid-fonts-ttf>0:x11-fonts/droid-fonts-ttf ONLY_FOR_ARCHS= amd64 i386 -USES= bison desktop-file-utils execinfo jpeg ninja perl5 \ +USES= bison desktop-file-utils jpeg ninja perl5 \ pkgconfig python:2,build shebangfix tar:xz USE_PERL5= build USE_XORG= scrnsaverproto x11 xcb xcomposite xcursor xext xdamage xfixes xi \ xproto xrandr xrender xscrnsaver xtst USE_GNOME= atk dconf glib20 gtk20 gtk30 libxml2 libxslt MAKE_ARGS= -C out/${BUILDTYPE} ALL_TARGET= chrome INSTALLS_ICONS= yes CC= clang40 CXX= clang++40 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-clang # Run "./out/${BUILDTYPE}/gn args out/${BUILDTYPE} --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= clang_use_chrome_plugins=false \ enable_media_router=true \ enable_nacl=false \ enable_one_click_signin=true \ enable_remoting=false \ enable_webrtc=false \ fieldtrial_testing_like_official_build=true \ is_clang=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator="none" \ use_aura=true \ use_cups=true \ use_experimental_allocator_shim=false \ use_gtk3=true \ use_lld=true \ use_sysroot=false \ use_system_libjpeg=true \ use_system_sqlite=false # chrome has additional patches # TODO: investigate building with these options: # use_system_icu use_system_harfbuzz use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild SUB_FILES= iridium-browser.desktop iridium SUB_LIST+= COMMENT="${COMMENT}" OPTIONS_DEFINE= CODECS DEBUG GCONF KERBEROS CODECS_DESC= Compile and enable patented codecs like H.264 OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_DEFAULT= ALSA CODECS GCONF KERBEROS OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=ffmpeg_branding="Chrome" \ GN_ARGS+=proprietary_codecs=true \ GN_ARGS+=enable_hevc_demuxing=true CODECS_VARS_OFF= GN_ARGS+=ffmpeg_branding="Chromium" \ GN_ARGS+=proprietary_codecs=false \ GN_ARGS+=enable_hevc_demuxing=false DEBUG_VARS= BUILDTYPE=Debug \ GN_ARGS+=is_debug=true \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="lots of free diskspace (~ 8.5GB)" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_ARGS+=is_debug=false \ GN_ARGS+=symbol_level=0 \ GN_ARGS+=remove_webcore_debug_symbols=true \ WANTSPACE="a fair amount of free diskspace (~ 3.7GB)" GCONF_USE= GNOME=gconf2 GCONF_VARS= GN_ARGS+=use_gconf=true GCONF_VARS_OFF= GN_ARGS+=use_gconf=false KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false # With SNDIO=on we exclude audio_manager_linux from the build (see # media/audio/BUILD.gn) and use audio_manager_openbsd which does not # support falling back to ALSA. In theory it supports falling back to # PulseAudio, but this is untested. SNDIO_PREVENTS= ALSA PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false .include # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # Work around base r261801 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100508 GN_ARGS+= extra_cxxflags="-D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR=1" .endif pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Iridium, you should have around 2GB of memory" @${ECHO_MSG} "and ${WANTSPACE}." @${ECHO_MSG} post-patch-SNDIO-on: @${MKDIR} ${WRKSRC}/media/audio/sndio ${WRKSRC}/media/audio/openbsd @${CP} ${FILESDIR}/sndio_output.* ${WRKSRC}/media/audio/sndio @${CP} ${FILESDIR}/sndio_input.* ${WRKSRC}/media/audio/sndio @${CP} ${FILESDIR}/audio_manager_openbsd.* ${WRKSRC}/media/audio/openbsd pre-configure: # We used to remove bundled libraries to be sure that iridium uses # system libraries and not shippen ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ ffmpeg flac harfbuzz-ng libwebp libxml libxslt snappy yasm || ${FALSE} do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ./out/${BUILDTYPE}/gn \ gen --args='${GN_ARGS}' out/${BUILDTYPE} # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/linux/node-linux-x64/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/linux/node-linux-x64/bin/node do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for m in font_service test_ime_driver ui ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${m}.service \ ${STAGEDIR}${DATADIR} .endfor ${INSTALL_MAN} ${WRKSRC}/out/${BUILDTYPE}/chrome.1 ${STAGEDIR}${MANPREFIX}/man/man1/iridium.1 .for s in 22 24 48 64 128 256 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps ${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/iridium.png .endfor .for p in chrome_100_percent chrome_200_percent headless_lib keyboard_resources \ resources mus_app_resources_100 mus_app_resources_200 mus_app_resources_strings \ views_mus_resources ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${p}.pak \ ${STAGEDIR}${DATADIR} .endfor .for d in icudtl.dat natives_blob.bin snapshot_blob.bin ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${d} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chrome \ ${STAGEDIR}${DATADIR}/iridium cd ${WRKSRC}/out/${BUILDTYPE} && \ ${COPYTREE_SHARE} "locales resources" ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKDIR}/iridium-browser.desktop \ ${STAGEDIR}${DESKTOPDIR} ${INSTALL_SCRIPT} ${WRKDIR}/iridium ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/mksnapshot \ ${STAGEDIR}${DATADIR} .include Index: head/www/links-hacked/Makefile =================================================================== --- head/www/links-hacked/Makefile (revision 450350) +++ head/www/links-hacked/Makefile (revision 450351) @@ -1,75 +1,75 @@ # Created by: Peter Vereshagin # $FreeBSD$ PORTNAME= links-hacked DISTVERSION= 101110 PORTREVISION= 4 CATEGORIES?= www MASTER_SITES= http://xray.sai.msu.ru/~karpov/links-hacked/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= Hacked version of a Links WWW browser LICENSE= GPLv2 -USES= autoreconf execinfo ssl +USES= autoreconf ssl USE_CSTD= gnu89 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ssl --without-pmshell --without-atheos --without-fb CFLAGS+= -Wno-error=return-type CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo CONFLICTS= links-[0-9]* PLIST_FILES= bin/links man/man1/links.1.gz OPTIONS_DEFINE= FORMSAVE FREETYPE JS OPTIONS_RADIO= GRAPHICS OPTIONS_RADIO_GRAPHICS= DIRECTFB SVGALIB X11 OPTIONS_DEFAULT= FORMSAVE FREETYPE JS X11 DIRECTFB_DESC= DirectFB driver support DIRECTFB_LIB_DEPENDS= libdirectfb-1.4.so:devel/directfb DIRECTFB_CONFIGURE_WITH= directfb FORMSAVE_DESC= Form saving/loading support FORMSAVE_LIB_DEPENDS= libgdbm.so:databases/gdbm FORMSAVE_CONFIGURE_ENABLE= form-saving FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_WITH= freetype JS_DESC= Javascript interpreter support (very basic) JS_CONFIGURE_ENABLE= javascript SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_WITH= svgalib X11_USE= xorg=x11,xproto X11_CONFIGURE_WITH= x .include .if ${PORT_OPTIONS:MDIRECTFB} || ${PORT_OPTIONS:MSVGALIB} || ${PORT_OPTIONS:MX11} LIB_DEPENDS+= libpng.so:graphics/png \ libtiff.so:graphics/tiff USES+= jpeg CONFIGURE_ARGS+= --enable-graphics .else CONFIGURE_ARGS+= --disable-graphics --without-libjpeg --without-libtiff .endif .if ${PORT_OPTIONS:MX11} DESKTOP_ENTRIES="Links" \ "Lynx-like hacked WWW browser" \ "${PREFIX}/share/pixmaps/links.xpm" \ "links -g" \ "Network;WebBrowser;" \ false PLIST_FILES+= share/pixmaps/links.xpm .endif post-install: .if ${PORT_OPTIONS:MX11} (cd ${WRKSRC}/graphics && ${INSTALL_DATA} links.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps) .endif .include Index: head/www/mod_backtrace/Makefile =================================================================== --- head/www/mod_backtrace/Makefile (revision 450350) +++ head/www/mod_backtrace/Makefile (revision 450351) @@ -1,41 +1,40 @@ # Created by: Frank Wall # $FreeBSD$ PORTNAME= mod_backtrace PORTVERSION= 1.0 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://people.apache.org/~trawick/ \ http://dl.moov.de/freebsd/${PORTNAME}/ DISTNAME= ${PORTNAME}.c EXTRACT_SUFX= # none EXTRACT_ONLY= # empty MAINTAINER= fw@moov.de COMMENT= Collects backtraces when a child process crashes LICENSE= APACHE20 MANUAL_PACKAGE_BUILD= requires apache WITH_EXCEPTION_HOOK=yes -USES= execinfo USE_APACHE= 22+ AP_FAST_BUILD= yes AP_GENPLIST= yes AP_EXTRAS+= -lexecinfo AP_LIB+= ${LOCALBASE}/lib SHORTMODNAME= backtrace WRKSRC= ${WRKDIR} pre-everything:: @${ECHO_MSG} "*********************** PLEASE NOTE! ***********************" @${ECHO_MSG} "Apache httpd must be built with the --enable-exception-hook" @${ECHO_MSG} "configure option and mod_so enabled." @${ECHO_MSG} "*********************** PLEASE NOTE! ***********************" do-extract: @${MKDIR} ${WRKSRC} ${CP} ${DISTDIR}/${PORTNAME}.c ${WRKSRC} .include Index: head/www/mod_spdy/Makefile =================================================================== --- head/www/mod_spdy/Makefile (revision 450350) +++ head/www/mod_spdy/Makefile (revision 450351) @@ -1,151 +1,151 @@ # Created by: Masaki TAGAWA # $FreeBSD$ PORTNAME= mod_spdy PORTVERSION= 0.9.4.1 PORTREVISION= 4 CATEGORIES= www MASTER_SITES= http://www.club.kyutech.ac.jp/~masaki/ports/:mod_spdy \ APACHE_HTTPD:apache22 DISTFILES= mod_spdy_source_${PORTVERSION}.tar.xz:mod_spdy \ httpd-2.2.22.tar.gz:apache22 DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= mod_spdy_source_${PORTVERSION}.tar.xz MAINTAINER= masaki@club.kyutech.ac.jp COMMENT= SPDY module for the Apache HTTP server v2.2 LICENSE= APACHE20 BUILD_DEPENDS= python:lang/python \ greadlink:sysutils/coreutils \ flock:sysutils/flock \ svn:devel/subversion \ curl:ftp/curl \ bash:shells/bash ONLY_FOR_ARCHS= amd64 i386 USE_APACHE= 22 -USES= compiler execinfo gmake python:2 ssl tar:xz +USES= compiler gmake python:2 ssl tar:xz REINPLACE_ARGS= -i "" WRKSRC= ${WRKDIR}/${PORTNAME}_source_${PORTVERSION}/mod_spdy/src CFLAGS+= -fno-stack-protector -Wno-unknown-warning-option -Wno-c++11-extensions -I${OPENSSLINC} LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} GYP_DEFINES+= \ use_system_apache_dev=1 \ use_system_zlib=1 \ system_include_path_httpd=${LOCALBASE}/include/apache22 \ system_include_path_apr=${LOCALBASE}/include/apr-1 \ system_include_path_aprutil=${LOCALBASE}/include/apr-1 \ system_include_path_execinfo=${LOCALBASE}/include \ include_dirs=${LOCALBASE}/include SUB_FILES+= mod_spdy.conf SUB_LIST+= APACHEMODDIR=${APACHEMODDIR} OPTIONS_DEFINE= GCC DEBUG # workaround for archs with no clang in base, part 1: # do not include the option to turn GCC off. Instead, force its use. OPTIONS_EXCLUDE_sparc64= GCC .include # workaround for archs with no clang in base, part 2 .if ${PORT_OPTIONS:MGCC} || ${ARCH} == sparc64 FORCE_GCC= yes .else FORCE_GCC= no .endif .if ${FORCE_GCC} == yes BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin .endif .if ${FORCE_GCC} == yes USE_GCC?= yes GYP_DEFINES+= gcc_version=${CXX:S/g++//} .else CC= clang CXX= clang++ GYP_DEFINES+= clang=1 .endif .if ${PORT_OPTIONS:MDEBUG} MAKE_ENV+= V=1 BUILDTYPE= Debug .else BUILDTYPE= Release GYP_DEFINES+= buildtype=Official .endif CONFIGURE_ENV+= CC=${CC} \ CXX=${CXX} \ GYP_DEFINES="${GYP_DEFINES}" # according to portlint the below is passed via bsd.port.mk, # but 'make -V CONFIGURE_ENV' does not show it: CONFIGURE_ENV+= CFLAGS="${CFLAGS}" \ CPPFLAGS="${CPPFLAGS}" \ CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" MAKE_ENV+= BUILDTYPE=${BUILDTYPE} BROKEN_SSL= libressl libressl-devel BROKEN_SSL_REASON= please use www/apache24 with mod_http2 .include .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 36 CXXFLAGS+= -Wno-unused-local-typedef .endif post-extract: @${MKDIR} ${WRKSRC}/temp/progress @${CP} ${DISTDIR}/${DIST_SUBDIR}/httpd-2.2.22.tar.gz ${WRKSRC}/temp/ && \ ${TOUCH} ${WRKSRC}/temp/progress/httpd-2.2.22.tar.gz.downloaded post-patch: @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ ${WRKSRC}/base/base.gypi @${REINPLACE_CMD} -e 's,#!/bin/bash,#!${LOCALBASE}/bin/bash,' \ -e 's,%%FILESDIR%%,${FILESDIR},g' \ -e 's,%%OPENSSLBASE%%,${OPENSSLBASE},g' \ ${WRKSRC}/build_modssl_with_npn.sh .if ${FORCE_GCC} == yes @${REINPLACE_CMD} -e 's,%%GCCCXXFLAGS%%,-I${LOCALBASE}/lib/gcc${CXX:S/g++//}/include,g' \ -e 's,%%GCCLDFLAGS%%,-L${LOCALBASE}/lib/gcc${CXX:S/g++//},g' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,%%GCCCXXFLAGS%%,-I${LOCALBASE}/lib/gcc${CXX:S/g++//}/include,g' \ -e 's,%%GCCLDFLAGS%%,-L${LOCALBASE}/lib/gcc${CXX:S/g++//},g' \ ${WRKSRC}/tools/gyp/pylib/gyp/generator/make.py .else @${REINPLACE_CMD} -e 's,%%GCCCXXFLAGS%%,,g' \ -e 's,%%GCCLDFLAGS%%,,g' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,%%GCCCXXFLAGS%%,,g' \ -e 's,%%GCCLDFLAGS%%,,g' \ ${WRKSRC}/tools/gyp/pylib/gyp/generator/make.py .endif do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ../../depot_tools/gclient.py runhooks pre-build: cd ${WRKSRC} && CONFIGURE_ENV='${CONFIGURE_ENV}' \ BUILDROOT=${WRKSRC}/temp ${WRKSRC}/build_modssl_with_npn.sh do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/${APACHEMODDIR} \ ${STAGEDIR}/${PREFIX}/${APACHEETCDIR}/Includes ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libmod_spdy.so \ ${STAGEDIR}/${PREFIX}/${APACHEMODDIR}/mod_spdy.so ${INSTALL_LIB} ${WRKSRC}/mod_ssl.so \ ${STAGEDIR}/${PREFIX}/${APACHEMODDIR}/mod_ssl_with_npn.so ${INSTALL_DATA} ${WRKDIR}/mod_spdy.conf \ ${STAGEDIR}/${PREFIX}/${APACHEETCDIR}/Includes/mod_spdy.conf .include Index: head/www/node/Makefile =================================================================== --- head/www/node/Makefile (revision 450350) +++ head/www/node/Makefile (revision 450351) @@ -1,114 +1,114 @@ # $FreeBSD$ PORTNAME= node PORTVERSION= 8.5.0 DISTVERSIONPREFIX= v CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ MAINTAINER= bhughes@FreeBSD.org COMMENT= V8 JavaScript for client and server LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS DTRACE OPTIONS_DEFAULT=DTRACE OPTIONS_SUB= yes OPTIONS_DEFAULT_FreeBSD_10= BUNDLED_SSL OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_FreeBSD_10= DTRACE OPTIONS_EXCLUDE_aarch64= DTRACE BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation BUNDLED_SSL_USES_OFF= ssl BUNDLED_SSL_CONFIGURE_OFF= --shared-openssl --openssl-use-def-ca-store BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss NLS_CONFIGURE_ON= --with-intl=system-icu NLS_LIB_DEPENDS= libicui18n.so:devel/icu DTRACE_CONFIGURE_ON= --with-dtrace -USES= compiler:c++11-lib execinfo gmake python:2,build pkgconfig \ +USES= compiler:c++11-lib gmake python:2,build pkgconfig \ localbase shebangfix HAS_CONFIGURE= yes USE_LDCONFIG= yes CONFLICTS_INSTALL= node[456]-[0-9]* node01[02]-[0-9]* node-devel-[0-9]* iojs-[0-9]* ONLY_FOR_ARCHS= aarch64 amd64 armv6 i386 CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \ --without-npm \ --shared-cares \ --shared-libuv \ --shared-zlib SHEBANG_FILES= tools/specialize_node_d.py tools/genv8constants.py PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} REINPLACE_ARGS= -i '' MAKE_ENV+= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX} LIB_DEPENDS+= libcares.so:dns/c-ares\ libuv.so:devel/libuv .include .if empty(PORT_OPTIONS:MBUNDLED_SSL) .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base IGNORE= node.js requires openssl 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf or enable BUNDLED_SSL option .endif .if !empty(SSL_DEFAULT:Mlibressl*) IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL .endif .endif .include .if ${ARCH} == "armv6" CONFIGURE_ARGS+=--openssl-no-asm .endif .if ${COMPILER_TYPE} == gcc # GCC does not expose std::snprintf() without this define CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/deps/v8/src/v8.gyp # So many different ways to run python. Fix them all. @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/configure @${FIND} ${WRKSRC} -type f -name '*.gyp*' -print0 \ | ${XARGS} -0 ${REINPLACE_CMD} \ -e "s|'python'|'${PYTHON_CMD}'|" \ -e 's| Index: head/www/node4/Makefile =================================================================== --- head/www/node4/Makefile (revision 450350) +++ head/www/node4/Makefile (revision 450351) @@ -1,92 +1,92 @@ # Created by: Jin-Sih Lin # $FreeBSD$ PORTNAME= node PORTVERSION= 4.8.4 PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ PKGNAMESUFFIX= 4 MAINTAINER= bhughes@FreeBSD.org COMMENT= V8 JavaScript for client and server (4.x LTS) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS OPTIONS_DEFAULT= OPTIONS_SUB= yes OPTIONS_DEFAULT_FreeBSD_10= BUNDLED_SSL OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation #' BUNDLED_SSL_USES_OFF= ssl BUNDLED_SSL_CONFIGURE_OFF= --shared-openssl NLS_CONFIGURE_ON= --with-intl=system-icu NLS_LIB_DEPENDS= libicui18n.so:devel/icu -USES= compiler:c++11-lib execinfo gmake python:2 pkgconfig localbase +USES= compiler:c++11-lib gmake python:2 pkgconfig localbase HAS_CONFIGURE= yes USE_LDCONFIG= yes CONFLICTS_INSTALL= node[56]-[0-9]* node01[02]-[0-9]* node-[0-9]* node-devel-[0-9]* iojs-[0-9]* ONLY_FOR_ARCHS= amd64 i386 CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \ --without-npm \ --shared-libuv \ --shared-zlib PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} REINPLACE_ARGS= -i '' MAKE_ENV+= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX} LIB_DEPENDS+= libuv.so:devel/libuv .include .if empty(PORT_OPTIONS:MBUNDLED_SSL) .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base IGNORE= node.js requires openssl 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf or enable BUNDLED_SSL option .endif .if !empty(SSL_DEFAULT:Mlibressl*) IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL .endif .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/deps/v8/tools/gyp/v8.gyp @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e "s|python -c|${PYTHON_CMD} -c|" \ ${WRKSRC}/deps/v8/build/toolchain.gypi @${REINPLACE_CMD} -e "s|'python',|'${PYTHON_CMD}',|" \ ${WRKSRC}/common.gypi \ ${WRKSRC}/deps/v8/build/shim_headers.gypi \ ${WRKSRC}/deps/v8/build/standalone.gypi \ ${WRKSRC}/deps/v8/src/d8.gyp \ ${WRKSRC}/deps/v8/tools/gyp/v8.gyp \ ${WRKSRC}/node.gyp \ ${WRKSRC}/tools/icu/icu-generic.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: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node .include Index: head/www/node6/Makefile =================================================================== --- head/www/node6/Makefile (revision 450350) +++ head/www/node6/Makefile (revision 450351) @@ -1,113 +1,113 @@ # $FreeBSD$ PORTNAME= node PORTVERSION= 6.11.3 DISTVERSIONPREFIX= v CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ PKGNAMESUFFIX= 6 MAINTAINER= bhughes@FreeBSD.org COMMENT= V8 JavaScript for client and server (6.x) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS DTRACE OPTIONS_DEFAULT=DTRACE OPTIONS_SUB= yes OPTIONS_DEFAULT_FreeBSD_10= BUNDLED_SSL OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_FreeBSD_10= DTRACE BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation #' BUNDLED_SSL_USES_OFF= ssl BUNDLED_SSL_CONFIGURE_OFF+= --shared-openssl NLS_CONFIGURE_ON= --with-intl=system-icu NLS_LIB_DEPENDS= libicui18n.so:devel/icu DTRACE_CONFIGURE_ON= --with-dtrace -USES= compiler:c++11-lib execinfo gmake python:2,build pkgconfig \ +USES= compiler:c++11-lib gmake python:2,build pkgconfig \ localbase shebangfix HAS_CONFIGURE= yes USE_LDCONFIG= yes CONFLICTS_INSTALL= node[45]-[0-9]* node01[02]-[0-9]* node-[0-9]* node-devel-[0-9]* iojs-[0-9]* ONLY_FOR_ARCHS= amd64 armv6 i386 CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \ --without-npm \ --shared-cares \ --shared-libuv \ --shared-zlib SHEBANG_FILES= tools/specialize_node_d.py tools/genv8constants.py PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} REINPLACE_ARGS= -i '' MAKE_ENV+= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX} LIB_DEPENDS+= libcares.so:dns/c-ares\ libuv.so:devel/libuv .include .if empty(PORT_OPTIONS:MBUNDLED_SSL) .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 && ${SSL_DEFAULT} == base IGNORE= node.js requires openssl 1.0.2, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf or enable BUNDLED_SSL option .endif .if !empty(SSL_DEFAULT:Mlibressl*) IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL .endif .endif .include .if ${ARCH} == "armv6" CONFIGURE_ARGS+=--openssl-no-asm .endif .if ${COMPILER_TYPE} == gcc # GCC does not expose std::snprintf() without this define CXXFLAGS+= -D_GLIBCXX_USE_C99 .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/deps/v8/tools/gyp/v8.gyp # So many different ways to run python. Fix them all. @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/configure @${FIND} ${WRKSRC} -type f -name '*.gyp*' -print0 \ | ${XARGS} -0 ${REINPLACE_CMD} \ -e "s|'python'|'${PYTHON_CMD}'|" \ -e 's| Index: head/www/qupzilla-qt4/Makefile =================================================================== --- head/www/qupzilla-qt4/Makefile (revision 450350) +++ head/www/qupzilla-qt4/Makefile (revision 450351) @@ -1,55 +1,55 @@ # $FreeBSD$ PORTNAME= qupzilla PORTVERSION= 1.8.9 PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/ PKGNAMESUFFIX= -qt4 DISTNAME= QupZilla-${PORTVERSION} MAINTAINER= rezny@FreeBSD.org COMMENT= Web browser based on WebKit engine and Qt Framework LICENSE= GPLv3 LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell CONFLICTS_INSTALL= ${PORTNAME}-qt5* -USES= desktop-file-utils execinfo pkgconfig qmake ssl tar:xz +USES= desktop-file-utils pkgconfig qmake ssl tar:xz USE_QT4= corelib gui network script sql webkit xml \ linguisttools_build moc_build rcc_build uic_build \ imageformats_run sql-sqlite3_run USE_XORG= x11 CONFIGURE_ENV= QUPZILLA_PREFIX=${PREFIX}/ USE_LDCONFIG= yes INSTALLS_ICONS= yes PLIST_SUB= VERSION=${PORTVERSION} OPTIONS_DEFINE= DBUS DEBUG GNOMEKEYRING KWALLET OPTIONS_DEFAULT=DBUS OPTIONS_SUB= yes DBUS_USE= QT4=dbus DBUS_CONFIGURE_ENV_OFF= DISABLE_DBUS="true" GNOMEKEYRING_LIB_DEPENDS= libgnome-keyring.so:security/libgnome-keyring GNOMEKEYRING_CONFIGURE_ENV= GNOME_INTEGRATION="true" KWALLET_USES= kde:4 KWALLET_USE= KDE=kdelibs KWALLET_CONFIGURE_ENV= KDE_INTEGRATION="true" post-patch: @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \ ${WRKSRC}/tests/autotests/qztoolstest.cpp \ ${WRKSRC}/src/lib/plugins/qtwebkit/spellcheck/speller.cpp @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \ ${WRKSRC}/src/install.pri \ ${WRKSRC}/src/defines.pri \ ${WRKSRC}/src/lib/plugins/plugins.cpp @${REINPLACE_CMD} -e 's|%%KDE4_INC%%|${LOCALBASE}/include/kde4|g' \ ${WRKSRC}/src/plugins/KWalletPasswords/KWalletPasswords.pro .include Index: head/www/qupzilla-qt5/Makefile =================================================================== --- head/www/qupzilla-qt5/Makefile (revision 450350) +++ head/www/qupzilla-qt5/Makefile (revision 450351) @@ -1,61 +1,61 @@ # $FreeBSD$ PORTNAME= qupzilla PORTVERSION= 1.8.9 PORTREVISION= 3 CATEGORIES= www MASTER_SITES= https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/ PKGNAMESUFFIX= -qt5 DISTNAME= QupZilla-${PORTVERSION} MAINTAINER= rezny@FreeBSD.org COMMENT= Web browser based on WebKit engine and Qt Framework LICENSE= GPLv3 LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell CONFLICTS_INSTALL= ${PORTNAME}-qt4* -USES= desktop-file-utils execinfo pkgconfig qmake ssl tar:xz +USES= desktop-file-utils pkgconfig qmake ssl tar:xz USE_QT5= core concurrent gui network printsupport script sql webkit \ widgets x11extras xml imageformats_run sql-sqlite3_run \ buildtools_build linguisttools_build USE_XORG= x11 USE_GL= gl CONFIGURE_ENV= QUPZILLA_PREFIX=${PREFIX}/ USE_LDCONFIG= yes INSTALLS_ICONS= yes PLIST_SUB= VERSION=${PORTVERSION} OPTIONS_DEFINE= DBUS DEBUG GNOMEKEYRING KWALLET OPTIONS_DEFAULT=DBUS OPTIONS_SUB= yes DBUS_USE= QT5=dbus DBUS_CONFIGURE_ENV_OFF= DISABLE_DBUS="true" GNOMEKEYRING_LIB_DEPENDS= libgnome-keyring.so:security/libgnome-keyring GNOMEKEYRING_CONFIGURE_ENV= GNOME_INTEGRATION="true" KWALLET_USES= kde:5 KWALLET_USE= KDE=wallet KWALLET_CONFIGURE_ENV= KDE_INTEGRATION="true" .include # work around for build failure in test plugin (single source file target) .if ${PORT_OPTIONS:MDEBUG} MAKE_JOBS_UNSAFE= yes .endif post-patch: @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \ ${WRKSRC}/tests/autotests/qztoolstest.cpp \ ${WRKSRC}/src/lib/plugins/qtwebkit/spellcheck/speller.cpp @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \ ${WRKSRC}/src/install.pri \ ${WRKSRC}/src/defines.pri \ ${WRKSRC}/src/lib/plugins/plugins.cpp .include Index: head/www/trafficserver/Makefile =================================================================== --- head/www/trafficserver/Makefile (revision 450350) +++ head/www/trafficserver/Makefile (revision 450351) @@ -1,68 +1,68 @@ # Created by: Jui-Nan Lin # $FreeBSD$ PORTNAME= trafficserver PORTVERSION= 6.2.0 CATEGORIES= www MASTER_SITES= APACHE/${PORTNAME} MAINTAINER= gaod@hychen.org COMMENT= Fast, scalable and extensible HTTP proxy server LICENSE= APACHE20 LIB_DEPENDS= libcurl.so:ftp/curl \ libhwloc.so:devel/hwloc \ libpcre.so:devel/pcre \ libxml2.so:textproc/libxml2 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= cpe execinfo gmake libtool ncurses pathfix perl5 pkgconfig \ +USES= cpe gmake libtool ncurses pathfix perl5 pkgconfig \ sqlite ssl tar:bzip2 tcl CPE_VENDOR= apache CPE_PRODUCT= traffic_server USE_PERL5= build run USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} ONLY_FOR_ARCHS= amd64 USERS= ${WWWOWN} GROUPS= ${WWWGRP} PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" PORTVERSION="${PORTVERSION}" LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-libxml2=${LOCALBASE} \ --with-pcre=${LOCALBASE} \ --with-openssl=${OPENSSLBASE} \ --with-xml=libxml2 \ --with-tcl=${TCL_LIBDIR} \ --enable-cppapi \ --localstatedir=/var \ --with-user=${USERS} \ --with-group=${GROUPS} OPTIONS_DEFINE= DOCS WCCP SPDY WCCP_DESC= Enable WCCPv2 protocol SPDY_DESC= Enable SPDY WCCP_CONFIGURE_ENABLE= wccp SPDY_CONFIGURE_ENABLE= spdy SPDY_LIB_DEPENDS= libspdylay.so:www/spdylay post-patch: @${REINPLACE_CMD} \ -e '/cachedir:/s,$${localstatedir}+,$${localstatedir}/cache+,' \ -e '/runtimedir:/s,$${localstatedir}+,$${localstatedir}/run+,' \ ${WRKSRC}/config.layout @${REINPLACE_CMD} '/^LUA_LDFLAGS =/s/$$/ @LDFLAGS@/' \ ${WRKSRC}/lib/Makefile.in post-install: @${RMDIR} ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${ETCDIR}/snapshots (cd ${STAGEDIR}${ETCDIR} && for f in *.config *.config.xml; do ${MV} $$f $$f.sample; done) .include Index: head/x11/cinnamon-session/Makefile =================================================================== --- head/x11/cinnamon-session/Makefile (revision 450350) +++ head/x11/cinnamon-session/Makefile (revision 450351) @@ -1,41 +1,41 @@ # Created by: Gustau Perez i Querol # $FreeBSD$ PORTNAME= cinnamon-session PORTVERSION= 2.4.3 PORTREVISION= 3 CATEGORIES= x11 gnome DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Session component for the cinnamon desktop BUILD_DEPENDS= gnome-autogen.sh:devel/gnome-common LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libjson-glib-1.0.so:devel/json-glib \ libupower-glib.so:sysutils/upower \ libcanberra.so:audio/libcanberra RUN_DEPENDS= console-kit-daemon:sysutils/consolekit2 \ xdpyinfo:x11/xdpyinfo -USES= autoreconf:build execinfo gettext gmake libtool \ +USES= autoreconf:build gettext gmake libtool \ pathfix pkgconfig tar:xz USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_GNOME= gnomeprefix gtk30 intlhack USE_XORG= ice sm xau xext xtst xrender xtrans xcomposite USE_GL= gl INSTALLS_ICONS= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docbook-docs CPPFLAGS+= -I${LOCALBASE}/include -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration CFLAGS+= -I${LOCALBASE}/include -Wno-error=format-nonliteral -Wno-error=implicit-function-declaration LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.cinnamon.SessionManager.gschema.xml pre-configure: cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} ./autogen.sh .include Index: head/x11/gdm/Makefile =================================================================== --- head/x11/gdm/Makefile (revision 450350) +++ head/x11/gdm/Makefile (revision 450351) @@ -1,155 +1,155 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= gdm PORTVERSION= 3.16.4 PORTREVISION= 3 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME 3 version of xdm display manager BUILD_DEPENDS= zenity>=3.0.0:x11/zenity \ itstool:textproc/itstool \ iso-codes>=0:misc/iso-codes LIB_DEPENDS= libck-connector.so:sysutils/consolekit2 \ libdbus-glib-1.so:devel/dbus-glib \ libupower-glib.so:sysutils/upower \ libnss3.so:security/nss \ libfontconfig.so:x11-fonts/fontconfig \ libaccountsservice.so:sysutils/accountsservice \ libcanberra-gtk3.so:audio/libcanberra-gtk3 RUN_DEPENDS= zenity>=3.0.0:x11/zenity \ gnome-shell>=3.15.92:x11/gnome-shell \ gnome-settings-daemon>=3.0.0:sysutils/gnome-settings-daemon \ gnome-keyring-3:security/gnome-keyring \ gnome-session>=3.0.0:x11/gnome-session \ gnome-icon-theme-symbolic>=0:x11-themes/gnome-icon-theme-symbolic \ polkit-gnome>=0.105:sysutils/polkit-gnome \ at-spi2-core>=0:accessibility/at-spi2-core \ iso-codes>=0:misc/iso-codes # used in scripts RUN_DEPENDS+= xrdb:x11/xrdb \ setxkbmap:x11/setxkbmap \ xmodmap:x11/xmodmap \ xterm:x11/xterm USERS= gdm GROUPS= gdm PORTSCOUT= limitw:1,even -USES= cpe execinfo gettext gmake libtool pathfix pkgconfig tar:xz +USES= cpe gettext gmake libtool pathfix pkgconfig tar:xz CPE_VENDOR= gnome CPE_VENDOR= gnome_display_manager USE_GNOME= dconf intlhack introspection librsvg2 USE_LDCONFIG= yes USE_XORG= dmx dmxproto INSTALLS_ICONS= yes USE_RC_SUBR= gdm USE_GNOME_SUBR= yes GNU_CONFIGURE= yes GLIB_SCHEMAS= org.gnome.login-screen.gschema.xml CONFIGURE_ARGS= --disable-static \ --mandir=${PREFIX}/man \ --with-lang-file=${PREFIX}/etc/gdm/locale.conf \ --with-at-spi-registryd-directory=${LOCALBASE}/libexec \ --with-custom-conf=${PREFIX}/etc/gdm/custom.conf \ --with-dbus-sys=${PREFIX}/etc/dbus-1/system.d \ --with-log-dir=/var/log/gdm \ --localstatedir=/var \ --with-console-kit \ --with-working-directory=${PREFIX}/etc/gdm/home \ --with-sysconfsubdir=gdm \ --with-pid-file=/var/run/gdm.pid \ --with-dmconfdir=${LOCALBASE}/share/xsessions \ --with-screenshot-dir=/var/run/gdm/greeter \ --enable-authentication-scheme=pam \ --without-plymouth \ --with-user=gdm \ --with-group=gdm \ --with-initial-vt=09 \ --disable-wayland-support \ --with-systemd=no # this is a hack until we can get our own pam dir and dir in order. CONFIGURE_ARGS+=--with-default-pam-config=redhat CPPFLAGS+= -I${LOCALBASE}/include -DHAS_SA_LEN LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip SUB_FILES+= gdm-launch-environment \ gdm-password \ gdm-autologin \ client.conf \ locale.conf GDMDIR?= ${PREFIX}/etc/gdm PKGMESSAGE= ${WRKDIR}/pkg-message GNOME_LOCALSTATEDIR= /var OPTIONS_DEFINE= IPV6 KEYRING_RUN_DEPENDS= ${LOCALBASE}/lib/pam_gnome_keyring.so:security/gnome-keyring IPV6_CONFIGURE_ENABLE= ipv6 .include .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .endif post-patch: @${REINPLACE_CMD} -e 's|root:root|root:wheel|g' \ ${WRKSRC}/data/Makefile.in @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/daemon/gdm-session-worker.c @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ -e 's|/usr/bin/X|${LOCALBASE}/bin/X|g' \ -e 's|/usr/bin/Xorg|${LOCALBASE}/bin/Xorg|g' \ ${WRKSRC}/configure ${WRKSRC}/daemon/*.c ${WRKSRC}/po/*.po @${REINPLACE_CMD} -e 's|/at-spi-registryd|/at-spi2-registryd|g' \ ${WRKSRC}/gui/simple-chooser/gdm-host-chooser.c \ ${WRKSRC}/gui/simple-chooser/chooser-main.c @${REINPLACE_CMD} -e 's|/etc/X11|${LOCALBASE}/etc/X11|g' \ ${WRKSRC}/data/Init.in \ ${WRKSRC}/data/PostLogin \ ${WRKSRC}/data/PostSession.in \ ${WRKSRC}/data/PreSession.in \ ${WRKSRC}/data/Xsession.in @${RM} ${WRKSRC}/data/applications/gdm-simple-greeter.desktop \ ${WRKSRC}/data/applications/gdm-simple-greeter.desktop.in \ ${WRKSRC}/data/applications/gnome-shell.desktop \ post-install: ${INSTALL_DATA} ${WRKSRC}/data/gdm.conf-custom \ ${STAGEDIR}${PREFIX}/etc/gdm/custom.conf.sample @${RM} ${STAGEDIR}${PREFIX}/etc/gdm/custom.conf ${MV} ${STAGEDIR}${PREFIX}/etc/gdm/PostSession/Default \ ${STAGEDIR}${PREFIX}/etc/gdm/PostSession/Default.sample ${MV} ${STAGEDIR}${PREFIX}/etc/gdm/PreSession/Default \ ${STAGEDIR}${PREFIX}/etc/gdm/PreSession/Default.sample ${MKDIR} ${STAGEDIR}${PREFIX}/share/xsessions ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdm/Sessions ${MKDIR} ${STAGEDIR}${PREFIX}/etc/dm/Sessions ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdm/home ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gdm/home/.pulse/ ${INSTALL_DATA} ${WRKDIR}/gdm-autologin ${STAGEDIR}${PREFIX}/etc/pam.d/gdm-autologin ${INSTALL_DATA} ${WRKDIR}/gdm-launch-environment ${STAGEDIR}${PREFIX}/etc/pam.d/gdm-launch-environment ${INSTALL_DATA} ${WRKDIR}/gdm-password ${STAGEDIR}${PREFIX}/etc/pam.d/gdm-password ${INSTALL_DATA} ${WRKDIR}/client.conf ${STAGEDIR}${PREFIX}/etc/gdm/home/.pulse/ ${INSTALL_DATA} ${WRKDIR}/locale.conf ${STAGEDIR}${PREFIX}/etc/gdm/ @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \ | /usr/bin/fmt 75 79 > ${PKGMESSAGE} .include Index: head/x11/gnome-session/Makefile =================================================================== --- head/x11/gnome-session/Makefile (revision 450350) +++ head/x11/gnome-session/Makefile (revision 450351) @@ -1,36 +1,36 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= gnome-session PORTVERSION= 3.18.1.2 PORTREVISION= 2 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Session component for the GNOME 3 desktop LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libjson-glib-1.0.so:devel/json-glib \ libupower-glib.so:sysutils/upower RUN_DEPENDS= ${LOCALBASE}/sbin/console-kit-daemon:sysutils/consolekit2 \ ${LOCALBASE}/bin/xdpyinfo:x11/xdpyinfo PORTSCOUT= limitw:1,even -USES= execinfo gettext gmake gnome pathfix pkgconfig tar:xz +USES= gettext gmake gnome pathfix pkgconfig tar:xz USE_GNOME= gnomedesktop3 gtk30 intlhack intlhack libxslt:build USE_XORG= ice sm xau xext xtst xrender xtrans xcomposite USE_GL= gl INSTALLS_ICONS= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docbook-docs \ --enable-consolekit \ --enable-gconf=no CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GLIB_SCHEMAS= org.gnome.SessionManager.gschema.xml .include Index: head/x11/mate-session-manager/Makefile =================================================================== --- head/x11/mate-session-manager/Makefile (revision 450350) +++ head/x11/mate-session-manager/Makefile (revision 450351) @@ -1,35 +1,35 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= mate-session-manager PORTVERSION= 1.18.0 PORTREVISION= 1 CATEGORIES= x11 mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Session component for the MATE desktop LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus \ libupower-glib.so:sysutils/upower RUN_DEPENDS= ${LOCALBASE}/sbin/console-kit-daemon:sysutils/consolekit2 \ ${LOCALBASE}/bin/xdpyinfo:x11/xdpyinfo PORTSCOUT= limitw:1,even -USES= execinfo gettext gmake localbase libtool pathfix \ +USES= gettext gmake localbase libtool pathfix \ pkgconfig tar:xz USE_MATE= desktop USE_XORG= ice sm x11 xau xext xrandr xrender xtrans xtst USE_GNOME= cairo gtk30 intlhack librsvg2 libxslt pango GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docbook-docs \ --enable-upower \ --with-systemd=no INSTALLS_ICONS= yes GLIB_SCHEMAS= org.mate.session.gschema.xml .include Index: head/x11-fonts/fontmatrix/Makefile =================================================================== --- head/x11-fonts/fontmatrix/Makefile (revision 450350) +++ head/x11-fonts/fontmatrix/Makefile (revision 450351) @@ -1,40 +1,40 @@ # $FreeBSD$ PORTNAME= fontmatrix DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 CATEGORIES= x11-fonts MAINTAINER= ports@FreeBSD.org COMMENT= Graphical font manager LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USE_GITHUB= yes GH_ACCOUNT= fontmatrix -USES= cmake execinfo +USES= cmake USE_QT4= corelib xml gui svg network moc_build uic_build rcc_build qmake_build \ linguisttools_build opengl sql webkit INSTALLS_ICONS= yes MANDIRS= ${PREFIX}/share/man/man1 OPTIONS_DEFINE= FONTFORGE FONTFORGE_DESC= Install FontForge editor FONTFORGE_RUN_DEPENDS= ${LOCALBASE}/bin/fontforge:print/fontforge post-patch: @${REINPLACE_CMD} -e 's:/usr/bin/fontforge:${LOCALBASE}/bin/fontforge:g' \ ${WRKSRC}/src/prefs_panel.ui ${WRKSRC}/src/typotek.cpp pre-configure: cd ${WRKSRC}/src/messages && \ ${LUPDATE} -noobsolete ../ -ts *.ts && \ ${LRELEASE} *.ts .include Index: head/x11-themes/qtcurve/Makefile =================================================================== --- head/x11-themes/qtcurve/Makefile (revision 450350) +++ head/x11-themes/qtcurve/Makefile (revision 450351) @@ -1,97 +1,97 @@ # $FreeBSD$ PORTNAME= qtcurve PORTVERSION= 1.8.18 PORTREVISION= 3 CATEGORIES= x11-themes MAINTAINER= jhale@FreeBSD.org COMMENT?= Widget styles for Qt and GTK+ toolkits .if !defined(QTCURVE_SLAVE) USES= metaport # There is no NO_PATCH PATCHDIR= ${MASTERDIR}/none OPTIONS_DEFINE= GTK2 KDE4 QT4 QT5 OPTIONS_DEFAULT:= ${OPTIONS_DEFINE} GTK2_RUN_DEPENDS= gtk2-qtcurve-theme>=1.8.18:x11-themes/qtcurve-gtk2 KDE4_RUN_DEPENDS= kde4-style-qtcurve>=1.8.18:x11-themes/qtcurve-kde4 QT4_RUN_DEPENDS= qt4-style-qtcurve>=1.8.18:x11-themes/qtcurve-qt4 QT5_RUN_DEPENDS= qt5-style-qtcurve>=1.8.18:x11-themes/qtcurve-qt5 .else # !defined(QTCURVE_SLAVE) LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= QtCurve -USES= compiler:c++11-lib cmake execinfo pkgconfig +USES= compiler:c++11-lib cmake pkgconfig USE_XORG= x11 xcb .for i in gtk2 kde4 qt4 qt5 WITH_${i}= Off .endfor WITH_${QTCURVE_SLAVE}= On CMAKE_ARGS+= -DENABLE_GTK2=${WITH_gtk2} \ -DENABLE_QT4=${WITH_qt4} \ -DENABLE_QT5=${WITH_qt5} \ -DQTC_QT4_ENABLE_KDE=${WITH_kde4} LDFLAGS+= -L${LOCALBASE}/lib BUILD_WRKSRC= ${WRKSRC}/${QTCURVE_SLAVE} INSTALL_WRKSRC= ${BUILD_WRKSRC} PLIST= ${PKGDIR}/pkg-plist.${QTCURVE_SLAVE} .if ${QTCURVE_SLAVE} == "utils" PKGNAMESUFFIX= -utils USE_LDCONFIG= yes BUILD_WRKSRC= ${WRKSRC} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext-tools:build NLS_CMAKE_OFF= -DQTC_INSTALL_PO=Off .else LIB_DEPENDS+= libqtcurve-utils.so:x11-themes/qtcurve-utils .endif .if ${QTCURVE_SLAVE} == "gtk2" PKGNAMEPREFIX= gtk2- PKGNAMESUFFIX= -theme USE_GNOME= gtk20 cairo pango USE_LDCONFIG= yes post-install: @(cd ${WRKSRC}/lib/cairo && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .endif .if ${QTCURVE_SLAVE} == "kde4" WITH_qt4= On # required for KDE 4 PKGNAMEPREFIX= kde4-style- USE_KDE= kdelibs workspace automoc4 USES+= kde:4 USE_QT4= moc_build qmake_build rcc_build uic_build BUILD_WRKSRC= ${WRKSRC}/qt4 .endif .if ${QTCURVE_SLAVE} == "qt4" PKGNAMEPREFIX= qt4-style- USE_QT4= dbus gui svg moc_build qmake_build rcc_build uic_build PLIST_FILES= ${QT_PLUGINDIR_REL}/styles/qtcurve.so .endif .if ${QTCURVE_SLAVE} == "qt5" PKGNAMEPREFIX= qt5-style- USE_QT5= dbus gui svg widgets x11extras buildtools_build qmake_build PLIST_FILES= ${QT_PLUGINDIR_REL}/styles/qtcurve.so .endif .endif # !defined(QTCURVE_SLAVE) .include Index: head/x11-toolkits/wxgtk30/Makefile =================================================================== --- head/x11-toolkits/wxgtk30/Makefile (revision 450350) +++ head/x11-toolkits/wxgtk30/Makefile (revision 450351) @@ -1,65 +1,65 @@ # $FreeBSD$ PORTNAME= wx PORTVERSION= 3.0.2 PORTREVISION?= 7 CATEGORIES= x11-toolkits MASTER_SITES= SF/wxwindows/${PORTVERSION} PKGNAMESUFFIX= 30-gtk2 DISTNAME= wxWidgets-${PORTVERSION} MAINTAINER= portmaster@bsdforge.com COMMENT= The wxWidgets GUI toolkit with GTK+ bindings LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libexpat.so:textproc/expat2 -USES= compiler:c++11-lib execinfo gmake iconv jpeg pkgconfig tar:bzip2 +USES= compiler:c++11-lib gmake iconv jpeg pkgconfig tar:bzip2 USE_XORG= x11 sm xxf86vm xinerama USE_GL= glu USE_GNOME= gtk20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-zlib=sys \ --with-expat=sys \ --with-opengl \ --with-gtk \ --enable-backtrace \ --enable-graphics_ctx \ --enable-compat26 \ --enable-compat28 CONFIGURE_ENV= X11BASE="${LOCALBASE}" \ ac_cv_header_sys_inotify_h=no CPPFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -std=c++11 LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= GSTREAMER MSPACK NLS WEBKIT OPTIONS_DEFAULT=GSTREAMER MSPACK WEBKIT MSPACK_DESC= Microsoft archives support OPTIONS_SUB= yes NLS_USES= gettext GSTREAMER_CONFIGURE_ENABLE= mediactrl GSTREAMER_USE= GNOME=gconf2 GSTREAMER=yes MSPACK_CONFIGURE_WITH= libmspack MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack WEBKIT_CONFIGURE_ENABLE= webview WEBKIT_LIB_DEPENDS= libwebkitgtk-1.0.so:www/webkit-gtk2 .include # PR 196703, 197031 .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIGURE_ARGS+=--disable-precomp-headers .endif .include Index: head/x11-wm/afterstep-stable/Makefile =================================================================== --- head/x11-wm/afterstep-stable/Makefile (revision 450350) +++ head/x11-wm/afterstep-stable/Makefile (revision 450351) @@ -1,97 +1,97 @@ # Created by: Brett Taylor # $FreeBSD$ PORTNAME= afterstep PORTVERSION= 2.2.12 PORTREVISION= 5 CATEGORIES= x11-wm afterstep MASTER_SITES= AFTERSTEP/stable DISTNAME= AfterStep-${PORTVERSION} MAINTAINER= glewis@FreeBSD.org COMMENT= Stable version of the AfterStep window manager LIB_DEPENDS= libdbus-1.so:devel/dbus \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff RUN_DEPENDS= xli:graphics/xli -USES= execinfo gmake jpeg pkgconfig shebangfix tar:bzip2 +USES= gmake jpeg pkgconfig shebangfix tar:bzip2 USE_CSTD= gnu89 USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 librsvg2 pango USE_XORG+= ice sm x11 xcomposite xcursor xdamage xext xfixes xi xinerama \ xrandr xrender GNU_CONFIGURE= yes SHEBANG_FILES= tools/ascommand.pl \ tools/importasmenu MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS+=--disable-ascp \ --enable-i18n \ --disable-send-postcard-to-developer \ --with-helpcommand="xterm -e man" \ --x-includes="${LOCALBASE}/include" \ --with-jpeg-includes="${LOCALBASE}/include" \ --with-png-includes="${LOCALBASE}/include" \ --with-gif MAKE_ENV+= HOME=- WRKSRC= ${WRKDIR}/${PORTNAME}-devel-${PORTVERSION} .if defined(WITH_DIFFERENT_LOOKNFEELS) CONFIGURE_ARGS+= --enable-different-looknfeels .endif .if !defined(WITH_SAVEWINDOWS) CONFIGURE_ARGS+= --disable-savewindows .endif .include .if exists(${PREFIX}/share/gnome/wm-properties) PLIST_SUB+= GNOME="" .else PLIST_SUB+= GNOME="@comment " .endif .if !exists(/usr/lib/libexecinfo.so) STATIC_LIBEXECINFO= ${LOCALBASE}/lib/libexecinfo.a .endif post-extract: ${CP} ${FILESDIR}/monitor_bsd.xpm \ ${WRKSRC}/afterstep/desktop/icons/xml/monitor-bsd.xpm post-patch: .for f in afterstep/database @${REINPLACE_CMD} -e 's,linux-penguin,monitor-bsd,' \ ${WRKSRC}/${f} .endfor .for f in libAfterBase/Makefile.in libAfterImage/Makefile.in @${REINPLACE_CMD} -e 's,^install\.,noinstall.,g ; \ s,^install:,install:#,g' ${WRKSRC}/${f} .endfor .for f in libAfterBase/configure libAfterImage/configure @${REINPLACE_CMD} -e 's,="-O3",="$$CFLAGS",g' \ ${WRKSRC}/${f} .endfor .for f in libAfterStep/afterstep-config.in @${REINPLACE_CMD} -e 's,ft_version,libafterstep_version,g' \ ${WRKSRC}/${f} .endfor .for f in configure libAfterBase/configure libAfterConf/Makefile.in libAfterImage/configure tools/makeastheme.pl.in tools/installastheme.pl.in @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \ ${WRKSRC}/${f} .endfor @${REINPLACE_CMD} \ -e 's,%%STATIC_LIBEXECINFO%%,${STATIC_LIBEXECINFO},g' \ ${WRKSRC}/configure .if exists(${PREFIX}/share/gnome/wm-properties) pre-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/gnome/wm-properties .endif .include Index: head/x11-wm/awesome/Makefile =================================================================== --- head/x11-wm/awesome/Makefile (revision 450350) +++ head/x11-wm/awesome/Makefile (revision 450351) @@ -1,71 +1,71 @@ # Created by: Nikos Ntarmos # $FreeBSD$ PORTNAME= awesome PORTVERSION= 4.2 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= x11-wm MAINTAINER= garga@FreeBSD.org COMMENT= Highly configurable, next generation framework window manager LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= convert:graphics/ImageMagick \ xproto>=7.0.15:x11/xproto \ ${LUA_MODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi RUN_DEPENDS= ${LUA_MODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi \ bash:shells/bash LIB_DEPENDS= libcairo.so:graphics/cairo \ libstartup-notification-1.so:x11/startup-notification \ libxdg-basedir.so:x11/libxdg-basedir \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-util.so:x11/xcb-util \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-xrm.so:x11/xcb-util-xrm \ libxkbcommon.so:x11/libxkbcommon BROKEN_powerpc64= fails to compile: stack.h: redefinition of typedef 'client_t' CONFLICTS_INSTALL= awesome3-[0-9]* USE_GITHUB= yes GH_ACCOUNT= awesomewm -USES= cmake:outsource execinfo gettext iconv pkgconfig lua shebangfix +USES= cmake:outsource gettext iconv pkgconfig lua shebangfix SHEBANG_FILES= utils/awesome-client CMAKE_ARGS= -DSYSCONFDIR=${PREFIX}/etc \ -DAWESOME_MAN_PATH=${MANPREFIX}/man \ -DGENERATE_DOC=OFF USE_GNOME= glib20 pango gdkpixbuf2 USE_XORG= pixman x11 xau xcb xdmcp xext xft xinerama xrandr xrender \ xproto OPTIONS_DEFINE= DBUS DOCS MANPAGES OPTIONS_DEFAULT=DBUS MANPAGES OPTIONS_SUB= yes DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_OFF= -DWITH_DBUS:BOOL=OFF MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \ xmlto:textproc/xmlto MANPAGES_CMAKE_OFF= -DGENERATE_MANPAGES:BOOL=OFF .include .if (exists(${LOCALBASE}/libdata/pkgconfig/cairo.pc) && \ !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xcb.pc)) IGNORE= cannot find dependency: The cairo exists but not with XCB support. Please reinstall graphics/cairo with XCB support .endif post-patch: # Ref https://github.com/awesomeWM/awesome/issues/1377 @${REINPLACE_CMD} -e "/COMMAND lua/ s,lua,${LUA_CMD}," \ ${WRKSRC}/awesomeConfig.cmake @${REINPLACE_CMD} -e "s,^lua ,${LUA_CMD} ," \ ${WRKSRC}/build-utils/lgi-check.sh .include Index: head/x11-wm/awesome3/Makefile =================================================================== --- head/x11-wm/awesome3/Makefile (revision 450350) +++ head/x11-wm/awesome3/Makefile (revision 450351) @@ -1,74 +1,74 @@ # Created by: Nikos Ntarmos # $FreeBSD$ PORTNAME= awesome PORTVERSION= 3.5.9 PORTEPOCH= 1 CATEGORIES= x11-wm MASTER_SITES= http://awesome.naquadah.org/download/ PKGNAMESUFFIX= 3 MAINTAINER= garga@FreeBSD.org COMMENT= Highly configurable, next generation framework window manager LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= asciidoc:textproc/asciidoc \ convert:graphics/ImageMagick \ pango>=1.19.3:x11-toolkits/pango \ xmlto:textproc/xmlto \ xcb-util>=0.3.8:x11/xcb-util \ xproto>=7.0.11:x11/xproto \ ${LUA_MODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi \ docbook-xml>0:textproc/docbook-xml RUN_DEPENDS= ${LUA_MODLIBDIR}/lgi/corelgilua${LUA_VER_STR}.so:devel/lua-lgi LIB_DEPENDS= libcairo.so:graphics/cairo \ libev.so:devel/libev \ libfreetype.so:print/freetype2 \ libstartup-notification-1.so:x11/startup-notification \ libxdg-basedir.so:x11/libxdg-basedir \ libxcb-util.so:x11/xcb-util \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-icccm.so:x11/xcb-util-wm \ libImlib2.so:graphics/imlib2 CONFLICTS_INSTALL= awesome-[0-9]* DEPRECATED= Awesome WM 3.x is deprecated use 4.x instead EXPIRATION_DATE=2017-10-10 -USES= cmake execinfo gettext iconv pkgconfig lua tar:xz +USES= cmake gettext iconv pkgconfig lua tar:xz CMAKE_ARGS+= -DSYSCONFDIR=${PREFIX}/etc USE_GNOME= glib20 pango gdkpixbuf2 USE_XORG= pixman x11 xau xcb xdmcp xext xft xinerama xrandr xrender \ xproto LDFLAGS+= ${ICONV_LIB} PORTDOCS= AUTHORS BUGS LICENSE README OPTIONS_DEFINE= DBUS DOCS OPTIONS_DEFAULT=DBUS DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_ON= -DWITH_DBUS=YES DBUS_CMAKE_OFF= -DWITH_DBUS=NO .include .if (exists(${LOCALBASE}/libdata/pkgconfig/cairo.pc) && \ !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xcb.pc)) IGNORE= cannot find dependency: The cairo exists but not with XCB support. Please reinstall graphics/cairo with XCB support .endif post-patch: @${REINPLACE_CMD} -e "/LUA_EXECUTABLE lua/ s,lua,lua${LUA_VER_STR}," \ -e '/Lua51/d' \ -e 's/glib-2.0/lua-${LUA_VER} glib-2.0/g' \ -e '/LUA51_FOUND/,+2d' \ ${WRKSRC}/awesomeConfig.cmake @${REINPLACE_CMD} -e "s,^lua ,${LUA_CMD} ," \ ${WRKSRC}/build-utils/lgi-check.sh .include Index: head/x11-wm/enlightenment/Makefile =================================================================== --- head/x11-wm/enlightenment/Makefile (revision 450350) +++ head/x11-wm/enlightenment/Makefile (revision 450351) @@ -1,57 +1,57 @@ # Created by: Yukihiro Nakai # $FreeBSD$ PORTNAME= enlightenment PORTVERSION= 0.21.9 PORTEPOCH= 2 CATEGORIES= x11-wm enlightenment MASTER_SITES= http://download.enlightenment.org/rel/apps/${PORTNAME}/ DIST_SUBDIR= enlightenment MAINTAINER= enlightenment@FreeBSD.org COMMENT= Artistic X window manager LICENSE= BSD2CLAUSE LIB_DEPENDS= libefl.so:devel/efl \ libxcb-keysyms.so:x11/xcb-util-keysyms GNU_CONFIGURE= yes -USES= alias autoreconf desktop-file-utils execinfo gettext-tools \ +USES= alias autoreconf desktop-file-utils gettext-tools \ gmake iconv libtool pathfix pkgconfig tar:xz USE_XORG= xcb USE_LDCONFIG= yes INSTALL_TARGET= install-strip SUB_FILES= pkg-message CONFIGURE_ARGS= --with-profile=MEDIUM_PC \ --disable-connman --disable-bluez4 \ --disable-device-udev --disable-mount-udisks .include "Makefile.plist" OPTIONS_DEFINE= NLS OPTIONS_GROUP= MIXER OPTIONS_GROUP_MIXER= ALSA PULSEAUDIO OPTIONS_DEFAULT= ALSA OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio post-patch: @${REINPLACE_CMD} -e \ 's/\(setuid_root_mode = a=rx,u+x\)s/\1/g' \ ${WRKSRC}/src/bin/Makefile.mk \ ${WRKSRC}/src/modules/Makefile_cpufreq.mk .include .if ${ARCH} == "sparc64" BROKEN= Does not install on sparc64: signal 10 .endif .include Index: head/x11-wm/muffin/Makefile =================================================================== --- head/x11-wm/muffin/Makefile (revision 450350) +++ head/x11-wm/muffin/Makefile (revision 450351) @@ -1,48 +1,48 @@ # Created by: Gustau Perez i Querol # $FreeBSD$ PORTNAME= muffin PORTVERSION= 2.4.4 CATEGORIES= x11-wm gnome DIST_SUBDIR= gnome3 MAINTAINER= gnome@FreeBSD.org COMMENT= Compositing window manager forked from Mutter for use with Cinnamon BUILD_DEPENDS= zenity>=3.0.0:x11/zenity \ gnome-autogen.sh:devel/gnome-common \ gsettings-desktop-schemas>=3.4.0:devel/gsettings-desktop-schemas LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \ libclutter-glx-1.0.so:graphics/clutter \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcinnamon-desktop.so:x11/cinnamon-desktop RUN_DEPENDS= zenity>=3.0.0:x11/zenity -USES= autoreconf:build execinfo gettext libtool gmake \ +USES= autoreconf:build gettext libtool gmake \ pathfix pkgconfig python:2 USE_GITHUB= yes GH_ACCOUNT= linuxmint USE_GNOME= gconf2 gnomedocutils gnomeprefix gtk30 \ intlhack introspection:build USE_XORG= x11 xext xrandr xcomposite xcursor xinerama ice sm USE_LDCONFIG= yes USE_CSTD= gnu89 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -Wno-error=unused-function CFLAGS+= -I${LOCALBASE}/include -Wno-error=unused-function LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV= LIBS="-lexecinfo" CONFIGURE_ARGS= --enable-compile-warnings=maximum MAKE_ARGS= V=1 GLIB_SCHEMAS= org.cinnamon.muffin.gschema.xml INSTALL_TARGET= install-strip pre-configure: @cd ${WRKSRC} && ${SETENV} NOCONFIGURE=yes ${SH} autogen.sh post-patch: @${REINPLACE_CMD} -e 's|REQUIRED_AUTOMAKE_VERSION=1.10|REQUIRED_AUTOMAKE_VERSION=1.14|g' \ ${WRKSRC}/autogen.sh @${REINPLACE_CMD} -e 's|--warn-error||g' ${WRKSRC}/src/Makefile.am .include