mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
40 lines
957 B
Makefile
40 lines
957 B
Makefile
COMMENT= noninteractive FTP/FTPS client for updating web pages
|
|
|
|
VERSION = 2.8.4
|
|
DISTNAME= weex-${VERSION}
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= https://weex.sourceforge.net
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= c crypto iconv intl ssl pthread
|
|
|
|
SITES= ${SITE_SOURCEFORGE:=weex/}
|
|
DISTFILES= weex_${VERSION}.tar.gz
|
|
|
|
BUILD_DEPENDS= devel/gettext,-tools
|
|
|
|
LIB_DEPENDS= devel/gettext,-runtime
|
|
|
|
AUTOCONF_VERSION= 2.69
|
|
AUTOMAKE_VERSION= 1.11
|
|
AUTORECONF= autoreconf -f -i -I${LOCALBASE}/share/gettext/m4
|
|
CONFIGURE_STYLE= autoreconf
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
post-patch:
|
|
cp ${LOCALBASE}/share/gettext/po/Makevars.template \
|
|
${WRKSRC}/po/Makevars
|
|
cd ${WRKSRC}; \
|
|
sed -n 's/^ALL_LINGUAS="\(.*\)"/\1/w po/LINGUAS' configure.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/weex
|
|
${INSTALL_DATA} ${WRKSRC}/doc/sample.weexrc \
|
|
${PREFIX}/share/examples/weex
|
|
|
|
.include <bsd.port.mk>
|