# Created by: Po-Chuan Hsieh # $FreeBSD: head/lang/v/Makefile 544955 2020-08-15 16:28:55Z sunpoet $ PORTNAME= v PORTVERSION= 0.1.29 CATEGORIES= lang MAINTAINER= sunpoet@FreeBSD.org COMMENT= V Programming Language 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