freebsd-ports/ftp/weex/Makefile
2013-04-23 10:26:09 +00:00

47 lines
851 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= weex
PORTVERSION= 2.6.1.5
PORTREVISION= 2
CATEGORIES= ftp
MASTER_SITES= SF
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Non-interactive FTP client
GNU_CONFIGURE= yes
MANCOMPRESSED= no
MAKE_JOBS_SAFE= yes
PORTDOCS= ChangeLog README
MAN1= weex.1
OPTIONS_DEFINE= DOCS NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^\(SUBDIRS.*\)debian|\1|' \
${WRKSRC}/Makefile.in
post-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/sample.weexrc ${EXAMPLESDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>