Last active
October 4, 2017 12:00
-
-
Save earnubs/b3c3d234058f54b65fad7c70d97ce2e0 to your computer and use it in GitHub Desktop.
node6 sunos node-sass pkg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $NetBSD$ | |
PORTNAME= node-sass | |
PORTVERSION= 4.5.3 | |
DISTNAME= v${PORTVERSION} | |
PKGNAME= node6-sass-binding-${DISTNAME} | |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | |
CATEGORIES= meta-pkgs | |
MASTER_SITES= ${MASTER_SITE_GITHUB:=sass/} | |
USE_TOOLS+= gmake | |
USE_LANGUAGES= c c++ | |
PYTHON_FOR_BUILD_ONLY= yes | |
MAINTAINER= stephen.stewart@freeagent.com | |
HOMEPAGE= https://github.com/sass/node-sass | |
COMMENT= Node-sass smartos bindings | |
LICENSE= mit | |
BUILD_DEPENDS= nodejs>6:../../lang/nodejs6 | |
INSTALLATION_DIRS= share/fa-node-sass/ | |
do-build: | |
cd ${WRKSRC} && \ | |
${MAKE_ENV} PYTHON=${PYTHONBIN} npm_config_directory=${WRKSRC} npm_config_target=6.9.1 npm_config_python=${PYTHONBIN} npm_config_jobs=4 npm install && \ | |
${MAKE_ENV} PYTHON=${PYTHONBIN} npm_config_directory=${WRKSRC} npm_config_target=6.9.1 npm_config_python=${PYTHONBIN} npm_config_jobs=4 node scripts/build --force | |
do-install: | |
${INSTALL_LIB} ${WRKSRC}/vendor/sunos-x64-48/binding.node $(DESTDIR)$(PREFIX)/share/fa-node-sass/ | |
.include "../../lang/python/pyversion.mk" | |
.include "../../mk/bsd.pkg.mk" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#smartos, freenode, 4-OCT-2017