aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2017-02-03 06:25:18 +0800
committermatthew <matthew@FreeBSD.org>2017-02-03 06:25:18 +0800
commitd2db4b0382c1a9414475179c61b2ebd91ab1ba92 (patch)
tree7cac8f7d3d296ddfebccaac0d7e4a862e8d6662f
parent2e9ccaf3c95c91511d969ac4f7a60128e4d7d22d (diff)
downloadfreebsd-ports-gnome-d2db4b0382c1a9414475179c61b2ebd91ab1ba92.tar.gz
freebsd-ports-gnome-d2db4b0382c1a9414475179c61b2ebd91ab1ba92.tar.zst
freebsd-ports-gnome-d2db4b0382c1a9414475179c61b2ebd91ab1ba92.zip
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)
-rw-r--r--archivers/liblz4/Makefile15
-rw-r--r--archivers/liblz4/distinfo5
2 files changed, 10 insertions, 10 deletions
diff --git a/archivers/liblz4/Makefile b/archivers/liblz4/Makefile
index 0686c511766d..18a689e2f66a 100644
--- a/archivers/liblz4/Makefile
+++ b/archivers/liblz4/Makefile
@@ -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>
diff --git a/archivers/liblz4/distinfo b/archivers/liblz4/distinfo
index 1d6e0e0cfe6a..512fd39943d4 100644
--- a/archivers/liblz4/distinfo
+++ b/archivers/liblz4/distinfo
@@ -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