diff --git a/sys-apps/spiff/patches/Makefile.patch b/sys-apps/spiff/patches/Makefile.patch deleted file mode 100644 index 48126a650..000000000 --- a/sys-apps/spiff/patches/Makefile.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff --git a/SRC/Makefile b/SRC/Makefile -index 12029bd..cce9963 100644 ---- a/SRC/Makefile -+++ b/SRC/Makefile -@@ -32,8 +32,8 @@ OSFLAG= - # choose either of a) b) or c) - # - # a) if you use termcap, enable the following lines --TFLAG=-DM_TERMCAP --TLIB=termcap -+#TFLAG=-DM_TERMCAP -+#TLIB=termcap - - # b) if you are using terminfo on a XENIX machine, enable the following lines - #TFLAG=-DM_TERMINFO -@@ -41,8 +41,8 @@ TLIB=termcap - - # c) if you use terminfo on any other type of machine, - # enable the following lines --#TFLAG=-DM_TERMINFO --#TLIB=curses -+TFLAG=-DM_TERMINFO -+TLIB=ncurses - - # - # 3) SELECTION OF WINDOW MANAGER AVAILABILITY -@@ -73,6 +73,7 @@ CFILES= spiff.c output.c compare.c float.c strings.c exact.c miller.c parse.c co - HFILES=misc.h strings.h line.h float.h floatrep.h tol.h command.h comment.h token.h edit.h parse.h compare.h flagdefs.h exact.h miller.h visual.h output.h - OTHER=README Makefile Sample.1 Sample.2 Sample.3 Sample.4 paper.ms paper.out - MANPAGE=spiff.1 -+INSDIR=insDir - - CFLAGS=-O $(OSFLAG) $(TFLAG) $(VISFLAG) - -@@ -138,6 +139,7 @@ cpio: - cmd: - -$(CMD) $(CFILES) $(HFILES) $(OTHER) $(MANPAGE) - install: -- mv spiff $(INSDIR)/bin -+ mkdir -p $(INSDIR)/man/man1 -+ mv spiff $(INSDIR) - cp $(MANPAGE) $(INSDIR)/man/man1 - diff --git a/sys-apps/spiff/spiff-1.recipe b/sys-apps/spiff/spiff-1.recipe index b4f5cc78c..d92af0e89 100644 --- a/sys-apps/spiff/spiff-1.recipe +++ b/sys-apps/spiff/spiff-1.recipe @@ -16,12 +16,18 @@ ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" PROVIDES=" spiff = $portVersion - bin:spiff = $portVersion" + cmd:spiff" + +REQUIRES=" + haiku_devel >= $haikuVersion + lib:libncurses + lib:libroot +" BUILD_PREREQUIRES=" haiku_devel >= $haikuVersion makefile_engine - ncurses + devel:libncurses cmd:gcc cmd:make cmd:mkdepend" @@ -34,8 +40,6 @@ BUILD_REQUIRES=" COPYRIGHT="1988 Bellcore" LICENSE="SPIFF" -PATCHES="Makefile.patch" - BUILD() { cd SRC @@ -49,7 +53,6 @@ INSTALL() make install mkdir -p $binDir mkdir -p $documentationDir - cp insDir/spiff $binDir cp -R insDir/man $documentationDir cd .. }