1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/net/megatools/Makefile
2021-04-06 16:31:07 +02:00

34 lines
760 B
Makefile

# Created by: Max V. Kostikov <max@kostikov.co>
PORTNAME= megatools
PORTVERSION= 1.10.3
CATEGORIES= net
MASTER_SITES= https://megatools.megous.com/builds/
MAINTAINER= max@kostikov.co
COMMENT= Command line tools for MEGA.NZ cloud drive
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= asciidoc:textproc/asciidoc
LIB_DEPENDS= libcurl.so:ftp/curl
USES= compiler:c11 gettext-runtime gmake gnome libtool pathfix \
pkgconfig ssl
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
post-patch:
# Unsilence build
${REINPLACE_CMD} -e '/^export\ MAKEFLAGS/s|^|#|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>