freebsd-ports/lang/mujs/Makefile
2019-04-13 18:52:56 +00:00

33 lines
811 B
Makefile

# $FreeBSD$
PORTNAME= mujs
DISTVERSION= 1.0.5-35
DISTVERSIONSUFFIX= -g00d4606
CATEGORIES= lang devel
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
PATCHFILES= d9a1f4c57f976eeb67d877101fcdca89ecc047ed.patch:-p1
MAINTAINER= yuri@FreeBSD.org
COMMENT= Embeddable Javascript interpreter in C
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c11 gmake readline # c11 is induced by the FreeBSD headers via isnan(3), etc, otherwise the project is all c99 code
USE_GITHUB= yes
GH_ACCOUNT= ccxvii
USE_LDCONFIG= yes
ALL_TARGET= shared
INSTALL_TARGET= install-shared
.if defined(WITH_DEBUG) # this project manages its build options itself
MAKE_ARGS= build=debug
.endif
PLIST_FILES= bin/mujs \
include/mujs.h \
lib/libmujs.so \
libdata/pkgconfig/mujs.pc
.include <bsd.port.mk>