diff options
author | Michael Januszewski <spock@gentoo.org> | 2008-09-13 22:21:19 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2008-09-13 22:21:19 +0000 |
commit | 7e3b1375e124e96ef28dba81f6aef1be10233be7 (patch) | |
tree | 37bb371c840bd3466f360846e5873036fb446252 /x11-misc/xfractint/files | |
parent | Final preparation for KDE 3.5.10. (diff) | |
download | gentoo-2-7e3b1375e124e96ef28dba81f6aef1be10233be7.tar.gz gentoo-2-7e3b1375e124e96ef28dba81f6aef1be10233be7.tar.bz2 gentoo-2-7e3b1375e124e96ef28dba81f6aef1be10233be7.zip |
Version bump.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26 x86_64)
Diffstat (limited to 'x11-misc/xfractint/files')
-rw-r--r-- | x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch b/x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch new file mode 100644 index 000000000000..46fbeaa4b218 --- /dev/null +++ b/x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch @@ -0,0 +1,75 @@ +diff -Naurp xfractint-20.04p08-orig/Makefile xfractint-20.04p08/Makefile +--- xfractint-20.04p08-orig/Makefile 2008-09-13 23:53:43.000000000 +0200 ++++ xfractint-20.04p08/Makefile 2008-09-14 00:13:18.000000000 +0200 +@@ -1,4 +1,6 @@ +-SHELL=/bin/sh ++SHELL = /bin/sh ++STRIP = strip ++INSTALL = /usr/bin/install + + # Architecture + # automatic detection +@@ -330,40 +332,18 @@ clean: + cd $(UDIR) ; ${MAKE} clean + + install: xfractint fractint.hlp +- strip xfractint +-# only next 6 lines might need su +- sudo cp xfractint $(BINDIR)/xfractint; +-# install fractint if built +- if [ -x fractint ] ; then sudo install -c -s fractint $(BINDIR) ; fi +- sudo chmod a+x $(BINDIR)/xfractint; +- sudo cp $(UDIR)/xfractint.man $(MANDIR)/xfractint.1; +- sudo chmod a+r $(MANDIR)/xfractint.1 +- if [ ! -d $(SRCDIR) ] ; then sudo mkdir $(SRCDIR) ; fi +- cd $(SRCDIR); cd ..; sudo chmod -R a+rw $(SRCDIR) +-# create directories if they don't exist +- if [ ! -d $(SRCDIR)/$(PDIR) ] ; then mkdir $(SRCDIR)/$(PDIR) ; fi +- if [ ! -d $(SRCDIR)/$(FDIR) ] ; then mkdir $(SRCDIR)/$(FDIR) ; fi +- if [ ! -d $(SRCDIR)/$(IDIR) ] ; then mkdir $(SRCDIR)/$(IDIR) ; fi +- if [ ! -d $(SRCDIR)/$(LDIR) ] ; then mkdir $(SRCDIR)/$(LDIR) ; fi +- if [ ! -d $(SRCDIR)/$(MDIR) ] ; then mkdir $(SRCDIR)/$(MDIR) ; fi +- if [ ! -d $(SRCDIR)/$(XDIR) ] ; then mkdir $(SRCDIR)/$(XDIR) ; fi +-# copy all the files to the appropriate directories +- cp fractint.hlp sstools.ini $(DOCS) $(SRCDIR) +- cp $(PARFILES) $(SRCDIR)/$(PDIR) +- cp $(FRMFILES) $(SRCDIR)/$(FDIR) +- cp $(IFSFILES) $(SRCDIR)/$(IDIR) +- cp $(LFILES) $(SRCDIR)/$(LDIR) +- cp $(MAPFILES) $(SRCDIR)/$(MDIR) +- cp $(XTRAFILES) $(SRCDIR)/$(XDIR) +-# set permissions +- cd $(SRCDIR); chmod a+r fractint.hlp +- cd $(SRCDIR); chmod a+rw sstools.ini +- cd $(SRCDIR); chmod a+rw $(PARFILES) +- cd $(SRCDIR); chmod a+rw $(FRMFILES) +- cd $(SRCDIR); chmod a+rw $(IFSFILES) +- cd $(SRCDIR); chmod a+rw $(LFILES) +- cd $(SRCDIR); chmod a+rw $(MAPFILES) +- cd $(SRCDIR); chmod a+rw $(XTRAFILES) ++ $(STRIP) xfractint ++ $(INSTALL) -d $(BINDIR) $(MANDIR) $(SRCDIR)/$(PDIR) $(SRCDIR)/$(FDIR) \ ++ $(SRCDIR)/$(IDIR) $(SRCDIR)/$(LDIR) $(SRCDIR)/$(MDIR) $(SRCDIR)/$(XDIR) ++ $(INSTALL) xfractint -T $(BINDIR)/xfractint; ++ $(INSTALL) -m 644 -T $(UDIR)/xfractint.man $(MANDIR)/xfractint.1; ++ $(INSTALL) -m 644 -t $(SRCDIR) fractint.hlp sstools.ini $(DOCS) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(PDIR) $(PARFILES) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(FDIR) $(FRMFILES) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(IDIR) $(IFSFILES) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(LDIR) $(LFILES) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(MDIR) $(MAPFILES) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(XDIR) $(XTRAFILES) + + uninstall: + cd $(SRCDIR); rm -f $(PARFILES) +@@ -375,8 +355,8 @@ uninstall: + cd $(SRCDIR); rm -f fractint.hlp sstools.ini $(DOCS) + cd $(SRCDIR); rmdir $(PDIR) $(FDIR) $(IDIR) $(LDIR) $(MDIR) $(XDIR) + # only next 2 lines might need su +- cd $(SRCDIR); cd ..; sudo rmdir $(SRCDIR) +- sudo rm -f $(BINDIR)/xfractint $(MANDIR)/xfractint.1 ++ cd $(SRCDIR); cd ..; rmdir $(SRCDIR) ++ rm -f $(BINDIR)/xfractint $(MANDIR)/xfractint.1 + + fractint.hlp: hc $(DOSHELPDIR)/$(HELP) + cd $(DOSHELPDIR); ../hc /c; mv fractint.hlp .. |