git: 065406345213 - main - net-p2p/clboss: simplify complex logic by using the framework instead
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Mar 2024 14:02:39 UTC
The branch main has been updated by mat: URL: https://cgit.FreeBSD.org/ports/commit/?id=06540634521326ec326ccc15348a3d4691968a51 commit 06540634521326ec326ccc15348a3d4691968a51 Author: Mathieu Arnold <mat@FreeBSD.org> AuthorDate: 2024-03-02 14:00:18 +0000 Commit: Mathieu Arnold <mat@FreeBSD.org> CommitDate: 2024-03-02 14:01:42 +0000 net-p2p/clboss: simplify complex logic by using the framework instead --- net-p2p/clboss/Makefile | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/net-p2p/clboss/Makefile b/net-p2p/clboss/Makefile index da42b6bf238c..51501c3325c3 100644 --- a/net-p2p/clboss/Makefile +++ b/net-p2p/clboss/Makefile @@ -1,10 +1,13 @@ PORTNAME= clboss -# To build from an arbitrary git commit comment PORTVERSION and PORTREVISION (if present) -PORTVERSION= 0.13 DISTVERSIONPREFIX= v -# and uncomment the following two lines (use for example -git-HEAD or -git-f8d8348c) -#PORTVERSION= 0 -#PKGNAMESUFFIX= -git-0673c50e7 +# To build from an arbitrary git commit comment DISTVERSION +DISTVERSION= 0.13 +# and uncomment the following two lines (use for example -gf8d8348c where f8d8348c is a commit hash) +#DISTVERSION= 0 +#DISTVERSIONSUFFIX= -g0673c50e7 +.if defined(DISTVERSIONSUFFIX) +PKGNAMESUFFIX= -devel +.endif CATEGORIES= net-p2p finance MAINTAINER= vd@FreeBSD.org @@ -30,12 +33,7 @@ CXXFLAGS= -Wno-deprecated-declarations GNU_CONFIGURE= yes USE_GITHUB= yes -.if defined(PKGNAMESUFFIX) -GIT_COMMIT= ${PKGNAMESUFFIX:C/-git-//} -.else -GIT_COMMIT= ${DISTVERSIONPREFIX}${PORTVERSION} -.endif -GH_TUPLE= ZmnSCPxj:clboss:${GIT_COMMIT} +GH_ACCOUNT= ZmnSCPxj SUB_FILES= pkg-message PLIST_FILES= bin/clboss