diff options
author | bapt <bapt@FreeBSD.org> | 2018-05-08 17:10:22 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2018-05-08 17:10:22 +0800 |
commit | 8d1f60681b459f68c3282d5460f5d07fd016b675 (patch) | |
tree | c81ae6c20a35968861d0258b198c4d40748335a1 /archivers | |
parent | 934f50ff3a168e78629787e10e50b11a35e4b4da (diff) | |
download | freebsd-ports-graphics-8d1f60681b459f68c3282d5460f5d07fd016b675.tar.gz freebsd-ports-graphics-8d1f60681b459f68c3282d5460f5d07fd016b675.tar.zst freebsd-ports-graphics-8d1f60681b459f68c3282d5460f5d07fd016b675.zip |
Update to 1.8.2
Remove the now unneeded post-patch section
Enforce usage of our INSTALL_PROGRAM instead of manually strip
Pass variables via MAKE_ARGS to avoid patching
Remove now useless USES=pathfix
PR: 228060
Submitted by: bapt
Reported by: Yann Collet (Upstream)
Reviewed by: Martin Waschbüsch (maintainer)
Approved by: Martin Waschbüsch (maintainer)
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/liblz4/Makefile | 25 | ||||
-rw-r--r-- | archivers/liblz4/distinfo | 6 | ||||
-rw-r--r-- | archivers/liblz4/pkg-plist | 4 |
3 files changed, 10 insertions, 25 deletions
diff --git a/archivers/liblz4/Makefile b/archivers/liblz4/Makefile index 27f45f3ac01..88553499842 100644 --- a/archivers/liblz4/Makefile +++ b/archivers/liblz4/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= lz4 -PORTVERSION= 1.8.1.2 +PORTVERSION= 1.8.2 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= archivers @@ -14,26 +14,11 @@ COMMENT= LZ4 compression library, lossless and very fast LICENSE= BSD2CLAUSE GPLv2 LICENSE_COMB= multi -USES= gmake pathfix pkgconfig +USES= gmake pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes -#PATHFIX_MAKEFILEIN= Makefile - -ALL_TARGET= default # don't remove this -SO_VER= ${PORTVERSION:R} -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/||' - @${REINPLACE_CMD} -e '/^all:/s/$$/ liblz4.pc/' \ - ${WRKSRC}/lib/Makefile - @${REINPLACE_CMD} -e '/^all:/s|fullbench.*||' \ - ${WRKSRC}/programs/Makefile - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lz4* - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblz4.so.${SO_VER} +MAKE_ARGS= PREFIX="${PREFIX}" LIBDIR="${PREFIX}/lib" \ + INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ + MANDIR="${MAN1PREFIX}/man" .include <bsd.port.mk> diff --git a/archivers/liblz4/distinfo b/archivers/liblz4/distinfo index fb908147dcf..c8a4d1a6ca0 100644 --- a/archivers/liblz4/distinfo +++ b/archivers/liblz4/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1516214966 -SHA256 (lz4-lz4-v1.8.1.2_GH0.tar.gz) = 12f3a9e776a923275b2dc78ae138b4967ad6280863b77ff733028ce89b8123f9 -SIZE (lz4-lz4-v1.8.1.2_GH0.tar.gz) = 228640 +TIMESTAMP = 1525759872 +SHA256 (lz4-lz4-v1.8.2_GH0.tar.gz) = 0963fbe9ee90acd1d15e9f09e826eaaf8ea0312e854803caf2db0a6dd40f4464 +SIZE (lz4-lz4-v1.8.2_GH0.tar.gz) = 320742 diff --git a/archivers/liblz4/pkg-plist b/archivers/liblz4/pkg-plist index 5cffed8f842..98d2f3b6be7 100644 --- a/archivers/liblz4/pkg-plist +++ b/archivers/liblz4/pkg-plist @@ -8,8 +8,8 @@ include/lz4frame_static.h include/lz4hc.h lib/liblz4.a lib/liblz4.so -lib/liblz4.so.%%SO_VER_MAJ%% -lib/liblz4.so.%%SO_VER%% +lib/liblz4.so.1 +lib/liblz4.so.1.8.2 libdata/pkgconfig/liblz4.pc man/man1/lz4.1.gz man/man1/lz4c.1.gz |