update to loccount 2.14
This commit is contained in:
parent
3b7c9c94b8
commit
a9317210cb
@ -1,9 +1,8 @@
|
|||||||
COMMENT = count lines of codes in many languages
|
COMMENT = count lines of codes in many languages
|
||||||
|
|
||||||
V = 2.11
|
V = 2.14
|
||||||
DISTNAME = loccount-${V}
|
DISTNAME = loccount-${V}
|
||||||
CATEGORIES = textproc
|
CATEGORIES = textproc
|
||||||
REVISION = 1
|
|
||||||
|
|
||||||
HOMEPAGE = https://gitlab.com/esr/loccount
|
HOMEPAGE = https://gitlab.com/esr/loccount
|
||||||
|
|
||||||
@ -14,10 +13,7 @@ PERMIT_PACKAGE = Yes
|
|||||||
# statically linked
|
# statically linked
|
||||||
WANTLIB = c pthread
|
WANTLIB = c pthread
|
||||||
|
|
||||||
MASTER_SITES = https://gitlab.com/esr/loccount/repository/
|
MASTER_SITES = https://gitlab.com/esr/loccount/-/archive/${V}/
|
||||||
|
|
||||||
DISTFILES = ${DISTNAME}{${V}/archive}${EXTRACT_SUFX}
|
|
||||||
WRKDIST = ${WRKDIR}/${DISTNAME}-ab5e6046588c2644f922d84ea6cad7b68805bf3c
|
|
||||||
|
|
||||||
MODULES = lang/python
|
MODULES = lang/python
|
||||||
MODPY_RUNDEP = No
|
MODPY_RUNDEP = No
|
||||||
@ -32,11 +28,8 @@ MAKE_ENV = GOCACHE=${WRKDIR}/go-cache GO111MODULE=off
|
|||||||
ALL_TARGET = loccount loccount.1
|
ALL_TARGET = loccount loccount.1
|
||||||
TEST_TARGET = check
|
TEST_TARGET = check
|
||||||
|
|
||||||
post-build:
|
|
||||||
ln -sf ${WRKBUILD}/loccount{-${V}-*,}
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKBUILD}/loccount ${PREFIX}/bin/
|
${INSTALL_PROGRAM} ${WRKBUILD}/loccount-${V} ${PREFIX}/bin/loccount
|
||||||
${INSTALL_MAN} ${WRKBUILD}/loccount.1 ${PREFIX}/man/man1/
|
${INSTALL_MAN} ${WRKBUILD}/loccount.1 ${PREFIX}/man/man1/
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (loccount-2.11.tar.gz) = AJW8JL2dfrXUhLOvskzcD2h2pnmsxGi8CyHcFMoznWs=
|
SHA256 (loccount-2.14.tar.gz) = gvwsw47aHAX4cgLQAEC7ZcBRhMbc0Q9H0ghabh1YwQM=
|
||||||
SIZE (loccount-2.11.tar.gz) = 70887
|
SIZE (loccount-2.14.tar.gz) = 77042
|
||||||
|
Loading…
Reference in New Issue
Block a user