1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/ftp/weex/Makefile
2021-04-06 16:31:07 +02:00

41 lines
899 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
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 <bsd.port.mk>