svn commit: r524812 - head/devel/loccount
Yuri Victorovich
yuri at FreeBSD.org
Sun Feb 2 06:27:08 UTC 2020
Author: yuri
Date: Sun Feb 2 06:27:07 2020
New Revision: 524812
URL: https://svnweb.freebsd.org/changeset/ports/524812
Log:
devel/loccount: Update 2.0 -> 2.8
Reported by: repology
Modified:
head/devel/loccount/Makefile
head/devel/loccount/distinfo
Modified: head/devel/loccount/Makefile
==============================================================================
--- head/devel/loccount/Makefile Sun Feb 2 06:10:58 2020 (r524811)
+++ head/devel/loccount/Makefile Sun Feb 2 06:27:07 2020 (r524812)
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= loccount
-DISTVERSION= 2.0
-PORTREVISION= 1
+DISTVERSION= 2.8
CATEGORIES= devel
MAINTAINER= yuri at FreeBSD.org
@@ -11,14 +10,25 @@ COMMENT= Count source lines of code in a project
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= go
+BUILD_DEPENDS= a2x:textproc/asciidoc
+USES= gmake go python:2.7,build
USE_GITLAB= yes
GL_ACCOUNT= esr
-GL_COMMIT= 249ea3d6927fd327086b609857c04bb95eafdd98
+GL_COMMIT= 7b453bb11473af641aac8e3f5616c91528431b9f
GO_PKGNAME= gitlab.com/${GL_ACCOUNT}/${PORTNAME}
-PLIST_FILES= bin/${PORTNAME}
+BINARY_ALIAS= python2=${PYTHON_CMD}
+
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/${PORTNAME}.1.gz
+
+do-build:
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} loccount loccount.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-${GL_COMMIT}-${GL_COMMIT} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>
Modified: head/devel/loccount/distinfo
==============================================================================
--- head/devel/loccount/distinfo Sun Feb 2 06:10:58 2020 (r524811)
+++ head/devel/loccount/distinfo Sun Feb 2 06:27:07 2020 (r524812)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1550989331
-SHA256 (esr-loccount-249ea3d6927fd327086b609857c04bb95eafdd98_GL0.tar.gz) = a273609acde714ce80170247a954f7f3d1c22d4f5975e75116ab6b690dba29f3
-SIZE (esr-loccount-249ea3d6927fd327086b609857c04bb95eafdd98_GL0.tar.gz) = 53897
+TIMESTAMP = 1580623949
+SHA256 (esr-loccount-7b453bb11473af641aac8e3f5616c91528431b9f_GL0.tar.gz) = 710a38b32e50128fbef284974294bc3a66ad5930453da67253e2b87703c5f4a4
+SIZE (esr-loccount-7b453bb11473af641aac8e3f5616c91528431b9f_GL0.tar.gz) = 69642
More information about the svn-ports-all
mailing list