mktemp -> mkstemp; -O2 optimization; better

install/uninstall; build package
This commit is contained in:
marc 1998-07-25 04:18:22 +00:00
parent d34ccf4ad4
commit 91d3a00c81
3 changed files with 66 additions and 24 deletions

View File

@ -3,18 +3,18 @@
# Date created: 05 November 1997
# Whom: ejovi
#
# $OpenBSD: Makefile,v 1.3 1998/04/10 18:55:22 marc Exp $
# $OpenBSD: Makefile,v 1.4 1998/07/25 04:18:22 marc Exp $
#
DISTNAME= jove-4.16
CATEGORIES= editors
NO_CDROM= "NOFEE: Can not sell"
MAINTAINER= marc@OpenBSD.org
MASTER_SITES= ftp://relay.cs.toronto.edu/pub/moraes/jove/
MAINTAINER= joey@OpenBSD.org
WRKSRC= ${WRKDIR}/jove
MAN1= jove.1 teachjove.1 xjove.1 jovetool.1
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- Makefile.orig Mon Mar 18 22:44:33 1996
+++ Makefile Sun Sep 22 10:30:41 1996
--- Makefile.orig Mon Mar 18 20:44:33 1996
+++ Makefile Fri Jul 24 21:01:06 1998
@@ -27,16 +27,16 @@
# LIBDIR and SHAREDIR. All others must already exist.
@ -22,20 +22,32 @@
# The install commands of BSD and System V differ in unpleasant ways:
# -c: copy (BSD); -c dir: destination directory (SysV)
@@ -51,11 +51,11 @@
@@ -50,12 +50,12 @@
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 # -s
+#XINSTALL=cp
+XINSTALL=${BSD_INSTALL_PROGRAM}
# to install text files
TINSTALL=cp
-TINSTALL=cp
-#TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644
+#TINSTALL=install $(INSTALLFLAGS) -c -m 644
+#TINSTALL=cp
+TINSTALL=${BSD_INSTALL_DATA}
# These should all just be right if the above ones are.
# You will confuse JOVE if you move anything from LIBDIR or SHAREDIR.
@@ -79,7 +79,7 @@
# compiler, adding -Xa -v will increase compiler checking.
# On DEC OSF/1, -std1 -O
-OPTFLAGS = -O
+OPTFLAGS = -O2
# For making dependencies under BSD systems
DEPENDFLAG = -M
@@ -163,7 +163,7 @@
#
# You can just say 'make SYSDEFS=-Dwhatever' on these systems.
@ -45,3 +57,18 @@
# for SCO Xenix, set
# MEMFLAGS = -Mle
@@ -329,8 +329,12 @@
$(TEACH-JOVE) $(CMDS.DOC) $(TERMSDIR)docs \
$(PORTSRVINST) $(RECOVER) $(JOVE) $(TEACHJOVE) $(MANUALS)
$(TINSTALL) doc/jove.rc $(JOVERC)
- @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
+ $(TINSTALL) README $(SHAREDIR)
+ @echo ""
+ @echo "*** See $(SHAREDIR)/README about changes to /etc/rc or"
+ @echo "*** /etc/rc.local so that the system recovers jove files"
+ @echo "*** on reboot after a system crash"
+ @echo ""
$(LIBDIR)::
test -d $(LIBDIR) || mkdir $(LIBDIR)

View File

@ -1,3 +1,5 @@
@cwd /usr/local
@name jove-4.16
bin/jove
bin/teachjove
libexec/jove/portsrv
@ -9,19 +11,32 @@ man/man1/jovetool.1
share/jove/teach-jove
share/jove/cmds.doc
share/jove/jove.rc.sun
share/jove/keychart.
share/jove/keychart.3022
share/jove/jove.rc.3022
share/jove/keychart.z29
share/jove/jove.rc.z29
share/jove/keychart.xterm
share/jove/jove.rc.xterm
share/jove/keychart.wyse
share/jove/jove.rc.wyse
share/jove/keychart.vt100
share/jove/jove.rc.vt100
share/jove/keychart.sun-cmd
share/jove/jove.rc.sun-cmd
share/jove/keychart.sun
share/jove/jove.rc.sun-cmd
share/jove/keychart.sun-cmd
share/jove/jove.rc.vt100
share/jove/keychart.vt100
share/jove/jove.rc.wyse
share/jove/keychart.wyse
share/jove/jove.rc.xterm
share/jove/keychart.xterm
share/jove/jove.rc.z29
share/jove/keychart.z29
share/jove/jove.rc.3022
share/jove/keychart.3022
share/jove/keychart.
share/jove/XTermresource
share/jove/jove.rc
share/jove/README
@dirrm share/jove
@dirrm libexec/jove
@exec echo ""
@exec echo "*** See %D/share/jove/README about changes to /etc/rc or"
@exec echo "*** /etc/rc.local so that the system recovers jove files"
@exec echo "*** on reboot after a system crash"
@exec echo ""
@unexec echo ""
@unexec echo "*** If you changed your /etc/rc or /etc/rc.local files"
@unexec echo "*** to recover jove files on reboot after a system crash"
@unexec echo "*** you should back out those changes now."
@unexec echo ""