4c32ad5a11
PR: ports/86230 Submitted by: Andrej Zverev <az@inec.ru>
24 lines
593 B
Text
24 lines
593 B
Text
--- Makefile.orig Sun Oct 6 15:02:43 2002
|
|
+++ Makefile Sat Sep 17 00:46:29 2005
|
|
@@ -7,8 +7,8 @@
|
|
MANDIR = /usr/local/man/man1
|
|
|
|
# Compiler and Flags
|
|
-CC = gcc
|
|
-CFLAGS = -Wall -O2
|
|
+#CC = gcc
|
|
+#CFLAGS = -Wall -O2
|
|
RM = rm -f
|
|
INSTALL = install -c
|
|
LINK = ln -s
|
|
@@ -20,8 +20,8 @@
|
|
|
|
# Install
|
|
install : $(TARGET)
|
|
- $(INSTALL) -m 0755 $(TARGET) $(BINDIR)
|
|
- $(INSTALL) -m 0644 $(MAN) $(MANDIR)
|
|
+ $(BSD_INSTALL_PROGRAM) $(TARGET) $(PREFIX)/bin/$(TARGET)
|
|
+ $(BSD_INSTALL_MAN) $(MAN) $(PREFIX)/man/man1/$(MAN)
|
|
|
|
# Build since executable
|
|
$(TARGET) : $(OBJ)
|