Date: Tue, 22 Jan 2019 23:59:49 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490994 - in head/textproc: . p5-CSS-Sass p5-CSS-Sass/files Message-ID: <201901222359.x0MNxnBQ048855@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Jan 22 23:59:49 2019 New Revision: 490994 URL: https://svnweb.freebsd.org/changeset/ports/490994 Log: Add p5-CSS-Sass 3.4.10 CSS::Sass provides a perl interface to LibSass, a nearly complete Sass compiler written in C++. It is currently at ruby sass 3.4 feature parity and heading towards 3.5 compatibility. It can compile .scss and .sass files. WWW: https://metacpan.org/release/CSS-Sass Added: head/textproc/p5-CSS-Sass/ head/textproc/p5-CSS-Sass/Makefile (contents, props changed) head/textproc/p5-CSS-Sass/distinfo (contents, props changed) head/textproc/p5-CSS-Sass/files/ head/textproc/p5-CSS-Sass/files/patch-Makefile.PL (contents, props changed) head/textproc/p5-CSS-Sass/pkg-descr (contents, props changed) head/textproc/p5-CSS-Sass/pkg-plist (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Tue Jan 22 23:59:22 2019 (r490993) +++ head/textproc/Makefile Tue Jan 22 23:59:49 2019 (r490994) @@ -560,6 +560,7 @@ SUBDIR += p5-CSS-Minifier-XS SUBDIR += p5-CSS-Packer SUBDIR += p5-CSS-SAC + SUBDIR += p5-CSS-Sass SUBDIR += p5-CSS-Simple SUBDIR += p5-CSS-Squish SUBDIR += p5-CSS-Tiny Added: head/textproc/p5-CSS-Sass/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-CSS-Sass/Makefile Tue Jan 22 23:59:49 2019 (r490994) @@ -0,0 +1,42 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= CSS-Sass +PORTVERSION= 3.4.10 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Compile .scss and .sass files using LibSass + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= p5-ExtUtils-CppGuess>=0.09:devel/p5-ExtUtils-CppGuess \ + ${RUN_DEPENDS} +RUN_DEPENDS= p5-Encode-Locale>=0.01:converters/p5-Encode-Locale \ + p5-Filesys-Notify-KQueue>=0.01:devel/p5-Filesys-Notify-KQueue \ + p5-Filesys-Notify-Simple>=0.01:devel/p5-Filesys-Notify-Simple +TEST_DEPENDS= p5-File-chdir>=0.01:devel/p5-File-chdir \ + p5-Test-Differences>=0.01:devel/p5-Test-Differences \ + p5-YAML-LibYAML>=0.01:textproc/p5-YAML-LibYAML + +USES= gmake perl5 +USE_PERL5= configure + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502600 +BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.45:lang/p5-Scalar-List-Utils +RUN_DEPENDS+= p5-Scalar-List-Utils>=1.45:lang/p5-Scalar-List-Utils +.endif + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/CSS/Sass/Sass.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/CSS/Sass/plugins/glob/glob.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/CSS/Sass/plugins/img-size/img-size.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/CSS/Sass/plugins/math/math.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/libsass.so + +.include <bsd.port.post.mk> Added: head/textproc/p5-CSS-Sass/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-CSS-Sass/distinfo Tue Jan 22 23:59:49 2019 (r490994) @@ -0,0 +1,3 @@ +TIMESTAMP = 1548074445 +SHA256 (CSS-Sass-3.4.10.tar.gz) = 10fc854182dfc0e97bf06823c9dc79dcf9c2fd48fd1581d55b25a8517a2eb2be +SIZE (CSS-Sass-3.4.10.tar.gz) = 2577824 Added: head/textproc/p5-CSS-Sass/files/patch-Makefile.PL ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-CSS-Sass/files/patch-Makefile.PL Tue Jan 22 23:59:49 2019 (r490994) @@ -0,0 +1,21 @@ +--- Makefile.PL.orig 2018-01-12 02:11:18 UTC ++++ Makefile.PL +@@ -333,7 +333,8 @@ my $orig = \&ExtUtils::MM_Unix::c_o; + foreach (@rv) { + # add c++0x flag only for cpp files + # otherwise XS perl handshake fails +- s/\$\*\.c(pp|xx)\s*(?=\n|\r|\Z)/-xc++ -std=c++0x \$\*\.c$1/g ++ s/\$\*\.c\s*(?=\n|\r|\Z)/\$\*\.c$1 -o \$\*.o/g; ++ s/\$\*\.c(pp|xx)\s*(?=\n|\r|\Z)/-xc++ -std=c++0x \$\*\.c$1 -o \$\*\.o/g; + } + return @rv; + }; +@@ -719,7 +720,7 @@ sub libsass_plugin_glob + # special case (does not compile with perl inc path) + # readdir and friends were not available from headers + push @ret, 'plugins/glob/vendor/FS$(OBJ_EXT):'; +- push @ret, "\t" . '$(CCCMD) $(CCCDLFLAGS) $(PASTHRU_DEFINE) $(DEFINE) -xc++ -std=c++0x $*.cpp'; ++ push @ret, "\t" . '$(CCCMD) $(CCCDLFLAGS) $(PASTHRU_DEFINE) $(DEFINE) -xc++ -std=c++0x $*.cpp -o $*.o'; + # create the target for the makefile + push @ret, '$(GLOB_LIB): $(LIBSASS_LIB) $(GLOB_OBJ)'; + # make sure the plugin path exists for output Added: head/textproc/p5-CSS-Sass/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-CSS-Sass/pkg-descr Tue Jan 22 23:59:49 2019 (r490994) @@ -0,0 +1,5 @@ +CSS::Sass provides a perl interface to LibSass, a nearly complete Sass compiler +written in C++. It is currently at ruby sass 3.4 feature parity and heading +towards 3.5 compatibility. It can compile .scss and .sass files. + +WWW: https://metacpan.org/release/CSS-Sass Added: head/textproc/p5-CSS-Sass/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-CSS-Sass/pkg-plist Tue Jan 22 23:59:49 2019 (r490994) @@ -0,0 +1,18 @@ +bin/psass +%%SITE_ARCH%%/CSS/Sass.md +%%SITE_ARCH%%/CSS/Sass.pm +%%SITE_ARCH%%/CSS/Sass/Plugins.pm +%%SITE_ARCH%%/CSS/Sass/Type.pm +%%SITE_ARCH%%/CSS/Sass/Value.md +%%SITE_ARCH%%/CSS/Sass/Value.pm +%%SITE_ARCH%%/CSS/Sass/Watchdog.pm +%%SITE_ARCH%%/CSS/ppport.h +%%SITE_ARCH%%/auto/CSS/Sass/Sass.so +%%SITE_ARCH%%/auto/CSS/Sass/plugins/glob/glob.so +%%SITE_ARCH%%/auto/CSS/Sass/plugins/img-size/img-size.so +%%SITE_ARCH%%/auto/CSS/Sass/plugins/math/math.so +%%SITE_ARCH%%/libsass.so +%%PERL5_MAN1%%/psass.1.gz +%%PERL5_MAN3%%/CSS::Sass.3.gz +%%PERL5_MAN3%%/CSS::Sass::Value.3.gz +%%PERL5_MAN3%%/CSS::Sass::Watchdog.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901222359.x0MNxnBQ048855>