mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
02e454d15d
- Use BSD_INSTALL_* macros to install files. [1] - Make the port PREFIX clean. PR: ports/101398 [1] Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru>
37 lines
858 B
Plaintext
37 lines
858 B
Plaintext
--- contrib/lorder/Makefile.orig Thu Dec 24 00:36:56 1998
|
|
+++ contrib/lorder/Makefile Sun Aug 6 12:14:52 2006
|
|
@@ -1,9 +1,9 @@
|
|
-MANDIR=/usr/man/man1
|
|
-BINDIR=/usr/local/bin
|
|
+MANDIR=${PREFIX}/man/man1
|
|
+BINDIR=${PREFIX}/bin
|
|
|
|
-CPP=/lib/cpp -P -Dunix
|
|
+CPP=/usr/bin/cpp -P -Dunix
|
|
|
|
-CAMLC=camlc
|
|
+CAMLC=${PREFIX}/bin/camlc
|
|
CAMLCOMP=$(CAMLC) -c
|
|
COMPFLAGS=-g -W -I ../../src/compiler
|
|
LINKFLAGS=-g -I ../../src/compiler
|
|
@@ -15,7 +15,7 @@
|
|
all: camllorder
|
|
|
|
camllorder: $(OBJS)
|
|
- camlc $(LINKFLAGS) -o camllorder $(COMPILEROBJS) $(OBJS)
|
|
+ ${CAMLC} $(LINKFLAGS) -o camllorder $(COMPILEROBJS) $(OBJS)
|
|
|
|
clean:
|
|
rm -f *.z[oi] camllorder Makefile.bak
|
|
@@ -26,8 +26,8 @@
|
|
rm -f camllorder.tar.Z
|
|
|
|
install:
|
|
- cp camllorder $(BINDIR)
|
|
- cp camllorder.1 $(MANDIR)
|
|
+ ${BSD_INSTALL_SCRIPT} camllorder $(BINDIR)
|
|
+ ${BSD_INSTALL_MAN} camllorder.1 $(MANDIR)
|
|
|
|
|
|
.SUFFIXES :
|