Skip to content

Commit

Permalink
coyim: Fixed missing version number in the "About" dialog.
Browse files Browse the repository at this point in the history
1. Added steps to generate the version number file, so that the
   about dialog now displays the version number correctly.

2. Bump PKGREVISION
  • Loading branch information
fraggerfox committed Jun 2, 2019
1 parent 2df580c commit 1710b69
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions chat/coyim/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
Expand All @@ -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/
Expand Down

0 comments on commit 1710b69

Please sign in to comment.