1 | --- Makefile.in.orig Wed Oct 12 20:23:06 2005 |
---|
2 | +++ Makefile.in Wed Oct 12 20:23:22 2005 |
---|
3 | @@ -15,7 +15,7 @@ |
---|
4 | all:: Mk/dports.autoconf.mk |
---|
5 | |
---|
6 | install:: |
---|
7 | - $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 dp_version ${portconfigdir} |
---|
8 | + $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 dp_version ${DESTDIR}${portconfigdir} |
---|
9 | @echo "" |
---|
10 | @echo "Congratulations, you have successfully installed the DarwinPorts system." |
---|
11 | @echo "" |
---|
12 | |
---|
13 | --- src/darwinports1.0/Makefile.orig Wed Oct 12 20:24:01 2005 |
---|
14 | +++ src/darwinports1.0/Makefile Wed Oct 12 20:24:35 2005 |
---|
15 | @@ -21,7 +21,7 @@ |
---|
16 | $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}/$$file; \ |
---|
17 | done |
---|
18 | |
---|
19 | - echo "${TCL_PACKAGE_DIR}" > ${prefix}/var/db/dports/.tclpackage |
---|
20 | + echo "${TCL_PACKAGE_DIR}" > ${DESTDIR}${prefix}/var/db/dports/.tclpackage |
---|
21 | |
---|
22 | $(SILENT) $(TCLSH) ../pkg_mkindex.tcl ${INSTALLDIR} |
---|
23 | # XXX Prior installations of dports on Darwin installed darwinports1.0 |
---|
24 | |
---|
25 | --- src/package1.0/Makefile.orig Wed Oct 12 20:25:00 2005 |
---|
26 | +++ src/package1.0/Makefile Wed Oct 12 20:25:23 2005 |
---|
27 | @@ -14,8 +14,6 @@ |
---|
28 | test:: |
---|
29 | |
---|
30 | install:: |
---|
31 | - $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${datadir}/darwinports |
---|
32 | - $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${datadir}/darwinports/Tcl |
---|
33 | $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR} |
---|
34 | $(SILENT)set -x; for file in ${SRCS}; do \ |
---|
35 | $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \ |
---|
36 | |
---|
37 | --- src/port1.0/Makefile.orig Wed Oct 12 20:25:30 2005 |
---|
38 | +++ src/port1.0/Makefile Wed Oct 12 20:25:48 2005 |
---|
39 | @@ -19,8 +19,6 @@ |
---|
40 | rm -f port_autoconf.tcl |
---|
41 | |
---|
42 | install:: |
---|
43 | - $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${datadir}/darwinports |
---|
44 | - $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${datadir}/darwinports/Tcl |
---|
45 | $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR} |
---|
46 | $(SILENT)set -x; for file in ${SRCS}; do \ |
---|
47 | $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \ |
---|
48 | |
---|
49 | --- src/port1.0/resources/Makefile.orig Wed Oct 12 20:26:10 2005 |
---|
50 | +++ src/port1.0/resources/Makefile Wed Oct 12 20:26:21 2005 |
---|
51 | @@ -6,7 +6,6 @@ |
---|
52 | include ../../../Mk/dports.autoconf.mk |
---|
53 | |
---|
54 | install:: |
---|
55 | - $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${datadir}/darwinports/resources |
---|
56 | $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR} |
---|
57 | # $(SILENT)set -x; for file in ${RSRCS}; do \ |
---|
58 | # $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \ |
---|
59 | |
---|
60 | --- src/portindex/Makefile.orig Wed Oct 12 20:26:44 2005 |
---|
61 | +++ src/portindex/Makefile Wed Oct 12 20:28:32 2005 |
---|
62 | @@ -12,22 +12,22 @@ |
---|
63 | @ cat $< | sed "/@@PREFIX@@/s//$(subst /,\/,$(PREFIX))/" > $@ |
---|
64 | |
---|
65 | install: all |
---|
66 | - mkdir -p $(PREFIX) |
---|
67 | - chown www:www $(PREFIX) |
---|
68 | - chmod 0775 $(PREFIX) |
---|
69 | - $(INSTALL) -m 644 register.html $(PREFIX) |
---|
70 | - mkdir -p $(cgibin) |
---|
71 | - chown www:www $(cgibin) |
---|
72 | - chmod 0775 $(cgibin) |
---|
73 | - $(INSTALL) -m 755 portsubmit.cgi $(cgibin) |
---|
74 | - $(INSTALL) -m 755 portregister.cgi $(cgibin) |
---|
75 | - mkdir -p $(portindex) |
---|
76 | - chown www:www $(portindex) |
---|
77 | - chmod 0775 $(portindex) |
---|
78 | - mkdir -p $(portfiles) |
---|
79 | - chown www:www $(portfiles) |
---|
80 | - chmod 0775 $(portfiles) |
---|
81 | - $(INSTALL) -m 644 initialize.sql $(portindex) |
---|
82 | + mkdir -p ${DESTDIR}$(PREFIX) |
---|
83 | + chown www:www ${DESTDIR}$(PREFIX) |
---|
84 | + chmod 0775 ${DESTDIR}$(PREFIX) |
---|
85 | + $(INSTALL) -m 644 register.html ${DESTDIR}$(PREFIX) |
---|
86 | + mkdir -p ${DESTDIR}$(cgibin) |
---|
87 | + chown www:www ${DESTDIR}$(cgibin) |
---|
88 | + chmod 0775 ${DESTDIR}$(cgibin) |
---|
89 | + $(INSTALL) -m 755 portsubmit.cgi ${DESTDIR}$(cgibin) |
---|
90 | + $(INSTALL) -m 755 portregister.cgi ${DESTDIR}$(cgibin) |
---|
91 | + mkdir -p ${DESTDIR}$(portindex) |
---|
92 | + chown www:www ${DESTDIR}$(portindex) |
---|
93 | + chmod 0775 ${DESTDIR}$(portindex) |
---|
94 | + mkdir -p ${DESTDIR}$(portfiles) |
---|
95 | + chown www:www ${DESTDIR}$(portfiles) |
---|
96 | + chmod 0775 ${DESTDIR}$(portfiles) |
---|
97 | + $(INSTALL) -m 644 initialize.sql ${DESTDIR}$(portindex) |
---|
98 | |
---|
99 | clean: |
---|
100 | rm -f *.cgi |
---|
101 | |
---|
102 | --- src/programs/mtree/Makefile.in.orig Wed Oct 12 20:29:03 2005 |
---|
103 | +++ src/programs/mtree/Makefile.in Wed Oct 12 20:30:09 2005 |
---|
104 | @@ -60,6 +60,6 @@ |
---|
105 | rm -f Makefile config.h config.status config.log |
---|
106 | |
---|
107 | install: |
---|
108 | - ${INSTALL} ${PROG} ${bindir} |
---|
109 | - ${INSTALL} -m 755 -d ${mandircat8} |
---|
110 | - ${INSTALL} -m 444 ${PROG}.cat8 ${mandircat8}/${PROG}.0 |
---|
111 | + ${INSTALL} ${PROG} ${DESTDIR}${bindir} |
---|
112 | + ${INSTALL} -m 755 -d ${DESTDIR}${mandircat8} |
---|
113 | + ${INSTALL} -m 444 ${PROG}.cat8 ${DESTDIR}${mandircat8}/${PROG}.0 |
---|