# Created by: Emanuel Haupt # $FreeBSD: head/ftp/weex/Makefile 564933 2021-02-11 09:41:45Z ehaupt $ PORTNAME= weex PORTVERSION= 2.8.3 CATEGORIES= ftp MASTER_SITES= SF/weex/weex DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Non-interactive FTP client LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/COPYING USES= autoreconf gettext-tools gmake ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cafile=${LOCALBASE}/share/certs/ca-root-nss.crt CPPFLAGS+= -I${OPENSSLINC} LIBS+= -L${OPENSSLLIB} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= EXAMPLES NLS OPTIONS_SUB= yes NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: @${RM} -r ${WRKSRC}/intl pre-configure: ${CP} ${LOCALBASE}/share/gettext/po/Makevars.template \ ${WRKSRC}/po/Makevars post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/doc/sample.weexrc ${STAGEDIR}${EXAMPLESDIR} .include