mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
lang/v: upgrade to 0.3.4
Releases notes at <https://github.com/vlang/v/releases>. PR: 271212 Approved by: sunpoet (maintainer)
This commit is contained in:
parent
8752d6b22d
commit
7859c76543
@ -1,5 +1,5 @@
|
||||
PORTNAME= v
|
||||
PORTVERSION= 0.1.29
|
||||
PORTVERSION= 0.3.4
|
||||
CATEGORIES= lang
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
@ -13,16 +13,38 @@ USES= compiler:c11 gmake
|
||||
|
||||
LDFLAGS+= -lm
|
||||
|
||||
PLIST_FILES= bin/v
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
ALL_TARGET= v
|
||||
TEST_TARGET= check
|
||||
|
||||
GH_ACCOUNT= vlang
|
||||
GH_TUPLE= vlang:vc:0.1.20:vc/vc
|
||||
GH_TUPLE= vlang:vc:ec9b505:vc/vc
|
||||
USE_GITHUB= yes
|
||||
|
||||
do-build:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/vc/v.c -o ${WRKSRC}/v
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/v ${STAGEDIR}${PREFIX}/bin
|
||||
# cd ${WRKSRC} && ./v symlink # Does not respect DESTDIR
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
(cd ${WRKSRC} && \
|
||||
${COPYTREE_SHARE} cmd ${STAGEDIR}${DATADIR} && \
|
||||
${COPYTREE_SHARE} thirdparty ${STAGEDIR}${DATADIR} && \
|
||||
${COPYTREE_SHARE} vlib ${STAGEDIR}${DATADIR})
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/v ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/v.mod ${STAGEDIR}${DATADIR}
|
||||
${LN} -sf ${DATADIR}/v ${STAGEDIR}${PREFIX}/bin/v
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC}/doc && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
||||
${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/examples && \
|
||||
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
TIMESTAMP = 1596954280
|
||||
SHA256 (vlang-v-0.1.29_GH0.tar.gz) = 5111d04663d8454c9e8bcbd7e3544dcbd6abc54eb5034e31649417af6e8418a6
|
||||
SIZE (vlang-v-0.1.29_GH0.tar.gz) = 2850141
|
||||
SHA256 (vlang-vc-0.1.20_GH0.tar.gz) = 5b4fc1f39c3aef5214a3366e0d514ee2879a2e52a918dc0181df833028a0eb72
|
||||
SIZE (vlang-vc-0.1.20_GH0.tar.gz) = 218748
|
||||
TIMESTAMP = 1682972160
|
||||
SHA256 (vlang-v-0.3.4_GH0.tar.gz) = 7e251dd1748d16090348da4a29abd85dfe8c48aebc47bd9c23e91ed18e0c5ba1
|
||||
SIZE (vlang-v-0.3.4_GH0.tar.gz) = 6714098
|
||||
SHA256 (vlang-vc-ec9b505_GH0.tar.gz) = 33b4c0fc33d2ff12d727cc8ba1bf5617793e5e7620e4d8ad8c2924c5d4d8f2a6
|
||||
SIZE (vlang-vc-ec9b505_GH0.tar.gz) = 1675356
|
||||
|
6052
lang/v/pkg-plist
Normal file
6052
lang/v/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user