1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/net/megacmd/Makefile
Jason E. Hale 5a19c0823b security/cryptopp: Update to 8.7.0
Drop most of the SIMD logic. The cryptopp Makefile autodetects CPU
features regardless if CPUTYPE is set and it is not possible to disable
specific instruction sets. It is only possible to completely disable
assembly optimizations, which is recommended for package building unless
all consumer machines support the build machine's CPU instruction sets.

Since version 8.1, it is no longer necessary to export
-DCRYPTOPP_DISABLE_ASM to the pkgconfig file. Consumers will now
build without it defined if the SIMD option is disabled. Remove old
workarounds pertaining to this issue.
https://github.com/weidai11/cryptopp/issues/779

Bump PORTREVISION on consumers due to ABI incompatibility.

https://www.cryptopp.com/release870.html
2022-09-15 23:56:45 -04:00

102 lines
2.7 KiB
Makefile

PORTNAME= megacmd
DISTVERSION= 1.5.0
PORTREVISION= 1
DISTVERSIONSUFFIX= _Linux
CATEGORIES= net
MAINTAINER= ports@FreeBSD.org
COMMENT= Command Line Interactive and Scriptable Application to access MEGA
WWW= https://mega.nz/cm
LICENSE= GPLv3 BSD2CLAUSE
LICENSE_COMB= multi
LIB_DEPENDS= libcares.so:dns/c-ares libcryptopp.so:security/cryptopp \
libcurl.so:ftp/curl libsodium.so:security/libsodium \
libuv.so:devel/libuv libpcre.so:devel/pcre
USES= autoreconf libtool sqlite:3 readline shebangfix ssl
USE_GITHUB= yes
GH_ACCOUNT= meganz
GH_PROJECT= MEGAcmd sdk:sdk
GH_SUBDIR= sdk:sdk
GH_TAGNAME= v3.9.11a:sdk
USE_LDCONFIG= yes
SHEBANG_FILES= src/client/mega-lpwd \
src/client/mega-permissions \
src/client/mega-ls \
src/client/mega-pwd \
src/client/mega-deleteversions \
src/client/mega-log \
src/client/mega-session \
src/client/mega-share \
src/client/mega-quit \
src/client/mega-reload \
src/client/mega-find \
src/client/mega-errorcode \
src/client/mega-logout \
src/client/mega-backup \
src/client/mega-exclude \
src/client/mega-confirmcancel \
src/client/mega-transfers \
src/client/mega-rm \
src/client/mega-invite \
src/client/mega-webdav \
src/client/mega-cancel \
src/client/mega-cp \
src/client/mega-cd \
src/client/mega-thumbnail \
src/client/mega-attr \
src/client/mega-login \
src/client/mega-speedlimit \
src/client/mega-get \
src/client/mega-debug \
src/client/mega-du \
src/client/mega-ipc \
src/client/mega-mv \
src/client/mega-whoami \
src/client/mega-https \
src/client/mega-help \
src/client/mega-showpcr \
src/client/mega-lcd \
src/client/mega-preview \
src/client/mega-ftp \
src/client/mega-put \
src/client/mega-graphics \
src/client/mega-mount \
src/client/mega-import \
src/client/mega-version \
src/client/mega-confirm \
src/client/mega-mkdir \
src/client/mega-userattr \
src/client/mega-signup \
src/client/mega-passwd \
src/client/mega-killsession \
src/client/mega-sync \
src/client/mega-users \
src/client/mega-export \
src/client/mega-cat \
src/client/mega-mediainfo \
src/client/mega-proxy \
src/client/mega-df \
src/client/mega-tree
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-examples \
--disable-java --disable-php --disable-python \
--disable-chat --without-freeimage \
--without-termcap --without-ffmpeg --without-libraw \
--without-libzen --without-libmediainfo \
--enable-gcc-hardening \
--with-cares=${LOCALBASE} --with-cryptopp=${LOCALBASE} \
--with-curl=${LOCALBASE} --with-sodium=${LOCALBASE} \
--with-sqlite=${LOCALBASE} --with-libuv=${LOCALBASE} \
--with-zlib --with-readline=${LOCALBASE}
INSTALL_TARGET= install-strip
.include <bsd.port.mk>