diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile index 7159c0d71fd9..06b2f27075fb 100644 --- a/sysutils/htop/Makefile +++ b/sysutils/htop/Makefile @@ -1,31 +1,40 @@ PORTNAME= htop -DISTVERSION= 3.4.0 +PORTVERSION= 3.4.1 CATEGORIES= sysutils -MASTER_SITES= https://github.com/${PORTNAME}-dev/${PORTNAME}/releases/download/${DISTVERSION}/ +MASTER_SITES= https://github.com/htop-dev/htop/releases/download/${PORTVERSION}/ MAINTAINER= gaod@hychen.org COMMENT= Better top(1) - interactive process viewer -WWW= https://htop.dev/ +WWW= https://htop.dev/ \ + https://github.com/htop-dev/htop LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= ncurses tar:xz -GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-unicode +GNU_CONFIGURE= yes PLIST_FILES= bin/htop \ share/man/man1/htop.1.gz \ share/applications/htop.desktop \ share/icons/hicolor/scalable/apps/htop.svg \ share/pixmaps/htop.png OPTIONS_DEFINE= LSOF LSOF_RUN_DEPENDS= lsof:sysutils/lsof +.include + +.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le +CONFIGURE_ARGS+=--enable-libunwind +LIB_DEPENDS+= libunwind.so:devel/libunwind +USES+= localbase +.endif + post-patch: - @${REINPLACE_CMD} -e 's/3.4.0-dev-3.4.0/3.4.0/' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|${PORTVERSION}-${PORTVERSION}|${PORTVERSION}|' ${WRKSRC}/configure .include diff --git a/sysutils/htop/distinfo b/sysutils/htop/distinfo index 7f60889d18d7..0a6c61c25ede 100644 --- a/sysutils/htop/distinfo +++ b/sysutils/htop/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1742047079 -SHA256 (htop-3.4.0.tar.xz) = feaabd2d31ca27c09c367a3b1b547ea9f96105fc41f4dfa799e2f49daad5de29 -SIZE (htop-3.4.0.tar.xz) = 427092 +TIMESTAMP = 1748264586 +SHA256 (htop-3.4.1.tar.xz) = 904f7d4580fc11cffc7e0f06895a4789e0c1c054435752c151e812fead9f6220 +SIZE (htop-3.4.1.tar.xz) = 427444