blob: e71f3ed658bf89193c567b12568d81971dccdf0e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
PORTNAME= v
PORTVERSION= 0.1.29
CATEGORIES= lang
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= V Programming Language
WWW= https://vlang.io/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c11 gmake
LDFLAGS+= -lm
PLIST_FILES= bin/v
GH_ACCOUNT= vlang
GH_TUPLE= vlang:vc:0.1.20: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
.include <bsd.port.mk>
|