pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/coyim



Module Name:    pkgsrc
Committed By:   fox
Date:           Sun Jun  2 13:41:31 UTC 2019

Modified Files:
        pkgsrc/chat/coyim: Makefile

Log Message:
coyim: Fixed missing version number in the "About" dialog.

1. Added steps to generate the version number file, so that the
   about dialog now displays the version number correctly.

2. Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/coyim/Makefile

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

Modified files:

Index: pkgsrc/chat/coyim/Makefile
diff -u pkgsrc/chat/coyim/Makefile:1.2 pkgsrc/chat/coyim/Makefile:1.3
--- pkgsrc/chat/coyim/Makefile:1.2      Mon May 27 15:18:17 2019
+++ pkgsrc/chat/coyim/Makefile  Sun Jun  2 13:41:31 2019
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2019/05/27 15:18:17 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3 2019/06/02 13:41:31 fox Exp $
 
 DISTNAME=      coyim-0.3.11
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=coyim/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    chat
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 EXTRACT_USING= bsdtar
@@ -28,9 +28,12 @@ CHECK_PORTABILITY_SKIP+=     build/mac-bundl
 COYIM_ICON=            coyim.png
 COYIM_ICON_SRC=                ${WRKSRC}/build/mac-bundle/coy.iconset/icon_32x32%2x.png@localhost
 COYIM_DESKTOP=         ${WRKSRC}/build/coyim.desktop
+COYIM_VERSION_FILE=    ${WRKSRC}/gen_version_file.sh
 
 INSTALLATION_DIRS+=    share/applications share/pixmaps
 
+REPLACE_SH+=           gen_version_file.sh
+
 SUBST_CLASSES+=                        desktop-entry
 SUBST_STAGE.desktop-entry=     post-build
 SUBST_MESSAGE.desktop-entry=   Create desktop entry.
@@ -42,6 +45,9 @@ SUBST_SED.desktop-entry+=     -e '/^$$/d'
 
 CHECK_RELRO_SKIP=      bin/coyim
 
+pre-build:
+       ${RUN} cd ${WRKSRC} && ${COYIM_VERSION_FILE} ${GITHUB_TAG}
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKDIR}/bin/coyim ${DESTDIR}${PREFIX}/bin
        ${INSTALL_DATA} ${COYIM_DESKTOP} ${DESTDIR}${PREFIX}/share/applications/



Home | Main Index | Thread Index | Old Index