diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/uemacs/Makefile | 28 | ||||
-rw-r--r-- | editors/uemacs/files/md5 | 2 | ||||
-rw-r--r-- | editors/uemacs/files/patch-sum | 9 | ||||
-rw-r--r-- | editors/uemacs/patches/patch-aa | 6 | ||||
-rw-r--r-- | editors/uemacs/patches/patch-ab | 8 | ||||
-rw-r--r-- | editors/uemacs/patches/patch-ac | 2 | ||||
-rw-r--r-- | editors/uemacs/patches/patch-ad | 2 | ||||
-rw-r--r-- | editors/uemacs/patches/patch-ae | 6 | ||||
-rw-r--r-- | editors/uemacs/patches/patch-af | 6 | ||||
-rw-r--r-- | editors/uemacs/patches/patch-ag | 2 | ||||
-rw-r--r-- | editors/uemacs/pkg/COMMENT | 2 | ||||
-rw-r--r-- | editors/uemacs/pkg/PLIST | 1 |
12 files changed, 52 insertions, 22 deletions
diff --git a/editors/uemacs/Makefile b/editors/uemacs/Makefile index dc8bf8ff84d..bd42642bb08 100644 --- a/editors/uemacs/Makefile +++ b/editors/uemacs/Makefile @@ -1,23 +1,27 @@ -# New ports collection makefile for: MicroEmacs -# Version required: 4.0 -# Date created: 16 Jan 1995 -# Whom: Thomas Gellekum <tg@FreeBSD.org> -# +# $NetBSD: Makefile,v 1.2 2000/03/23 22:08:50 tron Exp $ # FreeBSD: ports/editors/uemacs/Makefile,v 1.14 1999/10/07 06:49:01 tg Exp -# DISTNAME= ue400dev PKGNAME= uemacs-4.0 CATEGORIES= editors MASTER_SITES= ftp://aquest.com/pub/uemacs400/disk2/ +EXTRACT_SUFX= .zip -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tron@netbsd.org -NO_WRKSUBDIR= yes -USE_ZIP= yes -EXTRACT_BEFORE_ARGS= -Laq +BUILD_DEPENDS+=${UNZIP}:../../archivers/unzip + +EXTRACT_CMD= ${UNZIP} -Laq ${DISTDIR}/${EXTRACT_ONLY} +UNZIP= ${LOCALBASE}/bin/unzip +WRKSRC= ${WRKDIR} + +post-extract: + ${CP} -r ${WRKSRC}/freebsd ${WRKSRC}/netbsd post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/*.c + for FILE in ${WRKSRC}/src/*.c ${WRKSRC}/h/*.h; do \ + ${MV} $${FILE} $${FILE}.old; \ + ${SED} -e "s|%%PREFIX%%|${PREFIX}|g" <$${FILE}.old >$${FILE}; \ + done -.include <bsd.port.mk> +.include "../../mk/bsd.pkg.mk" diff --git a/editors/uemacs/files/md5 b/editors/uemacs/files/md5 index feba1067679..2a8c4b991df 100644 --- a/editors/uemacs/files/md5 +++ b/editors/uemacs/files/md5 @@ -1 +1,3 @@ +$NetBSD: md5,v 1.2 2000/03/23 22:08:51 tron Exp $ + MD5 (ue400dev.zip) = a7903b48bd27e67f6e82aee328804ab1 diff --git a/editors/uemacs/files/patch-sum b/editors/uemacs/files/patch-sum new file mode 100644 index 00000000000..80169165e4c --- /dev/null +++ b/editors/uemacs/files/patch-sum @@ -0,0 +1,9 @@ +$NetBSD: patch-sum,v 1.1 2000/03/23 22:08:51 tron Exp $ + +MD5 (patch-aa) = 40d798a7e5dbc79eb65df487c6b6b31a +MD5 (patch-ab) = 0f090496bff9d48cec600ed61648b887 +MD5 (patch-ac) = c340c7fcdb1facf89cfcad296a02da22 +MD5 (patch-ad) = a2e6f941232c07bdd9652375ff9c4b9f +MD5 (patch-ae) = 1d759f8e46e61ed91fdc927c029ff7fb +MD5 (patch-af) = 5184423e85d14001fb6ad90946ee74c9 +MD5 (patch-ag) = fcd286e9f1f5dca832e2bbd6745d3124 diff --git a/editors/uemacs/patches/patch-aa b/editors/uemacs/patches/patch-aa index 011756c6577..5961ba3a887 100644 --- a/editors/uemacs/patches/patch-aa +++ b/editors/uemacs/patches/patch-aa @@ -1,3 +1,5 @@ +$NetBSD: patch-aa,v 1.2 2000/03/23 22:08:52 tron Exp $ + --- Makefile.orig Wed Mar 25 14:28:24 1998 +++ Makefile Wed Mar 25 14:41:41 1998 @@ -0,0 +1,12 @@ @@ -6,10 +8,10 @@ +# + +all: -+ (cd freebsd; make emacs) ++ (cd netbsd; make emacs) + +install: all -+ ${BSD_INSTALL_PROGRAM} freebsd/emacs ${PREFIX}/bin/uemacs ++ ${BSD_INSTALL_PROGRAM} netbsd/emacs ${PREFIX}/bin/uemacs + mkdir -p ${PREFIX}/share/uemacs + ${BSD_INSTALL_DATA} cmd/* ${PREFIX}/share/uemacs + mv ${PREFIX}/share/uemacs/emacs.rc ${PREFIX}/share/uemacs/.emacsrc diff --git a/editors/uemacs/patches/patch-ab b/editors/uemacs/patches/patch-ab index 839fa34c9da..322d425c298 100644 --- a/editors/uemacs/patches/patch-ab +++ b/editors/uemacs/patches/patch-ab @@ -1,5 +1,7 @@ ---- freebsd/estruct.h.orig Wed Mar 25 14:21:05 1998 -+++ freebsd/estruct.h Wed Mar 25 14:25:34 1998 +$NetBSD: patch-ab,v 1.2 2000/03/23 22:08:52 tron Exp $ + +--- netbsd/estruct.h.orig Wed Mar 25 14:21:05 1998 ++++ netbsd/estruct.h Wed Mar 25 14:25:34 1998 @@ -0,0 +1,1254 @@ +/* ESTRUCT: Structure and preprocesser defined for + MicroEMACS 4.00 @@ -50,7 +52,7 @@ +#define AVIION 0 /* Data General AViiON */ +#define BSD 0 /* UNIX BSD 4.2 and ULTRIX */ +#define FINDER 0 /* Macintosh OS */ -+#define FREEBSD 1 /* FREEBSD 386 version 2 or + */ ++#define FREEBSD 1 /* Works fine for FreeBSD, too */ +#define HPUX8 0 /* HPUX HP 9000 ver 8 or less */ +#define HPUX9 0 /* HPUX HP 9000 ver 9 */ +#define MPE 0 /* HP MPE/XL */ diff --git a/editors/uemacs/patches/patch-ac b/editors/uemacs/patches/patch-ac index e511ee39a9f..35c95896958 100644 --- a/editors/uemacs/patches/patch-ac +++ b/editors/uemacs/patches/patch-ac @@ -1,3 +1,5 @@ +$NetBSD: patch-ac,v 1.2 2000/03/23 22:08:52 tron Exp $ + --- src/bind.c.orig Sun Nov 19 03:09:20 1995 +++ src/bind.c Wed Mar 25 15:00:37 1998 @@ -634,7 +634,8 @@ diff --git a/editors/uemacs/patches/patch-ad b/editors/uemacs/patches/patch-ad index ac37d423030..1608e7caf56 100644 --- a/editors/uemacs/patches/patch-ad +++ b/editors/uemacs/patches/patch-ad @@ -1,3 +1,5 @@ +$NetBSD: patch-ad,v 1.2 2000/03/23 22:08:52 tron Exp $ + --- src/lock.c.orig Sun Nov 19 03:09:22 1995 +++ src/lock.c Wed Mar 25 13:56:13 1998 @@ -10,10 +10,17 @@ diff --git a/editors/uemacs/patches/patch-ae b/editors/uemacs/patches/patch-ae index 0d567efcbbc..1b70e35f859 100644 --- a/editors/uemacs/patches/patch-ae +++ b/editors/uemacs/patches/patch-ae @@ -1,3 +1,5 @@ +$NetBSD: patch-ae,v 1.2 2000/03/23 22:08:52 tron Exp $ + --- h/epath.h.orig Sun Nov 19 03:09:52 1995 +++ h/epath.h Wed Mar 25 13:57:22 1998 @@ -68,7 +68,8 @@ @@ -5,8 +7,8 @@ ".emacsrc", "emacs.hlp", - "/usr/local/", -+ "/usr/local/share/uemacs/", -+ "/usr/local/lib/uemacs/", ++ "%%PREFIX%%/share/uemacs/", ++ "%%PREFIX%%/lib/uemacs/", "/usr/lib/", "" }; diff --git a/editors/uemacs/patches/patch-af b/editors/uemacs/patches/patch-af index 714cfa903fd..a703afd03d6 100644 --- a/editors/uemacs/patches/patch-af +++ b/editors/uemacs/patches/patch-af @@ -1,5 +1,7 @@ ---- freebsd/makefile.orig Sat Nov 18 13:19:02 1995 -+++ freebsd/makefile Wed Mar 25 15:07:14 1998 +$NetBSD: patch-af,v 1.2 2000/03/23 22:08:52 tron Exp $ + +--- netbsd/makefile.orig Sat Nov 18 13:19:02 1995 ++++ netbsd/makefile Wed Mar 25 15:07:14 1998 @@ -14,8 +14,8 @@ # options and arguments to the C compiler diff --git a/editors/uemacs/patches/patch-ag b/editors/uemacs/patches/patch-ag index b595477251e..e149d38fc9f 100644 --- a/editors/uemacs/patches/patch-ag +++ b/editors/uemacs/patches/patch-ag @@ -1,3 +1,5 @@ +$NetBSD: patch-ag,v 1.2 2000/03/23 22:08:52 tron Exp $ + --- src/unix.c.orig Sat Nov 13 14:57:12 1999 +++ src/unix.c Sat Nov 13 15:04:45 1999 @@ -816,9 +816,19 @@ diff --git a/editors/uemacs/pkg/COMMENT b/editors/uemacs/pkg/COMMENT index d59bb107749..4e855f246b9 100644 --- a/editors/uemacs/pkg/COMMENT +++ b/editors/uemacs/pkg/COMMENT @@ -1 +1 @@ -A full screen editor +"emacs" key sequences compatible full screen editor diff --git a/editors/uemacs/pkg/PLIST b/editors/uemacs/pkg/PLIST index 655d0208f5f..b9167bc1068 100644 --- a/editors/uemacs/pkg/PLIST +++ b/editors/uemacs/pkg/PLIST @@ -1,3 +1,4 @@ +@comment $NetBSD: PLIST,v 1.2 2000/03/23 22:08:53 tron Exp $ bin/uemacs share/uemacs/.emacsrc share/uemacs/bpage.cmd |