diff --git a/devel/awscli/Makefile b/devel/awscli/Makefile index 723c86dbb5a4..3acd6c068136 100644 --- a/devel/awscli/Makefile +++ b/devel/awscli/Makefile @@ -1,26 +1,26 @@ PORTNAME= awscli PORTVERSION= 1.20.61 CATEGORIES= devel MASTER_SITES= CHEESESHOP -MAINTAINER= bhughes@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Universal Command Line Interface for Amazon Web Services WWW= https://aws.amazon.com/cli/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=1.21.61:devel/py-botocore@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}colorama>=0.2.5:devel/py-colorama@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}s3transfer>=0.5.0:net/py-s3transfer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docutils>=0.10:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rsa>=3.1.2:security/py-rsa@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils concurrent noflavors NO_ARCH= yes SUB_FILES= pkg-message .include diff --git a/devel/libuv/Makefile b/devel/libuv/Makefile index a7bb86d5defa..97542a594fce 100644 --- a/devel/libuv/Makefile +++ b/devel/libuv/Makefile @@ -1,29 +1,29 @@ PORTNAME= libuv DISTVERSIONPREFIX= v DISTVERSION= 1.44.2 CATEGORIES= devel MASTER_SITES= https://dist.libuv.org/dist/v${DISTVERSION}/ -MAINTAINER= bhughes@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Multi-platform support library with a focus on asynchronous I/O WWW= https://github.com/libuv/libuv LICENSE= NODE LICENSE_NAME= NODE LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= autoreconf cpe libtool pathfix pkgconfig GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip # Will not run as root, reference: # https://github.com/libuv/libuv/commit/af45b6ba2f2c506ae18dd24481e24db17b8269e7 TEST_TARGET= check pre-configure: ${ECHO_CMD} "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [ serial-tests])" \ > ${WRKSRC}/m4/libuv-extra-automake-flags.m4 .include diff --git a/devel/py-botocore/Makefile b/devel/py-botocore/Makefile index 0d5956de3c43..8f7e0f07f47c 100644 --- a/devel/py-botocore/Makefile +++ b/devel/py-botocore/Makefile @@ -1,34 +1,34 @@ PORTNAME= botocore PORTVERSION= 1.21.61 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= bhughes@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Low-level, core functionality of boto 3 WWW= https://github.com/boto/botocore LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=2.1<3.0.0:devel/py-dateutil@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}jmespath>=0.7.1<2.0.0:devel/py-jmespath@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.4,1<1.27,1:net/py-urllib3@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes # setup.py test runs integration tests which fail # https://github.com/boto/s3transfer/issues/41 # Note: this is an AWS python package wide issue do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v tests/unit tests/functional .include diff --git a/net/py-s3transfer/Makefile b/net/py-s3transfer/Makefile index 7ed79c487618..b50c9c2f2321 100644 --- a/net/py-s3transfer/Makefile +++ b/net/py-s3transfer/Makefile @@ -1,28 +1,28 @@ PORTNAME= s3transfer PORTVERSION= 0.5.0 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= bhughes@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Amazon S3 Transfer Manager for Python WWW= https://github.com/boto/s3transfer LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}botocore>=1.12.36:devel/py-botocore@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.3.3:devel/py-nose@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=1.3.0:devel/py-mock@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes # setup.py test runs integration tests which fail # https://github.com/boto/s3transfer/issues/41 do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v tests/unit tests/functional .include diff --git a/net/turnserver/Makefile b/net/turnserver/Makefile index 8040f0a02279..48c164ab48ec 100644 --- a/net/turnserver/Makefile +++ b/net/turnserver/Makefile @@ -1,141 +1,141 @@ PORTNAME= turnserver PORTVERSION= 4.5.2 CATEGORIES= net MASTER_SITES= http://turnserver.open-sys.org/downloads/extradocs/:xdocs \ http://coturn.net/turnserver/extradocs/:xdocs PKGNAMEPREFIX= DISTFILES= turn.extra.docs-2.0.0.1.tar.gz:xdocs -MAINTAINER= bhughes@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= STUN/TURN Server; IPv6, DTLS support; RFCs 5389, 5766, 6062, 6156 WWW= https://code.google.com/p/coturn/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libevent.so:devel/libevent USES= gettext-runtime perl5 pkgconfig shebangfix ssl SHEBANG_FILES= examples/scripts/restapi/shared_secret_maintainer.pl HAS_CONFIGURE= yes CONFIGURE_ENV+= PTHREAD_LIBS=-pthread TURN_DISABLE_RPATH=1 # MongoDB support is disabled until devel/mongo-c-driver is updated CONFIGURE_ENV+= TURN_NO_MONGO=1 TEST_TARGET= test USE_GITHUB= yes GH_ACCOUNT= coturn GH_PROJECT= coturn SUB_FILES= pkg-message USE_RC_SUBR= turnserver MANPAGES= turnserver.1 turnadmin.1 turnutils.1 turnutils_peer.1 \ turnutils_stunclient.1 turnutils_uclient.1 coturn.1 \ turnutils_oauth.1 turnutils_natdiscovery.1 DOCS= html TurnNetworks.pdf PORTREADMEDOCS= LICENSE README.turnserver README.turnadmin README.turnutils INSTALL PORTDOCS= ${DOCS} ${PORTREADMEDOCS} postinstall.txt schema.sql schema.mongo.sh \ schema.userdb.redis schema.stats.redis _BIN_UTILS= peer stunclient uclient oauth natdiscovery _ETC_EXAMPLES= turnserver.conf turn_client_cert.pem \ turn_client_pkey.pem turn_server_cert.pem turn_server_pkey.pem _SCRIPT_EXAMPLES= peer.sh \ basic/relay.sh basic/dos_attack.sh \ basic/tcp_client_c2c_tcp_relay.sh basic/udp_c2c_client.sh \ basic/udp_client.sh basic/tcp_client.sh \ loadbalance/master_relay.sh loadbalance/slave_relay_1.sh loadbalance/slave_relay_2.sh \ loadbalance/udp_c2c.sh loadbalance/tcp_c2c_tcp_relay.sh \ longtermsecure/secure_dtls_client.sh longtermsecure/secure_relay.sh \ longtermsecure/secure_tls_client_cert.sh longtermsecure/secure_dtls_client_cert.sh \ longtermsecure/secure_relay_cert.sh \ longtermsecure/secure_tcp_client_c2c_tcp_relay.sh longtermsecure/secure_tcp_client.sh \ longtermsecure/secure_tls_client_c2c_tcp_relay.sh longtermsecure/secure_tls_client.sh \ longtermsecure/secure_udp_c2c.sh longtermsecure/secure_udp_client.sh \ longtermsecure/secure_sctp_client.sh \ longtermsecure/secure_dos_attack.sh \ longtermsecuredb/secure_relay_with_db_psql.sh \ longtermsecuredb/secure_relay_with_db_mysql.sh \ longtermsecuredb/secure_relay_with_db_mysql_ssl.sh \ longtermsecuredb/secure_relay_with_db_mongo.sh \ longtermsecuredb/secure_relay_with_db_redis.sh \ longtermsecuredb/secure_relay_with_db_sqlite.sh \ restapi/secure_relay_secret.sh \ restapi/secure_relay_secret_with_db_mysql.sh \ restapi/secure_relay_secret_with_db_psql.sh \ restapi/secure_relay_secret_with_db_redis.sh \ restapi/secure_relay_secret_with_db_mongo.sh \ restapi/secure_relay_secret_with_db_sqlite.sh \ restapi/secure_udp_client_with_secret.sh \ restapi/secure_relay_secret_with_db_psql.sh \ restapi/shared_secret_maintainer.pl \ selfloadbalance/secure_dos_attack.sh \ selfloadbalance/secure_relay.sh OPTIONS_DEFINE= DOCS EXAMPLES MYSQL PGSQL REDIS SQLITE OPTIONS_DEFAULT= MYSQL PGSQL REDIS SQLITE OPTIONS_SUB= yes MYSQL_USES= mysql MYSQL_CONFIGURE_ENV_OFF= TURN_NO_MYSQL=1 PGSQL_USES= pgsql PGSQL_CONFIGURE_ENV_OFF= TURN_NO_PQ=1 REDIS_DESC= Redis support for user database and for status and statistics reporting REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis REDIS_CONFIGURE_ENV_OFF= TURN_NO_HIREDIS=1 SQLITE_USES= sqlite SQLITE_CONFIGURE_ENV_OFF= TURN_NO_SQLITE=1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/turnserver ${STAGEDIR}${PREFIX}/bin/turnserver ${INSTALL_PROGRAM} ${WRKSRC}/bin/turnadmin ${STAGEDIR}${PREFIX}/bin/turnadmin .for f in ${_BIN_UTILS} ${INSTALL_PROGRAM} ${WRKSRC}/bin/turnutils_${f} ${STAGEDIR}${PREFIX}/bin/ .endfor (cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${MANPAGES} \ ${STAGEDIR}${PREFIX}/man/man1) ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/turndb && ${INSTALL_DATA} schema.sql schema.userdb.redis \ schema.stats.redis ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/turndb && ${INSTALL_SCRIPT} testredisdbsetup.sh schema.mongo.sh \ testmongosetup.sh ${STAGEDIR}${DATADIR}) ${INSTALL_DATA} ${WRKSRC}/lib/libturnclient.a ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/examples/etc/turnserver.conf \ ${STAGEDIR}${PREFIX}/etc/turnserver.conf.default ${MKDIR} ${STAGEDIR}${PREFIX}/include/turn (cd ${WRKSRC}/include/turn && ${COPYTREE_SHARE} "client ns_turn_defs.h" \ ${STAGEDIR}${PREFIX}/include/turn) do-install-SQLITE-on: ${MKDIR} ${STAGEDIR}${PREFIX}/var/db ${INSTALL_DATA} ${WRKSRC}/sqlite/turndb ${STAGEDIR}${PREFIX}/var/db/turndb do-install-EXAMPLES-on: .for dir in basic loadbalance longtermsecure longtermsecuredb restapi selfloadbalance ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/scripts/${dir} .endfor ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/etc ${INSTALL_DATA} ${WRKSRC}/examples/scripts/readme.txt \ ${STAGEDIR}${EXAMPLESDIR}/scripts (cd ${WRKSRC}/examples/etc && ${INSTALL_DATA} ${_ETC_EXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR}/etc) .for f in ${_SCRIPT_EXAMPLES} ${INSTALL_SCRIPT} ${WRKSRC}/examples/scripts/${f} \ ${STAGEDIR}${EXAMPLESDIR}/scripts/${f} .endfor do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/turndocs/docs && ${COPYTREE_SHARE} "${DOCS}" ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTREADMEDOCS} ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${PKGMESSAGE} ${STAGEDIR}${DOCSDIR}/postinstall.txt (cd ${WRKSRC}/turndb && ${INSTALL_DATA} schema.sql schema.mongo.sh \ schema.userdb.redis schema.stats.redis ${STAGEDIR}${DOCSDIR}) .include diff --git a/www/node/Makefile b/www/node/Makefile index 68b8c73277b2..1db21d0d607d 100644 --- a/www/node/Makefile +++ b/www/node/Makefile @@ -1,109 +1,109 @@ PORTNAME= node DISTVERSIONPREFIX= v DISTVERSION= 18.7.0 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://nodejs.org/dist/v${DISTVERSION}/ -MAINTAINER= bhughes@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= V8 JavaScript for client and server WWW= https://nodejs.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_SSL= libressl libressl-devel BROKEN_SSL_REASON= Node.js 18.x requires OpenSSL 1.1.x or the BUNDLED_SSL option enabled ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le USES= compiler:c++11-lib gmake python:3.6-3.10,build pkgconfig \ localbase shebangfix OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS DTRACE OPTIONS_DEFAULT= DTRACE OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} OPTIONS_SUB= yes .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_aarch64= DTRACE # dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820): arm not implemented OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE OPTIONS_EXCLUDE_powerpc64= DTRACE OPTIONS_EXCLUDE_powerpc64le= DTRACE BUNDLED_SSL_DESC= Use bundled OpenSSL implementation from node.js BUNDLED_SSL_USES_OFF= ssl BUNDLED_SSL_CONFIGURE_OFF= --shared-openssl --openssl-use-def-ca-store BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss NLS_CONFIGURE_ON= --with-intl=system-icu NLS_BUILD_DEPENDS= icu>=69.1:devel/icu NLS_LIB_DEPENDS= libicui18n.so:devel/icu DTRACE_CONFIGURE_ON= --with-dtrace HAS_CONFIGURE= yes CONFLICTS_INSTALL= node14 node16 CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \ --without-npm \ --shared-brotli \ --shared-cares \ --shared-libuv \ --shared-nghttp2 \ --shared-zlib SHEBANG_FILES= deps/v8/tools/*.py \ deps/v8/third_party/inspector_protocol/*.py \ tools/*.py \ tools/inspector_protocol/*.py PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} REINPLACE_ARGS= -i '' MAKE_ENV+= CC.host=${CC} CFLAGS.host="${CFLAGS}" \ CXX.host=${CXX} CXXFLAGS.host="${CXXFLAGS}" \ LINK.host=${CXX} LDFLAGS.host="${LDFLAGS}" BUILD_DEPENDS+= brotli>=1.0.9,1:archivers/brotli \ c-ares>=1.17.2:dns/c-ares \ libuv>=1.42.0:devel/libuv \ libnghttp2>=1.45.1:www/libnghttp2 \ objdump:devel/binutils LIB_DEPENDS+= libbrotlidec.so:archivers/brotli \ libcares.so:dns/c-ares \ libuv.so:devel/libuv \ libnghttp2.so:www/libnghttp2 .include .if (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc64le EXTRA_PATCHES= ${PATCHDIR}/extra-patch-common.gypi .endif .if ${PORT_OPTIONS:MBUNDLED_SSL} && ${ARCH} != amd64 CONFIGURE_ARGS+=--openssl-no-asm .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/tools/v8_gypfiles/v8.gyp post-configure: # Post-process Makefile and *.mk files created by node-gyp and remove # all occurrences of -I${LOCALBASE}/include. C*FLAGS include this # before all -I../deps/* for bundled code. This can cause build # breakages if the dependency is installed in ${LOCALBASE}. The # USES+=localbase # above will ensure that we pick up includes for real # external dependencies. ${FIND} ${WRKSRC}/out -type f -print0 \ | ${XARGS} -0 ${REINPLACE_CMD} -e "s|-I${LOCALBASE}/include||g" post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node .include diff --git a/www/node14/Makefile b/www/node14/Makefile index 709edd88a3db..57e2d77dc681 100644 --- a/www/node14/Makefile +++ b/www/node14/Makefile @@ -1,121 +1,121 @@ PORTNAME= node DISTVERSIONPREFIX= v DISTVERSION= 14.20.0 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${DISTVERSION}/ PKGNAMESUFFIX= 14 -MAINTAINER= bhughes@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= V8 JavaScript for client and server WWW= https://nodejs.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le BUILD_DEPENDS+= brotli>=1.0.9,1:archivers/brotli \ c-ares>=1.17.2:dns/c-ares \ libnghttp2>=1.42.0:www/libnghttp2 \ libuv>=1.42.0:devel/libuv \ objdump:devel/binutils LIB_DEPENDS+= libbrotlidec.so:archivers/brotli \ libcares.so:dns/c-ares \ libnghttp2.so:www/libnghttp2 \ libuv.so:devel/libuv USES= compiler:c++11-lib gmake localbase pkgconfig \ python:2.7-3.10,build shebangfix BROKEN_SSL= libressl libressl-devel BROKEN_SSL_REASON= node.js ${PORTVERSION:R:R}.x LTS requires OpenSSL 1.1.x or the BUNDLED_SSL option enabled SHEBANG_FILES= deps/v8/third_party/inspector_protocol/*.py deps/v8/tools/*.py \ tools/*.py tools/inspector_protocol/*.py HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \ --shared-brotli \ --shared-cares \ --shared-libuv \ --shared-nghttp2 \ --shared-zlib \ --without-npm MAKE_ENV+= CC.host=${CC} \ CFLAGS.host="${CFLAGS}" \ CXX.host=${CXX} \ CXXFLAGS.host="${CXXFLAGS}" \ LDFLAGS.host="${LDFLAGS}" \ LINK.host=${CXX} TEST_ARGS= -i TEST_TARGET= test-only CONFLICTS_INSTALL= node node10 node16 PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} REINPLACE_ARGS= -i '' OPTIONS_DEFINE= BUNDLED_SSL COREPACK DOCS DTRACE NLS OPTIONS_DEFAULT= COREPACK DTRACE OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}} .if !exists(/usr/sbin/dtrace) OPTIONS_EXCLUDE+= DTRACE .endif OPTIONS_EXCLUDE_aarch64= DTRACE # dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820): arm not implemented OPTIONS_EXCLUDE_armv6= DTRACE OPTIONS_EXCLUDE_armv7= DTRACE OPTIONS_EXCLUDE_powerpc64= DTRACE OPTIONS_EXCLUDE_powerpc64le= DTRACE OPTIONS_SUB= yes BUNDLED_SSL_DESC= Use bundled OpenSSL implementation from node.js COREPACK_DESC= Build and install corepack package manager BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss BUNDLED_SSL_USES_OFF= ssl BUNDLED_SSL_CONFIGURE_OFF= --openssl-use-def-ca-store \ --shared-openssl COREPACK_CONFIGURE_OFF= --without-corepack DTRACE_CONFIGURE_ON= --with-dtrace NLS_BUILD_DEPENDS= icu>=69.1:devel/icu NLS_LIB_DEPENDS= libicui18n.so:devel/icu NLS_CONFIGURE_ON= --with-intl=system-icu .include .if (defined(PPC_ABI) && ${PPC_ABI} == ELFv2) || ${ARCH} == powerpc64le EXTRA_PATCHES= ${PATCHDIR}/extra-patch-common.gypi .endif .if ${ARCH} == armv6 || ${ARCH} == armv7 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tools_v8__gypfiles_v8.gyp .endif .if ${PORT_OPTIONS:MBUNDLED_SSL} && ${ARCH} != amd64 CONFIGURE_ARGS+= --openssl-no-asm .endif post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/tools/v8_gypfiles/v8.gyp post-configure: # Post-process Makefile and *.mk files created by node-gyp and remove # all occurrences of -I${LOCALBASE}/include. C*FLAGS include this # before all -I../deps/* for bundled code. This can cause build # breakages if the dependency is installed in ${LOCALBASE}. The # USES+=localbase # above will ensure that we pick up includes for real # external dependencies. ${FIND} ${WRKSRC}/out -type f -print0 \ | ${XARGS} -0 ${REINPLACE_CMD} -e "s|-I${LOCALBASE}/include||g" post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node .include