b8891ea033
PR: 214212 Submitted by: Max Kostikov <max@kostikov.co> (maintainer)
31 lines
782 B
Makefile
31 lines
782 B
Makefile
# Created by: Max V. Kostikov <max@kostikov.co>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= megatools
|
|
PORTVERSION= 1.9.98
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://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
|
|
RUN_DEPENDS= glib-networking>=2.32.0:net/glib-networking
|
|
|
|
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
|
|
OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
|
|
USES= gettext-runtime gmake libtool pathfix pkgconfig ssl
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= glib20
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
post-patch:
|
|
# Unsilence build
|
|
${REINPLACE_CMD} -e '/^export\ MAKEFLAGS/s|^|#|' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|