blob: cf913249ac8138d5edcf93db6c082248f7c601f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $NetBSD: Makefile,v 1.6 2022/07/19 18:09:44 osa Exp $
DISTNAME= njs-0.7.6
CATEGORIES= lang www
MASTER_SITES= ${MASTER_SITE_GITHUB:=nginx/}
GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= osa@NetBSD.org
HOMEPAGE= https://nginx.org/en/docs/njs
COMMENT= NGINX JavaScript command line utility
LICENSE= 2-clause-bsd
USE_LANGUAGES= c
HAS_CONFIGURE= yes
INSTALLATION_DIRS+= bin
do-build:
${RUN} cd ${WRKSRC} && ${BUILD_MAKE_CMD} njs
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/build/njs ${DESTDIR}${PREFIX}/bin/njs
.include "options.mk"
.include "../../mk/bsd.pkg.mk"
|