2aff69237c
systems - Bump PORTREVISION PR: ports/162804 Submitted by: Carl Johnson <carlj@peak.org>
41 lines
955 B
Text
41 lines
955 B
Text
--- ./makefile.orig 1991-07-16 17:52:08.000000000 +0200
|
|
+++ ./makefile 2011-12-22 14:00:55.000000000 +0100
|
|
@@ -18,13 +18,13 @@
|
|
|
|
MAKE = make # needed for some systems e.g. older BSD
|
|
|
|
-CC = cc
|
|
-CFLAGS =
|
|
+#CC = cc
|
|
+#CFLAGS =
|
|
MODEL =
|
|
EXTRA = -DBIG_MEM -DNDEBUG
|
|
LINTFLAGS = -DLINT
|
|
-OPTIM = -O
|
|
-DESTDIR = /usr/local/bin
|
|
+OPTIM = $(CFLAGS)
|
|
+DESTDIR = $(PREFIX)/bin
|
|
|
|
#List of all object files created for Zoo
|
|
ZOOOBJS = addbfcrc.o addfname.o basename.o comment.o crcdefs.o \
|
|
@@ -67,7 +67,7 @@
|
|
@echo "lint_turboc: Run lint under **IX for checking Turbo C/MSDOS code"
|
|
|
|
# install alpha zoo as "tzoo"
|
|
-install:
|
|
+inst_test:
|
|
mv zoo $(DESTDIR)/tzoo
|
|
|
|
# install beta zoo as "bzoo"
|
|
@@ -75,8 +75,9 @@
|
|
mv zoo $(DESTDIR)/bzoo
|
|
|
|
# install production zoo as "zoo"
|
|
-inst_prod:
|
|
- mv zoo $(DESTDIR)/zoo
|
|
+install:
|
|
+ $(BSD_INSTALL_PROGRAM) $(TARGETS) $(DESTDIR)
|
|
+ $(BSD_INSTALL_MAN) zoo.1 fiz.1 $(PREFIX)/man/man1
|
|
|
|
# executable targets
|
|
TARGETS = zoo fiz
|