Date: Tue, 24 Mar 2015 18:25:31 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382152 - head/archivers/liblz4 Message-ID: <201503241825.t2OIPVTH019998@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Tue Mar 24 18:25:30 2015 New Revision: 382152 URL: https://svnweb.freebsd.org/changeset/ports/382152 QAT: https://qat.redports.org/buildarchive/r382152/ Log: Update to r127. Fix tons of hardcoded paths in the Makefile to enable 'make install' to work properly. Modified: head/archivers/liblz4/Makefile head/archivers/liblz4/distinfo head/archivers/liblz4/pkg-plist Modified: head/archivers/liblz4/Makefile ============================================================================== --- head/archivers/liblz4/Makefile Tue Mar 24 18:24:27 2015 (r382151) +++ head/archivers/liblz4/Makefile Tue Mar 24 18:25:30 2015 (r382152) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= lz4 -PORTVERSION= 123 +PORTVERSION= 127 CATEGORIES= archivers PKGNAMEPREFIX= lib @@ -16,36 +16,29 @@ USE_GITHUB= yes GH_ACCOUNT= Cyan4973 GH_PROJECT= lz4 GH_TAGNAME= r${PORTVERSION} -GH_COMMIT= c0054ca CONFLICTS= lz4-* USES= gmake pkgconfig USE_LDCONFIG= yes -ALL_TARGET= default liblz4.pc -SO_VER= 1.3.1 +SO_VER= 1.5.0 +PLIST_SUB+= SO_VER=${SO_VER} SO_VER_MAJ=${SO_VER:R:R} post-patch: - ${REINPLACE_CMD} -e 's|kFreeBSD|& FreeBSD|' \ - ${WRKSRC}/Makefile ${WRKSRC}/programs/Makefile + ${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \ + -e 's/LIBDIR?=/LOCALLIBDIR=/; s/$$(LIBDIR)/$$(LOCALLIBDIR)/g' \ + -e 's|$$(LOCALLIBDIR)/pkgconfig|$$(PREFIX)/libdata/pkgconfig|' \ + -e '/^MANDIR=/s|share/||' \ + -e 's/kFreeBSD/& FreeBSD/' \ + -e 's|$$(MAKE)|${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}|' + ${REINPLACE_CMD} -e '/^all:/s/$$/ liblz4.pc/' \ + ${WRKSRC}/lib/Makefile ${REINPLACE_CMD} -e '/^all:/s|fullbench.*||' \ ${WRKSRC}/programs/Makefile -do-install: - ${INSTALL_LIB} ${WRKSRC}/liblz4.so.${SO_VER} ${STAGEDIR}${PREFIX}/lib - ${LN} -sf liblz4.so.${SO_VER} ${STAGEDIR}${PREFIX}/lib/liblz4.so.${SO_VER:R:R} - ${LN} -sf liblz4.so.${SO_VER:R:R} ${STAGEDIR}${PREFIX}/lib/liblz4.so - ${INSTALL_LIB} ${WRKSRC}/liblz4.a ${STAGEDIR}${PREFIX}/lib - - ${INSTALL_DATA} ${WRKSRC}/liblz4.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig - ${INSTALL_DATA} ${WRKSRC}/lz4.h ${WRKSRC}/lz4hc.h ${STAGEDIR}${PREFIX}/include - - ${INSTALL_PROGRAM} ${WRKSRC}/programs/lz4 ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/programs/lz4c ${STAGEDIR}${PREFIX}/bin - ${LN} -sf lz4 ${STAGEDIR}${PREFIX}/bin/lz4cat - ${INSTALL_MAN} ${WRKSRC}/programs/lz4.1 ${STAGEDIR}${MANPREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/programs/lz4c.1 ${STAGEDIR}${MANPREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/programs/lz4cat.1 ${STAGEDIR}${MANPREFIX}/man/man1 +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lz4* + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblz4.so.${SO_VER} .include <bsd.port.mk> Modified: head/archivers/liblz4/distinfo ============================================================================== --- head/archivers/liblz4/distinfo Tue Mar 24 18:24:27 2015 (r382151) +++ head/archivers/liblz4/distinfo Tue Mar 24 18:25:30 2015 (r382152) @@ -1,2 +1,2 @@ -SHA256 (lz4-123.tar.gz) = 8b0f6aaeb854ee7f5fe9b07cbe83e470be4cb434c4f492aead1c7989c87af9bf -SIZE (lz4-123.tar.gz) = 137372 +SHA256 (Cyan4973-lz4-127-r127_GH0.tar.gz) = 5209bf7a2231b41222b0cea4229700bae459b523bc13db488f0e1279405e6b43 +SIZE (Cyan4973-lz4-127-r127_GH0.tar.gz) = 139066 Modified: head/archivers/liblz4/pkg-plist ============================================================================== --- head/archivers/liblz4/pkg-plist Tue Mar 24 18:24:27 2015 (r382151) +++ head/archivers/liblz4/pkg-plist Tue Mar 24 18:25:30 2015 (r382152) @@ -2,11 +2,12 @@ bin/lz4 bin/lz4c bin/lz4cat include/lz4.h +include/lz4frame.h include/lz4hc.h lib/liblz4.a lib/liblz4.so -lib/liblz4.so.1 -lib/liblz4.so.1.3.1 +lib/liblz4.so.%%SO_VER_MAJ%% +lib/liblz4.so.%%SO_VER%% libdata/pkgconfig/liblz4.pc man/man1/lz4.1.gz man/man1/lz4c.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503241825.t2OIPVTH019998>