1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/lang/v/Makefile
2021-04-06 16:31:07 +02:00

30 lines
506 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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 <bsd.port.mk>