summaryrefslogtreecommitdiff
path: root/net-misc/wput/files/wput-0.6-gentoo.diff
blob: 312172348d02f57afa3c77367dd6a1dc76ffabd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -urN wput/Makefile.in wput/Makefile.in
--- wput/Makefile.in	2006-04-04 18:16:52.000000000 +0100
+++ wput/Makefile.in	2006-11-07 17:31:10.000000000 +0000
@@ -15,8 +15,12 @@
 
 install: all
 	cd po && $(MAKE) $(MAKEDEFS) $@
-	install -m0755 wput $(bindir)
-	install -m0644 doc/wput.1.gz $(mandir)
+
+	install -d $(DESTDIR)/$(bindir)
+	install -m0755 wput $(DESTDIR)/$(bindir)
+	install -d $(DESTDIR)/$(mandir)
+	install -m0644 doc/wput.1.gz $(DESTDIR)/$(mandir)
+	
 	@echo "----------------"
 	@echo "Wput installed. See 'wput -h' or 'man wput' for usage information."
 	@echo "Further documentation is located in the doc/USAGE.* files."