diff --git a/archivers/zoo/Makefile b/archivers/zoo/Makefile index ead1329592d..f939fd170e3 100644 --- a/archivers/zoo/Makefile +++ b/archivers/zoo/Makefile @@ -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 diff --git a/archivers/zoo/patches/patch-ab b/archivers/zoo/patches/patch-ab index 006eb287f26..64e7ba3fa34 100644 --- a/archivers/zoo/patches/patch-ab +++ b/archivers/zoo/patches/patch-ab @@ -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: