pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

yabar: Set VERSION. Drop unneeded WRKSRC



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Jun 15 01:18:45 2016 +0200
Changeset:	f5c2d13ef4f89bcdf6236630ccd70f699320018a

Modified Files:
	yabar/Makefile

Log Message:
yabar: Set VERSION. Drop unneeded WRKSRC

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f5c2d13ef4f89bcdf6236630ccd70f699320018a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 yabar/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/yabar/Makefile b/yabar/Makefile
index 66da6d3..f5a4ea9 100644
--- a/yabar/Makefile
+++ b/yabar/Makefile
@@ -9,11 +9,11 @@ HOMEPAGE=	https://github.com/geommer/yabar/
 COMMENT=	Modern and lightweight status bar for X window managers
 LICENSE=	mit
 
-WRKSRC=	${WRKDIR}/yabar-0.4.0
-
 USE_TOOLS+=	gmake
 
 MAKE_FLAGS+=	MANPREFIX=${PREFIX}/${PKGMANDIR}
+# Package tries to run git to detect its version
+MAKE_FLAGS+=	VERSION=${PKGVERSION_NOREV}
 
 .include "../../devel/libconfig/buildlink3.mk"
 .include "../../devel/pango/buildlink3.mk"


Home | Main Index | Thread Index | Old Index