2013-01-15 14:40:28 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2005-09-08 13:13:30 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= weex
|
|
|
|
PORTVERSION= 2.6.1.5
|
2013-04-02 14:59:10 +02:00
|
|
|
PORTREVISION= 2
|
2005-09-08 13:13:30 +02:00
|
|
|
CATEGORIES= ftp
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= SF
|
2005-09-08 13:13:30 +02:00
|
|
|
|
2005-10-06 13:57:11 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2013-03-08 15:00:30 +01:00
|
|
|
COMMENT= Non-interactive FTP client
|
2005-09-08 13:13:30 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MANCOMPRESSED= no
|
2009-03-30 16:18:26 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2005-09-08 13:13:30 +02:00
|
|
|
|
|
|
|
PORTDOCS= ChangeLog README
|
|
|
|
MAN1= weex.1
|
|
|
|
|
2013-04-02 14:59:10 +02:00
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
2013-01-15 14:40:28 +01:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-04-02 14:59:10 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-23 12:26:09 +02:00
|
|
|
USES+= gettext
|
2013-04-02 14:59:10 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2005-09-08 13:13:30 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|^\(SUBDIRS.*\)debian|\1|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/sample.weexrc ${EXAMPLESDIR}
|
|
|
|
|
2013-01-15 14:40:28 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2005-09-08 13:13:30 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|