pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/solvespace fix incorrect path in desktop file (rep...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c6ff55c13f8
branches:  trunk
changeset: 372960:7c6ff55c13f8
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Thu Dec 21 11:48:41 2017 +0000

description:
fix incorrect path in desktop file (reported by Mustafa Dogan)

diffstat:

 cad/solvespace/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 6d0815d7d18c -r 7c6ff55c13f8 cad/solvespace/Makefile
--- a/cad/solvespace/Makefile   Thu Dec 21 11:47:54 2017 +0000
+++ b/cad/solvespace/Makefile   Thu Dec 21 11:48:41 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2017/12/21 08:40:06 plunky Exp $
+# $NetBSD: Makefile,v 1.3 2017/12/21 11:48:41 plunky Exp $
 #
 #
 # Both of these hashes need to be updated when the solvespace version
@@ -13,6 +13,7 @@
 SOLVESPACE_HASH=       7c1ca460769fc8cbef26d296338d4bbc6f2ef6d0
 
 DISTNAME=              solvespace-2.3
+PKGREVISION=           1
 CATEGORIES=            cad
 MASTER_SITES=          http://github.com/solvespace/solvespace/archive/
 DIST_SUBDIR=           ${PKGNAME_NOREV}
@@ -36,6 +37,12 @@
 
 CMAKE_ARGS+=           -DGIT_COMMIT_HASH=${SOLVESPACE_HASH}
 
+SUBST_CLASSES+=                desktop
+SUBST_STAGE.desktop=   post-patch
+SUBST_MESSAGE.desktop= Fixing absolute path in desktop file
+SUBST_FILES.desktop=   src/unix/solvespace.desktop
+SUBST_SED.desktop=     -e "s,/usr/bin,${PREFIX}/bin,"
+
 SUBST_CLASSES+=                libdxfrw
 SUBST_STAGE.libdxfrw=  post-patch
 SUBST_MESSAGE.libdxfrw=        Set libdxfrw directory



Home | Main Index | Thread Index | Old Index