update to loccount 2.14

This commit is contained in:
kn 2023-01-15 11:51:48 +00:00
parent 3b7c9c94b8
commit a9317210cb
2 changed files with 5 additions and 12 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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