Hello,

This is my first Fink package and I've built a .info and a .patch
for my favorite Emacs style editor, jove (which launches incredibily
quickly because it's so small).

I'm attaching the two files here for review.

Do I need to add a dependency for fileutils since I'm using
/sw/bin/install to install the files, or should I use /usr/bin/install.

Is it possible to get commit access to the tree to submit these?

After this, I'll try working on getting Amanda into Fink.  Amanda
is at http://www.amanda.org/ and is a network backup utility for
Unix systems.

Best,
Blair

-- 
Blair Zajac <[EMAIL PROTECTED]>
Plots of your system's performance - http://www.orcaware.com/orca/
Package: jove
Version: 4.16
Revision: 1
Source: http://www.cs.toronto.edu/pub/moraes/%n/%n-%v.tar.gz
Source-MD5: 38ebd64355a99b0d007aaef17b0d00b1
SourceDirectory: %n
Patch: %f.patch
CompileScript: <<
make JAVEHOME=/sw
<<
InstallScript: <<
make install JOVEHOME=%i
<<
DocFiles: README
Description: A small, fast, portable Emacs clone
DescDetail: <<
Jove (Jonathan's Own Version of Emacs) is a small, fast, portable Emacs clone.
It starts very quickly, which is nice to have for quickly editting a file
where Emacs or XEmacs would take a while to load.
<<
License: Public Domain
Maintainer: Blair Zajac <[EMAIL PROTECTED]>
Homepage: http://www.cs.toronto.edu/~moraes/
diff -ruN jove-orig/Makefile jove/Makefile
--- jove-orig/Makefile  1996-03-18 20:44:33.000000000 -0800
+++ jove/Makefile       2003-10-23 17:41:36.000000000 -0700
@@ -24,19 +24,19 @@
 # DFLTSHELL is the default shell invoked by JOVE and TEACHJOVE.
 #
 # If they don't exist, this makefile will try to create the directories
-# LIBDIR and SHAREDIR.  All others must already exist.
+# BINDIR, LIBDIR and SHAREDIR.  All others must already exist.
 
 SHELL = /bin/sh
-TMPDIR = /usr/tmp
-RECDIR = /usr/preserve
+TMPDIR = /sw/var/tmp/jove
+RECDIR = /sw/var/tmp/jove/preserve
 
-JOVEHOME = /usr/local
-SHAREDIR = $(JOVEHOME)/lib/jove
+JOVEHOME = /sw
+SHAREDIR = $(JOVEHOME)/share/jove
 LIBDIR = $(JOVEHOME)/lib/jove
 BINDIR = $(JOVEHOME)/bin
 MANDIR = $(JOVEHOME)/man/man$(MANEXT)
 MANEXT = 1
-DFLTSHELL = /bin/csh
+DFLTSHELL = /bin/tcsh
 
 # The install commands of BSD and System V differ in unpleasant ways:
 # -c: copy (BSD); -c dir: destination directory (SysV)
@@ -46,16 +46,18 @@
 # If you know that /bin/install is the BSD program, you can use it.
 # "cp" will work reasonably well, but be aware that any links continue
 # referencing the old file with new contents.
-
+INSTALL=/sw/bin/install
 INSTALLFLAGS = # -g bin -o root
 
 # to install executable files
-XINSTALL=cp
+#XINSTALL=cp
 #XINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 755 # -s
+XINSTALL=$(INSTALL) $(INSTALLFLAGS) -c -m 755
 
 # to install text files
-TINSTALL=cp
+#TINSTALL=cp
 #TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644
+TINSTALL=$(INSTALL) $(INSTALLFLAGS) -c -m 644
 
 # These should all just be right if the above ones are.
 # You will confuse JOVE if you move anything from LIBDIR or SHAREDIR.
@@ -65,6 +67,7 @@
 RECOVER = $(LIBDIR)/recover
 PORTSRV = $(LIBDIR)/portsrv
 JOVERC = $(SHAREDIR)/jove.rc
+JOVELOCALRC = $(SHAREDIR)/jove-local.rc
 TERMSDIR = $(SHAREDIR)
 CMDS.DOC = $(SHAREDIR)/cmds.doc
 TEACH-JOVE = $(SHAREDIR)/teach-jove
@@ -79,7 +82,7 @@
 # compiler, adding -Xa -v will increase compiler checking.
 # On DEC OSF/1, -std1 -O
 
-OPTFLAGS = -O
+OPTFLAGS = -Os
 
 # For making dependencies under BSD systems
 DEPENDFLAG = -M
@@ -164,6 +167,7 @@
 # You can just say 'make SYSDEFS=-Dwhatever' on these systems.
 
 SYSDEFS =
+SYSDEFS = -DBSDPOSIX
 
 # for SCO Xenix, set
 #      MEMFLAGS = -Mle
@@ -179,6 +183,7 @@
 # CC = /opt/SUNWspro/bin/cc
 # For DG AViiON, expect compile errors unless you use the GNU C compiler:
 # CC=gcc
+CC = gcc
 
 # Load invocation of cc.
 # LDCC = purify $(CC)
@@ -329,14 +334,21 @@
         $(TEACH-JOVE) $(CMDS.DOC) $(TERMSDIR)docs \
         $(PORTSRVINST) $(RECOVER) $(JOVE) $(TEACHJOVE) $(MANUALS)
        $(TINSTALL) doc/jove.rc $(JOVERC)
+       $(TINSTALL) doc/jove-local.rc $(JOVELOCALRC)
        @echo See the README about changes to /etc/rc or /etc/rc.local
        @echo so that the system recovers jove files on reboot after a crash
 
+$(BINDIR)::
+       test -d $(BINDIR) || mkdir -p $(BINDIR)
+
 $(LIBDIR)::
-       test -d $(LIBDIR) || mkdir $(LIBDIR)
+       test -d $(LIBDIR) || mkdir -p $(LIBDIR)
+
+$(MANDIR)::
+       test -d $(MANDIR) || mkdir -p $(MANDIR)
 
 $(SHAREDIR)::
-       test -d $(SHAREDIR) || mkdir $(SHAREDIR)
+       test -d $(SHAREDIR) || mkdir -p $(SHAREDIR)
 
 $(TEACH-JOVE): doc/teach-jove
        $(TINSTALL) doc/teach-jove $(TEACH-JOVE)
@@ -365,19 +377,19 @@
 $(RECOVER): recover
        $(XINSTALL) recover $(RECOVER)
 
-$(JOVE): jjove
+$(JOVE): $(BINDIR) jjove
        $(XINSTALL) jjove $(JOVE)
 
 $(TEACHJOVE): teachjove
        $(XINSTALL) teachjove $(TEACHJOVE)
 
-$(JOVEM): doc/jove.nr
+$(JOVEM): $(MANDIR) doc/jove.nr
        @sed -e 's;<TMPDIR>;$(TMPDIR);' \
             -e 's;<LIBDIR>;$(LIBDIR);' \
             -e 's;<SHAREDIR>;$(SHAREDIR);' \
-            -e 's;<SHELL>;$(DFLTSHELL);' doc/jove.nr > /tmp/jove.nr
-       $(TINSTALL) /tmp/jove.nr $(JOVEM)
-       rm /tmp/jove.nr
+            -e 's;<SHELL>;$(DFLTSHELL);' doc/jove.nr > tmp_jove.nr
+       $(TINSTALL) tmp_jove.nr $(JOVEM)
+       rm tmp_jove.nr
 
 # doc/jove.doc is the formatted manpage (only needed by DOS)
 # Building it should be like building $(JOVEM) except that we
@@ -391,18 +403,18 @@
        @sed -e 's;<TMPDIR>;$(TMPDIR);' \
             -e 's;<LIBDIR>;$(LIBDIR);' \
             -e 's;<SHAREDIR>;$(SHAREDIR);' \
-            -e 's;<SHELL>;$(DFLTSHELL);' doc/teachjove.nr > /tmp/teachjove.nr
-       $(TINSTALL) /tmp/teachjove.nr $(TEACHJOVEM)
-       rm /tmp/teachjove.nr
+            -e 's;<SHELL>;$(DFLTSHELL);' doc/teachjove.nr > tmp_teachjove.nr
+       $(TINSTALL) tmp_teachjove.nr $(TEACHJOVEM)
+       rm tmp_teachjove.nr
 
 $(XJOVEM): doc/xjove.nr
        $(TINSTALL) doc/xjove.nr $(XJOVEM)
 
 $(JOVETOOLM): doc/jovetool.nr
        @sed -e 's;<MANDIR>;$(MANDIR);' \
-            -e 's;<MANEXT>;$(MANEXT);' doc/jovetool.nr > /tmp/jovetool.nr
-       $(TINSTALL) /tmp/jovetool.nr $(JOVETOOLM)
-       rm /tmp/jovetool.nr
+            -e 's;<MANEXT>;$(MANEXT);' doc/jovetool.nr > tmp_jovetool.nr
+       $(TINSTALL) tmp_jovetool.nr $(JOVETOOLM)
+       rm tmp_jovetool.nr
 
 echo:
        @echo $(C-FILES) $(HEADERS)
diff -ruN jove-orig/doc/jove-local.rc jove/doc/jove-local.rc
--- jove-orig/doc/jove-local.rc 1969-12-31 16:00:00.000000000 -0800
+++ jove/doc/jove-local.rc      2003-10-23 16:52:22.000000000 -0700
@@ -0,0 +1,3 @@
+bind-to-key query-replace-string ^[%
+bind-to-key suspend-jove ^Z
+bind-to-key insert-file ^Xi

Reply via email to