mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
2c9ab8d7ad
- Update to 0.20.1. - Add options to install documentation and examples. devel/libtextstyle: - Take maintainership because it is now released as part of gettext. ftp/weex: - Remove bundled gettext (intl/): no longer supported. - Patch configure.in, Makefile.am and src/Makefile.am to remove references to bundled gettext. - Patch configure.in to add AC_CONFIG_MACRO_DIR([m4]) so aclocal.m4 will include gettext .m4 files from m4/ (matching the version set with AM_GNU_GETTEXT_VERSION) instead of /usr/local/share/aclocal. - Port to modern gettext: add po/Makevars and fix a problem in the French translation. - Patch configure.in to fix detection of OpenSSL 1.1. - In port Makefile: add EXAMPLES and NLS options, add ports OpenSSL support, set default path for root certificates. games/lgeneral: - Patch Makefile.in instead of Makefile.am so USES=autoreconf isn't needed. www/sarg: - Patch configure.ac to add AC_CONFIG_MACRO_DIR([m4]) so aclocal.m4 will include gettext .m4 files from m4/ (matching the version set with AM_GNU_GETTEXT_VERSION) instead of /usr/local/share/aclocal. - Port Makefile: remove obsolete post-patch, patching configure also has no effect with USES=autoreconf. PR: 238277 Exp-run by: antoine Approved by: portmgr (antoine)
43 lines
927 B
Makefile
43 lines
927 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= weex
|
|
PORTVERSION= 2.8.2
|
|
PORTREVISION= 1
|
|
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 gmake ssl gettext-tools
|
|
|
|
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_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext-runtime
|
|
|
|
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>
|