freebsd-ports/lang/v/Makefile

30 lines
506 B
Makefile
Raw Normal View History

2019-12-08 17:49:07 +01:00
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= v
PORTVERSION= 0.1.29
2019-12-08 17:49:07 +01:00
CATEGORIES= lang
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= V Programming Language
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c11 gmake
2019-12-08 17:49:07 +01:00
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
2019-12-08 17:49:07 +01:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/v ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>