aboutsummaryrefslogtreecommitdiff
path: root/ftp/weex/Makefile
blob: ebb4b788d817435a1c2d12cce02e28ee0c259a0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
PORTNAME=	weex
PORTVERSION=	2.8.4.2
CATEGORIES=	ftp
MASTER_SITES=	DEBIAN_POOL
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Non-interactive FTP client
WWW=		http://weex.sourceforge.net/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/doc/COPYING

USES=		autoreconf cpe 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>