mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
1b9ab6ef37
Do not bump PORTREVISION cause it has no successful build since latest update.
34 lines
601 B
Makefile
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"
|