1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/devel/xmake/files/patch-aa
Steve Price 4f2432e801 Upgrade to version 1.05.
PR:		7331
Submitted by:	Garrett A. Wollman <wollman@lcs.mit.edu>
1998-07-27 00:05:26 +00:00

29 lines
694 B
Plaintext

--- 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)