blob: 2d8b4fc32fd9016eace6797051b047b1199d6928 (
plain) (
blame)
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
27
28
29
30
31
|
PORTNAME= duktape
DISTVERSION= 2.7.0
CATEGORIES= lang devel
MASTER_SITES= https://github.com/svaarala/${PORTNAME}/releases/download/v${DISTVERSION}/ \
https://duktape.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Embeddable Javascript engine
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= tar:xz
MAKEFILE= Makefile.cmdline
ALL_TARGET= duk
PLIST_FILES= bin/duk
PORTDOCS= README.rst
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/duk ${STAGEDIR}${PREFIX}/bin
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|