freebsd-ports/lang/v/Makefile
2020-06-29 16:15:35 +00:00

31 lines
520 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= v
PORTVERSION= 0.1.28.1
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 <bsd.port.mk>