diff options
author | fox <fox@pkgsrc.org> | 2019-06-02 13:41:31 +0000 |
---|---|---|
committer | fox <fox@pkgsrc.org> | 2019-06-02 13:41:31 +0000 |
commit | 84da600a9237c527b6d83460c00a54f6f42366a8 (patch) | |
tree | 674b09590dde784f4abeb4139588cc33933e9bf5 /chat | |
parent | e788d655a3b22b800522b086ea0ff54cdfd097cf (diff) | |
download | pkgsrc-84da600a9237c527b6d83460c00a54f6f42366a8.tar.gz |
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
Diffstat (limited to 'chat')
-rw-r--r-- | chat/coyim/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chat/coyim/Makefile b/chat/coyim/Makefile index 4490acc3f32..034d7e887ae 100644 --- a/chat/coyim/Makefile +++ b/chat/coyim/Makefile @@ -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-bundle/coyim-launcher.sh COYIM_ICON= coyim.png COYIM_ICON_SRC= ${WRKSRC}/build/mac-bundle/coy.iconset/icon_32x32@2x.png 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/ |