[SM-Commit] GIT changes to master grimoire by Pol Vinogradov (7cae146d1ded48cd560c266abd52e6d544588dcd)

Pol Vinogradov scm at mail.sourcemage.org
Wed Jan 24 14:37:26 EST 2007


GIT changes to master grimoire by Pol Vinogradov <vin.public at gmail.com>:

 x11/xneur/HISTORY                     |    2 +
 x11/xneur/PRE_BUILD                   |    4 ++
 x11/xneur/xneur-no-home-install.patch |   53 ++++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)

New commits:
commit e40c9f83c87884ed0af7f10ea45aa9d77e30afdf
Author: Pol Vinogradov <vin.public at gmail.com>
Commit: Pol Vinogradov <vin.public at gmail.com>

    x11/xneur:
    
    PRE_BUILD, xneur-no-home-install.patch: added to avoid config files
    installation to ~/

diff --git a/x11/xneur/HISTORY b/x11/xneur/HISTORY
index a502664..ebeda5a 100644
--- a/x11/xneur/HISTORY
+++ b/x11/xneur/HISTORY
@@ -1,2 +1,4 @@
 2007-01-24 Pol Vinogradov <vin.public at gmail.com>
+	* PRE_BUILD, xneur-no-home-install.patch: added to avoid config files
+	  installation to ~/
 	* DETAILS, DEPENDS: created spell
diff --git a/x11/xneur/PRE_BUILD b/x11/xneur/PRE_BUILD
new file mode 100755
index 0000000..37f50f6
--- /dev/null
+++ b/x11/xneur/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build        &&
+cd  ${SOURCE_DIRECTORY}  &&
+
+patch -p1 < ${SCRIPT_DIRECTORY}/${SPELL}-no-home-install.patch
diff --git a/x11/xneur/xneur-no-home-install.patch b/x11/xneur/xneur-no-home-install.patch
new file mode 100644
index 0000000..8f120f6
--- /dev/null
+++ b/x11/xneur/xneur-no-home-install.patch
@@ -0,0 +1,53 @@
+diff -Nuar xneur-0.4.0.orig/etc/Makefile.am xneur-0.4.0/etc/Makefile.am
+--- xneur-0.4.0.orig/etc/Makefile.am	2007-01-24 13:07:02.000000000 +0500
++++ xneur-0.4.0/etc/Makefile.am	2007-01-24 13:11:21.000000000 +0500
+@@ -8,13 +8,3 @@
+ etc_DATA = xneurrc xneurrc-ua
+ 
+ EXTRA_DIST = $(etc_DATA)
+-
+-install-data-hook:
+-	rm ~/.xneur.backup -Rf
+-	if test -d ~/.xneur; then	\
+-		mv ~/.xneur ~/.xneur.backup -f;	\
+-		chmod -R a+r+w ~/.xneur.backup;	\
+-		rm ~/.xneur -rf;		\
+-	fi; 
+-	cp $(DESTDIR)$(sysconfdir)/xneur ~/.xneur -rf;
+-	chmod -R a+r+w ~/.xneur ;
+diff -Nuar xneur-0.4.0.orig/etc/Makefile.in xneur-0.4.0/etc/Makefile.in
+--- xneur-0.4.0.orig/etc/Makefile.in	2007-01-24 13:07:02.000000000 +0500
++++ xneur-0.4.0/etc/Makefile.in	2007-01-24 13:16:45.000000000 +0500
+@@ -461,7 +461,6 @@
+ 
+ install-data-am: install-etcDATA
+ 	@$(NORMAL_INSTALL)
+-	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ 
+ install-exec-am:
+ 
+@@ -496,7 +495,7 @@
+ 	ctags-recursive distclean distclean-generic distclean-libtool \
+ 	distclean-recursive distclean-tags distdir dvi dvi-am html \
+ 	html-am info info-am install install-am install-data \
+-	install-data-am install-data-hook install-etcDATA install-exec \
++	install-data-am install-etcDATA install-exec \
+ 	install-exec-am install-info install-info-am install-man \
+ 	install-strip installcheck installcheck-am installdirs \
+ 	installdirs-am maintainer-clean maintainer-clean-generic \
+@@ -506,15 +505,6 @@
+ 	uninstall-info-am
+ 
+ 
+-install-data-hook:
+-	rm ~/.xneur.backup -Rf
+-	if test -d ~/.xneur; then	\
+-		mv ~/.xneur ~/.xneur.backup -f;	\
+-		chmod -R a+r+w ~/.xneur.backup;	\
+-		rm ~/.xneur -rf;		\
+-	fi; 
+-	cp $(DESTDIR)$(sysconfdir)/xneur ~/.xneur -rf;
+-	chmod -R a+r+w ~/.xneur ;
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:



More information about the SM-Commit mailing list