mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
parent
bdd165b669
commit
6dab44fe5a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1574
@ -9,22 +9,18 @@
|
||||
DISTNAME= uemacs
|
||||
PKGNAME= uemacs-3.12
|
||||
CATEGORIES+= editors
|
||||
MASTER_SITES= ftp://midas.mgmt.purdue.edu/pub/ue312/
|
||||
MASTER_SITES= ftp://midas.mgmt.purdue.edu/dist/uemacs312/
|
||||
DISTFILES= ue312dev.zip
|
||||
|
||||
MAINTAINER= ports@freebsd.org
|
||||
|
||||
EXEC_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
PATCH_STRIP= -p1
|
||||
|
||||
# one weakness of the ports scheme: it doesn't allow arguments
|
||||
# to ${EXTRACT_CMD} after the filename, which is required for unzip.
|
||||
|
||||
# Satoshi: it does now, so please update it when you see this.... :)
|
||||
|
||||
do-extract:
|
||||
@rm -rf ${WRKDIR}
|
||||
@mkdir -p ${WRKDIR}
|
||||
@unzip -Laq ${DISTDIR}/${DISTFILES} -d ${WRKDIR}
|
||||
EXTRACT_CMD= unzip
|
||||
EXTRACT_BEFORE_ARGS= -Laq
|
||||
EXTRACT_AFTER_ARGS= -d ${WRKDIR}
|
||||
NCFTPFLAGS= -N -P
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -12,10 +12,10 @@ diff -crN --exclude=*freebsd* ue312.orig/Makefile ue312/Makefile
|
||||
+ (cd freebsd; make emacs)
|
||||
+
|
||||
+ install: all
|
||||
+ install -c -s freebsd/emacs /usr/local/bin/uemacs
|
||||
+ mkdir -p /usr/local/lib/uemacs
|
||||
+ install -c -m 644 -o bin -g bin cmd/* /usr/local/lib/uemacs
|
||||
+ mv /usr/local/lib/uemacs/emacs.rc /usr/local/lib/uemacs/.emacsrc
|
||||
+ install -c -s freebsd/emacs ${PREFIX}/bin/uemacs
|
||||
+ mkdir -p ${PREFIX}/lib/uemacs
|
||||
+ install -c -m 644 -o bin -g bin cmd/* ${PREFIX}/lib/uemacs
|
||||
+ mv ${PREFIX}/lib/uemacs/emacs.rc ${PREFIX}/lib/uemacs/.emacsrc
|
||||
diff -crN --exclude=*freebsd* ue312.orig/h/epath.h ue312/h/epath.h
|
||||
*** ue312.orig/h/epath.h Tue Mar 16 15:13:46 1993
|
||||
--- ue312/h/epath.h Sat Jan 14 11:26:35 1995
|
||||
@ -230,7 +230,7 @@ diff -crN --exclude=*freebsd* ue312.orig/src/unix.c ue312/src/unix.c
|
||||
! { "ku", SPEC|'P' }, /* Up arrow key */
|
||||
! { "K1", SPEC|'<' }, /* Keypad 7 -> Home */
|
||||
! { "K2", SPEC|'V' }, /* Keypad 9 -> Page Up */
|
||||
! { "K3", '' }, /* Keypad 5 -> not bound */
|
||||
! { "K3", ' ' }, /* Keypad 5 */
|
||||
! { "K4", SPEC|'>' }, /* Keypad 1 -> End */
|
||||
! { "K5", CTRL|'V' } /* Keypad 3 -> Page Down */
|
||||
};
|
||||
|
@ -1139,7 +1139,7 @@ diff -crN ue312.orig/freebsd/makefile ue312/freebsd/makefile
|
||||
--- ue312/freebsd/makefile Sat Jan 14 12:14:10 1995
|
||||
***************
|
||||
*** 0 ****
|
||||
--- 1,97 ----
|
||||
--- 1,102 ----
|
||||
+ # Unix makefile for
|
||||
+ # MicroEMACS 3.12
|
||||
+ # (C)Copyright 1993 by Daniel Lawrence
|
||||
@ -1178,9 +1178,14 @@ diff -crN ue312.orig/freebsd/makefile ue312/freebsd/makefile
|
||||
+
|
||||
+ all: emacs
|
||||
+
|
||||
+ message:
|
||||
+ @echo ""
|
||||
+ @echo "Expect some warnings. None of them seem to be fatal. --tg"
|
||||
+ @echo ""
|
||||
+
|
||||
+ OFILES = $(F1) $(F2) $(F3) $(F4) $(F5) $(F6) $(F7) $(F8)
|
||||
+
|
||||
+ emacs: $(OFILES)
|
||||
+ emacs: message $(OFILES)
|
||||
+ $(CC) -s $(CFLAGS) $(OFILES) -ltermcap -lc -o emacs
|
||||
+
|
||||
+ $(OBJD)/basic.o: $(SRCD)/basic.c $(HFILES)
|
||||
|
@ -1,4 +1,3 @@
|
||||
@cd /usr/local
|
||||
@owner bin
|
||||
@mode 755
|
||||
bin/uemacs
|
||||
|
Loading…
Reference in New Issue
Block a user