source: trunk/dports/net/unison/files/patch-Makefile @ 4523

Last change on this file since 4523 was 4523, checked in by pguyot (Paul Guyot), 17 years ago

Aesthetic changes suggested by Felix.
Fixed the port so it will actually install properly.
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 710 bytes
Line 
1--- Makefile    Thu Jan  8 07:06:55 2004
2+++ Makefile    Thu Jan  8 07:07:28 2004
3@@ -62,14 +62,12 @@
4 ######################################################################
5 # Installation
6 
7-INSTALLDIR = $(HOME)/bin/
8+INSTALLDIR = $(DESTDIR)$(PREFIX)/bin/
9 
10+.PHONY: install
11 install: $(NAME)$(EXEC_EXT)
12-       -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
13        cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)
14        cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT)
15-       @# If we're running at Penn, install a public version too
16-       if [ -d /plclub/bin ]; then cp $(NAME)$(EXEC_EXT) /plclub/bin/$(NAME)-$(VERSION)$(EXEC_EXT); fi
17 
18 
19 ######################################################################
Note: See TracBrowser for help on using the repository browser.