aboutsummaryrefslogtreecommitdiff
path: root/textproc/rubygem-dartsass/Makefile
blob: c716105f9e9c0aadf15b0522802abab645f4d6ef (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
PORTNAME=	dartsass # please update textproc/quarto when the path to the sass executable changes
PORTVERSION=	1.49.8
PORTREVISION=	1
CATEGORIES=	textproc ruby
MASTER_SITES=	RG

MAINTAINER=	mfechner@FreeBSD.org
COMMENT=	RubyGem wrapper for the Dart Sass binary
WWW=		https://github.com/ayushn21/dartsass-ruby

LICENSE=	MIT

USES=		gem

PLIST_FILES=	bin/dartsass

# The port installs binaries world writeable
# Reported upstream here: https://github.com/ayushn21/dartsass-ruby/issues/1
# Fix this here, till they provide an upstream fix for this security problem
post-extract:
	${CHMOD} 0755 ${WRKSRC}/exe/linux/sass
	${CHMOD} 0755 ${WRKSRC}/exe/darwin/sass
	${CHMOD} 0755 ${WRKSRC}/exe/darwin/src/dart

.include <bsd.port.mk>