Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2018 14:48:29 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461396 - head/textproc/libsass
Message-ID:  <201802101448.w1AEmT2i037830@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Sat Feb 10 14:48:29 2018
New Revision: 461396
URL: https://svnweb.freebsd.org/changeset/ports/461396

Log:
  - Update to 3.4.9
  - Build and install a PIC static library (needed for the upcoming node-sass port) [1]
  - Sort variables in Makefile
  
  PR:	222169 [1]
  Submitted by:	Marcin Cie[38;5;4m~[lak <saper@saper.info>
  Changes:	https://github.com/sass/libsass/releases/tag/3.4.9

Modified:
  head/textproc/libsass/Makefile
  head/textproc/libsass/distinfo
  head/textproc/libsass/pkg-plist   (contents, props changed)

Modified: head/textproc/libsass/Makefile
==============================================================================
--- head/textproc/libsass/Makefile	Sat Feb 10 13:07:16 2018	(r461395)
+++ head/textproc/libsass/Makefile	Sat Feb 10 14:48:29 2018	(r461396)
@@ -2,8 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	libsass
-PORTVERSION=	3.4.4
-PORTREVISION=	1
+PORTVERSION=	3.4.9
+PORTREVISION=	0
 CATEGORIES=	textproc
 
 MAINTAINER=	nivit@FreeBSD.org
@@ -12,16 +12,26 @@ COMMENT=	C/C++ implementation of a Sass compiler
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	sass
+INSTALL_TARGET=	install-strip
 
-USES=		autoreconf compiler:c++11-lib gmake libtool pathfix
+GH_ACCOUNT=	sass
 GNU_CONFIGURE=	yes
+
 MAKEFILE=	GNUmakefile
+
 PATHFIX_MAKEFILEIN=	GNUmakefile.am
-INSTALL_TARGET=	install-strip
 
+STATIC_PIC=	${PORTNAME}_pic.a
+
+USES=		autoreconf compiler:c++11-lib gmake libtool pathfix
+USE_GITHUB=	yes
 USE_LDCONFIG=	yes
+
+post-build:
+	@(cd ${WRKSRC}/src/.libs && ${AR} rf ${STATIC_PIC} *.o)
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/src/.libs/${STATIC_PIC} ${STAGEDIR}${PREFIX}/lib
 
 post-patch:
 	@${ECHO_CMD} "${ECHO_CMD} \"${PORTVERSION}\"" > ${WRKSRC}/version.sh

Modified: head/textproc/libsass/distinfo
==============================================================================
--- head/textproc/libsass/distinfo	Sat Feb 10 13:07:16 2018	(r461395)
+++ head/textproc/libsass/distinfo	Sat Feb 10 14:48:29 2018	(r461396)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1491134524
-SHA256 (sass-libsass-3.4.4_GH0.tar.gz) = 1dc4d49a9a53b891b7e98935709e625f1d68782d87aef4304a41e6d590abb480
-SIZE (sass-libsass-3.4.4_GH0.tar.gz) = 316884
+TIMESTAMP = 1518256200
+SHA256 (sass-libsass-3.4.9_GH0.tar.gz) = 5a3e9c6df82ebe2f8633e211fad9b931cd1ab36de3b5d9dd81eab7ff43929538
+SIZE (sass-libsass-3.4.9_GH0.tar.gz) = 321503

Modified: head/textproc/libsass/pkg-plist
==============================================================================
--- head/textproc/libsass/pkg-plist	Sat Feb 10 13:07:16 2018	(r461395)
+++ head/textproc/libsass/pkg-plist	Sat Feb 10 14:48:29 2018	(r461396)
@@ -9,4 +9,5 @@ lib/libsass.a
 lib/libsass.so
 lib/libsass.so.0
 lib/libsass.so.0.0.9
+lib/libsass_pic.a
 libdata/pkgconfig/libsass.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802101448.w1AEmT2i037830>