1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Post-update fixes. I forgot to run this through a tinderbox...

This commit is contained in:
Vasil Dimov 2007-01-25 17:12:06 +00:00
parent 80f89efd9c
commit 5adbe79596
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183270

View File

@ -1,5 +1,5 @@
--- Makefile.orig Thu Jan 25 18:55:07 2007
+++ Makefile Thu Jan 25 18:54:58 2007
--- Makefile.orig Tue Jan 9 23:10:01 2007
+++ Makefile Thu Jan 25 19:09:06 2007
@@ -6,11 +6,6 @@
# warranties, including, without limitation, the implied warranties
# of merchant-ability and fitness for a particular purpose.
@ -12,6 +12,21 @@
# Uncomment for FreeBSD:
#CC=gcc
#CFLAGS=-O2 -Wall -fomit-frame-pointer
@@ -38,12 +33,12 @@
#CFLAGS=-02 -Wall -fomit-frame-pointer -Zomf -Zsmall-conv
#LDFLAGS=-s -Zomf -Zsmall-conv
-prefix = /usr
+prefix = ${PREFIX}
VERSION=1.5.1
TREE_DEST=tree
BINDIR=${prefix}/bin
-MAN=tree.1
+MAN=man/tree.1
MANDIR=${prefix}/man/man1
all: tree
@@ -58,13 +53,11 @@
if [ -f tree.o ]; then rm *.o; fi
rm -f *~
@ -23,7 +38,7 @@
- install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
- fi
- install man/$(MAN) $(MANDIR)/$(MAN)
+install: $(TREE_DEST) $(MAN)
+install: $(TREE_DEST)
+ $(MKDIR) $(BINDIR)
+ $(MKDIR) $(MANDIR)
+ ${BSD_INSTALL_PROGRAM} $(TREE_DEST) $(BINDIR)