- make use of MAKE_FLAGS

- Fake
This commit is contained in:
brad 2000-03-26 22:02:28 +00:00
parent 9b8789a3de
commit 5253b2253a
2 changed files with 17 additions and 41 deletions

View File

@ -1,21 +1,26 @@
# $OpenBSD: Makefile,v 1.6 2000/03/24 22:11:34 espie Exp $
# $OpenBSD: Makefile,v 1.7 2000/03/26 22:02:28 brad Exp $
DISTNAME= zoo-2.10pl1
PKGNAME= zoo-2.10.1
CATEGORIES= archivers
NEED_VERSION= 1.210
NEED_VERSION= 1.218
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/
MAINTAINER= angelos@openbsd.org
LICENSE_TYPE= COPY
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FAKE= Yes
MAKE_FILE= makefile
MAKE_FLAGS= CC="${CC}" OPTIM="${CFLAGS}"
FAKE_FLAGS= PREFIX="${WRKINST}${PREFIX}"
ALL_TARGET= bsdansi
WRKDIST= ${WRKDIR}
ALL_TARGET= bsdansi
MAKE_FILE= makefile
.include <bsd.port.mk>

View File

@ -1,41 +1,12 @@
--- makefile.orig Tue Jul 16 11:52:08 1991
+++ makefile Wed Dec 15 23:14:17 1999
@@ -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"
+++ makefile Sun Mar 26 16:56:32 2000
@@ -68,7 +68,8 @@
# 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)
install:
- mv zoo $(DESTDIR)/tzoo
+ $(BSD_INSTALL_PROGRAM) $(TARGETS) $(PREFIX)/bin
+ $(BSD_INSTALL_MAN) zoo.1 fiz.1 $(PREFIX)/man/man1
# executable targets
TARGETS = zoo fiz
# install beta zoo as "bzoo"
inst_beta: