pkgsrc-Changes archive

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

CVS commit: pkgsrc/cad/solvespace



Module Name:    pkgsrc
Committed By:   plunky
Date:           Thu Dec 21 11:48:41 UTC 2017

Modified Files:
        pkgsrc/cad/solvespace: Makefile

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


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

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

Modified files:

Index: pkgsrc/cad/solvespace/Makefile
diff -u pkgsrc/cad/solvespace/Makefile:1.2 pkgsrc/cad/solvespace/Makefile:1.3
--- pkgsrc/cad/solvespace/Makefile:1.2  Thu Dec 21 08:40:06 2017
+++ pkgsrc/cad/solvespace/Makefile      Thu Dec 21 11:48:41 2017
@@ -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 @@ LIBDXF_HASH=          8f958955f54668c142ded760dc
 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 @@ USE_CMAKE=           yes
 
 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