aboutsummaryrefslogtreecommitdiff
path: root/lang/v
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-12-08 16:49:07 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-12-08 16:49:07 +0000
commit8cc4259ac5f377784267f90e4278799644195c5e (patch)
treef74cd6ae4ed51667a700c604df11d91af8d07767 /lang/v
parentbaf8f9ec409b9a02100c3922166ef3a990af82c9 (diff)
downloadports-8cc4259ac5f377784267f90e4278799644195c5e.tar.gz
ports-8cc4259ac5f377784267f90e4278799644195c5e.zip
Notes
Diffstat (limited to 'lang/v')
-rw-r--r--lang/v/Makefile30
-rw-r--r--lang/v/distinfo5
-rw-r--r--lang/v/pkg-descr5
3 files changed, 40 insertions, 0 deletions
diff --git a/lang/v/Makefile b/lang/v/Makefile
new file mode 100644
index 000000000000..668e2475382b
--- /dev/null
+++ b/lang/v/Makefile
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= v
+PORTVERSION= 0.1.22
+CATEGORIES= lang
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= V Programming Language
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= 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} ${CLFAGS} ${LDFLAGS} ${WRKSRC}/vc/v.c -o ${WRKSRC}/v
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/v ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/lang/v/distinfo b/lang/v/distinfo
new file mode 100644
index 000000000000..0f463d7a65d3
--- /dev/null
+++ b/lang/v/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1573896711
+SHA256 (vlang-v-0.1.22_GH0.tar.gz) = 631e5eb7db3c743fac1c765345a3a9116d6adf44d92911ccb01b002435729dff
+SIZE (vlang-v-0.1.22_GH0.tar.gz) = 1575528
+SHA256 (vlang-vc-0.1.20_GH0.tar.gz) = 5b4fc1f39c3aef5214a3366e0d514ee2879a2e52a918dc0181df833028a0eb72
+SIZE (vlang-vc-0.1.20_GH0.tar.gz) = 218748
diff --git a/lang/v/pkg-descr b/lang/v/pkg-descr
new file mode 100644
index 000000000000..bb2e0240deea
--- /dev/null
+++ b/lang/v/pkg-descr
@@ -0,0 +1,5 @@
+The V programming language is a simple, fast, safe, compiled language for
+developing maintainable software.
+
+WWW: https://vlang.io/
+WWW: https://github.com/vlang/v