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