diff options
author | nivit <nivit@FreeBSD.org> | 2018-02-10 22:48:29 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2018-02-10 22:48:29 +0800 |
commit | 21c81d603d60a4fbd839ebabf541a21c483ba47a (patch) | |
tree | 3014280112a39951e4ce708c466e13270c0c88a9 /textproc | |
parent | c0b9198fef7820c14d213745fcb58ee0381257ba (diff) | |
download | freebsd-ports-gnome-21c81d603d60a4fbd839ebabf541a21c483ba47a.tar.gz freebsd-ports-gnome-21c81d603d60a4fbd839ebabf541a21c483ba47a.tar.zst freebsd-ports-gnome-21c81d603d60a4fbd839ebabf541a21c483ba47a.zip |
- 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
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libsass/Makefile | 22 | ||||
-rw-r--r-- | textproc/libsass/distinfo | 6 | ||||
-rw-r--r-- | textproc/libsass/pkg-plist | 1 |
3 files changed, 20 insertions, 9 deletions
diff --git a/textproc/libsass/Makefile b/textproc/libsass/Makefile index f1a1230277b3..f2c86ffbf1a2 100644 --- a/textproc/libsass/Makefile +++ b/textproc/libsass/Makefile @@ -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,17 +12,27 @@ 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 diff --git a/textproc/libsass/distinfo b/textproc/libsass/distinfo index 9655d4b85919..b69b69c18bb4 100644 --- a/textproc/libsass/distinfo +++ b/textproc/libsass/distinfo @@ -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 diff --git a/textproc/libsass/pkg-plist b/textproc/libsass/pkg-plist index bd5b872fef42..d19009cad680 100644 --- a/textproc/libsass/pkg-plist +++ b/textproc/libsass/pkg-plist @@ -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 |