bdec3afb7c
Clean up some pkglint. Bump PKGREVISION.
28 lines
650 B
Makefile
28 lines
650 B
Makefile
# $NetBSD: Makefile,v 1.8 2021/06/28 20:38:12 wiz Exp $
|
|
|
|
DISTNAME= duktape-2.6.0
|
|
PKGNAME= lib${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= lang
|
|
MASTER_SITES= https://duktape.org/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://duktape.org/
|
|
COMMENT= Embeddable Javascript engine library
|
|
LICENSE= mit
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
USE_LIBTOOL= yes
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths+= duktape.pc
|
|
SUBST_VARS.paths+= PREFIX
|
|
SUBST_VARS.paths+= COMPILER_RPATH_FLAG
|
|
|
|
post-patch:
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
|
${CP} ${FILESDIR}/duktape.pc ${WRKSRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|