1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/lang/v/Makefile

31 lines
520 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= v
PORTVERSION= 0.1.23.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} ${CLFAGS} ${LDFLAGS} ${WRKSRC}/vc/v.c -o ${WRKSRC}/v
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/v ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>