Lines 1-7
Link Here
|
1 |
PORTNAME= node |
1 |
PORTNAME= node |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 16.20.1 |
3 |
DISTVERSION= 16.20.1 |
4 |
PORTREVISION?= 1 |
4 |
PORTREVISION?= 2 |
5 |
CATEGORIES= www |
5 |
CATEGORIES= www |
6 |
MASTER_SITES= https://nodejs.org/dist/v${DISTVERSION}/ |
6 |
MASTER_SITES= https://nodejs.org/dist/v${DISTVERSION}/ |
7 |
PKGNAMESUFFIX= 16 |
7 |
PKGNAMESUFFIX= 16 |
Lines 63-81
CONFLICTS_INSTALL= node[0-9][0-9]
Link Here
|
63 |
REINPLACE_ARGS= -i '' |
63 |
REINPLACE_ARGS= -i '' |
64 |
PORTSCOUT= limit:^16\. |
64 |
PORTSCOUT= limit:^16\. |
65 |
|
65 |
|
66 |
OPTIONS_DEFINE= BUNDLED_SSL COREPACK DOCS DTRACE NLS |
66 |
OPTIONS_DEFINE= BUNDLED_SSL COREPACK DOCS NLS |
67 |
OPTIONS_DEFAULT= COREPACK DTRACE |
67 |
OPTIONS_DEFAULT= COREPACK |
68 |
|
|
|
69 |
.if !exists(/usr/sbin/dtrace) |
70 |
OPTIONS_EXCLUDE+= DTRACE |
71 |
.endif |
72 |
|
73 |
OPTIONS_EXCLUDE_aarch64= DTRACE |
74 |
# dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820): arm not implemented |
75 |
OPTIONS_EXCLUDE_armv6= DTRACE |
76 |
OPTIONS_EXCLUDE_armv7= DTRACE |
77 |
OPTIONS_EXCLUDE_powerpc64= DTRACE |
78 |
OPTIONS_EXCLUDE_powerpc64le= DTRACE |
79 |
|
68 |
|
80 |
OPTIONS_SUB= yes |
69 |
OPTIONS_SUB= yes |
81 |
|
70 |
|
Lines 89-96
BUNDLED_SSL_CONFIGURE_OFF= --openssl-use-def-ca-store \
Link Here
|
89 |
|
78 |
|
90 |
COREPACK_CONFIGURE_OFF= --without-corepack |
79 |
COREPACK_CONFIGURE_OFF= --without-corepack |
91 |
|
80 |
|
92 |
DTRACE_CONFIGURE_ON= --with-dtrace |
|
|
93 |
|
94 |
NLS_BUILD_DEPENDS= icu>=69.1:devel/icu |
81 |
NLS_BUILD_DEPENDS= icu>=69.1:devel/icu |
95 |
NLS_LIB_DEPENDS= libicui18n.so:devel/icu |
82 |
NLS_LIB_DEPENDS= libicui18n.so:devel/icu |
96 |
NLS_CONFIGURE_ON= --with-intl=system-icu |
83 |
NLS_CONFIGURE_ON= --with-intl=system-icu |
Lines 133-140
post-install:
Link Here
|
133 |
${RM} -rf ${STAGEDIR}${PREFIX}/share/systemtap |
120 |
${RM} -rf ${STAGEDIR}${PREFIX}/share/systemtap |
134 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node |
121 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node |
135 |
|
122 |
|
136 |
post-install-DTRACE-on: |
|
|
137 |
${MKDIR} ${STAGEDIR}${PREFIX}/lib/dtrace |
138 |
${INSTALL_DATA} ${WRKSRC}/out/Release/node.d ${STAGEDIR}${PREFIX}/lib/dtrace |
139 |
|
140 |
.include <bsd.port.post.mk> |
123 |
.include <bsd.port.post.mk> |