diff options
Diffstat (limited to 'textproc/libsass/Makefile')
-rw-r--r-- | textproc/libsass/Makefile | 22 |
1 files changed, 16 insertions, 6 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 |