pkgsrc-WIP-changes archive

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

gnucash-devel: install config files in examples directory



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Sun Feb 11 11:57:05 2018 +0100
Changeset:	8a6d348f81752758272b7e9e4cf9cd647c9fb163

Modified Files:
	gnucash-devel/Makefile
	gnucash-devel/PLIST
	gnucash-devel/TODO

Log Message:
gnucash-devel: install config files in examples directory

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8a6d348f81752758272b7e9e4cf9cd647c9fb163

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

diffstat:
 gnucash-devel/Makefile | 6 +++++-
 gnucash-devel/PLIST    | 4 ++--
 gnucash-devel/TODO     | 2 +-
 3 files changed, 8 insertions(+), 4 deletions(-)

diffs:
diff --git a/gnucash-devel/Makefile b/gnucash-devel/Makefile
index 36f7bb715e..62b7655954 100644
--- a/gnucash-devel/Makefile
+++ b/gnucash-devel/Makefile
@@ -50,7 +50,11 @@ PLIST_SRC=		PLIST
 PKG_SYSCONFSUBDIR=	gnucash
 CONF_FILES+=		${PREFIX}/share/examples/gnucash/gnucash/config ${PKG_SYSCONFDIR}/config
 CONF_FILES+=		${PREFIX}/share/examples/gnucash/gnucash/environment ${PKG_SYSCONFDIR}/environment
-INSTALL_MAKE_FLAGS+=	sysconfdir=${PREFIX}/share/examples/gnucash
+INSTALLATION_DIRS=	share/examples/gnucash/gnucash
+
+post-install:
+	${MV} ${DESTDIR}${PREFIX}/etc/gnucash/config ${DESTDIR}${PREFIX}/share/examples/gnucash/gnucash/config
+	${MV} ${DESTDIR}${PREFIX}/etc/gnucash/environment ${DESTDIR}${PREFIX}/share/examples/gnucash/gnucash/environment
 
 # for CMake build
 pre-patch:
diff --git a/gnucash-devel/PLIST b/gnucash-devel/PLIST
index d6f576984a..9992fed1bd 100644
--- a/gnucash-devel/PLIST
+++ b/gnucash-devel/PLIST
@@ -5,8 +5,6 @@ bin/gnc-fq-helper
 bin/gnc-fq-update
 bin/gnucash
 bin/gnucash-valgrind
-etc/gnucash/config
-etc/gnucash/environment
 include/gnucash/Account.h
 include/gnucash/FreqSpec.h
 include/gnucash/Query.h
@@ -480,6 +478,8 @@ share/doc/gnucash/quicktest.qif
 share/doc/gnucash/swipe.qif
 share/doc/gnucash/taxreport.gnucash
 share/doc/gnucash/web.qif
+share/examples/gnucash/gnucash/config
+share/examples/gnucash/gnucash/environment
 share/glib-2.0/schemas/org.gnucash.dialogs.business.gschema.xml
 share/glib-2.0/schemas/org.gnucash.dialogs.checkprinting.gschema.xml
 share/glib-2.0/schemas/org.gnucash.dialogs.commodities.gschema.xml
diff --git a/gnucash-devel/TODO b/gnucash-devel/TODO
index 9a8f8b5631..a01e637aaf 100644
--- a/gnucash-devel/TODO
+++ b/gnucash-devel/TODO
@@ -1 +1 @@
-Install example config files to share/examples instead of etc.
+rpath is missing in binaries/libraries.


Home | Main Index | Thread Index | Old Index