Changeset View
Changeset View
Standalone View
Standalone View
head/www/unit-go/Makefile
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# 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 | |||||
post-extract: | |||||
${MKDIR} ${GO_WRKSRC:H} | |||||
${LN} -sf ${WRKSRC}/src/go/unit ${GO_WRKSRC} | |||||
post-configure: | |||||
cd ${WRKSRC} && env ${GO_ENV} ./configure go | |||||
pre-build: | |||||
cd ${WRKSRC} && make go | |||||
post-install: | |||||
@true # override master's | |||||
.include "${MASTERDIR}/Makefile" |