1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/devel/xmake/files/patch-aa

29 lines
694 B
Plaintext
Raw Normal View History

--- Makefile.orig Sun Jul 26 16:11:40 1998
+++ Makefile Sun Jul 26 16:14:35 1998
@@ -1,11 +1,12 @@
SRCS= include.c list.c main.c subs.c var.c wild.c
OBJS= include.o list.o main.o subs.o var.o wild.o
-CFLAGS= -g -O2 -Wall -Wstrict-prototypes
+CFLAGS= -O2 -Wall
LFLAGS=
EXE= xmake
-IBDIR= /usr/local/bin
-IMDIR= /usr/local/man/man1
+PREFIX?= /usr/local
+IBDIR= $(PREFIX)/bin
+IMDIR= $(PREFIX)/man/man1
CC= cc
all: $(EXE)
@@ -16,6 +17,6 @@
clean:
rm -f $(OBJS) $(EXE)
-install: all
- install -c -s -m 755 $(EXE) $(IBDIR)/$(EXE)
-
+install:
+ install -c -s -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) $(EXE) $(IBDIR)
+ install -c -o $(MANOWN) -g $(MANGRP) -m $(MANMODE) xmake.1 $(IMDIR)