git: ef689aba0049 - main - lang/v: Use RLN instead of LN
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 07:18:12 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ef689aba0049fc174dc017a1e46f6326e6d63848 commit ef689aba0049fc174dc017a1e46f6326e6d63848 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-30 07:01:54 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-30 07:01:54 +0000 lang/v: Use RLN instead of LN - Add PORTSCOUT - Cosmetic change --- lang/v/Makefile | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/lang/v/Makefile b/lang/v/Makefile index 2cab26971008..07dbf4b45f94 100644 --- a/lang/v/Makefile +++ b/lang/v/Makefile @@ -11,40 +11,38 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c11 gmake +ALL_TARGET= v LDFLAGS+= -lm - -OPTIONS_DEFINE= DOCS EXAMPLES +TEST_TARGET= check PORTDOCS= * PORTEXAMPLES= * -ALL_TARGET= v -TEST_TARGET= check - GH_ACCOUNT= vlang GH_TUPLE= vlang:vc:ec9b505:vc/vc USE_GITHUB= yes +PORTSCOUT= skipv:weekly.* + +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: # 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 + ${RLN} ${STAGEDIR}${DATADIR}/v ${STAGEDIR}${PREFIX}/bin/v + cd ${WRKSRC} && ${COPYTREE_SHARE} cmd ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} thirdparty ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} vlib ${STAGEDIR}${DATADIR} post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/doc && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - (cd ${WRKSRC}/examples && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk>