1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/www/unit-go/Makefile
Sergey A. Osokin 1b9ab6ef37 Update the port to fix build issue.
Do not bump PORTREVISION cause it has no successful build since
latest update.
2018-09-27 21:40:07 +00:00

34 lines
601 B
Makefile

# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
# $FreeBSD$
PKGNAMESUFFIX= -go
COMMENT= Go module for NGINX Unit
USES= go
PLIST_FILES= # reset to empty
PLIST_DIRS= # reset to empty
PLIST= ${.CURDIR}/pkg-plist
USE_RC_SUBR?= # reset to empty
MASTERDIR= ${.CURDIR}/../unit
CGO_CFLAGS+= -I${WRKSRC}/src -I${WRKSRC}/build
GO_PKGNAME= nginx/unit
post-extract:
@true # override master's
post-configure:
cd ${WRKSRC} && ${SETENV} ${GO_ENV} ./configure go --go-path=${WRKDIR}
pre-build:
cd ${WRKSRC} && ${MAKE} go-install
post-install:
@true # override master's
.include "${MASTERDIR}/Makefile"