1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/megatools/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

33 lines
754 B
Makefile

# Created by: Max V. Kostikov <max@kostikov.co>
# $FreeBSD$
PORTNAME= megatools
PORTVERSION= 1.10.2
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
LIB_DEPENDS= libcurl.so:ftp/curl
BUILD_DEPENDS= asciidoc:textproc/asciidoc
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
USES= gettext-runtime gmake gnome libtool pathfix pkgconfig ssl
GNU_CONFIGURE= yes
USE_GNOME= glib20
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
post-patch:
# Unsilence build
${REINPLACE_CMD} -e '/^export\ MAKEFLAGS/s|^|#|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>