Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2017 22:25:18 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433181 - head/archivers/liblz4
Message-ID:  <201702022225.v12MPILx019061@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Thu Feb  2 22:25:18 2017
New Revision: 433181
URL: https://svnweb.freebsd.org/changeset/ports/433181

Log:
  Update to 1.7.5
  
  Notable changes:
  - Upstream switched versioning from e.g. r131 to v1.7.5, forcing me to
    make use of PORTEPOCH.
  - (Submitter) pushed a change upstream to add FreeBSD to the OSs
    recognized in Makefile, requiring one less search & replace action
    in post-patch section.
  
  PR:		216599
  Submitted by:	martin@waschbuesch.de (maintainer)

Modified:
  head/archivers/liblz4/Makefile
  head/archivers/liblz4/distinfo

Modified: head/archivers/liblz4/Makefile
==============================================================================
--- head/archivers/liblz4/Makefile	Thu Feb  2 21:28:22 2017	(r433180)
+++ head/archivers/liblz4/Makefile	Thu Feb  2 22:25:18 2017	(r433181)
@@ -2,8 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	lz4
-PORTVERSION=	131
-DISTVERSIONPREFIX=	r
+PORTVERSION=	1.7.5
+DISTVERSIONPREFIX=	v
+PORTEPOCH=	1
 CATEGORIES=	archivers
 PKGNAMEPREFIX=	lib
 
@@ -14,21 +15,18 @@ LICENSE=	BSD2CLAUSE GPLv2
 LICENSE_COMB=	multi
 
 USE_GITHUB=	yes
-GH_ACCOUNT=	Cyan4973
-
 USES=		gmake pathfix pkgconfig
 USE_LDCONFIG=	yes
-PATHFIX_MAKEFILEIN=	Makefile
+#PATHFIX_MAKEFILEIN=	Makefile
 
 ALL_TARGET=	default		# don't remove this
-SO_VER=		1.7.1
+SO_VER=		${PORTVERSION}
 PLIST_SUB+=	SO_VER=${SO_VER} SO_VER_MAJ=${SO_VER:R:R}
 LIBDIR=		${PREFIX}/lib
 
 post-patch:
 	@${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
-		-e '/^MANDIR :=/s|share/||' \
-		-e 's/kFreeBSD/& FreeBSD/'
+		-e '/^MANDIR :=/s|share/||'
 	@${REINPLACE_CMD} -e '/^all:/s/$$/ liblz4.pc/' \
 		${WRKSRC}/lib/Makefile
 	@${REINPLACE_CMD} -e '/^all:/s|fullbench.*||' \
@@ -36,6 +34,7 @@ post-patch:
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lz4*
+	${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	Thu Feb  2 21:28:22 2017	(r433180)
+++ head/archivers/liblz4/distinfo	Thu Feb  2 22:25:18 2017	(r433181)
@@ -1,2 +1,3 @@
-SHA256 (Cyan4973-lz4-r131_GH0.tar.gz) = 9d4d00614d6b9dec3114b33d1224b6262b99ace24434c53487a0c8fd0b18cfed
-SIZE (Cyan4973-lz4-r131_GH0.tar.gz) = 133784
+TIMESTAMP = 1485778247
+SHA256 (lz4-lz4-v1.7.5_GH0.tar.gz) = 0190cacd63022ccb86f44fa5041dc6c3804407ad61550ca21c382827319e7e7e
+SIZE (lz4-lz4-v1.7.5_GH0.tar.gz) = 208019



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