Gentoo Archives: gentoo-commits

From: "Michael Januszewski (spock)" <spock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xfractint/files: xfractint-20.04p08-Makefile.patch
Date: Sat, 13 Sep 2008 22:21:22
Message-Id: E1KedUW-00075d-4K@stork.gentoo.org
1 spock 08/09/13 22:21:20
2
3 Added: xfractint-20.04p08-Makefile.patch
4 Log:
5 Version bump.
6 (Portage version: 2.2_rc8/cvs/Linux 2.6.26 x86_64)
7
8 Revision Changes Path
9 1.1 x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch?rev=1.1&content-type=text/plain
13
14 Index: xfractint-20.04p08-Makefile.patch
15 ===================================================================
16 diff -Naurp xfractint-20.04p08-orig/Makefile xfractint-20.04p08/Makefile
17 --- xfractint-20.04p08-orig/Makefile 2008-09-13 23:53:43.000000000 +0200
18 +++ xfractint-20.04p08/Makefile 2008-09-14 00:13:18.000000000 +0200
19 @@ -1,4 +1,6 @@
20 -SHELL=/bin/sh
21 +SHELL = /bin/sh
22 +STRIP = strip
23 +INSTALL = /usr/bin/install
24
25 # Architecture
26 # automatic detection
27 @@ -330,40 +332,18 @@ clean:
28 cd $(UDIR) ; ${MAKE} clean
29
30 install: xfractint fractint.hlp
31 - strip xfractint
32 -# only next 6 lines might need su
33 - sudo cp xfractint $(BINDIR)/xfractint;
34 -# install fractint if built
35 - if [ -x fractint ] ; then sudo install -c -s fractint $(BINDIR) ; fi
36 - sudo chmod a+x $(BINDIR)/xfractint;
37 - sudo cp $(UDIR)/xfractint.man $(MANDIR)/xfractint.1;
38 - sudo chmod a+r $(MANDIR)/xfractint.1
39 - if [ ! -d $(SRCDIR) ] ; then sudo mkdir $(SRCDIR) ; fi
40 - cd $(SRCDIR); cd ..; sudo chmod -R a+rw $(SRCDIR)
41 -# create directories if they don't exist
42 - if [ ! -d $(SRCDIR)/$(PDIR) ] ; then mkdir $(SRCDIR)/$(PDIR) ; fi
43 - if [ ! -d $(SRCDIR)/$(FDIR) ] ; then mkdir $(SRCDIR)/$(FDIR) ; fi
44 - if [ ! -d $(SRCDIR)/$(IDIR) ] ; then mkdir $(SRCDIR)/$(IDIR) ; fi
45 - if [ ! -d $(SRCDIR)/$(LDIR) ] ; then mkdir $(SRCDIR)/$(LDIR) ; fi
46 - if [ ! -d $(SRCDIR)/$(MDIR) ] ; then mkdir $(SRCDIR)/$(MDIR) ; fi
47 - if [ ! -d $(SRCDIR)/$(XDIR) ] ; then mkdir $(SRCDIR)/$(XDIR) ; fi
48 -# copy all the files to the appropriate directories
49 - cp fractint.hlp sstools.ini $(DOCS) $(SRCDIR)
50 - cp $(PARFILES) $(SRCDIR)/$(PDIR)
51 - cp $(FRMFILES) $(SRCDIR)/$(FDIR)
52 - cp $(IFSFILES) $(SRCDIR)/$(IDIR)
53 - cp $(LFILES) $(SRCDIR)/$(LDIR)
54 - cp $(MAPFILES) $(SRCDIR)/$(MDIR)
55 - cp $(XTRAFILES) $(SRCDIR)/$(XDIR)
56 -# set permissions
57 - cd $(SRCDIR); chmod a+r fractint.hlp
58 - cd $(SRCDIR); chmod a+rw sstools.ini
59 - cd $(SRCDIR); chmod a+rw $(PARFILES)
60 - cd $(SRCDIR); chmod a+rw $(FRMFILES)
61 - cd $(SRCDIR); chmod a+rw $(IFSFILES)
62 - cd $(SRCDIR); chmod a+rw $(LFILES)
63 - cd $(SRCDIR); chmod a+rw $(MAPFILES)
64 - cd $(SRCDIR); chmod a+rw $(XTRAFILES)
65 + $(STRIP) xfractint
66 + $(INSTALL) -d $(BINDIR) $(MANDIR) $(SRCDIR)/$(PDIR) $(SRCDIR)/$(FDIR) \
67 + $(SRCDIR)/$(IDIR) $(SRCDIR)/$(LDIR) $(SRCDIR)/$(MDIR) $(SRCDIR)/$(XDIR)
68 + $(INSTALL) xfractint -T $(BINDIR)/xfractint;
69 + $(INSTALL) -m 644 -T $(UDIR)/xfractint.man $(MANDIR)/xfractint.1;
70 + $(INSTALL) -m 644 -t $(SRCDIR) fractint.hlp sstools.ini $(DOCS)
71 + $(INSTALL) -m 644 -t $(SRCDIR)/$(PDIR) $(PARFILES)
72 + $(INSTALL) -m 644 -t $(SRCDIR)/$(FDIR) $(FRMFILES)
73 + $(INSTALL) -m 644 -t $(SRCDIR)/$(IDIR) $(IFSFILES)
74 + $(INSTALL) -m 644 -t $(SRCDIR)/$(LDIR) $(LFILES)
75 + $(INSTALL) -m 644 -t $(SRCDIR)/$(MDIR) $(MAPFILES)
76 + $(INSTALL) -m 644 -t $(SRCDIR)/$(XDIR) $(XTRAFILES)
77
78 uninstall:
79 cd $(SRCDIR); rm -f $(PARFILES)
80 @@ -375,8 +355,8 @@ uninstall:
81 cd $(SRCDIR); rm -f fractint.hlp sstools.ini $(DOCS)
82 cd $(SRCDIR); rmdir $(PDIR) $(FDIR) $(IDIR) $(LDIR) $(MDIR) $(XDIR)
83 # only next 2 lines might need su
84 - cd $(SRCDIR); cd ..; sudo rmdir $(SRCDIR)
85 - sudo rm -f $(BINDIR)/xfractint $(MANDIR)/xfractint.1
86 + cd $(SRCDIR); cd ..; rmdir $(SRCDIR)
87 + rm -f $(BINDIR)/xfractint $(MANDIR)/xfractint.1
88
89 fractint.hlp: hc $(DOSHELPDIR)/$(HELP)
90 cd $(DOSHELPDIR); ../hc /c; mv fractint.hlp ..