From a9317210cb5b143b63a371a22a70b3df7b677c90 Mon Sep 17 00:00:00 2001 From: kn Date: Sun, 15 Jan 2023 11:51:48 +0000 Subject: [PATCH] update to loccount 2.14 --- textproc/loccount/Makefile | 13 +++---------- textproc/loccount/distinfo | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/textproc/loccount/Makefile b/textproc/loccount/Makefile index 40985699e74..a57686eabed 100644 --- a/textproc/loccount/Makefile +++ b/textproc/loccount/Makefile @@ -1,9 +1,8 @@ COMMENT = count lines of codes in many languages -V = 2.11 +V = 2.14 DISTNAME = loccount-${V} CATEGORIES = textproc -REVISION = 1 HOMEPAGE = https://gitlab.com/esr/loccount @@ -14,10 +13,7 @@ PERMIT_PACKAGE = Yes # statically linked WANTLIB = c pthread -MASTER_SITES = https://gitlab.com/esr/loccount/repository/ - -DISTFILES = ${DISTNAME}{${V}/archive}${EXTRACT_SUFX} -WRKDIST = ${WRKDIR}/${DISTNAME}-ab5e6046588c2644f922d84ea6cad7b68805bf3c +MASTER_SITES = https://gitlab.com/esr/loccount/-/archive/${V}/ MODULES = lang/python MODPY_RUNDEP = No @@ -32,11 +28,8 @@ MAKE_ENV = GOCACHE=${WRKDIR}/go-cache GO111MODULE=off ALL_TARGET = loccount loccount.1 TEST_TARGET = check -post-build: - ln -sf ${WRKBUILD}/loccount{-${V}-*,} - do-install: - ${INSTALL_PROGRAM} ${WRKBUILD}/loccount ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKBUILD}/loccount-${V} ${PREFIX}/bin/loccount ${INSTALL_MAN} ${WRKBUILD}/loccount.1 ${PREFIX}/man/man1/ .include diff --git a/textproc/loccount/distinfo b/textproc/loccount/distinfo index 182fbdfe5e8..2899c02a921 100644 --- a/textproc/loccount/distinfo +++ b/textproc/loccount/distinfo @@ -1,2 +1,2 @@ -SHA256 (loccount-2.11.tar.gz) = AJW8JL2dfrXUhLOvskzcD2h2pnmsxGi8CyHcFMoznWs= -SIZE (loccount-2.11.tar.gz) = 70887 +SHA256 (loccount-2.14.tar.gz) = gvwsw47aHAX4cgLQAEC7ZcBRhMbc0Q9H0ghabh1YwQM= +SIZE (loccount-2.14.tar.gz) = 77042